Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 322893 - app-arch/pbzip2-1.1.1: can't unpack emul-linux-x86-gtklibs-20100409 tarball
Summary: app-arch/pbzip2-1.1.1: can't unpack emul-linux-x86-gtklibs-20100409 tarball
Status: RESOLVED DUPLICATE of bug 320313
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High minor (vote)
Assignee: Dror Levin (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-05 18:48 UTC by Jakub A. Zienkiewicz
Modified: 2010-06-05 19:40 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 Jakub A. Zienkiewicz 2010-06-05 18:48:52 UTC
Package app-emulation/emul-linux-x86-gtklibs-20100409-r1 fails to unpack when pbzip2 is used instead of bzip2. If bzip2 is used, a warning is issued during decompression but installation completes normally.

Reproducible: Always

Steps to Reproduce:
1. Install pbzip2 with symlink use flag
2. emerge app-emulation/emul-linux-x86-gtklibs

Actual Results:  
pbzip2 fails to decompress the archive, installation is aborted

Expected Results:  
pbzip2 should decompress the archive and allow the installation to continue or bzip2 should be used instead

This might be connected with upgrading pbzip from 1.0.5-r2 to 1.1.1, since I have never noticed any problems with pbzip2 before and the failed build of the package mentioned was part of the same world update that pulled in pbzip2-1.1.1

Output using bzip2:

>>> Emerging (1 of 1) app-emulation/emul-linux-x86-gtklibs-20100409-r1
 * emul-linux-x86-gtklibs-20100409.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                                                                                                                                                                            [ ok ]
 * gtk+-2.18.6.tbz2 RMD160 SHA1 SHA256 size ;-) ...                                                                                                                                                                                                   [ ok ]
 * checking ebuild checksums ;-) ...                                                                                                                                                                                                                  [ ok ]
 * checking auxfile checksums ;-) ...                                                                                                                                                                                                                 [ ok ]
 * checking miscfile checksums ;-) ...                                                                                                                                                                                                                [ ok ]
 * CPV:  app-emulation/emul-linux-x86-gtklibs-20100409-r1
 * REPO: gentoo
 * USE:  amd64 elibc_glibc kernel_linux multilib userland_GNU
>>> Unpacking source...
>>> Unpacking emul-linux-x86-gtklibs-20100409.tar.bz2 to /var/tmp/portage/app-emulation/emul-linux-x86-gtklibs-20100409-r1/work
>>> Unpacking gtk+-2.18.6.tbz2 to /var/tmp/portage/app-emulation/emul-linux-x86-gtklibs-20100409-r1/work

bzip2: /var/tmp/portage/app-emulation/emul-linux-x86-gtklibs-20100409-r1/distdir/gtk+-2.18.6.tbz2: trailing garbage after EOF ignored
>>> Source unpacked in /var/tmp/portage/app-emulation/emul-linux-x86-gtklibs-20100409-r1/work
(installation continues normally)

Output using pbzip2:

>>> Emerging (1 of 1) app-emulation/emul-linux-x86-gtklibs-20100409-r1
 * emul-linux-x86-gtklibs-20100409.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                                                                                                                                                                            [ ok ]
 * gtk+-2.18.6.tbz2 RMD160 SHA1 SHA256 size ;-) ...                                                                                                                                                                                                   [ ok ]
 * checking ebuild checksums ;-) ...                                                                                                                                                                                                                  [ ok ]
 * checking auxfile checksums ;-) ...                                                                                                                                                                                                                 [ ok ]
 * checking miscfile checksums ;-) ...                                                                                                                                                                                                                [ ok ]
 * CPV:  app-emulation/emul-linux-x86-gtklibs-20100409-r1
 * REPO: gentoo
 * USE:  amd64 elibc_glibc kernel_linux multilib userland_GNU
>>> Unpacking source...
>>> Unpacking emul-linux-x86-gtklibs-20100409.tar.bz2 to /var/tmp/portage/app-emulation/emul-linux-x86-gtklibs-20100409-r1/work
>>> Unpacking gtk+-2.18.6.tbz2 to /var/tmp/portage/app-emulation/emul-linux-x86-gtklibs-20100409-r1/work
pbzip2: *ERROR unconsumed in after BZ2_bzDecompress loop:ret=4; block=0; seq=55; avail_in=8800
Terminator thread: premature exit requested - quitting...
tar: Unexpected EOF in archive
tar: Unexpected EOF in archive
tar: Error is not recoverable: exiting now
 * ERROR: app-emulation/emul-linux-x86-gtklibs-20100409-r1 failed:
 *   failure unpacking gtk+-2.18.6.tbz2
 * 
 * Call stack:
 *               ebuild.sh, line  54:  Called src_unpack
 *             environment, line 259:  Called emul-linux-x86_src_unpack
 *             environment, line 142:  Called unpack 'emul-linux-x86-gtklibs-20100409.tar.bz2' 'gtk+-2.18.6.tbz2'
 *               ebuild.sh, line 382:  Called assert 'failure unpacking gtk+-2.18.6.tbz2'
 *   isolated-functions.sh, line  14:  Called die
 * The specific snippet of code:
 *   		[[ $x -eq 0 ]] || die "$@"
 * 
 * If you need support, post the output of 'emerge --info =app-emulation/emul-linux-x86-gtklibs-20100409-r1',
 * the complete build log and the output of 'emerge -pqv =app-emulation/emul-linux-x86-gtklibs-20100409-r1'.
 * The complete build log is located at '/var/tmp/portage/app-emulation/emul-linux-x86-gtklibs-20100409-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-emulation/emul-linux-x86-gtklibs-20100409-r1/temp/environment'.
 * S: '/var/tmp/portage/app-emulation/emul-linux-x86-gtklibs-20100409-r1/work'

>>> Failed to emerge app-emulation/emul-linux-x86-gtklibs-20100409-r1, Log file:

>>>  '/var/tmp/portage/app-emulation/emul-linux-x86-gtklibs-20100409-r1/temp/build.log'

emerge --info:
Portage 2.1.8.3 (default/linux/amd64/10.0/desktop/gnome, gcc-4.4.3, glibc-2.10.1-r1, 2.6.32-gentoo-r7 x86_64)
=================================================================
System uname: Linux-2.6.32-gentoo-r7-x86_64-AMD_Phenom-tm-_II_X3_720_Processor-with-gentoo-1.12.13
Timestamp of tree: Sat, 05 Jun 2010 17:15:01 +0000
app-shells/bash:     4.0_p37
dev-java/java-config: 2.1.10
dev-lang/python:     2.6.5-r2, 3.1.2-r3
dev-python/pycrypto: 2.1.0
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.65
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.18-r3
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.30-r1
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=amdfam10 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/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=amdfam10 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms splitdebug strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.mirror.pw.edu.pl/ http://gentoo.prz.rzeszow.pl http://de-mirror.org/distro/gentoo/"
LANG="pl_PL.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="en pl"
MAKEOPTS="-j5"
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"
PORTDIR_OVERLAY="/usr/local/portage/layman/rion /usr/local/portage/layman/sunrise /usr/local/portage/layman/armagetron /usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acl acpi alsa amd64 apache2 archive bash-completion berkdb branding bzip2 cairo calendar cdda cddb cdparanoia cdr clamav cli consolekit cracklib crypt css ctype cups curl curlwrappers cxx dbus dga dri dts dvd dvdr eds emboss encode evo exif fam ffmpeg firefox flac foomaticdb fortran fuse gd gdbm gdu geoip gif gkrellm gnome gnome-keyring gnuplot gnutls gphoto2 gpm gstreamer gtk hal hddtemp iconv icu idn ieee1394 imap ipv6 jabber java java6 javascript jingle jpeg kerberos lame lcms ldap libnotify lm_sensors mad mikmod mmap mmx mmxext mng modules mozilla mp3 mp4 mpeg mplayer mudflap multilib musepack musicbrainz mysql mysqli nautilus ncurses networkmanager nls nptl nptlonly nsplugin ntfs nvidia offensive ogg opengl openmp pam pango pcre pdf perl php plotutils png policykit postgres ppds pppd pulseaudio python qt3support qt4 quicktime rdesktop readline reflection ruby samba sdl session shorten slang soap sockets spell spl sqlite sqlite3 sse sse2 ssl startup-notification subversion svg sysfs sysvipc taglib tcpd theora threads tiff truetype unicode usb vim-pager vim-syntax vim-with-x vnc vorbis wifi x264 xcb xcomposite xml xorg xrandr xscreensaver xsl xulrunner xv xvid xvmc 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" FOO2ZJS_DEVICES="hp1018" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en pl" NETBEANS_MODULES="apisupport ide nb harness java websvccommon" RUBY_TARGETS="jruby ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="nv nvidia" 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, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Dror Levin (RETIRED) gentoo-dev 2010-06-05 19:40:51 UTC

*** This bug has been marked as a duplicate of bug 320313 ***