{"action":"created","issue":{"url":"https://api.github.com/repos/mwvaughn/tacc-sci-life/issues/4","labels_url":"https://api.github.com/repos/mwvaughn/tacc-sci-life/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/mwvaughn/tacc-sci-life/issues/4/comments","events_url":"https://api.github.com/repos/mwvaughn/tacc-sci-life/issues/4/events","html_url":"https://github.com/mwvaughn/tacc-sci-life/issues/4","id":106172993,"number":4,"title":"Update REAME to new method","user":{"login":"zyndagj","id":6790115,"avatar_url":"https://avatars.githubusercontent.com/u/6790115?v=3","gravatar_id":"","url":"https://api.github.com/users/zyndagj","html_url":"https://github.com/zyndagj","followers_url":"https://api.github.com/users/zyndagj/followers","following_url":"https://api.github.com/users/zyndagj/following{/other_user}","gists_url":"https://api.github.com/users/zyndagj/gists{/gist_id}","starred_url":"https://api.github.com/users/zyndagj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zyndagj/subscriptions","organizations_url":"https://api.github.com/users/zyndagj/orgs","repos_url":"https://api.github.com/users/zyndagj/repos","events_url":"https://api.github.com/users/zyndagj/events{/privacy}","received_events_url":"https://api.github.com/users/zyndagj/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-09-12T17:13:41Z","updated_at":"2015-09-21T19:21:01Z","closed_at":null,"body":"Hey,\r\n\r\nCan we update the README.md to reflect the new build and installation methods. I'm guessing I didn't have one of the environment variables set when I built my package.\r\n\r\n```shell\r\n$ rpm --dbpath /work/03076/gzynda/apps/db --relocate /tmpmod=/work/03076/gzynda/apps/modulefiles --relocate /tmprpm=/work/03076/gzynda/apps -Uvh --force --nodeps ../stampede/RPMS/x86_64/bedtools-package-2.25.0-1.x86_64.rpm                                                                                                                \r\nPreparing...                ########################################### [100%]                                        \r\n   1:bedtools-package       ########################################### [100%]                                        \r\n======================================================================                                                \r\n|| TTTTTTTTTTTTTTT     AAAAA          /@@@@@@@\\        /@@@@@@@\\    ||                                                \r\n|| TTTTTTTTTTTTTTT    /AAAAA\\       @@@@@@@@@@@@\\    @@@@@@@@@@@@\\  ||                                                \r\n||      TTTTT        /AA/A\\AA\\     @@@@@/   \\@@@@|  @@@@@/   \\@@@@| ||                                                \r\n||      TTTTT       /AA/A@A\\AA\\   |@@@@/      '''' |@@@@/      '''' ||                                                \r\n||      TTTTT      ,^V@@@@@@@V^,  |CCCC            |CCCC            ||                                                \r\n||      TTTTT      AAAV@@@@@VAAA   CCCCC    ,CCCC|  CCCCC    ,CCCC| ||                                                \r\n||      TTTTT     /AAV|@/^\\@|VAA\\   CCCCCCCCCCCCC    CCCCCCCCCCCCC  ||                                                \r\n||      TTTTT    /AAA|/     \\|AAA\\    ^CCCCCCC^        ^CCCCCCC^    ||                                                \r\n======================================================================                                                \r\nThis is the bedtools-package-2.25.0-1 subpackage postinstall script                                                   \r\nUsing default RPM database path:                             /var/lib/rpm                                             \r\nrpm build-time macro module prefix:                          /tmpmod                                                  \r\nrpm build-time macro install prefix:                         /tmprpm                                                  \r\nrpm build-time macro MODULE_DIR:                             /tmpmod/modulefiles/bedtools                             \r\nrpm build-time macro INSTALL_DIR:                            /tmprpm/bedtools/2.25.0                                  \r\nERROR: POST_INSTALL_PREFIX is currently set but null or unset                                                         \r\nERROR: tacc_install_canary was not found                                                                              \r\nERROR: Something is not right. Exiting!                                                                               \r\nwarning: %post(bedtools-package-2.25.0-1.x86_64) scriptlet failed, exit status 255                                    \r\n```"},"comment":{"url":"https://api.github.com/repos/mwvaughn/tacc-sci-life/issues/comments/142083685","html_url":"https://github.com/mwvaughn/tacc-sci-life/issues/4#issuecomment-142083685","issue_url":"https://api.github.com/repos/mwvaughn/tacc-sci-life/issues/4","id":142083685,"user":{"login":"beckbw","id":12613773,"avatar_url":"https://avatars.githubusercontent.com/u/12613773?v=3","gravatar_id":"","url":"https://api.github.com/users/beckbw","html_url":"https://github.com/beckbw","followers_url":"https://api.github.com/users/beckbw/followers","following_url":"https://api.github.com/users/beckbw/following{/other_user}","gists_url":"https://api.github.com/users/beckbw/gists{/gist_id}","starred_url":"https://api.github.com/users/beckbw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/beckbw/subscriptions","organizations_url":"https://api.github.com/users/beckbw/orgs","repos_url":"https://api.github.com/users/beckbw/repos","events_url":"https://api.github.com/users/beckbw/events{/privacy}","received_events_url":"https://api.github.com/users/beckbw/received_events","type":"User","site_admin":false},"created_at":"2015-09-21T19:21:01Z","updated_at":"2015-09-21T19:21:01Z","body":"so *both* INSTALL and MODULE prefixes seem to depend on the TMPMOD canary, POST_MODULE_PREFIX, and MODULE_FILENAME :\r\n\r\n```include/post-defines.inc.102:  sed -i \"s:%{INSTALL_PREFIX}:${POST_INSTALL_PREFIX}:g\" ${POST_MODULE_PREFIX}/%{MODULE_SUFFIX}/%{MODULE_FILENAME}               # |```\r\n```include/post-defines.inc.103:  sed -i \"s:%{MODULE_PREFIX}:${POST_MODULE_PREFIX}:g\" ${POST_MODULE_PREFIX}/%{MODULE_SUFFIX}/%{MODULE_FILENAME}                 # |```\r\n\r\nMODULE_FILENAME is seems undefined (as Joe said) and it's not clear to me why the INSTALL prefix is using the TMPMOD canary (unless I'm just being dense).\r\n"}}