Comments (6)
I've managed to replicate the issue, which seems to be related to LC_MESSAGES
variable being undefined.
Git remote heroku added
Counting objects: 11, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (11/11), done.
Writing objects: 100% (11/11), 1.95 KiB | 0 bytes/s, done.
Total 11 (delta 0), reused 0 (delta 0)
remote: Compressing source files... done.
remote: Building source:
remote:
remote: -----> Fetching custom git buildpack... done
remote: -----> Multipack app detected
remote: =====> Downloading Buildpack: https://github.com/virtualstaticvoid/heroku-buildpack-r.git
remote: =====> Detected Framework: R
remote: Vendoring R 3.1.2 for cedar-14 stack (20150303-1649)
remote: Downloading and unpacking R binaries (http://heroku-buildpack-r.s3.amazonaws.com/cedar-14/R-3.1.2-binaries-20150303-1649.tar.gz)
remote: Executing init.r script
remote: also installing the dependencies ‘RColorBrewer’, ‘sfsmisc’
remote:
remote: trying URL 'http://cran.revolutionanalytics.com/src/contrib/RColorBrewer_1.1-2.tar.gz'
remote: Content type 'application/octet-stream' length 11532 bytes (11 Kb)
remote: opened URL
remote: ==================================================
remote: downloaded 11 Kb
remote:
remote: trying URL 'http://cran.revolutionanalytics.com/src/contrib/sfsmisc_1.0-27.tar.gz'
remote: Content type 'application/octet-stream' length 165630 bytes (161 Kb)
remote: opened URL
remote: ==================================================
remote: downloaded 161 Kb
remote:
remote: trying URL 'http://cran.revolutionanalytics.com/src/contrib/expm_0.99-1.1.tar.gz'
remote: Content type 'application/octet-stream' length 128825 bytes (125 Kb)
remote: opened URL
remote: ==================================================
remote: downloaded 125 Kb
remote:
remote: * installing *source* package ‘RColorBrewer’ ...
remote: ** package ‘RColorBrewer’ successfully unpacked and MD5 sums checked
remote: ** R
remote: ** inst
remote: ** preparing package for lazy loading
remote: ** help
remote: *** installing help indices
remote: ** building package indices
remote: ** testing if installed package can be loaded
remote: * DONE (RColorBrewer)
remote: * installing *source* package ‘sfsmisc’ ...
remote: ** package ‘sfsmisc’ successfully unpacked and MD5 sums checked
remote: ** R
remote: ** data
remote: ** demo
remote: ** inst
remote: ** preparing package for lazy loading
remote: ** help
remote: *** installing help indices
remote: ** building package indices
remote: ** testing if installed package can be loaded
remote: * DONE (sfsmisc)
remote: * installing *source* package ‘expm’ ...
remote: ** package ‘expm’ successfully unpacked and MD5 sums checked
remote: ** libs
remote: In file included from locale.h:4:0,
remote: from expm.h:10,
remote: from R_dgebal.c:4:
remote: R_dgebal.c: In function ‘ebal_type’:
remote: locale.h:5:19: error: ‘LC_MESSAGES’ undeclared (first use in this function)
remote: #define _(String) dgettext ("expm", String)
remote: ^
remote: R_dgebal.c:11:8: note: in expansion of macro ‘_’
remote: error(_("argument type='%s' must be a character string of string length 1"),
remote: ^
remote: locale.h:5:19: note: each undeclared identifier is reported only once for each function it appears in
remote: #define _(String) dgettext ("expm", String)
remote: ^
remote: R_dgebal.c:11:8: note: in expansion of macro ‘_’
remote: error(_("argument type='%s' must be a character string of string length 1"),
remote: ^
remote: R_dgebal.c: In function ‘R_dgebal’:
remote: locale.h:5:19: error: ‘LC_MESSAGES’ undeclared (first use in this function)
remote: #define _(String) dgettext ("expm", String)
remote: ^
remote: R_dgebal.c:28:8: note: in expansion of macro ‘_’
remote: error(_("invalid 'x': not a numeric (classical R) matrix"));
remote: ^
remote: make: *** [R_dgebal.o] Error 1
remote: ERROR: compilation failed for package ‘expm’
remote: * removing ‘/app/vendor/R/lib/R/library/expm’
remote: Updating HTML index of packages in '.Library'
remote: Making 'packages.html' ... done
remote: Warning message:
remote: In install.packages(p, dependencies = TRUE) :
remote: installation of package ‘expm’ had non-zero exit status
...
I'll do some digging to try figure it out. I know there have been several broken packages since the 3.1.2 release.
from heroku-buildpack-r.
Ok, it appears that it's failing to resolve for libintl.h
. I'll try to sort this out.
from heroku-buildpack-r.
Fixed issue. @tbondwilkinson Please retry to confirm.
from heroku-buildpack-r.
Confirmed! Thank you for being so prompt!
from heroku-buildpack-r.
I have encountered the same problem. It was my environment variable C_INCLUDE_PATH that caused the error. The variable put a self-made include dir prior to the system include dirs.
from heroku-buildpack-r.
@virtualstaticvoid It appears someone may be having a related/similar problem using heroku-16 buildpack here
from heroku-buildpack-r.
Related Issues (20)
- I would really appreciate a walkthrough for a regular R user HOT 3
- renv 12 in my renv.lock file breaks the 'compilation' HOT 5
- GPG error HOT 3
- Rplumber test application delivers error HOT 5
- Increasing timeout HOT 1
- Support heroku-20 stack HOT 1
- Building with dokku HOT 2
- IsoSpecR not installed
- Skip BUILD_DIR to /app rsync when building in /app
- There is no package called 'renv' HOT 2
- Multiple-app hosting unavailable HOT 6
- Timeout when installing HOT 3
- Slow build time - Caching issue? HOT 2
- Authentication/Browser Problem when deployed. HOT 7
- Add Support for Heroku-22 HOT 9
- Add telegram.bot example and default packages HOT 6
- Use reticulate package HOT 1
- Aptfile installation fails HOT 1
- Could I use cloud native build packs? HOT 2
- renv 1.0.2 Error in if (n == 1) word else paste(word, "s", sep = ""): app[web.1]: the condition has length > 1 HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from heroku-buildpack-r.