Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 290189 - qt-core-4.5.3-r1, doins translations failed, ... ${EPREFIX} with helpers
Summary: qt-core-4.5.3-r1, doins translations failed, ... ${EPREFIX} with helpers
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Mac OSX (show other bugs)
Hardware: All OS X
: High blocker (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-23 00:39 UTC by matt
Modified: 2009-10-30 00:55 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description matt 2009-10-23 00:39:32 UTC
Updating 'translations/qvfb_zh_CN.qm'...
    Generated 61 translation(s) (61 finished and 0 unfinished)
Updating 'translations/qvfb_zh_TW.qm'...
    Generated 61 translation(s) (61 finished and 0 unfinished)
-------------------------------------------------------
You should not use ${EPREFIX} with helpers.
  --> /Volumes/prefix-ppc-macos-both/usr/share/qt4/translations
-------------------------------------------------------
 * ERROR: x11-libs/qt-core-4.5.3-r1 failed:
 *   doins translations failed
 * 
 * Call stack:
 *     ebuild.sh, line  51:  Called call-ebuildshell 'src_install'
 *   environment, line 724:  Called src_install
 *   environment, line 3600:  Called die
 * The specific snippet of code:
 *       doins translations/*.qm || die "doins translations failed";
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/Volumes/prefix-ppc-macos-both/var/tmp/portage/x11-libs/qt-core-4.5.3-r1/temp/build.log'.
 * The ebuild environment file is located at '/Volumes/prefix-ppc-macos-both/var/tmp/portage/x11-libs/qt-core-4.5.3-r1/temp/environment'.
 * S: '/Volumes/prefix-ppc-macos-both/var/tmp/portage/x11-libs/qt-core-4.5.3-r1/work/qt-mac-opensource-src-4.5.3'

>>> Failed to emerge x11-libs/qt-core-4.5.3-r1, Log file:
----------------------------------
Portage 2.2.00.14487-prefix (prefix/darwin/macos/10.4/ppc, gcc-4.2.1, unavailable, 8.11.0 Power Macintosh)
=================================================================
System uname: Darwin-8.11.0-Power_Macintosh-powerpc-32bit
Timestamp of tree: Sat, 10 Oct 2009 06:34:54 +0000
distcc 2.18.4-Apple.1 powerpc-apple-darwin8.0 (protocols 1 and 2) (default port 3632) [disabled]
app-shells/bash:     4.0_p33-r00.1
dev-lang/python:     2.6.2-r2
sys-devel/autoconf:  2.63-r01.1
sys-devel/automake:  1.10.2-r00.1, 1.11
sys-devel/gcc-config: 1.4.1-r00.2
sys-devel/libtool:   2.2.6a-r00.2
ACCEPT_KEYWORDS="ppc-macos ~ppc-macos"
CBUILD="powerpc-apple-darwin8"
CFLAGS="-02 -pipe -maltivec -mcpu=G4 -mtune=G4"
CHOST="powerpc-apple-darwin8"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-02 -pipe -maltivec -mcpu=G4 -mtune=G4"
DISTDIR="/Volumes/prefix-ppc-macos-both/usr/portage/distfiles"
FEATURES="assume-digests collision-protect distlocks fixpackages 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=""
LINGUAS="en en_US"
PKGDIR="/Volumes/prefix-ppc-macos-both/usr/portage/packages"
PORTAGE_CONFIGROOT="/Volumes/prefix-ppc-macos-both/"
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="/Volumes/prefix-ppc-macos-both/var/tmp"
PORTDIR="/Volumes/prefix-ppc-macos-both/usr/portage"
PORTDIR_OVERLAY="/Volumes/prefix-ppc-macos-both/usr/local/portage/local /Volumes/prefix-ppc-macos-both/usr/local/portage/mattmatteh-overlay"
SYNC="rsync://rsync.prefix.freens.org/gentoo-portage-prefix"
-----
i left out USE...
Comment 1 Fabian Groffen gentoo-dev 2009-10-23 14:09:11 UTC
hmmm, weird, does you ebuild look like this:

    insinto ${QTTRANSDIR#${EPREFIX}}
    doins translations/*.qm || die "doins translations failed"

that should remove the prefix
Comment 2 matt 2009-10-23 20:17:54 UTC
should have added USE= the first time.
USE="aqua glib qt3support ssl -debug -doc -iconv -pch"

reply to comment #1:

grep -n "insinto\|doins" usr/portage/x11-libs/qt-core/qt-core-4.5.3-r1.ebuild 
176:    insinto ${QTTRANSDIR#${EPREFIX}}
177:    doins translations/*.qm || die "doins translations failed"
Comment 3 Fabian Groffen gentoo-dev 2009-10-24 09:26:49 UTC
right, so you have set EPREFIX in the environment?  and does it differ from what env -i PATH=${PATH} portageq envvar EPREFIX gives?
Comment 4 matt 2009-10-24 18:36:16 UTC
matt@hibook /Volumes/prefix-ppc-macos-native $ env -i PATH=${PATH}
PATH=/Volumes/prefix-ppc-macos-native/usr/bin:/Volumes/prefix-ppc-macos-native/bin:/Volumes/prefix-ppc-macos-native/opt/bin:/Volumes/prefix-ppc-macos-native/usr/sbin:/Volumes/prefix-ppc-macos-native/sbin:/Volumes/prefix-ppc-macos-native/usr/powerpc-apple-darwin8/binutils-bin/3.1.2:/Volumes/prefix-ppc-macos-native/usr/powerpc-apple-darwin8/gcc-bin/4.2.1:/Volumes/prefix-ppc-macos-native/usr/games/bin:/usr/bin:/bin

matt@hibook /Volumes/prefix-ppc-macos-native $ portageq envvar EPREFIX
/Volumes/prefix-ppc-macos-native
matt@hibook /Volumes/prefix-ppc-macos-native $ 
Comment 5 Fabian Groffen gentoo-dev 2009-10-24 18:39:06 UTC
the thing was one single command ;)
Comment 6 matt 2009-10-24 19:12:00 UTC
matt@hibook /Volumes/prefix-ppc-macos-native $ env -i PATH=${PATH} portageq envvar EPREFIX
/Volumes/prefix-ppc-macos-native
Comment 7 Fabian Groffen gentoo-dev 2009-10-24 20:02:36 UTC
hmmm, then this should work...
Comment 8 Fabian Groffen gentoo-dev 2009-10-29 21:13:44 UTC
can this bug still be reproduced?
Comment 9 matt 2009-10-30 00:55:54 UTC
after a few more tries qt-core mysteriously just worked.  thanks.