Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Can't emerge gdk-pixbuf
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
Tony0945
Watchman
Watchman


Joined: 25 Jul 2006
Posts: 5127
Location: Illinois, USA

PostPosted: Sat Oct 22, 2011 9:45 pm    Post subject: [SOLVED] Can't emerge gdk-pixbuf Reply with quote

Broke my system while upgrading libpng. I managed to successfully "emerge -e system". I managed to emerge cairo and poppler after emerging libtool and autoconf several times. But I am stuck with gdk-pixbuf.

The error is:
Code:

./configure: line 14479: syntax error near unexpected token `BASE_DEPENDENCIES,'
./configure: line 14479: `PKG_CHECK_MODULES(BASE_DEPENDENCIES, glib-2.0 >= glib_required_version)'


Does this mean that gdk-pixbuf is looking for something earlier than glib-2.0? I am running glib-2.28.8 and successfully rebuilt it with a successfully rebuilt gcc 4.5.3

emerge-info is as follows:
Code:
Portage 2.1.10.11 (default/linux/amd64/10.0/desktop/gnome, gcc-4.5.3, glibc-2.12.2-r0, 3.0.6-gentoo x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.0.6-gentoo-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_4600+-with-gentoo-2.0.3
Timestamp of tree: Sat, 22 Oct 2011 17:15:01 +0000
distcc 3.1 x86_64-pc-linux-gnu [disabled]
ccache version 2.4 [disabled]
app-shells/bash:          4.1_p9
dev-lang/python:          2.7.1-r1, 3.1.3-r1
dev-util/ccache:          2.4-r9
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.7.9-r2, 1.10.3, 1.11.1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.3.4, 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.39 (virtual/os-headers)
sys-libs/glibc:           2.12.2
Repositories: gentoo x-portage
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA AdobeFlash-10.1"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/make.conf.example /etc/php/apache2-php5.3/ex$
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles fixpackages news parallel-fetch protect-owned sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userf$
FFLAGS=""
GENTOO_MIRRORS="http://gentoo.cites.uiuc.edu/pub/gentoo/"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en en_US"
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=/package$
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acl acpi alsa amd64 apache2 apm applet audio audiofile automount berkdb bitmap-fonts branding bzip2 cairo cdda cdr cdrom cdsound cli consolekit corba cpudetec$
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

x11-libs/gdk-pixbuf-2.24.0-r1 was built with the following:
USE="X introspection jpeg (multilib) tiff -debug -doc -jpeg2k -test"



Last edited by Tony0945 on Tue Oct 25, 2011 1:47 am; edited 1 time in total
Back to top
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 6196

PostPosted: Sun Oct 23, 2011 1:15 am    Post subject: Reply with quote

Did you uninstall pkg-config by mistake ?
Back to top
View user's profile Send private message
Tony0945
Watchman
Watchman


Joined: 25 Jul 2006
Posts: 5127
Location: Illinois, USA

PostPosted: Sun Oct 23, 2011 5:54 am    Post subject: Reply with quote

Thanks! "emerge -1v dev-util/pkgconfig" fixed that problem. I'm surprised that it wasn't supplied by "emerge -eav system".

Now it actually starts to compile then dies on
Code:

#       source='test-gdk-pixbuf.c' object='test-gdk-pixbuf.o' libtool=no
make[4]: *** No rule to make target `GdkPixbuf-2.0.typelib', needed by `all-am'.  Stop.


The useflag "test" is not set.

I'm starting to think that I should try to salvage the data, then reformat the disk and re-install.
Back to top
View user's profile Send private message
Tony0945
Watchman
Watchman


Joined: 25 Jul 2006
Posts: 5127
Location: Illinois, USA

PostPosted: Tue Oct 25, 2011 1:46 am    Post subject: Reply with quote

Once the gdk-pixbuf logjam was broken, over the course of the next 12 hours, I was able to finally eliminate (third time!) libpng14. I then masked all versions below 1.5.5 Never has anything driven home the need to backup my complete server (32G) and not just the data. Part of the problem (probably the biggest part) is that dependency chains are horribly broken in many parts of the tree. I had to log on to another gentoo box and run equery b <somefile> to find out why ebuilds failed, sometimes through three levels and emerge the chain as portage should automatically. In fact, I had to to remove the doc useflag to eliminate building of xmlto which stubbornly kept failing to emerge. Then any overnight "emerge -ev world" stopped hanging 30% through. A reboot the next day brought X, samba and apache back.

Learn from me, people. BACK UP THE ENTIRE MACHINE!
Back to top
View user's profile Send private message
cach0rr0
Bodhisattva
Bodhisattva


Joined: 13 Nov 2008
Posts: 4123
Location: Houston, Republic of Texas

PostPosted: Tue Oct 25, 2011 2:56 am    Post subject: Reply with quote

or read news items ^_^

Code:
ricker ~ # eselect news read new
2011-10-15-libpng15
  Title                     Upgrade to libpng15
  Author                    Samuli Suominen <ssuominen@gentoo.org>
  Posted                    2011-10-15
  Revision                  1

After upgrading from libpng14 to libpng15 it's important that you rebuild
cairo and gdk-pixbuf as soon as possible if they are installed.

Then you can proceed with rebuilding the rest of the software against the new
library:

# revdep-rebuild --library libpng14.so.14 -- --keep-going

Note: It might be necessary to run the previous command more than once.

If you find packages not building with the message "ld: cannot find -lpng14",
they are likely caused by broken libtool archives (.la) in your system.

You can identify those files with following one-liner:

# find /usr/ -name '*.la' -exec grep png14 {} +

Once you have identified the broken files, you can either delete them,
edit them in place and replace png14 with png15, or re-emerge the packages
they belong to.

More information and help is available at the following forum post:

http://forums.gentoo.org/viewtopic-t-894950.html

_________________
Lost configuring your system?
dump lspci -n here | see Pappy's guide | Link Stash
Back to top
View user's profile Send private message
Tony0945
Watchman
Watchman


Joined: 25 Jul 2006
Posts: 5127
Location: Illinois, USA

PostPosted: Sun Nov 27, 2011 9:57 pm    Post subject: Reply with quote

Uh, the problem was that I could not follow the news item because the gdk-pixbuf emerge failed. Please read the whole thread.
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