Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Can't install GTK, gdk-pixbuf fails
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
DanZ
n00b
n00b


Joined: 24 Sep 2004
Posts: 47
Location: Erie PA USA

PostPosted: Sat Nov 02, 2013 3:29 pm    Post subject: Can't install GTK, gdk-pixbuf fails Reply with quote

I've been working on this a few days and can't find a solution so I hope someone here can help. This is a brand new build, there is not much installed past the base system other than X and Opera. Anything dependent on GTK won't install as gdk-pixbuf fails every time. I've tried all the various solutions to this issue that I could find or think of, including trying ~amd64. Here's where I think it pukes:
Code:
libtool: install: /usr/lib64/portage/bin/ebuild-helpers/xattr/install -c .libs/libgdk_pixbuf-2.0.so.0.2800.2 /var/tmp/portage/x11-libs/gdk-pixbuf-2.28.2/image//usr/lib64/libgdk_pixbuf-2.0.so.0.2800.2
libtool: install: warning: relinking `libpixbufloader-png.la'
libtool: install: (cd /var/tmp/portage/x11-libs/gdk-pixbuf-2.28.2/work/gdk-pixbuf-2.28.2/gdk-pixbuf; /bin/sh /var/tmp/portage/x11-libs/gdk-pixbuf-2.28.2/work/gdk-pixbuf-2.28.2/libtool  --tag CC --mode=relink x86_64-pc-linux-gnu-gcc -std=gnu99 -march=native -O2 -pipe -fomit-frame-pointer -Wall -avoid-version -module -Wl,-O1 -Wl,--as-needed -o libpixbufloader-png.la -rpath /usr/lib64/gdk-pixbuf-2.0/2.10.0/loaders io-png.lo -lpng15 libgdk_pixbuf-2.0.la -lgmodule-2.0 -pthread -lrt -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lpng15 -lm -inst-prefix-dir /var/tmp/portage/x11-libs/gdk-pixbuf-2.28.2/image/)
libtool: relink: x86_64-pc-linux-gnu-gcc -std=gnu99 -shared  -fPIC -DPIC  .libs/io-png.o   -Wl,--as-needed -L/var/tmp/portage/x11-libs/gdk-pixbuf-2.28.2/image//usr/lib64 -L/usr/lib64 -lgdk_pixbuf-2.0 -lgmodule-2.0 -lrt -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lpng15 -lm  -march=native -O2 -Wl,-O1 -pthread   -pthread -Wl,-soname -Wl,libpixbufloader-png.so -o .libs/libpixbufloader-png.so
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lgdk_pixbuf-2.0
collect2: error: ld returned 1 exit status
libtool: install: error: relink `libpixbufloader-png.la' with the above command before installing it
make[4]: *** [install-loaderLTLIBRARIES] Error 1
make[4]: *** Waiting for unfinished jobs....
libtool: install: (cd /var/tmp/portage/x11-libs/gdk-pixbuf-2.28.2/image//usr/lib64 && { ln -s -f libgdk_pixbuf-2.0.so.0.2800.2 libgdk_pixbuf-2.0.so.0 || { rm -f libgdk_pixbuf-2.0.so.0 && ln -s libgdk_pixbuf-2.0.so.0.2800.2 libgdk_pixbuf-2.0.so.0; }; })
libtool: install: (cd /var/tmp/portage/x11-libs/gdk-pixbuf-2.28.2/image//usr/lib64 && { ln -s -f libgdk_pixbuf-2.0.so.0.2800.2 libgdk_pixbuf-2.0.so || { rm -f libgdk_pixbuf-2.0.so && ln -s libgdk_pixbuf-2.0.so.0.2800.2 libgdk_pixbuf-2.0.so; }; })
libtool: install: /usr/lib64/portage/bin/ebuild-helpers/xattr/install -c .libs/libgdk_pixbuf-2.0.lai /var/tmp/portage/x11-libs/gdk-pixbuf-2.28.2/image//usr/lib64/libgdk_pixbuf-2.0.la
libtool: install: warning: remember to run `libtool --finish /usr/lib64'
make[4]: Leaving directory `/var/tmp/portage/x11-libs/gdk-pixbuf-2.28.2/work/gdk-pixbuf-2.28.2/gdk-pixbuf'
make[3]: *** [install-am] Error 2
make[3]: Leaving directory `/var/tmp/portage/x11-libs/gdk-pixbuf-2.28.2/work/gdk-pixbuf-2.28.2/gdk-pixbuf'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/x11-libs/gdk-pixbuf-2.28.2/work/gdk-pixbuf-2.28.2/gdk-pixbuf'
make[1]: *** [install] Error 2
make[1]: Leaving directory `/var/tmp/portage/x11-libs/gdk-pixbuf-2.28.2/work/gdk-pixbuf-2.28.2/gdk-pixbuf'
make: *** [install-recursive] Error 1
 * ERROR: x11-libs/gdk-pixbuf-2.28.2::gentoo failed (install phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=x11-libs/gdk-pixbuf-2.28.2::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=x11-libs/gdk-pixbuf-2.28.2::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/x11-libs/gdk-pixbuf-2.28.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/x11-libs/gdk-pixbuf-2.28.2/temp/environment'.
 * Working directory: '/var/tmp/portage/x11-libs/gdk-pixbuf-2.28.2/work/gdk-pixbuf-2.28.2'
 * S: '/var/tmp/portage/x11-libs/gdk-pixbuf-2.28.2/work/gdk-pixbuf-2.28.2'

>>> Failed to emerge x11-libs/gdk-pixbuf-2.28.2, Log file:

>>>  '/var/tmp/portage/x11-libs/gdk-pixbuf-2.28.2/temp/build.log'
* Messages for package x11-libs/gdk-pixbuf-2.28.2:

 * ERROR: x11-libs/gdk-pixbuf-2.28.2::gentoo failed (install phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=x11-libs/gdk-pixbuf-2.28.2::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=x11-libs/gdk-pixbuf-2.28.2::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/x11-libs/gdk-pixbuf-2.28.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/x11-libs/gdk-pixbuf-2.28.2/temp/environment'.
 * Working directory: '/var/tmp/portage/x11-libs/gdk-pixbuf-2.28.2/work/gdk-pixbuf-2.28.2'
 * S: '/var/tmp/portage/x11-libs/gdk-pixbuf-2.28.2/work/gdk-pixbuf-2.28.2'

emerge --info '=x11-libs/gdk-pixbuf-2.28.2::gentoo'
Code:
Portage 2.2.7 (hardened/linux/amd64, gcc-4.7.3, glibc-2.17, 3.10.7-gentoo-r1 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.10.7-gentoo-r1-x86_64-AMD_Athlon-tm-_Processor_2650e-with-gentoo-2.2
KiB Mem:     1792644 total,    347816 free
KiB Swap:    2097148 total,   2054088 free
Timestamp of tree: Wed, 30 Oct 2013 15:00:01 +0000
ld GNU ld (GNU Binutils) 2.23.1
app-shells/bash:          4.2_p45
dev-lang/python:          2.7.5-r3, 3.2.5-r3
dev-util/cmake:           2.8.10.2-r2
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.13.4
sys-devel/binutils:       2.23.1
sys-devel/gcc:            4.7.3-r1
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.9 (virtual/os-headers)
sys-libs/glibc:           2.17
Repositories: gentoo
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTDIR_OVERLAY=""
USE="3dnow 3dnowext X a52 aacplus acl alsa amd64 berkdb branding bzip2 cdda cdio cli cracklib crypt cups cxx dbus doc dri dvd ffmpeg flac fontconfig gdbm gif gnutls gpm gsm gtk gtkstyle hardened iconv introspection jpeg jpeg2k justify lame libass libv4l mms mmx mmxext modules mp3 mpeg mudflap multilib musepack ncurses nls nptl ogg openal opengl openmp orc pam pax_kernel pcre png qt3support qt4 quicktime readline sdl sdlgfx session speex sse sse2 sse3 ssl ssse3 taglib tcpd theora threads tiff truetype udev unicode urandom v4l vcd vorbis x264 xpm xv xvid zlib" ABI_X86="64" 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" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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 sheets stage tables krita karbon braindump author" 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="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en en_GB" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby19 ruby18" USERLAND="GNU" VIDEO_CARDS="nouveau" 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, SYNC, USE_PYTHON
Any thoughts?
Back to top
View user's profile Send private message
exhausted
n00b
n00b


Joined: 20 Jul 2013
Posts: 26
Location: Java Hell

PostPosted: Sat Nov 02, 2013 4:15 pm    Post subject: Reply with quote

I've been trying to solve this problem for a week now! I have no solution--sorry--but perhaps I can add some information that might help to sort this out. Looking at your emerge output, I believe that we are experiencing the same problem with the same cause.

The emerge always fails at the installation phase.

Using the newer gdk-pixbuf-2.28.2 didn't change anything for me.

I get the following error message, which I think holds a relevant clue--particularly the bit about ld not finding -lgdk_pixbuf-2.0:
Code:
libtool: install: (cd /var/tmp/portage/x11-libs/gdk-pixbuf-2.26.4/image//usr/lib64 && { ln -s -f libgdk_pixbuf-2.0.so.0.2600.4 libgdk_pixbuf-2.0.so || { rm -f libgdk_pixbuf-2.0.so && ln -s libgdk_pixbuf-2.0.so.0.2600.4 libgdk_pixbuf-2.0.so; }; })
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lgdk_pixbuf-2.0


I checked and found that libgdk_pixbuf-2.0.so.0.2600.4 does exist.

libgdk_pixbuf-2.0.so also exists as a symlink pointing to libgdk_pixbuf-2.0.so.0.2600.4.

So far, so good... maybe... but then there's this:

Code:
ld: cannot find -lgdk_pixbuf-2.0


Why is that?

There's another error message that got my attention:
Code:
libtool: install: error: relink `libpixbufloader-png.la' with the above command before installing it


Research led me to discover this:

Bug 481372 (https://bugs.gentoo.org/show_bug.cgi?id=481372)

>=x11-libs/gdk-pixbuf-2.26.4 MAKEOPTS=-j7 - parallel make failure in src_install(): libtool: install: error: relink `libpixbufloader-png.la' with the above command before installing it

At first, I believed that this was the cause of the problem--and maybe it is--but now I'm not so sure. If this bug were the cause, then I would expect that I could emerge gdk-pixbuf using MAKEOPTS="-j1" as a work-around. Well, MAKEOPTS="-j1" didn't work. Neither did MAKEOPTS="-j5"... ...so maybe this might not be the cause of the problem?

I tried unmasking gdk-pixbuf-2.28.2 (and the other packages that had to be unmasked as a result), masking gdk-pixbuf-2.26.4, and trying again with the newer 2.28.2 version. I got the same results.
Back to top
View user's profile Send private message
DanZ
n00b
n00b


Joined: 24 Sep 2004
Posts: 47
Location: Erie PA USA

PostPosted: Sat Nov 02, 2013 4:23 pm    Post subject: Reply with quote

well then. I changed my MAKEOPTS to -j1 and it installed. Thank you very much for your post, I wish I could return the favor.
Back to top
View user's profile Send private message
exhausted
n00b
n00b


Joined: 20 Jul 2013
Posts: 26
Location: Java Hell

PostPosted: Sat Nov 02, 2013 5:57 pm    Post subject: Reply with quote

You're very much welcome! Apparently your problem was indeed related to Bug 481372! I'll start a new thread for my problem, then. It honestly does look identical, but apparently, it isn't. Have a wonderful weekend!
Back to top
View user's profile Send private message
DanZ
n00b
n00b


Joined: 24 Sep 2004
Posts: 47
Location: Erie PA USA

PostPosted: Sat Nov 02, 2013 6:05 pm    Post subject: Reply with quote

Yeah, I'm kind of embarrassed I didn't find that bug report before :oops:
Back to top
View user's profile Send private message
exhausted
n00b
n00b


Joined: 20 Jul 2013
Posts: 26
Location: Java Hell

PostPosted: Sat Nov 02, 2013 6:07 pm    Post subject: Reply with quote

I solved the problem on my system. I know this doesn't make sense, but although setting MAKEOPTS="-j1" in /etc/portage/make.conf did not solve my problem, specifying MAKEOPTS="-j1" on the command did the trick:

Code:
# MAKEOPTS="-j1" emerge gdk-pixbuf


Maybe I forgot to save the edited make.conf during my previous attempts, but I really don't think so.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum