virtualstaticvoid/heroku-buildpack-r

Failing to push shiny apps on to PCF

naresh050414 opened this issue · 0 comments

I am using heroku 16 branch and my attempts to publish a sample superzip shiny app is failing, complaining about missing fakeroot libraries.

I attempted to use cedar 14 branch build pack which is coming with R 3.2.1 and some of the R packages are failing to install there.
I also attempted to build my own R binaries with one of the latest versions of R, but the build script from below github location was alredy upated to use fakeroot so R binaries are built with (..root and ..tools folders) which cant be used with cedar 14 branch build packs.

Below is the fakeroot error i am getting and there is no other information in the logs

PS C:\Users\xxx\Documents\PCF\xxxx-pcf\superzip> cf push superzip -b https://xxxxx:xxxxxxx@github.xxxxx.com/xxxxx/heroku-buildpack-r-heroku-16
Pushing from manifest to org username_xxx_Preprod_2018-07-30 / space xxx-temp as xxxx@xxxx.com...
Using manifest file C:\Users\xxxxx\Documents\PCF\xxx-pcf\superzip\manifest.yml
Deprecation warning: Use of 'buildpack' attribute in manifest is deprecated in favor of 'buildpacks'. Please see http://docs.cloudfoundry.org/devguide/deploy-apps/manifest.html#deprecated for alternatives and other app manifest deprecations. This feature will be removed in the future.

Getting app info...
Creating app with these attributes...

Creating app superzip...
Mapping routes...
Comparing local files to remote cache...
Packaging files to upload...
Uploading files...
7.89 KiB / 7.89 KiB [==========================================================================================================================================================================================================] 100.00% 1s

Waiting for API to complete processing files...

Staging app and tracing logs...
Cell 7eefabde-37f8-45e1-9e44-06f78ab62a06 creating container for instance 1ae31a32-daab-45e6-87b1-bf3c909e26e8
Cell 7eefabde-37f8-45e1-9e44-06f78ab62a06 successfully created container for instance 1ae31a32-daab-45e6-87b1-bf3c909e26e8
Downloading app package...
Downloaded app package (131.1M)
-----> Vendoring R 3.4.4 for heroku-16 stack (latest)
Downloading and unpacking R binaries (https://heroku-buildpack-r.s3.amazonaws.com/heroku-16/R-3.4.4-binaries-latest.tar.gz)
I am on line number 237
fakechroot: preload library not found, aborting.
Failed to compile droplet: Failed to compile droplet: exit status 1
Exit status 223
Cell 7eefabde-37f8-45e1-9e44-06f78ab62a06 stopping instance 1ae31a32-daab-45e6-87b1-bf3c909e26e8
Cell 7eefabde-37f8-45e1-9e44-06f78ab62a06 destroying container for instance 1ae31a32-daab-45e6-87b1-bf3c909e26e8
Error staging application: App staging failed in the buildpack compile phase
FAILED
PS C:\Users\xxxxx\Documents\PCF\xxxxx-pcf\superzip>