Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 218872

Summary: Newly implemented lzma-compression breaks system!!
Product: Gentoo Linux Reporter: qeldroma <qeldroma>
Component: [OLD] UnspecifiedAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: VERIFIED DUPLICATE    
Severity: blocker CC: dennis.birkholz, esigra, ingmar
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description qeldroma 2008-04-22 12:14:03 UTC
Just tried to setup a new gentoo image for corporate use. Taking actual (today) snapshots, "emerge --sync" after that.

Now, for "emerge system", on several packages i get errors because of this fantastical newly implemented feature called lzma!

I even can't compile the core-utils!!

And yes, i manually compiled lzma-utils in before, that was the first fault i found!

I assume, for making this new, absolutely needed and fantastic feature work, i have to actualize the core-utils? Well, how then, if exactly this is broken?

Is it really needed to implement such fundamental new designs in the stable-release??

Just did a search for lzma in the bugs, there are a lot of packages, that now are broken. On the first sight there are minimum 4 to find!

I would be very glad, if there's a fast solution for this...
Florian

Reproducible: Always

Steps to Reproduce:
1. emerge system
2. or emerge m4
3. or emerge libpng
4. or emerge coreutils

Actual Results:  
>>> Unpacking coreutils-6.10.tar.lzma to /tmp/portage/sys-apps/coreutils-6.10-r1/work
unpack coreutils-6.10.tar.lzma: file format not recognized. Ignoring.
>>> Unpacking coreutils-6.10-patches-1.1.tar.bz2 to /tmp/portage/sys-apps/coreutils-6.10-r1/work
/usr/portage/sys-apps/coreutils/coreutils-6.10-r1.ebuild: line 50: cd: /tmp/portage/sys-apps/coreutils-6.10-r1/work/coreutils-6.10: No such file or directory
 * Applying various patches (bugfixes/updates) ...
 *   003_all_coreutils-gentoo-uname.patch ...

 * Failed Patch: 003_all_coreutils-gentoo-uname.patch !
 *  ( /tmp/portage/sys-apps/coreutils-6.10-r1/work/patch/003_all_coreutils-gentoo-uname.patch )
 *
 * Include in your bugreport the contents of:
 *
 *   /tmp/portage/sys-apps/coreutils-6.10-r1/temp/003_all_coreutils-gentoo-uname.patch-23809.out


!!! ERROR: sys-apps/coreutils-6.10-r1 failed.
Call stack:
  ebuild.sh, line 1614:   Called dyn_unpack
  ebuild.sh, line 751:   Called qa_call 'src_unpack'
  environment, line 3775:   Called src_unpack
  coreutils-6.10-r1.ebuild, line 53:   Called epatch
  eutils.eclass, line 324:   Called die



# emerge --info
Portage 2.1.2.2 (default-linux/x86/2007.0, gcc-4.1.1, glibc-2.5-r0, 2.6.19-gentoo-r5 i686)
=================================================================
System uname: 2.6.19-gentoo-r5 i686 Intel(R) Pentium(R) Dual  CPU  E2180  @ 2.00GHz
Gentoo Base System release 1.12.9
Timestamp of tree: Tue, 22 Apr 2008 10:30:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
app-shells/bash:     3.2_p17-r1
dev-lang/python:     2.4.4-r6
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.9
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.61-r1
sys-devel/automake:  1.10.1
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=i686 -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=i686 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distcc distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LINGUAS="de"
MAKEOPTS="-j7"
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 --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl acpi alsa berkdb cairo cli cracklib crypt cups doc dri dvd gdbm gpm iconv isdnlog jpeg kde mmx mpeg mudflap ncurses nls nptl nptlonly ogg opengl openmp pam pcre pdf perl png pppd python qt4 readline reflection session slang spell spl sse ssl tcpd ucs2 unicode usb vorbis win32codecs wmf x86 xinetd xorg zlib" 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" 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" LINGUAS="de" USERLAND="GNU" VIDEO_CARDS="vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Ingmar Vanhassel (RETIRED) gentoo-dev 2008-04-22 12:18:58 UTC

*** This bug has been marked as a duplicate of bug 218463 ***
Comment 2 qeldroma 2008-04-22 12:20:55 UTC
This is NOT related to the libpng-bug, this is MORE!
Comment 3 Ingmar Vanhassel (RETIRED) gentoo-dev 2008-04-22 12:25:02 UTC
Read the duplicate bug, the maintainer decided to use lzma-compression, and is not going to revert that.
Temporarily mask the newer coreutils and update to a more recent version of portage.

*** This bug has been marked as a duplicate of bug 218463 ***
Comment 4 Dennis Birkholz 2008-04-24 17:33:55 UTC
I have created this simple stupid wrapper that is to put in /usr/local/sbin/lzma (don't forget to make it executable and to restart the current bash sessions) that makes it possible to emerge from .lzma-compressed sources but breaks using lzma-util in a default manner. Hope it helps, for me it works!

#!/bin/bash

for file in $@; do
        if [ -r "${file}" ] && [ "$(echo ${file} | grep '\.lzma$')" != "" ]; then
                echo "Unpacking file: ${file} ..." >&2
                /usr/bin/lzma d -so "${file}"
                break;
        fi
done
Comment 5 Kanen 2009-01-26 17:09:07 UTC
I was able to fix this by emerging portage without dependencies which updated/fixed my lzma issue.  Then I just went back and re-emerged the dependencies.