letto@localhost ~/devel $ sudo emerge -avuDN world These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild U ] x11-libs/qt-assistant-4.6.2-r1 [4.6.2] USE="exceptions (-aqua) -debug -pch -trace%" 0 kB Total: 1 package (1 upgrade), Size of downloads: 0 kB Would you like to merge these packages? [Yes/No] >>> Verifying ebuild manifests >>> Emerging (1 of 1) x11-libs/qt-assistant-4.6.2-r1 * qt-everywhere-opensource-src-4.6.2.tar.gz RMD160 SHA1 SHA256 size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] * CPV: x11-libs/qt-assistant-4.6.2-r1 * REPO: gentoo * USE: amd64 elibc_glibc exceptions kernel_linux userland_GNU >>> Unpacking source... tar xzpf /var/tmp/portage/x11-libs/qt-assistant-4.6.2-r1/distdir/qt-everywhere-opensource-src-4.6.2.tar.gz qt-everywhere-opensource-src-4.6.2/configure qt-everywhere-opensource-src-4.6.2/LICENSE.GPL3 qt-everywhere-opensource-src-4.6.2/LICENSE.LGPL qt-everywhere-opensource-src-4.6.2/projects.pro qt-everywhere-opensource-src-4.6.2/src/qbase.pri qt-everywhere-opensource-src-4.6.2/src/qt_targets.pri qt-everywhere-opensource-src-4.6.2/src/qt_install.pri qt-everywhere-opensource-src-4.6.2/bin qt-everywhere-opensource-src-4.6.2/config.tests qt-everywhere-opensource-src-4.6.2/mkspecs qt-everywhere-opensource-src-4.6.2/qmake qt-everywhere-opensource-src-4.6.2/tools/assistant qt-everywhere-opensource-src-4.6.2/tools/pixeltool qt-everywhere-opensource-src-4.6.2/tools/qdoc3 qt-everywhere-opensource-src-4.6.2/tools/assistant qt-everywhere-opensource-src-4.6.2/tools/pixeltool qt-everywhere-opensource-src-4.6.2/tools/qdoc3 qt-everywhere-opensource-src-4.6.2/tools/ qt-everywhere-opensource-src-4.6.2/demos/ qt-everywhere-opensource-src-4.6.2/examples/ qt-everywhere-opensource-src-4.6.2/src/ qt-everywhere-opensource-src-4.6.2/include/ qt-everywhere-opensource-src-4.6.2/doc/ tar: qt-everywhere-opensource-src-4.6.2/tools/assistant: Not found in archive tar: qt-everywhere-opensource-src-4.6.2/tools/pixeltool: Not found in archive tar: qt-everywhere-opensource-src-4.6.2/tools/qdoc3: Not found in archive tar: Exiting with failure status due to previous errors * ERROR: x11-libs/qt-assistant-4.6.2-r1 failed: * (no error message) * * Call stack: * ebuild.sh, line 54: Called src_unpack * environment, line 3460: Called qt4-build_src_unpack * environment, line 3159: Called die * The specific snippet of code: * tar xzpf "${DISTDIR}"/${MY_P}.tar.gz ${targets} || die * * If you need support, post the output of 'emerge --info =x11-libs/qt-assistant-4.6.2-r1', * the complete build log and the output of 'emerge -pqv =x11-libs/qt-assistant-4.6.2-r1'. * The complete build log is located at '/var/tmp/portage/x11-libs/qt-assistant-4.6.2-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/x11-libs/qt-assistant-4.6.2-r1/temp/environment'. * S: '/var/tmp/portage/x11-libs/qt-assistant-4.6.2-r1/work/qt-everywhere-opensource-src-4.6.2' >>> Failed to emerge x11-libs/qt-assistant-4.6.2-r1, Log file: >>> '/var/tmp/portage/x11-libs/qt-assistant-4.6.2-r1/temp/build.log' Reproducible: Always
And the emerge --info Portage 2.1.8.3 (default/linux/amd64/10.0/no-multilib, gcc-4.4.3, glibc-2.11.1-r0, 2.6.33-gentoo-r1 x86_64) ================================================================= System Settings ================================================================= System uname: Linux-2.6.33-gentoo-r1-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_6000+-with-gentoo-2.0.1 Timestamp of tree: Sun, 02 May 2010 01:00:01 +0000 app-shells/bash: 4.1_p5 dev-java/java-config: 2.1.11 dev-lang/python: 2.6.5-r2 dev-util/cmake: 2.8.1-r1 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.6.1-r1 sys-apps/sandbox: 2.2 sys-devel/autoconf: 2.13, 2.65 sys-devel/automake: 1.9.6-r3, 1.10.3, 1.11.1 sys-devel/binutils: 2.20.1 sys-devel/gcc: 4.4.3-r2 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6b virtual/os-headers: 2.6.33 ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="* -@EULA dlj-1.1" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -O2 -msse3 -m3dnow -pipe -ggdb" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /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=native -O2 -msse3 -m3dnow -pipe -ggdb" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--with-bdeps y" FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sfperms splitdebug strict unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org" LDFLAGS="-Wl,-O1" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" 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="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow 3dnowext X acpi alsa amd64 ass bash-completion berkdb bzip2 cairo cleartype cli cracklib crypt cscope curl curses cxx dbus djvu doc dri fam flac fontconfig fortran gdbm gif glib gmp gnutls gpm hal iconv inotify jpeg kde lm_sensors lzma mmx mmxext mng modules mp3 mudflap musepack musicbrainz ncurses nls nptl nptlonly ogg openexr opengl openmp pam pcre pdf perl png policykit pppd python qt3support qt4 rar readline reflection ruby semantic-desktop session slangn spl sse sse2 ssl svg sysfs tcpd theora threads tiff unicode vdpau vim-syntax vorbis webkit x264 xattr xcb xcomposite xinerama xml xorg xscreensaver xvid zip zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia nv" 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: CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Can confirm this here as well.
After looking through the output for awhile, I noticed that it was including the three directories in the error twice in the tar command. For some reason, tar complains about them the second time it encounters them (but extracts them the first time) After, running with PORTAGE_DEBUG=1 to get a better idea of what was happening, I noticed that this part of the ebuild will end up duplicating the paths in QT4_TARGET_DIRECTORIES and thus passing them twice to tar, causing its complaint, and thus triggering the || die clause of the tar line in qt4-build_src_unpack() The responsible code block (I think): QT4_TARGET_DIRECTORIES=" tools/assistant tools/pixeltool tools/qdoc3" QT4_EXTRACT_DIRECTORIES="${QT4_TARGET_DIRECTORIES} tools/ demos/ examples/ src/ include/ doc/"
Same there
(In reply to comment #4) > Same there > Confirmed here, too.
Created attachment 230017 [details] Proposed correction for Bug 318079 With this corrected file, I successfully corrected the problem
(In reply to comment #6) Your ebuild worked for my ~x86 system. Good work! Thank you.
It should be ok now. Sorry for the confusion