Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 212270 - sys-devel/gettext links against dev-libs/glib and dev-libs/libcroco but depclean wants to remove them
Summary: sys-devel/gettext links against dev-libs/glib and dev-libs/libcroco but depcl...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-04 12:29 UTC by Max Hacking
Modified: 2008-03-04 12:57 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 Max Hacking 2008-03-04 12:29:54 UTC
The package sys-devel/gettext links against the packages dev-libs/glib and dev-libs/libcroco, depclean wants to remove them but revdep-rebuild wants to put them back!

Reproducible: Always

Steps to Reproduce:
1. Install a basic system with sys-devel/gettext-0.17
2. Run emerge --depclean
3. Run revdep-rebuild

Actual Results:  
emerge --depclean removes dev-libs/glib and dev-libs/libcroco
revdep-rebuild adds dev-libs/glib and dev-libs/libcroco

Expected Results:  
emerge --depclean should leave them alone       or
revdep-rebuild should not wish to add them

# emerge --info

Portage 2.1.4.4 (default-linux/x86/2007.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.21-xen i686)
=================================================================
System uname: 2.6.21-xen i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
Timestamp of tree: Tue, 04 Mar 2008 11:30:01 +0000
app-shells/bash:     3.2_p17-r1
dev-lang/python:     2.4.4-r9
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.61-r1
sys-devel/automake:  1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -mno-tls-direct-seg-refs -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="-O2 -march=pentium4 -fomit-frame-pointer -mno-tls-direct-seg-refs -pipe"
DISTDIR="/mnt/portage/distfiles"
FEATURES="buildpkg distlocks fixpackages metadata-transfer sandbox sfperms strict unmerge-orphans usepkg userfetch"
GENTOO_MIRRORS="        ftp://ftp.mirrorservice.org/sites/www.ibiblio.org/gentoo/                               ftp://mirrors.blueyonder.co.uk/mirrors/gentoo                                           ftp://pandemonium.tiscali.de/pub/gentoo/                                                ftp://ftp.gentoo.mesh-solutions.com/gentoo/                                             ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo                                            http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/                                    http://pandemonium.tiscali.de/pub/gentoo/                                               http://ftp.snt.utwente.nl/pub/os/linux/gentoo                                           http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/                              http://gentoo.blueyonder.co.uk"
MAKEOPTS="-j3"
PKGDIR="/mnt/portage/packages/x86_32"
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="/mnt/portage/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="acpi bash-completion berkdb caps cli cracklib crypt cups dri glibc-omitfp iconv isdnlog logrotate midi mmx ncurses nls nptl nptlonly openmp pam pcre pppd readline reflection screen session spl sse ssl sysfs unicode userlocales 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, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY


# equery depends glib
[ Searching for packages depending on glib... ]
dev-libs/libcroco-0.6.1 (>=dev-libs/glib-2)


# equery depends libcroco
[ Searching for packages depending on libcroco... ]
sys-devel/gettext-0.17 (dev-libs/libcroco)


# emerge --depclean -p

*** WARNING ***  Depclean may break link level dependencies.  Thus, it is
*** WARNING ***  recommended to use a tool such as `revdep-rebuild` (from
*** WARNING ***  app-portage/gentoolkit) in order to detect such breakage.
*** WARNING ***  
*** WARNING ***  Also study the list of packages to be cleaned for any obvious
*** WARNING ***  mistakes. Packages that are part of the world set will always
*** WARNING ***  be kept.  They can be manually added to this set with
*** WARNING ***  `emerge --noreplace <atom>`.  Packages that are listed in
*** WARNING ***  package.provided (see portage(5)) will be removed by
*** WARNING ***  depclean, even if they are part of the world set.
*** WARNING ***  
*** WARNING ***  As a safety measure, depclean will not remove any packages
*** WARNING ***  unless *all* required dependencies have been resolved.  As a
*** WARNING ***  consequence, it is often necessary to run
*** WARNING ***  `emerge --update --newuse --deep world` prior to depclean.

Calculating dependencies... done!


>>> These are the packages that would be unmerged:

 dev-libs/glib
    selected: 2.14.6 
   protected: none 
     omitted: none 

 dev-libs/libcroco
    selected: 0.6.1 
   protected: none 
     omitted: none 

>>> 'Selected' packages are slated for removal.
>>> 'Protected' and 'omitted' packages will not be removed.

Packages installed:   104
Packages in world:    8
Packages in system:   52
Unique package names: 104
Required packages:    102
Number to remove:     2
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2008-03-04 12:36:38 UTC
No it doesn't, it uses internal ones.
Comment 3 Max Hacking 2008-03-04 12:49:57 UTC
(In reply to comment #2)
> No it doesn't, it uses internal ones.
> 

Then explain this....

# emerge --depclean 

[output truncated]

# revdep-rebuild -p

Configuring search environment for revdep-rebuild

Checking reverse dependencies...

Packages containing binaries and libraries broken by a package update
will be emerged.

Collecting system binaries and libraries... done.
  (/root/.revdep-rebuild.1_files)

Collecting complete LD_LIBRARY_PATH... done.
  (/root/.revdep-rebuild.2_ldpath)

Checking dynamic linking consistency...
  broken /usr/bin/msgattrib (requires  libcroco-0.6.so.3 libglib-2.0.so.0)
  broken /usr/bin/msgcat (requires  libcroco-0.6.so.3 libglib-2.0.so.0)
  broken /usr/bin/msgcmp (requires  libcroco-0.6.so.3 libglib-2.0.so.0)
  broken /usr/bin/msgcomm (requires  libcroco-0.6.so.3 libglib-2.0.so.0)
  broken /usr/bin/msgconv (requires  libcroco-0.6.so.3 libglib-2.0.so.0)
  broken /usr/bin/msgen (requires  libcroco-0.6.so.3 libglib-2.0.so.0)
  broken /usr/bin/msgexec (requires  libcroco-0.6.so.3 libglib-2.0.so.0)
  broken /usr/bin/msgfilter (requires  libcroco-0.6.so.3 libglib-2.0.so.0)
  broken /usr/bin/msgfmt (requires  libcroco-0.6.so.3 libglib-2.0.so.0)
  broken /usr/bin/msggrep (requires  libcroco-0.6.so.3 libglib-2.0.so.0)
  broken /usr/bin/msginit (requires  libcroco-0.6.so.3 libglib-2.0.so.0)
  broken /usr/bin/msgmerge (requires  libcroco-0.6.so.3 libglib-2.0.so.0)
  broken /usr/bin/msgunfmt (requires  libcroco-0.6.so.3 libglib-2.0.so.0)
  broken /usr/bin/msguniq (requires  libcroco-0.6.so.3 libglib-2.0.so.0)
  broken /usr/bin/recode-sr-latin (requires  libcroco-0.6.so.3 libglib-2.0.so.0)
  broken /usr/bin/xgettext (requires  libcroco-0.6.so.3 libglib-2.0.so.0)
  broken /usr/lib/gettext/hostname (requires  libcroco-0.6.so.3 libglib-2.0.so.0)
  broken /usr/lib/gettext/urlget (requires  libcroco-0.6.so.3 libglib-2.0.so.0)
  broken /usr/lib/libgettextlib-0.17.so (requires  libcroco-0.6.so.3 libglib-2.0.so.0)
  broken /usr/lib/libgettextlib.la (requires /usr/lib/libcroco-0.6.la)
  broken /usr/lib/libgettextlib.la (requires /usr/lib/libglib-2.0.la)
  broken /usr/lib/libgettextsrc.la (requires /usr/lib/libcroco-0.6.la)
  broken /usr/lib/libgettextsrc.la (requires /usr/lib/libglib-2.0.la)
 done.
  (/root/.revdep-rebuild.3_rebuild)

doesn't look like it is using the internal ones to me!
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2008-03-04 12:52:16 UTC
Yeah, so maybe re-emerge this thing then since it's been fixed 1 1/2 month ago for 
Bug 204851.
Comment 5 Max Hacking 2008-03-04 12:57:50 UTC
fair enough.  :-)

I would have thought a version bump would have been in order if either the deps had been changed or the .configure script fixed.