Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 384101 - gnome-base/gnome-settings-daemon-2.32.1-r2 doesn't compile after upgrade libpng from 1.4.8 to 1.5
Summary: gnome-base/gnome-settings-daemon-2.32.1-r2 doesn't compile after upgrade libp...
Status: RESOLVED DUPLICATE of bug 319101
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-22 15:17 UTC by Denis Sokolovsky
Modified: 2011-09-23 11:59 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,122.00 KB, text/plain)
2011-09-22 15:31 UTC, Denis Sokolovsky
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Denis Sokolovsky 2011-09-22 15:17:06 UTC
gnome-base/gnome-settings-daemon tries to build against libpng14 instead of libpng15

Reproducible: Always

Steps to Reproduce:
1. Emerge gnome-base/gnome-settings-daemon-2.32.1-r2 with media-libs/libpng-1.4.8-r1
2. Upgrade media-libs/libpng to media-libs/libpng-1.5.4
3. Run "emerge @preserved-rebuild"
Actual Results:  
libtool: link: i686-pc-linux-gnu-gcc -shared  -fPIC -DPIC  .libs/libkeyboard_la-gsd-keyboard-plugin.o .libs/libkeyboard_la-gsd-keyboard-manager.o .libs/libkeyboard_la-gsd-keyboard-xkb.o .libs/libkeyboard_la-gsd-xmodmap.o .libs/libkeyboard_la-delayed-dialog.o   -L/usr/lib -lgnome-desktop-2 -lstartup-notification-1 -ldbus-glib-1 -ldbus-1 /usr/lib/libXxf86misc.so /usr/lib/libxcb.so /usr/lib/libgnomekbdui.so -L/usr/lib/qt4 -lgtk-x11-2.0 /usr/lib/libatk-1.0.so /usr/lib/libgnomekbd.so -lQtGui -lQtCore -lpangoft2-1.0 -lpixman-1 -lfontconfig -lfreetype -lexpat -lpng14 /usr/lib/libxcb-shm.so /usr/lib/libxcb-render.so /usr/lib/libXrender.so -lGL -lEGL -lresolv -lXi -lXext /usr/lib/libxkbfile.so -lX11 -lz -lm /usr/lib/libXau.so /usr/lib/libXdmcp.so -lgdk-x11-2.0 /usr/lib/libgconf-2.so -lgio-2.0 /usr/lib/libORBit-2.so -ldl -lpthread -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lpango-1.0 -lcairo -lgmodule-2.0 -lxklavier -lgobject-2.0 -lgthread-2.0 -lrt -lglib-2.0 -lxml2  -pthread -pthread -O2 -march=nocona -Wl,-O1 -Wl,--as-needed -pthread -Wl,--export-dynamic -pthread   -pthread -Wl,-soname -Wl,libkeyboard.so -o .libs/libkeyboard.so
/usr/lib/gcc/i686-pc-linux-gnu/4.5.3/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lpng14
collect2: ld returned 1 exit status
make[3]: *** [libkeyboard.la] Error 1
make[3]: Leaving directory `/var/tmp/portage/gnome-base/gnome-settings-daemon-2.32.1-r2/work/gnome-settings-daemon-2.32.1/plugins/keyboard'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/gnome-base/gnome-settings-daemon-2.32.1-r2/work/gnome-settings-daemon-2.32.1/plugins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gnome-base/gnome-settings-daemon-2.32.1-r2/work/gnome-settings-daemon-2.32.1'
make: *** [all] Error 2



$ emerge --info                                                                                                                                                                                              
Portage 2.2.0_alpha59 (default/linux/x86/10.0/desktop/kde, gcc-4.5.3, glibc-2.13-r4, 3.0.0 i686)                                                                                                                                             
=================================================================                                                                                                                                                                            
System uname: Linux-3.0.0-i686-Intel-R-_Core-TM-2_CPU_T7400_@_2.16GHz-with-gentoo-2.0.3                                                                                                                                                      
Timestamp of tree: Thu, 22 Sep 2011 13:15:01 +0000                                                                                                                                                                                           
app-shells/bash:          4.2_p10                                                                                                                                                                                                            
dev-java/java-config:     2.1.11-r3                                                                                                                                                                                                          
dev-lang/python:          2.7.2-r3, 3.2.2                                                                                                                                                                                                    
dev-util/cmake:           2.8.5-r2                                                                                                                                                                                                           
dev-util/pkgconfig:       0.26                                                                                                                                                                                                               
sys-apps/baselayout:      2.0.3                                                                                                                                                                                                              
sys-apps/openrc:          0.9.3-r1                                                                                                                                                                                                           
sys-apps/sandbox:         2.5                                                                                                                                                                                                                
sys-devel/autoconf:       2.13::<unknown repository>, 2.68                                                                                                                                                                                   
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.1-r1                                                                                                                                                                                        
sys-devel/binutils:       2.21.1-r1                                                                                                                                                                                                          
sys-devel/gcc:            4.5.3-r1                                                                                                                                                                                                           
sys-devel/gcc-config:     1.4.1-r1                                                                                                                                                                                                           
sys-devel/libtool:        2.4-r1                                                                                                                                                                                                             
sys-devel/make:           3.82-r3                                                                                                                                                                                                            
sys-kernel/linux-headers: 2.6.39 (virtual/os-headers)                                                                                                                                                                                        
sys-libs/glibc:           2.13-r4                                                                                                                                                                                                            
Repositories: gentoo perl-experimental g-cpan
Installed sets: @system
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=nocona -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /var/bind"
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"
CXXFLAGS="-O2 -march=nocona -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://gentoo.kiev.ua/ftp/ http://de-mirror.org/distro/gentoo/ http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://mirror.switch.ch/ftp/mirror/gentoo/"
LANG="uk_UA.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en en_GB uk ru"
MAKEOPTS="-j4"
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"
PORTDIR_OVERLAY="/var/lib/layman/perl-experimental /usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="7zip X a52 aac aalib acl acpi aio alsa amr apng bash-completion berkdb bluetooth branding bzip2 cairo caps cdda cddb cdr chm cli clisp consolekit cracklib crypt cups cxx dbus declarative djvu dri dts dv dvd dvdr emboss enca encode exif fam fastcgi fbcon festival ffmpeg fftw firefox flac fontconfig fortran ftp gdbm gdu geoip gif gnutls gpm gs gtk hal hddtemp iconv icu idn ieee1394 imlib ipv6 irda ithreads java java6 jbig jpeg jpeg2k kde kipi lcms ldap libcaca libnotify libsamplerate libsndfile lua lzo mad maildir mbox mmap mmx mmxext mng modplug modules mp3 mp4 mpeg mudflap musepack nas ncurses nfs nls nntp nptl nptlonly nsplugin nvidia offensive ogg openal opengl openmp oss pam pango pcmcia pcre pdf perl pg-intdatetime phonon plasma png policykit postgres ppds pppd python qt3support qt4 rar readline samba sdl server session snmp spell sql sqlite sqlite3 sse sse2 ssl ssse3 startup-notification svg sysfs syslog tcl theora threads tiff timidity tk truetype udev unicode usb v4l v4l2 vdpau video vim-syntax vorbis wav wavpack webkit wifi wma wmf x264 x86 xattr xcb xcomposite xinerama xml xorg xscreensaver xulrunner xv xvid xvmc zeroconf zlib" ALSA_CARDS="hda-intel emu10k1" 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 cgi cgid 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" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_GB uk ru" PHP_TARGETS="php5-3" 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, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Denis Sokolovsky 2011-09-22 15:30:09 UTC
Even after wiping out what was left from libpng14 gnome-settings-daemon tries to link against libpng14. Looks like this is hardcoded somewhere.
Comment 2 Denis Sokolovsky 2011-09-22 15:31:35 UTC
Created attachment 287417 [details]
build.log

Only libtool tries to use libpng14
Comment 3 Pacho Ramos gentoo-dev 2011-09-22 15:52:23 UTC
Did you run "revdep-rebuild" and "lafilefixer --justfixit" after updating to libpng-1.5?
Comment 4 Pacho Ramos gentoo-dev 2011-09-22 15:57:52 UTC
This is a dupe of bug 319101, you have and explanation at:
https://bugs.gentoo.org/show_bug.cgi?id=383449#c2

*** This bug has been marked as a duplicate of bug 319101 ***
Comment 5 Denis Sokolovsky 2011-09-23 11:46:37 UTC
Yes, I do. "revdep-rebuild" show nothing to reemerge (as always since I moved to portage 2.2). And I run "lafilefixer --justfixit" but error still there
Comment 6 Pacho Ramos gentoo-dev 2011-09-23 11:49:22 UTC
(In reply to comment #5)
> Yes, I do. "revdep-rebuild" show nothing to reemerge (as always since I moved
> to portage 2.2). And I run "lafilefixer --justfixit" but error still there

You need to do:
https://bugs.gentoo.org/show_bug.cgi?id=383449#c2

then
Comment 7 Denis Sokolovsky 2011-09-23 11:59:02 UTC
Interesting - I run revdep-rebuild before unmerging of gnome-settings-daemon. Five minutes ago I run again revdep-rebuild and it found broken packages (.la files). Only thing that changed is that I unmerge gnome-settings-daemon and this triggered libpng14* removal by portage.