Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 298500 - media-gfx/gimp-2.6.8 Fails to Compile (help-browser.c:(.text+0x179): undefined reference to `g_thread_init')
Summary: media-gfx/gimp-2.6.8 Fails to Compile (help-browser.c:(.text+0x179): undefine...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Hanno Böck
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-27 02:52 UTC by Matt
Modified: 2011-08-30 19:23 UTC (History)
1 user (show)

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


Attachments
Failed Build Log of media-gfx/gimp-2.6.8 (build.log,1.31 MB, text/plain)
2009-12-27 02:58 UTC, Matt
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Matt 2009-12-27 02:52:32 UTC
media-gfx/gimp-2.6.8 Fails to Compile 

This is the last error:

(help-browser.c:(.text+0x179): undefined reference to `g_thread_init')



Reproducible: Always




# emerge --info   
Portage 2.2_rc61 (default/linux/x86/10.0/desktop, gcc-4.3.4, glibc-2.9_p20081201-r2, 2.6.32-tuxonice i686)
=================================================================                                         
System uname: Linux-2.6.32-tuxonice-i686-Intel-R-_Pentium-R-_4_CPU_3.00GHz-with-gentoo-1.12.13            
Timestamp of tree: Sat, 26 Dec 2009 01:45:01 +0000                                                        
app-shells/bash:     4.0_p35                                                                              
dev-java/java-config: 2.1.9-r2                                                                            
dev-lang/python:     2.6.4, 3.1.1-r1                                                                      
dev-util/cmake:      2.6.4-r3                                                                             
sys-apps/baselayout: 1.12.13                                                                              
sys-apps/sandbox:    2.2                                                                                  
sys-devel/autoconf:  2.13, 2.63-r1                                                                        
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2                                                 
sys-devel/binutils:  2.18-r3                                                                              
sys-devel/gcc-config: 1.4.1                                                                               
sys-devel/libtool:   2.2.6b                                                                               
virtual/os-headers:  2.6.27-r2                                                                            
ACCEPT_KEYWORDS="x86"                                                                                     
ACCEPT_LICENSE="* -@EULA PUEL"                                                                            
CBUILD="i686-pc-linux-gnu"                                                                                
CFLAGS="-O2 -march=prescott -pipe -fomit-frame-pointer -w"                                                
CHOST="i686-pc-linux-gnu"                                                                                                   
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config" 
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/udev/rules.d"                                                                                           
CXXFLAGS="-O2 -march=prescott -pipe -ftracer -fomit-frame-pointer -w"                                                       
DISTDIR="/usr/portage/distfiles"                                                                                            
EMERGE_DEFAULT_OPTS="--keep-going"                                                                                          
FEATURES="assume-digests candy distlocks fixpackages metadata-transfer news noinfo parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch userpriv usersandbox"                                       
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"                       
LANG="en_US.ISO-8859-1"                                                                                                     
LC_ALL="en_US.ISO-8859-1"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--sort-common -Wl,--hash-style=gnu"
LINGUAS="en en_US"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_COMPRESS="bzip2"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete-before --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/opt/portage"
SYNC="rsync://blackhole/gentoo-portage"
USE="X Xaw3d a52 aac aalib acl acpi adns ads aiglx alsa amr amrnb amrwb ao apache2 audacious autoipd avahi bash-completion berkdb blender-game bluetooth bonjour branding bzip2 cairo cdda cdparanoia cdr chardet clamav cli consolekit cracklib crypt css cups curl custom-cflags custom-optimization cxx dbus dell devil dga directfb disk-partition dmx dri dts dv dvb dvd dvdr eap-sim eds emboss encode evo exif faac faad fam fbcon fbcondecor fbsplash ffmpeg firefox flac foomaticdb fortran gdbm geoip gif gimp glib glitz gmp gnutls gphoto2 gpm gtk hal iconv id3tag idn imagemagick insecure-savers ipv6 isc jbig jfs john jpeg jpeg2k kde kde4 kerberos kipi ladspa lame laptop lcms ldap libcaca libnotify lm_sensors logrotate lzo mad mbrola md5sum midi mikmod mmx mmxext mng modules mp3 mp4 mpeg mudflap ncurses network networkmanager nis nls nptl nptlonly nsplugin ntfs ntlm oav offensive ofx ogg opengl openmp openntpd pam pcre pdf perl perlsuid plugins png policykit ppds pppd python python3 qt3support qt4 quicktime rar rdp readline reflection samba scanner sdl session sftplogging slp smp sndfile sox spell spl sse sse2 sse3 ssl startup-notification svg symlink sysfs tcpd theora threads thumbnail thunar tidy tiff timidity toolbar tools truetype unicode usb utempter v4l v4l2 vcd vidix vnc vorbis wavpack webkit wifi win32codecs winbind wma wmf wmp x264 x86 xcb xcomposite xfs xft xinerama xml xorg xpm xrandr xscreensaver xulrunner xv xvid xvmc yv12 zeroconf zip zlib" ALSA_CARDS="intel8x0 intel8x0m" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958   ioplug ladspa lfloat linear meter mulaw multi null rate dsnoop extplug file hooks   ladspa lfloat linear meter 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" CAMERAS="adc65 agfa_cl20 aox barbie canon casio_qv clicksmart310 digigr8 digita dimagev       dimera3500 directory enigma13 fuji gsmart300 hp215 iclick jamcam jd11 kodak_dc120  kodak_dc210 kodak_dc240 kodak_dc3200 kodak_ez200 konica largan lg_gsm    mars mustek panasonic_coolshot panasonic_dc1000 panasonic_dc1580 panasonic_l859     pccam300 pccam600 polaroid_pdc320 polaroid_pdc640 polaroid_pdc700 ptp2 ricoh ricoh_g3   samsung sierra sipix_blink2 sipix_web2 smal sonix sony_dscf1 sony_dscf55    soundvision spca50x sq905 stv0674 stv0680 sx330z toshiba_pdrm11 konica_qm150 sipix_blink" ELIBC="glibc" INPUT_DEVICES="evdev joystick keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US" LIRC_DEVICES="all" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev i810 intel nvidia "
Unset:  CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Matt 2009-12-27 02:58:04 UTC
Created attachment 214255 [details]
Failed Build Log of media-gfx/gimp-2.6.8

Anything else you need to know that I'm not thinking to supply right now, feel free to ask.  I get teh exact same error on two Gentoo machines (all that I have available at the moment).  

gcc: sys-devel/gcc-4.3.4
GTK: x11-libs/gtk+-2.16.6


I've also done this:

emerge -1q $(qdepends gimp | sed -e 's/\ /\\\n/g' -e 's/\\//g' | grep -v gimp) gimp

Which recompiles all this (which qdepends says gimp wants):

>=dev-libs/glib-2.18.1
>=x11-libs/gtk+-2.12.5
>=x11-libs/pango-1.18.0
>=media-libs/freetype-2.1.7
>=media-libs/fontconfig-2.2.0
sys-libs/zlib
dev-libs/libxml2
dev-libs/libxslt
x11-misc/xdg-utils
x11-themes/hicolor-icon-theme
>=media-libs/gegl-0.0.22
media-libs/aalib
media-libs/alsa-lib
net-misc/curl
dev-libs/dbus-glib
sys-apps/hal
net-libs/webkit-gtk
>=media-libs/jpeg-6b-r2
>=media-libs/libexif-0.6.15
media-libs/lcms
media-libs/libmng
>=virtual/poppler-glib-0.3.1[cairo]
>=media-libs/libpng-1.2.2
>=dev-lang/python-2.5.0
>=dev-python/pygtk-2.10.4
>=media-libs/tiff-3.5.7
>=gnome-base/librsvg-2.8.0
>=media-libs/libwmf-0.2.8
>=dev-util/pkgconfig-0.12.0
>=dev-util/intltool-0.40
>=sys-devel/gettext-0.17
>=sys-apps/sed-4
>=app-admin/eselect-python-20090804
>=app-shells/bash-3.2


All compiled successfully.


M.
Comment 2 Nick Baird 2010-01-02 09:13:18 UTC
I have the same problem on ~amd64.  However it will compile OK with USE="-webkit".  Maybe a webkit-gtk issue?  I have webkit-gtk-1.1.15.4.
Comment 3 Matt 2010-01-04 04:07:15 UTC
(In reply to comment #2)
> I have the same problem on ~amd64.  However it will compile OK with
> USE="-webkit".  Maybe a webkit-gtk issue?  I have webkit-gtk-1.1.15.4.
> 

Confirmed.  GIMP builds fine with USE=-webkit.


$ qlist -Iv webkit
net-libs/webkit-gtk-1.1.10
x11-libs/qt-webkit-4.5.3


So I have an older one (stable x86), but you and I hit the same problem.

Comment 4 SpanKY gentoo-dev 2010-01-25 18:56:44 UTC
+1: `USE=-webkit emerge gimp` works

normally i have:
[ebuild   R   ] media-gfx/gimp-2.6.8  USE="aalib alsa curl dbus exif jpeg lcms mmx mng pdf png python smp sse svg tiff webkit wmf (-altivec) -debug -doc -gnome -hal" 0 kB

at some point it emerged correctly ...
Comment 5 Sebastian Pipping gentoo-dev 2011-08-30 19:23:17 UTC
There is no more Gimp 2.6.8 in Gentoo.  I am closing this as obsolete.  Please re-open as needed.