Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 220247 - expat tells us to run revdep-rebuild with erroneous --library option
Summary: expat tells us to run revdep-rebuild with erroneous --library option
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Freedesktop bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-05-04 15:17 UTC by Chris Wilson
Modified: 2008-05-05 16:17 UTC (History)
1 user (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 Chris Wilson 2008-05-04 15:17:55 UTC
* Messages for package dev-libs/expat-2.0.1:

 * Please note that the soname of the library changed!
 * If you are upgrading from a previous version you need
 * to fix dynamic linking inconsistencies by executing:
 * revdep-rebuild -X --library libexpat.so.0

top# revdep-rebuild -X --library libexpat.so.0

Checking reverse dependencies...
Packages containing binaries and libraries broken by any package update,
will be recompiled.
[...]
All prepared. Starting rebuild...
emerge --oneshot --nodeps --library libexpat.so.0 =sys-apps/lm_sensors-2.10.4
..........
usage: emerge [options]

emerge: error: no such option: --library



Reproducible: Always

Steps to Reproduce:
1. emerge expat
2. revdep-rebuild -X --library libexpat.so.0 (as instructed)
3. cry

Actual Results:  
revdep-rebuild

Expected Results:  
"revdep-rebuild expat" seems to work.

Portage 2.1.4.4 (default-linux/x86/2006.1, gcc-4.1.2, glibc-2.3.6-r5, 2.6.22.1-vs2203rc1-acpi i686)
=================================================================
System uname: 2.6.22.1-vs2203rc1-acpi i686 AMD Athlon(tm) 64 Processor 3200+
Timestamp of tree: Sun, 04 May 2008 00:30:01 +0000
ccache version 2.3 [disabled]
app-shells/bash:     3.2_p17-r1
dev-lang/python:     2.4.4-r9
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.3
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
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.1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.4.3-r4, 1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i386-pc-linux-gnu"
CFLAGS="-O2 -mcpu=i686 -fomit-frame-pointer"
CHOST="i386-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /var/bind"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/php/apache1-php5/ext-active/ /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -mcpu=i686 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
PKGDIR="/usr/portage/packages"
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"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="acpi berkdb cli cracklib crypt cups dri fortran gdbm iconv isdnlog lm_sensors midi mudflap ncurses nls nptl nptlonly openmp pam pcre perl pmu ppds pppd python readline reflection session spl ssl tcpd unicode x86 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" USERLAND="GNU" VIDEO_CARDS="apm ark chips cirrus cyrix dummy fbdev glint i128 i740 i810 imstt mach64 mga neomagic nsc nv r128 radeon rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Carsten Lohrke (RETIRED) gentoo-dev 2008-05-04 23:38:54 UTC
Could be seen as a bug in revdep-rebuild, not to bail out in such a case.
Comment 2 Paul Varner (RETIRED) gentoo-dev 2008-05-05 15:44:48 UTC
What version of gentoolkit do you have installed?
Comment 3 Chris Wilson 2008-05-05 15:49:31 UTC
I had 0.2.0, I've since upgraded to 0.2.3-r1.
Comment 4 Paul Varner (RETIRED) gentoo-dev 2008-05-05 16:17:24 UTC
gentoolkit-0.2.0 was released over three years ago.  The first version to support --library was gentoolkit-0.2.1

The revdep-rebuild from gentoolkit-0.2.3-r1 will work, however I recommend running that version without the -X option.