Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 279756 - sys-devel/libtool depends on app-arch/lzma-utils but app-arch/xz-utils should be substitutable
Summary: sys-devel/libtool depends on app-arch/lzma-utils but app-arch/xz-utils should...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 279871
  Show dependency tree
 
Reported: 2009-07-31 05:02 UTC by Mark A Rada
Modified: 2009-12-27 17:18 UTC (History)
4 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 Mark A Rada 2009-07-31 05:02:14 UTC
The sys-devel/libtool package has app-arch/lzma-utils listed as a dependancy, but if you have installed app-arch/xz-utils, which is supposed to be a superset of the lzma-utils then the lzma-utils are blocked. I think the libtool ebuild should allow xz-utils to be a substitute for lzma-utils.

It would seem that sys-devel/libtool is not the only package that has this issue, running `emerge -eav system' shows sys-apps/coreutils and sys-apps/sandbox also want lzma-utils.

Reproducible: Always

Steps to Reproduce:
1. Unmerge app-arch/lzma-utils
2. Emerge app-arch/xz-utils
3. Try to reinstall something like sys-devel/libtool


Actual Results:  
Portage complains that xz-utils is blocking lzma-utils.

Expected Results:  
Packages such as sys-devel/libtool to reinstall if I have either of xz-utils or lzma-utils installed. xz-utils is a superset of lzma-utils, so this shouldn't be a problem.

Are the lzma-utils required for sys-devel/libtool?
Comment 1 James Earl Spahlinger 2009-07-31 05:10:57 UTC
Could you please run 'emerge --info' and paste that into a bugzilla comment for us?
Comment 2 Mark A Rada 2009-07-31 23:28:52 UTC
(In reply to comment #1)
> Could you please run 'emerge --info' and paste that into a bugzilla comment for
> us?
> 

Portage 2.1.6.13 (default/linux/amd64/2008.0, gcc-4.3.3, glibc-2.10.1-r0, 2.6.30-gentoo-r4-ferrous x86_64)
=================================================================
System uname: Linux-2.6.30-gentoo-r4-ferrous-x86_64-AMD_Sempron-tm-_Processor_3400+-with-gentoo-2.0.1
Timestamp of tree: Fri, 31 Jul 2009 22:15:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p28
dev-java/java-config: 2.1.8-r1
dev-lang/python:     2.5.4-r3, 2.6.2-r1
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.6.4
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.4.3-r3
sys-apps/sandbox:    2.0
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.7.9-r1, 1.9.6-r2, 1.10.2, 1.11
sys-devel/binutils:  2.19.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8-sse3 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /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 /etc/udev/rules.d"
CXXFLAGS="-march=k8-sse3 -O2 -pipe"
DISTDIR="/usr/local/portage/distfiles"
FEATURES="ccache cleanup distlocks fixpackages metadata-transfer parallel-fetch protect-owned sandbox sfperms splitdebug strict unmerge-orphans userfetch"
GENTOO_MIRRORS=" ftp://mirrors.tera-byte.com/pub/gentoo http://gentoo.mirrors.tera-byte.com/ ftp://mirror.csclub.uwaterloo.ca/gentoo-distfiles/ http://mirror.csclub.uwaterloo.ca/gentoo-distfiles/ ftp://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://gentoo.chem.wisc.edu/gentoo"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="en en_CA"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_COMPRESS="gzip"
PORTAGE_COMPRESS_FLAGS="-6"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--quiet --human-readable --progress --exclude-from=/etc/portage/rsync_exclusions"
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/sunrise /usr/local/portage/layman/verlihub /usr/local/portage/layman/haskell /usr/local/portage/layman/oss-overlay"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext amd64 bash-completion berkdb bzip2 cli cracklib crypt cups dri fortran gdbm iconv ipv6 isdnlog midi mmx mmxext mudflap multilib ncurses nls nptl nptlonly openmp pam pch pcre perl pppd python readline reflection session spl sse sse2 sse3 ssl sysfs tcpd test unicode vim-syntax xcb xorg zlib zsh-completion" 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 authz_host autoindex cache deflate  dir dbd headers ident  rewrite setenvif  unique_id version env file_cache filter  ident include log_config mime mime_magic negotiation proxy vhost_alias proxy proxy_http " APACHE2_MPMS="worker" ELIBC="glibc" INPUT_DEVICES="evdev mouse keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_CA" USERLAND="GNU" VIDEO_CARDS="radeon"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL
Comment 3 taipan67 2009-09-02 17:20:51 UTC
Libtool only uses the external 'lzma' executable in it's "dist-lzma" target to "make" - and i'm not sure too many people will be needing that...

There are dozens of packages in the tree at the moment that are similarly broken, as evidenced by Bug #279871 - though most only list a _BUILD_ dependency because their specified archive is compressed in lzma-format.

I'm writing this from a very minimalist Funtoo system which has lzma-utils installed (pulled in as a dependency), and if i remove it to allow xz-utils to emerge, it will break 11 currently installed packages because of this little gremlin.

An example of one package that WON'T break is sys-kernel/linux-headers, which requires _either_ {,de}compression-package rather than just the older, now obsolete one.
Comment 4 Nico R. 2009-09-08 13:18:34 UTC
This bug should block bug 279871.