* Package: app-text/jpdftweak-0.9-r1 * Repository: gentoo * Maintainer: java@gentoo.org * USE: amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: preserve-libs sandbox userpriv usersandbox * Using: icedtea-bin-7 /var/tmp/portage/app-text/jpdftweak-0.9-r1/temp/environment: line 3170: cd: lib: No such file or directory * ERROR: app-text/jpdftweak-0.9-r1::gentoo failed (prepare phase): * (no error message) * * Call stack: * ebuild.sh, line 93: Called src_prepare * environment, line 3835: Called java-pkg-2_src_prepare * environment, line 1778: Called java-utils-2_src_prepare * environment, line 3158: Called java_prepare * environment, line 3173: Called java-pkg-2_src_prepare * environment, line 1778: Called java-utils-2_src_prepare * environment, line 3158: Called java_prepare * environment, line 3170: Called die * The specific snippet of code: * cd lib || die; * * If you need support, post the output of `emerge --info '=app-text/jpdftweak-0.9-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=app-text/jpdftweak-0.9-r1::gentoo'`. !!! When you file a bug report, please include the following information: GENTOO_VM=icedtea-bin-7 CLASSPATH="" JAVA_HOME="/opt/icedtea-bin-7.2.4.3" JAVACFLAGS="-source 1.5 -target 1.5" COMPILER="" and of course, the output of emerge --info =jpdftweak-0.9 * The complete build log is located at '/var/tmp/portage/app-text/jpdftweak-0.9-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-text/jpdftweak-0.9-r1/temp/environment'. * Working directory: '/var/tmp/portage/app-text/jpdftweak-0.9-r1/work/lib' * S: '/var/tmp/portage/app-text/jpdftweak-0.9-r1/work' ~ Reproducible: Always Portage 2.2.8 (default/linux/amd64/13.0/desktop, gcc-4.8.2, glibc-2.17, 3.12.6-gentoo x86_64) ================================================================= System uname: Linux-3.12.6-gentoo-x86_64-Intel-R-_Core-TM-_i7-3740QM_CPU_@_2.70GHz-with-gentoo-2.2 KiB Mem: 24695696 total, 5813024 free KiB Swap: 25598972 total, 25598972 free Timestamp of tree: Thu, 09 Jan 2014 07:30:01 +0000 ld GNU ld (GNU Binutils) 2.24 app-shells/bash: 4.2_p45-r1 dev-java/java-config: 2.2.0 dev-lang/python: 2.7.6, 3.2.5-r3, 3.3.3 dev-util/cmake: 2.8.12.1-r2 dev-util/pkgconfig: 0.28 sys-apps/baselayout: 2.2 sys-apps/openrc: 0.12.4 sys-apps/sandbox: 2.6-r1 sys-devel/autoconf: 2.13, 2.69 sys-devel/automake: 1.11.6, 1.12.6, 1.14.1 sys-devel/binutils: 2.24-r1 sys-devel/gcc: 4.7.3-r1, 4.8.2 sys-devel/gcc-config: 1.8 sys-devel/libtool: 2.4.2 sys-devel/make: 4.0-r1 sys-kernel/linux-headers: 3.12 (virtual/os-headers) sys-libs/glibc: 2.17 Repositories: gentoo bitcoin lokal ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=corei7 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.5/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cli-php5.5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-march=corei7 -O2 -pipe" DISTDIR="/mnt/portage/distfiles" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="de_DE.UTF-8" LC_ALL="" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j9" PKGDIR="/mnt/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/mnt/portage"
Similar here with oracle-jdk-bin-1.7 instead of icedtea. Here the same problem ("cd lib") occurred in line 3200 of the environment which I have attached.
Created attachment 367460 [details] jpdftweak-0.9-r1.environment.xz
+ 09 Jan 2014; Tom Wijsman <TomWij@gentoo.org> jpdftweak-0.9-r1.ebuild: + Run src_prepare only once; fixes bug #497616, reported by tman. Thank you for reporting.