{"issue":{"state":"open","pull_request":{"diff_url":null,"html_url":null,"patch_url":null},"user":{"avatar_url":"https://secure.gravatar.com/avatar/e822acb0564c5632aae69fef35f85b3d?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"e822acb0564c5632aae69fef35f85b3d","url":"https://api.github.com/users/scalone","login":"scalone","id":108927},"milestone":null,"assignee":null,"labels":[],"updated_at":"2011-11-03T08:43:35Z","comments":7,"closed_at":null,"url":"https://api.github.com/repos/jordansissel/fpm/issues/108","body":"Hello, I have an error using fpm on Centos 6, 64 bits, someone knwos anything about it?\r\nError:\r\n--\r\nExecuting(%prep): /bin/sh -e /var/tmp/rpm-tmp.q88X8p\r\n+ umask 022\r\n+ cd /home/packer/walk-manager-3/build-rpm-walk-manager-3_0_3.rpm/BUILD\r\n+ LANG=C\r\n+ export LANG\r\n+ unset DISPLAY\r\n+ exit 0\r\nExecuting(%build): /bin/sh -e /var/tmp/rpm-tmp.iFaEE2\r\n+ umask 022\r\n+ cd /home/packer/walk-manager-3/build-rpm-walk-manager-3_0_3.rpm/BUILD\r\n+ LANG=C\r\n+ export LANG\r\n+ unset DISPLAY\r\n+ cd /home/packer/walk-manager-3/build-rpm-walk-manager-3_0_3.rpm/BUILD\r\n+ tar -zxf /home/packer/walk-manager-3/build-rpm-walk-manager-3_0_3.rpm/data.tar.gz\r\n+ exit 0\r\nExecuting(%install): /bin/sh -e /var/tmp/rpm-tmp.mUUYHF\r\n+ umask 022\r\n+ cd /home/packer/walk-manager-3/build-rpm-walk-manager-3_0_3.rpm/BUILD\r\n+ '[' /home/packer/walk-manager-3/build-rpm-walk-manager-3_0_3.rpm/BUILD '!=' / ']'\r\n+ rm -rf /home/packer/walk-manager-3/build-rpm-walk-manager-3_0_3.rpm/BUILD\r\n++ dirname /home/packer/walk-manager-3/build-rpm-walk-manager-3_0_3.rpm/BUILD\r\n+ mkdir -p /home/packer/walk-manager-3/build-rpm-walk-manager-3_0_3.rpm\r\n+ mkdir /home/packer/walk-manager-3/build-rpm-walk-manager-3_0_3.rpm/BUILD\r\n+ LANG=C\r\n+ export LANG\r\n+ unset DISPLAY\r\n+ /usr/lib/rpm/check-buildroot\r\nshell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory\r\n+ /usr/lib/rpm/redhat/brp-compress\r\nshell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory\r\nchdir: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory\r\n+ /usr/lib/rpm/redhat/brp-strip /usr/bin/strip\r\nshell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory\r\n+ /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip\r\nshell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory\r\n+ /usr/lib/rpm/redhat/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump\r\nshell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory\r\n+ /usr/lib/rpm/brp-python-bytecompile\r\nshell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory\r\n+ /usr/lib/rpm/redhat/brp-python-hardlink\r\nshell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory\r\n+ /usr/lib/rpm/redhat/brp-java-repack-jars\r\nshell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory\r\nProcessing files: walk-manager-3.0.3-1.x86_64\r\nerror: File not found: /home/packer/walk-manager-3/build-rpm-walk-manager-3_0_3.rpm/BUILD/opt/walk-manager\r\n\r\n\r\nRPM build errors:\r\n    File not found: /home/packer/walk-manager-3/build-rpm-walk-manager-3_0_3.rpm/BUILD/opt/walk-manager\r\n/home/packer/.rvm/gems/ruby-1.9.2-p290@fpm/gems/fpm-0.3.9/lib/fpm/util.rb:4:in `safesystem': 'system([\"rpmbuild\", \"-ba\", \"--define\", \"buildroot /home/packer/walk-manager-3/build-rpm-walk-manager-3_0_3.rpm/BUILD\", \"--define\", \"_topdir /home/packer/walk-manager-3/build-rpm-walk-manager-3_0_3.rpm\", \"--define\", \"_sourcedir /home/packer/walk-manager-3/build-rpm-walk-manager-3_0_3.rpm\", \"--define\", \"_rpmdir /home/packer/walk-manager-3/build-rpm-walk-manager-3_0_3.rpm/RPMS\", \"walk-manager.spec\"])' failed with error code: 1 (\r\nRuntimeError)\r\n\tfrom /home/packer/.rvm/gems/ruby-1.9.2-p290@fpm/gems/fpm-0.3.9/lib/fpm/target/rpm.rb:52:in `build!'\r\n\tfrom /home/packer/.rvm/gems/ruby-1.9.2-p290@fpm/gems/fpm-0.3.9/lib/fpm/builder.rb:120:in `block in assemble!'\r\n\tfrom /home/packer/.rvm/gems/ruby-1.9.2-p290@fpm/gems/fpm-0.3.9/lib/fpm/builder.rb:119:in `chdir'\r\n\tfrom /home/packer/.rvm/gems/ruby-1.9.2-p290@fpm/gems/fpm-0.3.9/lib/fpm/builder.rb:119:in `assemble!'\r\n\tfrom /home/packer/.rvm/gems/ruby-1.9.2-p290@fpm/gems/fpm-0.3.9/lib/fpm/program.rb:51:in `run'\r\n\tfrom /home/packer/.rvm/gems/ruby-1.9.2-p290@fpm/gems/fpm-0.3.9/bin/fpm:20:in `<top (required)>'\r\n\tfrom /home/packer/.rvm/gems/ruby-1.9.2-p290@fpm/bin/fpm:19:in `load'\r\n\tfrom /home/packer/.rvm/gems/ruby-1.9.2-p290@fpm/bin/fpm:19:in `<main>'\r\n--\r\nDetails:\r\n # rpmbuild --version\r\nRPM version 4.8.0\r\n\r\n # gem list fpm\r\n\r\n*** LOCAL GEMS ***\r\n\r\nfpm (0.3.9)\r\n\r\n # uname -a\r\nLinux ip-10-32-174-5 2.6.32-71.29.1.el6.x86_64 #1 SMP Mon Jun 27 19:49:27 BST 2011 x86_64 x86_64 x86_64 GNU/Linux\r\n # cat /proc/version \r\nLinux version 2.6.32-71.29.1.el6.x86_64 (mockbuild@c6b5.bsys.dev.centos.org) (gcc version 4.4.4 20100726 (Red Hat 4.4.4-13) (GCC) ) #1 SMP Mon Jun 27 19:49:27 BST 2011\r\n\r\n # exec:\r\nfpm --prefix=/opt/walk-manager \r\n  -d \"ruby >= 1.9.2\" \\\r\n  -d \"rubygem-bundler >= 1.0.18\" \\\r\n  -d \"sqlite >= 3.3.6-5\" \\\r\n  -d \"sqlite-devel >= 3.3.6-5\" \\\r\n  -d \"sqlite-autoconf >= 3.3\" \\\r\n  -d \"curl >= 7.15.5-9\" \\\r\n  -d \"curl-devel >= 7.15.5-9\" \\\r\n  -d \"make >= 3.81-3\" \\\r\n  -d \"openssl >= 1.0.0\" \\\r\n  -d \"openssl-devel >= 1.0.0\" \\\r\n  -s dir \\\r\n  -v 3.0.3 \\\r\n  -t rpm \\\r\n  -n walk-manager \\\r\n  -C /home/packer/walk-manager/packages/walk-manager \\\r\n  --post-install=/home/packer/scripts/package/post_install.sh \\\r\n  -p walk-manager_3_0_3.rpm","html_url":"https://github.com/jordansissel/fpm/issues/108","number":108,"title":"error using fpm on Centos 6, 64 bits rpmbuild 4.8.0","id":1818318,"created_at":"2011-10-04T21:49:07Z"},"action":"created","comment":{"user":{"avatar_url":"https://secure.gravatar.com/avatar/75fdd336ae5f818276f1cf79e0468b2d?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"75fdd336ae5f818276f1cf79e0468b2d","url":"https://api.github.com/users/jordansissel","login":"jordansissel","id":131818},"updated_at":"2011-11-03T08:43:35Z","url":"https://api.github.com/repos/jordansissel/fpm/issues/comments/2614461","body":"I pushed fpm 0.3.11 with a fix I thought was in earlier versions.\r\n\r\nThe actions taken previously in the rpm %build step (untar data.tar.gz) are now done in the %install step to avoid any of this silly madness.\r\n\r\nI had someone test this on centos 6 who was still having these problems, and 0.3.11 fixed it for them. Closing!","id":2614461,"created_at":"2011-11-03T08:43:35Z"}}