{"action":"created","issue":{"url":"https://api.github.com/repos/conda/conda/issues/4025","repository_url":"https://api.github.com/repos/conda/conda","labels_url":"https://api.github.com/repos/conda/conda/issues/4025/labels{/name}","comments_url":"https://api.github.com/repos/conda/conda/issues/4025/comments","events_url":"https://api.github.com/repos/conda/conda/issues/4025/events","html_url":"https://github.com/conda/conda/issues/4025","id":194566364,"number":4025,"title":"R_HOME ignored when building package with long name (conda-build 2.0.11)","user":{"login":"edurand","id":1194794,"avatar_url":"https://avatars.githubusercontent.com/u/1194794?v=3","gravatar_id":"","url":"https://api.github.com/users/edurand","html_url":"https://github.com/edurand","followers_url":"https://api.github.com/users/edurand/followers","following_url":"https://api.github.com/users/edurand/following{/other_user}","gists_url":"https://api.github.com/users/edurand/gists{/gist_id}","starred_url":"https://api.github.com/users/edurand/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edurand/subscriptions","organizations_url":"https://api.github.com/users/edurand/orgs","repos_url":"https://api.github.com/users/edurand/repos","events_url":"https://api.github.com/users/edurand/events{/privacy}","received_events_url":"https://api.github.com/users/edurand/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-12-09T10:49:00Z","updated_at":"2016-12-09T12:10:17Z","closed_at":null,"body":"Building R packages with long names now fails. For example: \r\n```\r\n$ conda build bioconductor-annotationfuncs\r\n...\r\nsource tree in: /usr/prog/onc/lib/conda-channels/duraner1/bioconductor-annotationfuncs_1481279816278/work/AnnotationFuncs\r\n+ source /usr/prog/onc/bin/miniconda3/bin/activate /usr/prog/onc/lib/conda-channels/duraner1/bioconductor-annotationfuncs_1481279816278/_b_env\r\n+ mv DESCRIPTION DESCRIPTION.old\r\n+ grep -v '^Priority: ' DESCRIPTION.old\r\n+ /usr/prog/onc/lib/conda-channels/duraner1/bioconductor-annotationfuncs_1481279816278/_b_env/bin/R CMD INSTALL --build .\r\nWARNING: ignoring environment value of R_HOME\r\n/usr/prog/onc/lib/conda-channels/duraner1/bioconductor-annotationfuncs_1481279816278/_b_env/lib/R/bin/R: line 238: /opt/anaconda1anaconda2anaconda3/lib/R/etc/ldpaths: No such file or directory\r\nCommand failed: /bin/bash -x -e /usr/prog/onc/lib/conda-channels/duraner1/bioconductor-annotationfuncs_1481279816278/work/AnnotationFuncs/conda_build.sh\r\n```\r\n\r\nThe error is that ldpaths is not correctly detected because R_HOME is ignored. \r\n\r\nSimply renaming the package to something shorter (e.g. bio-annotationfuncs) solves the issue. \r\n\r\nbioconductor-[package name] is the accepted naming convention at the moment. \r\n\r\nThanks. "},"comment":{"url":"https://api.github.com/repos/conda/conda/issues/comments/265999758","html_url":"https://github.com/conda/conda/issues/4025#issuecomment-265999758","issue_url":"https://api.github.com/repos/conda/conda/issues/4025","id":265999758,"user":{"login":"mingwandroid","id":1042804,"avatar_url":"https://avatars.githubusercontent.com/u/1042804?v=3","gravatar_id":"","url":"https://api.github.com/users/mingwandroid","html_url":"https://github.com/mingwandroid","followers_url":"https://api.github.com/users/mingwandroid/followers","following_url":"https://api.github.com/users/mingwandroid/following{/other_user}","gists_url":"https://api.github.com/users/mingwandroid/gists{/gist_id}","starred_url":"https://api.github.com/users/mingwandroid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mingwandroid/subscriptions","organizations_url":"https://api.github.com/users/mingwandroid/orgs","repos_url":"https://api.github.com/users/mingwandroid/repos","events_url":"https://api.github.com/users/mingwandroid/events{/privacy}","received_events_url":"https://api.github.com/users/mingwandroid/received_events","type":"User","site_admin":false},"created_at":"2016-12-09T12:10:17Z","updated_at":"2016-12-09T12:10:17Z","body":"If you use a shorter name do you then not see:\r\n\r\n```\r\nWARNING: ignoring environment value of R_HOME\r\n```\r\n\r\nTo me, the bug would appear to be that that bit of code exists if that is the case."}}
{"actor":{"display_login":"mingwandroid"}}