Hello, launching Prefix on AIX (2.2.0 launcher) and on ReadyNAS (2.2.0 and 2.2.2 launchers) fails when attempting to install gettext: <snip>reams of output, compiling away happily</snip> /opt/gentoo/usr/bin/install -c -m 644 ./javadoc2/allclasses-frame.html /tmp/a_atssch/gpx/portage/sys-devel/gettext-0.18.1.1-r2/image//usr/share/doc/gettext-0.18.1.1-r2/javadoc2/allclasses-frame.html <snip> Uh-oh </snip> * QA Notice: the following files are outside of the prefix: * /usr * /usr/share * /usr/share/doc * /usr/share/doc/gettext-0.18.1.1-r2 * ERROR: sys-devel/gettext-0.18.1.1-r2 failed: * Aborting due to QA concerns: there are files installed outside the prefix * Using the -doc USE flag has no effect; the ebuild has --docdir hard-coded, and does not reference the EROOT variable. This causes Prefix to try and install the doc files outside the prefix. emerge --info: Portage 2.2.01.19572-prefix (prefix/aix/6.1.0.0/ppc, gcc-4.2.4, unavailable, 1 00CBE5CE4C00) ================================================================= System uname: AIX-1-00CBE5CE4C00-32bit Timestamp of tree: Mon, 19 Dec 2011 00:45:01 +0000 app-shells/bash: 4.2_p10::gentoo_prefix dev-lang/python: 2.7.2-r3::gentoo_prefix sys-devel/autoconf: 2.68::gentoo_prefix sys-devel/automake: 1.10.3::gentoo_prefix, 1.11.1::gentoo_prefix sys-devel/gcc: 4.2.4-r01.4::gentoo_prefix sys-devel/gcc-config: 1.4.1-r00.2::gentoo_prefix sys-devel/libtool: 2.4-r4::gentoo_prefix sys-devel/make: 3.82::gentoo_prefix Repositories: gentoo Installed sets: ACCEPT_KEYWORDS="~ppc-aix" ACCEPT_LICENSE="* -@EULA" CBUILD="powerpc-ibm-aix6.1.0.0" CFLAGS="" CHOST="powerpc-ibm-aix6.1.0.0" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/terminfo" CPPFLAGS="-I/opt/gentoo/usr/include" CXXFLAGS="" DISTDIR="/opt/gentoo/usr/portage/distfiles" FEATURES="assume-digests binpkg-logs collision-protect distlocks ebuild-locks fixlafiles news nostrip parallel-fetch preserve-libs protect-owned sfperms unknown-features-warn unmerge-logs unmerge-orphans userfetch" FFLAGS="" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="C" LDFLAGS="-L/opt/gentoo/usr/lib -L/opt/gentoo/lib" PKGDIR="/opt/gentoo/usr/portage/packages" PORTAGE_CONFIGROOT="/opt/gentoo/" 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="/tmp/a_atssch/gpx" PORTDIR="/opt/gentoo/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://xxxx.internalhost/portage" USE="cracklib cxx modules ncurses ppc-aix prefix 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 cgi cgid 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" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="AIX" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse" KERNEL="AIX" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS Reproducible: Always Steps to Reproduce: Launch the Prefix Launcher. Actual Results: getttext fails with QA errors. Expected Results: Documentation should have not been included (-doc USE flag); at very least the EROOT should have been honoured and the generated documentation installed within the prefix. This patch fixes the ebuild, in the sense that the documentation is installed in the correct location: --- gettext/gettext-0.18.1.1-r3.ebuild-orig 2011-12-19 14:39:59.000000000 +0000 +++ gettext/gettext-0.18.1.1-r3.ebuild 2011-12-19 14:38:56.000000000 +0000 @@ -50,7 +50,7 @@ # --with-included-libunistring will _disable_ libunistring (since # --it's not bundled), see bug #326477 econf \ - --docdir="/usr/share/doc/${PF}" \ + --docdir="${EROOT}/usr/share/doc/${PF}" \ --without-emacs \ --without-lispdir \ $(use_enable java) \
http://overlays.gentoo.org/proj/alt/browser/trunk/prefix-overlay/sys-devel/gettext there is no such ebuild :/ The http://overlays.gentoo.org/proj/alt/browser/trunk/prefix-overlay/sys-devel/gettext/gettext-0.18.1.1-r2.ebuild ebuild there, already uses EPREFIX for --docdir
ok, I shouldn't focus on bug titles :) Prefix launcher probably uses an outdated snapshot. This is a bit of a known problem, that gives haubi some joy :)
The critical problem is that you are NOT using the Gentoo Prefix tree. So, naturally, you will have (many) problems. (In reply to comment #0) > Repositories: gentoo > SYNC="rsync://xxxx.internalhost/portage"
Ah, thanks - I've applied http://prefix.gentooexperimental.org/distfiles/prefix-overlay-20111205.tar.bz2 over the snapshot I have, and made a note not to be a tool in future :-)
Can't you just unset SYNC and emerge --sync to get an up-to-date Prefix tree again?
Unfortunately not, this machine's isolated from the world at large. I've removed and re-emerged gettext though using the Prefix ebuild and all is well; onwards to glib! Thanks for your help.