Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 165600 - app-arch/gzip-1.3.11 doesn't gunzip with paludis
Summary: app-arch/gzip-1.3.11 doesn't gunzip with paludis
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Stephen Bennett (RETIRED)
URL:
Whiteboard:
Keywords:
: 165848 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-02-06 12:47 UTC by Dirk Heinrichs
Modified: 2007-02-08 04:51 UTC (History)
6 users (show)

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 Dirk Heinrichs 2007-02-06 12:47:16 UTC
This morning gzip has been updated to 1.3.11. Afterwards no package with tar.gz
source archives can't be installed. Unpacking them manually also doesn't work.
gunzip produces high load, but doesn't unzip anything. Please revert back to the previous version (and provide a tar.bz2 archive :-)).

Reproducible: Always

Steps to Reproduce:
1. Exctract tar.gz archive after gzip-1.3.11 has been installed.

Actual Results:  
Command hangs, produces high load, even for small archives.

Expected Results:  
Archive should be unpacked.

Portage 2.1.2-r8 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.5-r0, 2.6.19.1 i686)
=================================================================
System uname: 2.6.19.1 i686 Intel(R) Pentium(R) 4 CPU 3.20GHz
Gentoo Base System version 1.12.9
Timestamp of tree: Tue, 06 Feb 2007 01:47:01 +0000
ccache version 2.4 [disabled]
dev-lang/python:     2.4.4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.20
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -pipe"
DISTDIR="/gentoo/distfiles"
FEATURES="autoconfig distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.easynet.nl/mirror/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://ftp.easynet.nl/mirror/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://gentoo.osuosl.org"
LANG="de_DE.UTF-8"
LINGUAS="de"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/gentoo/build"
PORTDIR="/gentoo/portage"
PORTDIR_OVERLAY="/gentoo/build/overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X Xaw3d a52 aac acl acpi activefilter akode alsa aotuv arts audiofile avahi bash-completion berkdb bitmap-fonts bogofilter boost bzip2 cairo caps cdda cddb cdio cdparanoia chipcard cli contrarius cpudetection cracklib cran crypt cups curl dbus directfb dlloader doc dri dtaus dts dvd dvdread dynamic edl eds fam fbcon ffmpeg firefox flac font-server foomaticdb fuse gd-external gdbm geldkarte gif glibc-omitfp glsa glut gnutls gpg2-experimental gpm gsl gsnd gstreamer hal hardened hbci httpd i8x0 iconv icq idn imagemagick imap imlib ipppd irmc isdnlog jpeg jpeg2k kcal kde kdehiddenvisibility latex lcms ldap ldapsam libg++ lzo mad madwifi maildir mbox midi mime mjpeg mmx mmxext mng motif mozsvg mp3 mpeg mplayer mule musicbrainz ncurses nls no-old-linux noantlr nobcel nobeanutils nobsh nocommonslogging nocommonsnet nojdepend nojsch nojython nolog4j nooro noregexp norhino noxalan noxerces nptl nptlonly nsplugin objc objc++ objc-gc ofx ogg oggvorbis openexr opengl pam pam_console pcre pdf perl perlsuid pg-intdatetime pic png postgres ppds pppd pwdb python qa qt3 qt4 quicktime rdesktop readline real reflection rtc samba savedconfig session slang slp speedo speex spell spl sql sqlite sqlite3 sse ssl stream subversion svg symlink sysfs tcpd tetex theora threads tiff toolbar truetype truetype-fonts type1-fonts udev unicode userlocales vcd vidix vim-pager vim-with-x vlm vorbis webdav win32codecs wmf wxwindows x86 xim xine xml xorg xosd xprint xscreensaver xv xvid xvmc zeroconf zlib zsh-completion" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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 mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" USERLAND="GNU" VIDEO_CARDS="i810"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Ian P. Christian 2007-02-06 13:09:04 UTC
I can confirm this - I suggest higher severity
Comment 2 SpanKY gentoo-dev 2007-02-06 13:14:39 UTC
why, no one reads severity anyways
Comment 3 Dirk Heinrichs 2007-02-06 13:16:30 UTC
Downgrading to 1.3.10 resolves the problem.
Comment 4 SpanKY gentoo-dev 2007-02-06 13:35:32 UTC
build up the gzip with debugging enabled and see where it hangs

builds/runs fine on my amd64/x86 installs
Comment 5 Ian P. Christian 2007-02-06 13:39:34 UTC
it does this:

root     20553  0.0  0.0   2944  1536 pts/7    S+   13:01   0:00 /bin/bash /usr/libexec/paludis/utils/dounpack cowsay-3.03.tar.gz
root     20556  0.0  0.0   1908   680 pts/7    S+   13:01   0:00 tar zxf /usr/portage/distfiles/cowsay-3.03.tar.gz --no-same-owner
root     20557 76.3  0.0   3076  1552 pts/7    R+   13:01   0:02 /bin/sh /bin/gzip -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -cd -d



with more and more -cd's added, seems to recursivly call itself somehow... don't know if that helps.

I've downgraded now
Comment 6 SpanKY gentoo-dev 2007-02-06 14:18:16 UTC
is everyone here using paludis ?
Comment 7 Dirk Heinrichs 2007-02-06 14:45:52 UTC
Yep, I do.
Comment 8 Jakub Moc (RETIRED) gentoo-dev 2007-02-06 16:27:12 UTC
(In reply to comment #7)
> Yep, I do.

So don't paste emerge --info next time, you are just confusing people. (And works just fine here w/ portage).
 
Comment 9 Ciaran McCreesh 2007-02-06 17:16:16 UTC
(In reply to comment #8)
> (And works just fine here w/ portage).

For that to be useful information, you'd also have to say whether it breaks for you with Paludis.
Comment 10 Fredrik Carlsson 2007-02-06 18:09:13 UTC
Breaks here to with paludis.
Comment 11 Ciaran McCreesh 2007-02-06 18:14:10 UTC
(In reply to comment #10)
> Breaks here to with paludis.

Which is all very well, but has anyone positively confirmed that it works with Portage but not Paludis on the same system with the same configuration?
Comment 12 Jan-Peter Arndt 2007-02-06 18:52:16 UTC
Installing gzip-1.3.11 breaks only with paludis on my system. With portage-2.1.2-r8 it works.

With paludis my /bin/gzip binary seems to consist of some lines of bash script with the real binary appended afterwards.
I don't have the broken binary anymore since I already replaced it with another one to recover my system.

paludis --info
paludis 0.16.2

Built by root@ummon on 2007-01-28T18:38:03+0100
CXX:         i686-pc-linux-gnu-g++ 4.1.1 (Gentoo 4.1.1-r3)
CXXFLAGS:    -march=pentium3 -Os -pipe
LDFLAGS:
DATADIR:     /usr/share
LIBDIR:      /usr/lib
LIBEXECDIR:  /usr/libexec
SYSCONFDIR:  /etc
stdlib:      GNU libstdc++ 20060524
libebt:      1.3.0
libwrapiter: 1.0.0
sandbox:     enabled

Repository virtuals:
    Configuration information:
        format:                virtuals

Repository installed_virtuals:
    Configuration information:
        format:                installed_virtuals

Repository gentoo:
    Configuration information:
        buildroot:             /var/tmp/paludis
        cache:                 /usr/portage/metadata/cache
        distdir:               /usr/portage/distfiles
        eclassdirs:            /usr/portage/eclass
        format:                ebuild
        location:              /usr/portage
        names_cache:           /usr/portage/.cache/names
        newsdir:               /usr/portage/metadata/news
        pkgdir:                /var/empty
        profiles:              /usr/portage/profiles/default-linux/x86/2006.1/desktop
        root:                  /
        securitydir:           /usr/portage/metadata/glsa
        setsdir:               /usr/portage/sets
        sync:                  rsync://rsync.gentoo.org/gentoo-portage
        sync_options:
        write_cache:           /var/cache/paludis/metadata

    Package information:
        app-admin/eselect-compiler: (none)
        dev-java/java-config:  1.3.7, 2.0.31-r3
        dev-lang/python:       2.4.4
        dev-python/pycrypto:   2.0.1-r5
        dev-util/ccache:       (none)
        dev-util/confcache:    (none)
        sys-apps/sandbox:      1.2.18.1
        sys-devel/autoconf:    2.13, 2.61
        sys-devel/automake:    1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
        sys-devel/binutils:    2.17
        sys-devel/gcc-config:  1.3.14
        sys-devel/libtool:     1.5.22
        virtual/os-headers:    2.6.20

    Variable information:
        ACCEPT_KEYWORDS:
        AUTOCLEAN:
        CBUILD:                i686-pc-linux-gnu
        CFLAGS:                -march=pentium3 -Os -pipe
        CHOST:                 i686-pc-linux-gnu
        CONFIG_PROTECT:        /usr/share/X11/xkb /usr/kde/3.5/share/config /usr/kde/3.5/env /usr/kde/3.5/shutdown /usr/share/config
        CONFIG_PROTECT_MASK:   /etc/java-config/vms/ /etc/env.d/java/ /etc/gconf /etc/terminfo /etc/texmf/web2c /etc/revdep-rebuild /etc/splash
        CTARGET:
        CXXFLAGS:              -march=pentium3 -Os -pipe
        DISTDIR:               /usr/portage/distfiles
        FEATURES:
        GENTOO_MIRRORS:
        INSTALL_MASK:
        LANG:
        LC_ALL:
        LDFLAGS:
        LINGUAS:
        MAKEOPTS:              -j2
        PKGDIR:
        PORTAGE_RSYNC_EXTRA_OPTS:
        PORTAGE_RSYNC_OPTS:
        PORTAGE_TMPDIR:        /var/tmp/paludis
        PORTDIR:               /usr/portage
        PORTDIR_OVERLAY:
        SYNC:
        USE:

Repository installed:
    Configuration information:
        buildroot:             /var/tmp/paludis
        format:                vdb
        location:              /var/db/pkg
        names_cache:           /var/db/pkg/.cache/names
        provides_cache:        /var/db/pkg/.cache/provides
        root:                  /
        world:                 /var/db/pkg/world

Repository local:
    Configuration information:
        buildroot:             /var/tmp/paludis
        cache:                 /var/empty
        distdir:               /usr/portage/distfiles
        eclassdirs:            /usr/portage/eclass
        format:                ebuild
        location:              /usr/local/portage
        names_cache:           /usr/local/portage/.cache/names
        newsdir:               /usr/local/portage/metadata/news
        pkgdir:                /var/empty
        profiles:              /usr/portage/profiles/default-linux/x86/2006.1/desktop
        root:                  /
        securitydir:           /usr/local/portage/metadata/glsa
        setsdir:               /usr/local/portage/sets
        sync:                  file:///usr/local/portage
        sync_options:
        write_cache:           /var/cache/paludis/metadata

Repository paludis-extras:
    Configuration information:
        buildroot:             /var/tmp/paludis
        cache:                 /var/empty
        distdir:               /usr/portage/distfiles
        eclassdirs:            /usr/portage/eclass /usr/local/paludis-extras/eclass
        format:                ebuild
        location:              /usr/local/paludis-extras
        names_cache:           /usr/local/paludis-extras/.cache/names
        newsdir:               /usr/local/paludis-extras/metadata/news
        pkgdir:                /var/empty
        profiles:              /usr/portage/profiles/default-linux/x86/2006.1/desktop
        root:                  /
        securitydir:           /usr/local/paludis-extras/metadata/glsa
        setsdir:               /usr/local/paludis-extras/sets
        sync:                  rsync://drzile.dyndns.org/paludis-extras
        sync_options:
        write_cache:           /var/cache/paludis/metadata
Comment 13 Ciaran McCreesh 2007-02-06 19:00:20 UTC
(In reply to comment #12)
> With paludis my /bin/gzip binary seems to consist of some lines of bash script
> with the real binary appended afterwards.

Would be helpful to know what those lines are.
Comment 14 Dirk Heinrichs 2007-02-06 19:09:20 UTC
I can at least confirm that the resulting binary from downgrading to 1.3.10
using paludis works just fine (as it did before, when it was installed using
portage). Please don't tell us that using another package manager breaks gzip.
Comment 15 Ciaran McCreesh 2007-02-06 19:09:45 UTC
If you set FEATURES=test and install it using Portage, it breaks in exactly the same way, right?
Comment 16 Jan-Peter Arndt 2007-02-06 19:43:07 UTC
The lines in the gzip binary are:

#!/bin/sh
PATH=${GZIP_BINDIR-'/usr/bin'}:$PATH
exec gzip -cd "$@"

Could not reproduce this with "FEATURES=test emerge -va app-arch/gzip"
But I too had problems to reproduce this using paludis. The first time simply rebuilding gzip with paludis everything worked fine only after downgrading gzip and upgrading again my gzip binary was broken again. So maybe it doesn't happen every time?
Comment 17 Dirk Heinrichs 2007-02-06 19:54:08 UTC
(In reply to comment #14)
> I can at least confirm that the resulting binary from downgrading to 1.3.10
> using paludis works just fine (as it did before, when it was installed using
> portage). Please don't tell us that using another package manager breaks
> gzip.

OK forget about this. I was also able to install 1.3.11 just fine using portage.

After that, I can also re-install gzip with paludis just fine, with and
without SKIP_FUNCTIONS=test.
Comment 18 Dirk Heinrichs 2007-02-06 20:07:37 UTC
(In reply to comment #15)
> If you set FEATURES=test and install it using Portage, it breaks in exactly the
> same way, right?
> 

No, it doesn't.

It really seems to be a paludis issue. It happens when:

1) gzip 1.3.10 is installed
2) paludis is used for upgrading, no matter if SKIP_FUNCTIONS=test is set or not.

It does not happen when
1) updating with emerge
2) re-installing 1.3.11 (with emerge or paludis).
Comment 19 Greg Fitzgerald 2007-02-07 04:44:19 UTC
Just ran into this bug myself. Downgrading to 1.3.10 fixed it.
Comment 20 Ciaran McCreesh 2007-02-07 10:32:03 UTC
Ok, I found it. Paludis has a weird bug involving overwriting stale symlinks with objects. 0.18.0, which will be out in a few hours, fixes this.
Comment 21 Stephen Bennett (RETIRED) gentoo-dev 2007-02-07 22:02:32 UTC
0.18.0 is in the tree; closing.
Comment 22 Jakub Moc (RETIRED) gentoo-dev 2007-02-08 04:51:17 UTC
*** Bug 165848 has been marked as a duplicate of this bug. ***