Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 384269 - gnome-extra/libgda-4.2.9 fails to compile with libpng-1.5
Summary: gnome-extra/libgda-4.2.9 fails to compile with libpng-1.5
Status: RESOLVED DUPLICATE of bug 319101
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-24 01:29 UTC by Robert Spencer
Modified: 2011-09-24 05:53 UTC (History)
1 user (show)

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


Attachments
build log (build.log,391.67 KB, text/plain)
2011-09-24 01:30 UTC, Robert Spencer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Spencer 2011-09-24 01:29:36 UTC
I upgraded to libpng-1.5 and libgda won't compile as it complains:
CCLD   libgda-ui-plugins.la
/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lpng14
collect2: ld returned 1 exit status
make[2]: *** [libgda-ui-plugins.la] Error 1



Reproducible: Always

Steps to Reproduce:
1. emerge ~arch libpng
2. revdep-rebuild as instructed
3. remove libpng-1.4
4. emerge libgda
Actual Results:  
libgda fails to compile

Expected Results:  
upgrade to libpng and still be able to successfully install libgda
Comment 1 Robert Spencer 2011-09-24 01:30:49 UTC
Created attachment 287571 [details]
build log
Comment 2 Robert Spencer 2011-09-24 01:32:16 UTC
# emerge --info
Portage 2.1.10.11 (default/linux/amd64/10.0/desktop, gcc-4.5.3, glibc-2.12.2-r0, 2.6.39-gentoo-r3 x86_64)
=================================================================
System uname: Linux-2.6.39-gentoo-r3-x86_64-AMD_Phenom-tm-_9850_Quad-Core_Processor-with-gentoo-2.0.3
Timestamp of tree: Sat, 24 Sep 2011 01:00:01 +0000
distcc 3.1 x86_64-pc-linux-gnu [disabled]
app-shells/bash:          4.1_p9
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.6.6-r2, 2.7.1-r1, 3.1.3-r1
dev-util/cmake:           2.8.4-r1
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.8.3-r1
sys-apps/sandbox:         2.4
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.4_p6-r1, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.4.5, 4.5.3-r1
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 2.6.36.1 (virtual/os-headers)
sys-libs/glibc:           2.12.2
Repositories: gentoo x-portage multimedia sunrise arcon
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=native -fomit-frame-pointer -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
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=native -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--autounmask=y"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://gentoo.mirrors.tds.net/gentoo"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en en_US"
MAKEOPTS="-j5"
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="/usr/local/portage /var/lib/layman/multimedia /var/lib/layman/sunrise /var/lib/layman/arcon"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac aalib acl acpi alsa amd64 apache audiofile avi berkdb bluetooth bluray branding bzip2 cairo cdda cddb cdparanoia cdr cleartype cli consolekit corefonts cracklib css cups cupsddk cxx dbus divx dri dts dvd dvdr dvdread emboss encode equalizer evo exif faac fam ffmpeg firefox flac flash foomaticdb fortran gdbm gdu gif gphoto2 gpm gtk html iconv imagemagick imlib ipod java jpeg lame lcms ldap libnotify libsamplerate logrotate mad matroska mjpeg mmx mmxext mng modules mp3 mp4 mpeg mplayer mudflap multilib ncurses nls nptl nptlonly offensive ogg oggvorbis opengl openmp oss pam pango pcre pda pdf pdflib perl png policykit ppds pppd python qt3support readline ruby samba sane scanner sdl session shorten spell sse sse2 ssl ssse3 startup-notification svg swscaler sysfs tcpd threads thunar tiff truetype type3 udev unicode usb v4l2 vdpau vorbis wavpack wma wxwidgets x264 xcb xcomposite xine xml xorg xulrunner xv xvid zlib" 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 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="*" 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="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia" XFCE_PLUGINS="menu trash logout" 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, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 3 Rafał Mużyło 2011-09-24 01:50:12 UTC
This log is a bit too silent.
Make sure you've already updated gdk-pixbuf.
Check your la files.
Attach log while V=1.
Comment 4 Alexandre Rostovtsev (RETIRED) gentoo-dev 2011-09-24 01:53:28 UTC
(In reply to comment #3)
> This log is a bit too silent.

No, it has sufficient detail to determine what happened.

(In reply to comment #1)
> /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lpng14

This issue is unrelated to libgda. You have an old .la file somewhere that is referencing libpng14. You will need to rebuild the package that the .la file belongs to.

# emerge portage-utils
# find /usr/lib* -name \*.la -exec grep -l png14 {} \; | qfile -f -
Comment 5 Robert Spencer 2011-09-24 03:05:12 UTC
(In reply to comment #4)
> (In reply to comment #3)
> > This log is a bit too silent.
> 
> No, it has sufficient detail to determine what happened.
> 
> (In reply to comment #1)
> > /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lpng14
> 
> This issue is unrelated to libgda. You have an old .la file somewhere that is
> referencing libpng14. You will need to rebuild the package that the .la file
> belongs to.
> 
> # emerge portage-utils
> # find /usr/lib* -name \*.la -exec grep -l png14 {} \; | qfile -f -

you are correct sir. Sorry about the misreport.
Comment 6 Samuli Suominen (RETIRED) gentoo-dev 2011-09-24 05:53:38 UTC

*** This bug has been marked as a duplicate of bug 319101 ***