Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 300138 - dev-java/hp-jdk-bin-1.6.0.05 fails to emerge on hppa-hpux
Summary: dev-java/hp-jdk-bin-1.6.0.05 fails to emerge on hppa-hpux
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: HPPA HPUX
: High normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 300137
  Show dependency tree
 
Reported: 2010-01-08 09:20 UTC by Bruno Redondi
Modified: 2010-01-14 12:15 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,1.94 KB, text/plain)
2010-01-08 09:20 UTC, Bruno Redondi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bruno Redondi 2010-01-08 09:20:02 UTC
emerging hp-jdk-bin fails unpacking depot.
It seems that unpack code strips leading "/usr" form EPREFIX ("/usr/local/gentoo-prefix") resulting in the error: interpreter "/local/gentoo-prefix/bin/bash" not found

Reproducible: Always

Steps to Reproduce:
1.emerge hp-jdk-bin
2.
3.

Actual Results:  
 * ERROR: dev-java/hp-jdk-bin-1.6.0.05 failed:
 *   unpack failed (make unzip)
 * 
 * Call stack:
 *     ebuild.sh, line  54:  Called call-ebuildshell 'src_unpack'
 *   environment, line 396:  Called src_unpack
 *   environment, line 2958:  Called die
 * The specific snippet of code:
 *       [[ ${status[@]} == "0 0 0" ]] || die "unpack failed (${diag})";
 * 
 * If you need support, post the output of 'emerge --info =dev-java/hp-jdk-bin-1.6.0.05',
 * the complete build log and the output of 'emerge -pqv =dev-java/hp-jdk-bin-1.6.0.05'.
 * The complete build log is located at '/usr/local/gentoo-prefix/var/tmp/portage/dev-java/hp-jdk-bin-1.6.0.05/temp/build.log'.
 * The ebuild environment file is located at '/usr/local/gentoo-prefix/var/tmp/portage/dev-java/hp-jdk-bin-1.6.0.05/temp/environment'.
 * S: '/usr/local/gentoo-prefix/var/tmp/portage/dev-java/hp-jdk-bin-1.6.0.05/work'



bruno@snsv00v1 ~ $ emerge --info =dev-java/hp-jdk-bin-1.6.0.05                 
Portage 2.2.00.15171-prefix (prefix/hpux/B.11.11/hppa2.0, gcc-4.2.4, unavailable, B.11.11 9000/800)
=================================================================
                        System Settings
=================================================================
System uname: HP-UX-B.11.11-9000-800-32bit
Timestamp of tree: Fri, 08 Jan 2010 08:11:11 +0000
app-shells/bash:     4.0_p35
dev-lang/python:     2.6.4
sys-devel/autoconf:  2.63-r01.1
sys-devel/automake:  1.10.2-r00.1, 1.11.1
sys-devel/binutils:  2.19.1-r01.1
sys-devel/gcc-config: 1.4.1-r00.2
sys-devel/libtool:   2.2.6b
ACCEPT_KEYWORDS="~hppa-hpux"
ACCEPT_LICENSE="* -@EULA"
CBUILD="hppa2.0w-hp-hpux11.11"
CFLAGS="-O2 -pipe -march=2.0 -mschedule=8000 -fomit-frame-pointer"
CHOST="hppa2.0w-hp-hpux11.11"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=2.0 -mschedule=8000 -fomit-frame-pointer"
DISTDIR="/usr/local/gentoo-prefix/usr/portage/distfiles"
FEATURES="assume-digests collision-protect distlocks fixpackages news nostrip parallel-fetch preserve-libs protect-owned sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS="-L/usr/local/gentoo-prefix/usr/lib -R/usr/local/gentoo-prefix/usr/lib"
MAKEOPTS="-j3"
PKGDIR="/usr/local/gentoo-prefix/usr/portage/packages"
PORTAGE_CONFIGROOT="/usr/local/gentoo-prefix/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/usr/local/gentoo-prefix/var/tmp"
PORTDIR="/usr/local/gentoo-prefix/usr/portage"
SYNC="rsync://rsync.prefix.freens.org/gentoo-portage-prefix"
USE="cracklib cxx hppa-hpux modules ncurses nls prefix readline ssl unicode zlib" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="HPUX" INPUT_DEVICES="keyboard mouse" KERNEL="HPUX" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" USERLAND="GNU" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Bruno Redondi 2010-01-08 09:20:31 UTC
Created attachment 215625 [details]
build.log
Comment 2 Michael Haubenwallner (RETIRED) gentoo-dev 2010-01-11 16:04:00 UTC
(In reply to comment #0)
> It seems that unpack code strips leading "/usr" form EPREFIX
> ("/usr/local/gentoo-prefix") resulting in the error: interpreter
> "/local/gentoo-prefix/bin/bash" not found

WTF...?

Does it make any difference with another EPREFIX not starting with (or containing?) "/usr/local" ?
Comment 3 Bruno Redondi 2010-01-11 16:21:17 UTC
I need sometime to build a new prefix to test
Comment 4 Bruno Redondi 2010-01-13 14:24:34 UTC
bootstrapped a new prefix with EPREFIX=/gentoo-prefix and dev-java/hp-jdk-bin works as expected!

so the error happens only when EPREFIX starts with /usr.
 

Comment 5 Michael Haubenwallner (RETIRED) gentoo-dev 2010-01-13 17:03:08 UTC
Good to hear.
I'm unsure if it is good practice to use EPREFIX starting with /usr at all, so I'm wondering if it'd be worth the effort to search this problem at all.
Comment 6 Bruno Redondi 2010-01-14 10:54:51 UTC
I think you can close this bug.
Comment 7 Michael Haubenwallner (RETIRED) gentoo-dev 2010-01-14 12:15:52 UTC
ok.