Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 312307 - x11-libs/gtk+-2.18.9 unable to build at first time
Summary: x11-libs/gtk+-2.18.9 unable to build at first time
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-30 23:22 UTC by Nyxis
Modified: 2010-06-03 14:45 UTC (History)
0 users

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


Attachments
build.log, environment, etc (data.zip,39.13 KB, application/zip)
2010-03-30 23:24 UTC, Nyxis
Details
build.log (build.log,98.17 KB, text/plain)
2010-04-01 19:44 UTC, Nyxis
Details
emerge --info (info,3.55 KB, text/plain)
2010-04-01 19:46 UTC, Nyxis
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nyxis 2010-03-30 23:22:19 UTC
unable to build gtk+-2.18.9 at first time. as i understand, build fails because it want to link with installed libs. but when you do it first time, there is nothing installed.

All desktop environments depend on this package, so new gentoo installations can't use gui -> P1.

This is the part of buld.log:
Writing a gdk-pixbuf.loader file to use when running examples before installing gdk-pixbuf.
/var/tmp/portage/x11-libs/gtk+-2.18.9/work/gtk+-2.18.9/gdk-pixbuf/.libs/gdk-pixbuf-query-loaders: error while loading shared libraries: libgdk_pixbuf-2.0.so.0: cannot open shared object file: No such file or directory.

I can gladly provide you with build.log, environment, emerge -pqv and emerge --info if you need.
Comment 1 Nyxis 2010-03-30 23:24:47 UTC
Created attachment 225887 [details]
build.log, environment, etc

zipped, using winzip
Comment 2 Alex Legler (RETIRED) archtester gentoo-dev Security 2010-03-31 07:34:59 UTC
Please don't attach any compressed files. Attach build.log and `emerge --info` directly as uncompressed text files, then reopen the bug.
Comment 3 Nyxis 2010-04-01 19:44:50 UTC
Created attachment 226173 [details]
build.log
Comment 4 Nyxis 2010-04-01 19:46:07 UTC
Created attachment 226175 [details]
emerge --info
Comment 5 Nyxis 2010-04-01 19:47:04 UTC
correct attachments crated
Comment 6 Andreas K. Hüttel archtester gentoo-dev 2010-04-01 20:52:48 UTC
Just curious, what's the ";" doing in your useflags? :) Not sure if this is related though.
Comment 7 Gilles Dartiguelongue (RETIRED) gentoo-dev 2010-04-01 21:31:24 UTC
Comment on attachment 225887 [details]
build.log, environment, etc

please set proper mime-type when attaching content to bugzilla
Comment 8 Gilles Dartiguelongue (RETIRED) gentoo-dev 2010-04-01 21:36:02 UTC
Please rebuild with -O3 and -s, these options are not supported by upstream nor by gnome herd.
Comment 9 Nyxis 2010-04-03 19:02:17 UTC
(In reply to comment #8)
> Please rebuild with -O3 and -s

CFLAGS="-O3 -march=pentium-m -pipe -fomit-frame-pointer -s" 

Do you mean "without -O3 and -s" or "with only -O3 and -s"?
Comment 10 Nyxis 2010-04-03 19:44:57 UTC
tried to do
CFLAGS="" CXXFLAGS="" CPPFLAGS="" LC_ALL="C" emerge gtk+
and
CFLAGS="-O3 -s" CXXFLAGS="-O3 -s" CPPFLAGS="-O3 -s" LC_ALL="C" emerge gtk+
result is the same.
Comment 11 Gilles Dartiguelongue (RETIRED) gentoo-dev 2010-04-03 21:27:05 UTC
sorry I meant without, something like CFLAGS="-02 -march=native -pipe" but I see the ebuild actually filtered out -03 already. It seems that the gdk-pixbuf.loaders file is generated at build time and we also do that in the ebuild, so there is something odd. We need to check if this was always the case and disable that in the ebuild if necessary.
Comment 12 Nyxis 2010-04-05 18:30:42 UTC
tried "-02 -march=native -pipe". result is the same.
Comment 13 Pacho Ramos gentoo-dev 2010-04-07 15:26:27 UTC
Are older 2.18 versions also affected by this?
Comment 14 Nyxis 2010-04-08 13:12:38 UTC
as far as i know, since 2.18.8 (icuding r1 & r2) are affected.
If you give me a hint how to get older versions, i'll do this
Comment 15 Pacho Ramos gentoo-dev 2010-04-09 07:39:11 UTC
(In reply to comment #14)
> as far as i know, since 2.18.8 (icuding r1 & r2) are affected.
> If you give me a hint how to get older versions, i'll do this
> 

2.18.7 is in the tree (and stable) right now ;-)
Comment 16 Nyxis 2010-04-09 21:18:48 UTC
Just now tried the 2.18.7 - same thing.
2.18.6 - also failed.
Comment 17 Nyxis 2010-04-09 21:51:04 UTC
2.18.5 also fails.
is there any other versions i should try?..
Comment 18 Pacho Ramos gentoo-dev 2010-04-10 10:20:07 UTC
This probably affects to all 2.18 then :-| I think that you don't need to test more versions
Comment 19 Pacho Ramos gentoo-dev 2010-04-10 19:04:45 UTC
I cannot reproduce your problem :-/

[ebuild   R   ] x11-libs/gtk+-2.18.9  USE="cups jpeg test tiff (-aqua) -debug -doc -jpeg2k -vim-syntax -xinerama"

Portage 2.1.7.17 (default/linux/amd64/10.0/desktop/gnome, gcc-4.3.4, glibc-2.10.1-r1, 2.6.32-gentoo-r7 x86_64)
=================================================================
System uname: Linux-2.6.32-gentoo-r7-x86_64-AMD_Athlon-tm-_64_Processor_3200+-with-gentoo-1.12.13
Timestamp of tree: Fri, 09 Apr 2010 06:30:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p37
dev-java/java-config: 2.1.10
dev-lang/python:     2.6.4-r1
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.18-r3
sys-devel/gcc:       4.3.4
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 /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/distfiles"
FEATURES="assume-digests autoaddcvs ccache cvs distlocks fixpackages multilib-strict news parallel-fetch protect-owned sandbox sfperms sign split-log strict test test-fail-continue unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.free.fr/mirrors/ftp.gentoo.org"
LANG="es_ES.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="es es_ES en_US"
MAKEOPTS="-j2"
PKGDIR="/usr/local/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/portage/local/layman/sunrise /usr/portage/local/layman/suka /usr/portage/local/layman/enlightenment /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acl acpi alsa amd64 applet avahi bash-completion berkdb branding bzip2 cairo cddb cdinstall cdr cleartype cli consolekit cracklib crypt css cups cxx daap dbus djvu dri dts dvd dvdr dvi eds emboss encode evo exif fam fat ffmpeg firefox flac fortran fuse gdbm gdu gif glitz gnome gnome-keyring gpm gstreamer gtk hal iconv imagemagick java jpeg kdehiddenvisibility kpathsea latex lcms libnotify lyx lzma mad mikmod mmx mmxext mng modules mono mp3 mp4 mpeg mudflap multilib musicbrainz nautilus ncurses network network-cron nls nptl nptlonly ntfs nvidia ogg opengl openmp pam pango pch pcre pdf perl png policykit ppds pppd python qt3support qt4 readline reflection reiserfs scanner sdl session spell spl sse sse2 ssl ssse3 startup-notification svg sysfs t1lib tcpd threads tiff truetype unicode usb v4l2 vcd vorbis webkit x264 xattr xcb xinetd xml xmp xorg xpm xulrunner xv xvid zeroconf zlib" ALSA_CARDS="via82xx" 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 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="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="es es_ES en_US" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia nv vesa" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 20 Nyxis 2010-04-14 15:37:00 UTC
(In reply to comment #19)
> I cannot reproduce your problem :-/

Are you shure, tou installing this package, not updating it?
Comment 21 Pacho Ramos gentoo-dev 2010-04-14 16:12:58 UTC
(In reply to comment #20)
> (In reply to comment #19)
> > I cannot reproduce your problem :-/
> 
> Are you shure, tou installing this package, not updating it?
> 

I have run:
# emerge -C gtk+:2
# emerge -1 gtk+:1

and it compiled fine :-|
Comment 22 Nyxis 2010-04-14 16:31:01 UTC
(In reply to comment #21)
> > > I cannot reproduce your problem :-/
> > Are you shure, tou installing this package, not updating it?
> and it compiled fine :-|
> 
Could you please umerge it again and do something like:
updatedb; locate libgdk_pixbuf-2.0.so.0
And also do it after ebuilding again, please.
Comment 23 Pacho Ramos gentoo-dev 2010-04-14 16:47:27 UTC
(In reply to comment #22)
> Could you please umerge it again 

I don't see why I would need to unmerge it for showing locate output, simply ignore the one corresponding to gtk+ 

>and do something like:
> updatedb; locate libgdk_pixbuf-2.0.so.0
> And also do it after ebuilding again, please.
> 

# locate libgdk_pixbuf-2.0.so.0
/usr/lib32/libgdk_pixbuf-2.0.so.0
/usr/lib32/libgdk_pixbuf-2.0.so.0.1800.6
/usr/lib64/libgdk_pixbuf-2.0.so.0
/usr/lib64/libgdk_pixbuf-2.0.so.0.1800.9
/usr/lib64/debug/usr/lib64/libgdk_pixbuf-2.0.so.0.1800.9.debug
Comment 24 Nyxis 2010-04-14 17:08:19 UTC
(In reply to comment #23)
> I don't see why I would need to unmerge it for showing locate output, simply
> ignore the one corresponding to gtk+ 

As seen from the logs, emerge looks for libgdk_pixbuf-2.0.so.0 in PATH. And if locate will find corresponding after unmerge it will explain something for me.

Right now i'm trying to build using your environment.
Comment 25 Nyxis 2010-04-14 20:15:39 UTC
AMD64 seems to be not affected by this bug.
Everything works fine with CHOST="x86_64-pc-linux-gnu", but crashes with CHOST="i686-pc-linux-gnu"
Comment 26 Pacho Ramos gentoo-dev 2010-04-14 21:10:13 UTC
(In reply to comment #25)
> AMD64 seems to be not affected by this bug.
> Everything works fine with CHOST="x86_64-pc-linux-gnu", but crashes with
> CHOST="i686-pc-linux-gnu"
> 

Interesting, I will need to test on a x86 machine then

Thanks for your investigation
Comment 27 Pacho Ramos gentoo-dev 2010-05-08 08:56:03 UTC
Still unable to reproduce on my x86 machine:
Portage 2.1.8.3 (default/linux/x86/10.0/desktop/gnome, gcc-4.3.4, glibc-2.10.1-r1, 2.6.32-tuxonice-r6 i686)
=================================================================
System uname: Linux-2.6.32-tuxonice-r6-i686-Genuine_Intel-R-_CPU_T2300_@_1.66GHz-with-gentoo-1.12.13
Timestamp of tree: Wed, 05 May 2010 20:00:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p37
dev-java/java-config: 2.1.10
dev-lang/python:     2.6.4-r1
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.65
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.18-r3
sys-devel/gcc:       4.3.4
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=native -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /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 /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -march=native -pipe -fomit-frame-pointer"
DISTDIR="/usr/distfiles"
FEATURES="assume-digests ccache distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.free.fr/mirrors/ftp.gentoo.org"
LANG="es_ES.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="es es_ES en_US"
MAKEOPTS="-j3"
PKGDIR="/usr/local/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/portage/local/layman/sunrise /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa applet avahi bash-completion berkdb branding bzip2 cairo cdda cddb cdinstall cdr cleartype cli consolekit cracklib crypt css cups cxx daap dbus djvu dri dts dvd dvdr dvi eds emboss encode evo exif fam fat ffmpeg firefox flac fortran gdbm gdu gif glitz gnome gnome-keyring gpm gstreamer gtk hal iconv imagemagick java jpeg kdehiddenvisibility kpathsea laptop latex lcms libnotify lm_sensors lzma mad mikmod mmx mmxext mng modules mono mp3 mp4 mpeg mudflap music musicbrainz nautilus ncurses network network-cron networkmanager nls nptl nptlonly ntfs nvidia ogg opengl openmp pam pango pch pcre pdf perl png policykit ppds pppd python qt3support readline reflection reiserfs scanner sdl session spell spl sse sse2 ssl ssse3 startup-notification svg sysfs t1lib tcpd threads tiff truetype unicode usb vcd vorbis wifi win32codecs x264 x86 xattr xcb xml xmp xorg xpm xulrunner xv xvid zeroconf zlib" ALSA_CARDS="hda-intel" 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 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="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="es es_ES en_US" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia nv vesa" 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, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 28 Nyxis 2010-06-03 14:45:02 UTC
I did emerge --sync and emerge --update. now it's impossible to emerge a lot of packages (including gcc-4.3.4, glibc, gtk+, ...). So i think it would be easier to erase all and start over. this time i'll try to install gtk+ first and only after it will try to update gcc.
Thanks for all for help.


P.S. revdep-rebuild and emerge --update --deep --newuse did not helped..