Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
gtk+ 2.20.1-r1 build failure
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
tdknox
n00b
n00b


Joined: 23 Feb 2007
Posts: 9

PostPosted: Wed Aug 04, 2010 1:43 pm    Post subject: gtk+ 2.20.1-r1 build failure Reply with quote

My emerges keep failing because of dependencies on gtk+, which is failing to compile. The configure script runs, it compiles for a while, then dies with this error:

Code:
make[2]: Entering directory `/var/tmp/portage/x11-libs/gtk+-2.20.1-r1/work/gtk+-2.20.1/demos'
GDK_PIXBUF_MODULE_FILE=../gdk-pixbuf/gdk-pixbuf.loaders ../gdk-pixbuf/gdk-pixbuf-csource --raw --build-list             \
                apple_red  ./apple-red.png      \
                gnome_foot ./gnome-foot.png     \
        > test-inline-pixbufs.h                         \
        || (rm -f test-inline-pixbufs.h && false)

(process:3375): GdkPixbuf-WARNING **: Bug! gdk-pixbuf loader 'png' didn't set an error on failure.
failed to load "./apple-red.png": Failed to load image './apple-red.png': reason not known, probably a corrupt image file
make[2]: *** [test-inline-pixbufs.h] Error 1
make[2]: Leaving directory `/var/tmp/portage/x11-libs/gtk+-2.20.1-r1/work/gtk+-2.20.1/demos'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/x11-libs/gtk+-2.20.1-r1/work/gtk+-2.20.1'
make: *** [all] Error 2
 * ERROR: x11-libs/gtk+-2.20.1-r1 failed:
 *   emake failed
 *
 * Call stack:
 *     ebuild.sh, line   54:  Called src_compile
 *   environment, line 3143:  Called _eapi2_src_compile
 *     ebuild.sh, line  646:  Called die
 * The specific snippet of code:
 *              emake || die "emake failed"
 *
 * If you need support, post the output of 'emerge --info =x11-libs/gtk+-2.20.1-r1',
 * the complete build log and the output of 'emerge -pqv =x11-libs/gtk+-2.20.1-r1'.
 * The complete build log is located at '/var/tmp/portage/x11-libs/gtk+-2.20.1-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/x11-libs/gtk+-2.20.1-r1/temp/environment'.
 * S: '/var/tmp/portage/x11-libs/gtk+-2.20.1-r1/work/gtk+-2.20.1'

>>> Failed to emerge x11-libs/gtk+-2.20.1-r1, Log file:

>>>  '/var/tmp/portage/x11-libs/gtk+-2.20.1-r1/temp/build.log'


Looking in /var/tmp/portage/x11-libs/gtk+-2.20.1-r1/work/gtk+-2.20.1/gdk-pixbuf, there is no gdk-pixbuf.loaders file that has been compiled. If you run gdx-pixbuf-csource without specifying the module file, it runs correctly and prints the headers.

The emerge --info shows:

Code:
# emerge --info =x11-libs/gtk+-2.20.1-r1
Portage 2.1.8.3 (default/linux/amd64/10.0, gcc-4.4.3, glibc-2.11.2-r0, 2.6.34-gentoo-r1 x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.34-gentoo-r1-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q9550_@_2.83GHz-with-gentoo-1.12.13
Timestamp of tree: Wed, 04 Aug 2010 01:45:01 +0000
ccache version 2.4 [enabled]
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/ccache:     2.4-r7
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.65
sys-devel/automake:  1.8.5-r4, 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="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /var/lib/hsqldb"
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"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests ccache distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.mcs.anl.gov/pub/gentoo/ http://gentoo.chem.wisc.edu/gentoo/ http://www.cyberuse.com/gentoo/ http://gentoo.mirrors.easynews.com/linux/gentoo/ http://chi-10g-1-mirror.fastsoft.net/pub/linux/gentoo/gentoo-distfiles/ http://www.gtlib.gatech.edu/pub/gentoo http://gentoo.mirrors.hoobly.com/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://lug.mtu.edu/gentoo/ http://gentoo.netnitco.net http://gentoo.osuosl.org/ http://mirrors.rit.edu/gentoo/ http://gentoo.llarian.net/ http://gentoo.mirrors.tds.net/gentoo http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://mirror.lug.udel.edu/pub/gentoo/ http://mirror.its.uidaho.edu/pub/gentoo/ http://gentoo.cites.uiuc.edu/pub/gentoo/ http://gentoo.cs.uni.edu/ http://mirror.usu.edu/mirrors/gentoo/"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
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"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="64bit X X509 a52 aac aalib acl acpi addressbook adplug aften alac alsa amd64 amr animgif apcupsd aplaymidi apm applet archive artworkextra aspell assistant async atmo audacious audio autoipd automount autoreplace autotrace avahi background backgrounds backtrace bash-completion beagle berkdb bigtiff binary-drivers bonjour bonusscripts bzip2 cairo ccache cdda cddax cddb cdio cdparanoia cdr cdrom cegui cg chardet chm cjk clamav clamd clamdtop cleartype cli clipboard colordiff compress contactnotes cover coverart cpio cpudetection cracklib crypt cscope css csv cue cups cxx d dbus debugger default-font dell desktopglobe dga dhcpcd dirac directfb disk-partition doomsday drawing dri dv dvd dvdnav dvdr ebook editor eigen embedded emoticon emovix encode epiphany excel exceptions exif extra-algorithms extra-ciphers extras faac faad fame fat fbcon fbcondecor fbdev fbsplash ffmpeg firefox firefox3 fits flac fluidsynth fmod fortran fortune ftp fuse galago games gcrypt gd gdbm gif gimp glib gnokii gnome gnuplot google-gadgets gpg gphoto2 gpm grammar graphite grub gs gstreamer gtk gzip hal hddtemp hfs high-ints highlight history howl-compat hvm icons iconsets iconv id3 id3tag idea ieee1394 image image-cache imagemagick imap imlib innodb inotify ipc iphone iplayer ipod ipv6 isag jabber java6 javascript jingle jit jpeg jpeg2k kdcraw kde kdecards kdm kig-scripting kipi konqueror kontact kqemu lame libcaca libdsk libgda libmms libnotify libproxy libv4l libv4l2 lightning linux-smp-stats live llvm llvm-gcc lm_sensors logrotate lto lua lzma mac mad mail maps mdb mdi mdnsresponder-compat midi mikmod mime mjpeg mmap mms mmx mng modules mono mp3 mp4 mpeg mpi mpi-threads mplayer mtp mudflap multilib music mysql mysqli na_dd na_icons nat nautilus ncurses net network nfs nfsv3 nfsv4 nls nmap nptl nptlonly nsplugin ntfs ntlm ntp nvidia odbc offensive ogg ogm opencl opengl openmp openssl optimization otr ots oxygen pam pcap pcapnav pcf pcre pdf perl pidgin plasma plugins png policykit pop postfix postproc pppd print privacy procmail profiler proxy ps pstoedit pth pulseaudio pvr pygments pylint python qemu qemu-ifup qmake qml qt-dbus qt3support qt4 qthelp qtscript quesoglc quicktime qwt radio rar raw rc5 rdesktop rdesktop-vrdp rdp rdpusb readline reflection replaygain rpm rss rtmp rtsp rubberband samba samba4 schroedinger scim scp screen screenshot sdk sdl sdl-image sdl-sound sdlaudio secure-delete semantic-desktop session sftp sha1 shaders sharedmem shine shm shorten shout sid sip skins slang slp smbclient smime smp soap sockets solver sound soundextract sounds speex spell spl splash sql sqlite sqlite3 sse sse2 sse4_1 ssh ssl ssse3 static-analyzer stats stream strong-optimization subversion svg svgz swat symlink sysfs syslog system-sqlite sysvipc t1lib taglib tcl tcpd tcpdump tftp themes theora thesaurus threads threadsafe thumbnail thumbnails thunderbird tiff timidity tk toolame tools tpm transcode tre tremor truetype trusted tta twolame type3 udev unicode upnp ups usb utils v4l v4l2 vaapi vcd vcdinfo vcdx vdpau video videos vim vim-pager vim-syntax vim-with-x virtualbox visualizer vlc vlm vnc vorbis wav wavpack webcam webkit winbind windeco wineappdb winetools winetriks wininst winpopup winscp wireshark wma wma-fixed wmf wv2 wxwidgets x264 xcomposite xdmcp xen xext xft xim xinerama xinetd xls xmame xml xorg xpm xrandr xrender xscreensaver xsm xulrunner xv xvid xvmc xwax_decoders_aac xwax_decoders_cd xwax_decoders_flac xwax_decoders_misc xwax_decoders_mp3 xwax_decoders_ogg youtube zeroconf zip 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa via vmware voodoo" 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, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY


Any suggestions?

Tom
Back to top
View user's profile Send private message
arnvidr
l33t
l33t


Joined: 19 Aug 2004
Posts: 607
Location: Oslo, Norway

PostPosted: Wed Aug 04, 2010 6:05 pm    Post subject: Reply with quote

Looks related to https://forums.gentoo.org/viewtopic-t-827262-start-0.html

Suggest trying to rebuild cairo and pango and then try to build gtk+ again.
_________________
Noone wrote:
anything
Back to top
View user's profile Send private message
tdknox
n00b
n00b


Joined: 23 Feb 2007
Posts: 9

PostPosted: Wed Aug 04, 2010 8:01 pm    Post subject: Reply with quote

I reinstalled cairo and pango, and this did not help. I'm still getting the same error.

I should probably mention that I had to install libpng12 a while ago, as 14 broke everything, so I'm running both versions. Would that make a difference?
Back to top
View user's profile Send private message
tryn
Guru
Guru


Joined: 21 Dec 2002
Posts: 325
Location: 39.885° N. -88.913° W.

PostPosted: Wed Aug 04, 2010 11:48 pm    Post subject: Reply with quote

Question?
After you emerged media-libs/libpng-1.4.3 did you
Code:
revdep-rebuild --library libpng12.so.0
If not that was part of your problem.

As far as media-libs/gdk-pixbuf goes there is no ebuild for that anymore.
Back to top
View user's profile Send private message
tdknox
n00b
n00b


Joined: 23 Feb 2007
Posts: 9

PostPosted: Thu Aug 05, 2010 2:58 pm    Post subject: Reply with quote

I ran the revdep-rebuild --library libpng12.so when libpng14 was released, and several packages were rebuilt. I ran it again today, and it rebuilt the same packages. This made me suspicious.

I went through my system, and purged all the remnants of libpng12 from it, then ran the revdep-rebuild again. After this, for good measure, I rebuilt cairo and pango. When this completed, gtk+ compiled without issue.
Back to top
View user's profile Send private message
zylios
n00b
n00b


Joined: 08 Aug 2010
Posts: 1

PostPosted: Sun Aug 08, 2010 1:47 pm    Post subject: Reply with quote

Hi,

I've the same problem, but i don't understand the different command.
Please, it's possible to have the different command.

i hope to try a solution.

Thanks
Back to top
View user's profile Send private message
krinn
Watchman
Watchman


Joined: 02 May 2003
Posts: 7467

PostPosted: Sun Aug 08, 2010 6:53 pm    Post subject: Reply with quote

zylios wrote:

Please, it's possible to have the different command.


Exact commands are given by ssuominen here : https://forums.gentoo.org/viewtopic-p-6379399.html#6379399
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