Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 326517 - libgnomekbd-2.28.2 still needs libpng12.so.0
Summary: libgnomekbd-2.28.2 still needs libpng12.so.0
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
: 329129 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-07-01 20:06 UTC by Michal Špondr
Modified: 2010-07-20 16:07 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 Michal Špondr 2010-07-01 20:06:49 UTC
I can't finish revdep-rebuild successfully, it rebuilds libgnomekbd again and again.

Reproducible: Always

Steps to Reproduce:
1. revdep-rebuild   # 1. try
I get something like:
[ 69% ]  *   broken /usr/lib64/libgnomekbd.so.3 (requires libpng12.so.0)
 *   broken /usr/lib64/libgnomekbdui.so.3 (requires libpng12.so.0)
[ 100% ]                 
 * Generated new 3_broken.rr
 * Assigning files to packages
 *   /usr/lib64/libgnomekbd.so.3 -> gnome-base/libgnomekbd
 *   /usr/lib64/libgnomekbdui.so.3 -> gnome-base/libgnomekbd
emerge --oneshot   gnome-base/libgnomekbd:0

2. revdep-rebuild --library libgnomekbd.so.3  # 2. try
[ 69% ]  *   found /usr/lib64/libgnomekbdui.so.3
[ 100% ]                 
 * Generated new 3_broken.rr
 * Assigning files to packages
 *   /usr/lib64/libgnomekbdui.so.3 -> gnome-base/libgnomekbd
 * Generated new 4_raw.rr and 4_owners.rr
 * Cleaning list of packages to rebuild
 * Generated new 4_pkgs.rr
 * Assigning packages to ebuilds
 * Generated new 4_ebuilds.rr
 * Evaluating package order
 * Generated new 5_order.rr
 * All prepared. Starting rebuild
emerge --oneshot   gnome-base/libgnomekbd:0

3. After next revdep-rebuild it jumps to point 1.

Actual Results:  
revdep-rebuild can't solve the dependency

Expected Results:  
revdep-rebuild should solve the cyclic (?) dependency

# emerge --info
Portage 2.1.8.3 (default/linux/amd64/10.0, gcc-4.4.3, glibc-2.11.2-r0, 2.6.33-gentoo-r2 x86_64)
=================================================================
System uname: Linux-2.6.33-gentoo-r2-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T7250_@_2.00GHz-with-gentoo-1.12.13
Timestamp of tree: Thu, 01 Jul 2010 18:45:03 +0000
distcc 3.1 x86_64-pc-linux-gnu [disabled]
app-shells/bash:     4.0_p37
dev-java/java-config: 2.1.11
dev-lang/python:     2.6.5-r2, 3.1.2-r3
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.65
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.3-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=core2"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /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"
CXXFLAGS="-O2 -pipe -march=core2"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="cs_CZ.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="cs"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X alsa amd64 ao audiofile bluetooth bzip2 cairo cdda cddb cli cracklib crypt cups cxx dbus dri dvd dvdr flac gdbm geoip gif glut gnome gnutls gpm gstreamer gtk2 hal iconv imagemagick ipv6 jpeg jpeg2k lm_sensors mikmod mmap mmx modules mp3 mplayer mudflap multilib ncurses networkmanager nls nptl nptlonly ogg openal opengl openmp pam pcre pdf plotutils png pppd qt3support qt4 quicktime readline reflection sdl session sharedmem smartcard spl sqlite sse sse2 ssl ssse3 sysfs tcpd threads trayicon truetype type1 unicode vim-syntax vorbis wifi xinerama xorg xulrunner zlib" ALSA_CARDS="hda-intel" 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 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="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="cs" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Michal Špondr 2010-07-01 20:08:38 UTC
I think it has something to do with libpng update to version 1.4. It points to version libpng12.so.0, which is available in my system:
# ldconfig -p |grep libpng
	libpng14.so.14 (libc6,x86-64) => /usr/lib/libpng14.so.14
	libpng14.so.14 (libc6) => /usr/lib32/libpng14.so.14
	libpng14.so (libc6,x86-64) => /usr/lib/libpng14.so
	libpng14.so (libc6) => /usr/lib32/libpng14.so
	libpng12.so.0 (libc6) => /usr/lib32/libpng12.so.0
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2010-07-01 20:13:01 UTC
Read the postinst message of libpng:

/usr/sbin/libpng-1.4.x-update.sh
revdep-rebuild --library libpng12.so.0

Also:

emerge -1 pango cairo gtk+ libglade 

Is good idea.

And revdep-rebuild has option called --ignore (or -i) to ignore previous runs.

*** This bug has been marked as a duplicate of bug 326427 ***
Comment 3 Michal Špondr 2010-07-01 20:58:31 UTC
I run the commands above, but it is still rebuilding libgnomekbd.
Comment 4 Rafał Mużyło 2010-07-01 23:08:07 UTC
What does 'lddtree.sh /usr/lib64/libgnomekbd.so.3' print ?
If nothing obvious, attach build log and config.log of libgnomekbd.
Comment 5 Samuli Suominen (RETIRED) gentoo-dev 2010-07-02 05:33:44 UTC
libgnomekbd-2.28.2 doesn't have a file called libgnomekbd.so.3, it was part of libgnomekbd-2.26.x and older.

you must have missed a postinst message from libgnomekbd telling you to run "revdep-rebuild --library libgnomekbd.so.3" and remove the file by hand "rm -f revdep-rebuild --library libgnomekbd.so.3*"

at this point i'd do:

emerge -C libgnomekbd
rm -f /usr/lib/libgnomekbd*
emerge -1 libgnomekbd
Comment 6 Michal Špondr 2010-07-02 05:44:20 UTC
emerge -C libgnomekbd (and emerging it again) helped this issue. Thanks.

(In reply to comment #5)
> libgnomekbd-2.28.2 doesn't have a file called libgnomekbd.so.3, it was part of
> libgnomekbd-2.26.x and older.
> 
> you must have missed a postinst message from libgnomekbd telling you to run
> "revdep-rebuild --library libgnomekbd.so.3" and remove the file by hand "rm -f
> revdep-rebuild --library libgnomekbd.so.3*"
> 
> at this point i'd do:
> 
> emerge -C libgnomekbd
> rm -f /usr/lib/libgnomekbd*
> emerge -1 libgnomekbd
> 

Comment 7 Mark Keisler 2010-07-20 16:07:51 UTC
*** Bug 329129 has been marked as a duplicate of this bug. ***