valgrind fail's to emerge. emerge output below portable ~ # emerge valgrind Calculating dependencies ...done! >>> emerge (1 of 1) dev-util/valgrind-2.4.0 to / >>> md5 files ;-) valgrind-2.4.0.ebuild >>> md5 files ;-) valgrind-2.2.0-r2.ebuild >>> md5 files ;-) files/valgrind-2.2.0-no-exec-stack.patch >>> md5 files ;-) files/digest-valgrind-2.4.0 >>> md5 files ;-) files/valgrind-2.2.0-current-macro-clash.patch >>> md5 files ;-) files/valgrind-2.4.0-pie-fix.patch >>> md5 files ;-) files/digest-valgrind-2.2.0-r2 >>> Unpacking source... !!! ERROR: dev-util/valgrind-2.4.0 failed. !!! Function unpack, Line 352, Exitcode 0 !!! Nothing passed to the 'unpack' command !!! If you need support, post the topmost build error, NOT this status message. portable ~ # emerge --debug valgrind Calculating dependencies Parent: None Depstring: dev-util/valgrind Candidates: ['dev-util/valgrind'] ebuild: dev-util/valgrind-2.4.0 binpkg: None - Parent: ebuild / dev-util/valgrind-2.4.0 merge Depstring: virtual/libc X? ( virtual/x11 ) sys-devel/autoconf !bootstrap? ( sys-devel/patch ) !bootstrap? ( sys-devel/patch ) virtual/libc X? ( virtual/x11 ) Exiting... None ...done! >>> emerge (1 of 1) dev-util/valgrind-2.4.0 to / + dyn_clean + '[' GNU == BSD ']' + '[' GNU == Darwin ']' + rm -rf /var/tmp/portage/valgrind-2.4.0/image + hasq keeptemp autoconfig ccache distlocks sandbox sfperms strict userpriv usersandbox + local x + local me=keeptemp + shift + for x in '"$@"' + '[' autoconfig == keeptemp ']' + for x in '"$@"' + '[' ccache == keeptemp ']' + for x in '"$@"' + '[' distlocks == keeptemp ']' + for x in '"$@"' + '[' sandbox == keeptemp ']' + for x in '"$@"' + '[' sfperms == keeptemp ']' + for x in '"$@"' + '[' strict == keeptemp ']' + for x in '"$@"' + '[' userpriv == keeptemp ']' + for x in '"$@"' + '[' usersandbox == keeptemp ']' + return 1 + rm -rf /var/tmp/portage/valgrind-2.4.0/temp + hasq keepwork autoconfig ccache distlocks sandbox sfperms strict userpriv usersandbox + local x + local me=keepwork + shift + for x in '"$@"' + '[' autoconfig == keepwork ']' + for x in '"$@"' + '[' ccache == keepwork ']' + for x in '"$@"' + '[' distlocks == keepwork ']' + for x in '"$@"' + '[' sandbox == keepwork ']' + for x in '"$@"' + '[' sfperms == keepwork ']' + for x in '"$@"' + '[' strict == keepwork ']' + for x in '"$@"' + '[' userpriv == keepwork ']' + for x in '"$@"' + '[' usersandbox == keepwork ']' + return 1 + rm -rf /var/tmp/portage/valgrind-2.4.0/.unpacked + rm -rf /var/tmp/portage/valgrind-2.4.0/.compiled + rm -rf /var/tmp/portage/valgrind-2.4.0/.tested + rm -rf /var/tmp/portage/valgrind-2.4.0/.installed + rm -rf /var/tmp/portage/valgrind-2.4.0/.packaged + rm -rf /var/tmp/portage/valgrind-2.4.0/build-info + rm -rf /var/tmp/portage/valgrind-2.4.0/work + '[' -f /var/tmp/portage/valgrind-2.4.0/.unpacked ']' ++ find /var/tmp/portage/valgrind-2.4.0 -mindepth 1 -maxdepth 1 + '[' -z '' ']' + rmdir /var/tmp/portage/valgrind-2.4.0 + true + set +x >>> md5 files ;-) valgrind-2.4.0.ebuild >>> md5 files ;-) valgrind-2.2.0-r2.ebuild >>> md5 files ;-) files/valgrind-2.2.0-no-exec-stack.patch >>> md5 files ;-) files/digest-valgrind-2.4.0 >>> md5 files ;-) files/valgrind-2.2.0-current-macro-clash.patch >>> md5 files ;-) files/valgrind-2.4.0-pie-fix.patch >>> md5 files ;-) files/digest-valgrind-2.2.0-r2 + dyn_setup + pkg_setup + return + set +x + dyn_unpack + trap abort_unpack SIGINT SIGQUIT + local newstuff=no + '[' -e /var/tmp/portage/valgrind-2.4.0/work ']' + '[' -e /var/tmp/portage/valgrind-2.4.0/work ']' + install -m0700 -d /var/tmp/portage/valgrind-2.4.0/work + '[' -d /var/tmp/portage/valgrind-2.4.0/work ']' + cd /var/tmp/portage/valgrind-2.4.0/work + echo '>>> Unpacking source...' >>> Unpacking source... + src_unpack + unpack + local x + local y + local myfail + local tarvars + '[' GNU == BSD ']' + tarvars=--no-same-owner + '[' -z '' ']' + diefunc unpack 352 0 'Nothing passed to the '\''unpack'\'' command' + local funcname=unpack lineno=352 exitcode=0 + shift 3 + echo + echo '!!! ERROR: dev-util/valgrind-2.4.0 failed.' !!! ERROR: dev-util/valgrind-2.4.0 failed. + echo '!!! Function unpack, Line 352, Exitcode 0' !!! Function unpack, Line 352, Exitcode 0 + echo '!!! Nothing passed to the '\''unpack'\'' command' !!! Nothing passed to the 'unpack' command + echo '!!! If you need support, post the topmost build error, NOT this status message.' !!! If you need support, post the topmost build error, NOT this status message. + echo + exit 1 Reproducible: Always Steps to Reproduce: 1. emerge valgrind Actual Results: emerge fails Expected Results: emerge builds the application I'm running on an AMD64, but the problem is proably on all hardware platforms.
Re-assinging to griffon26. Adjusted summary, please include version numbers in the summary next time, as it makes it easier for users to search for this bug in case they have the same problem, here for more information: http://www.gentoo.org/doc/en/bugzilla-howto.xml
Valgrind is known not to work on amd64, hence the keywords "-* ~ppc x86". That is also the reason that ${A} expands to nothing; SRC_URI only specifies something for ppc and x86.