Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 144130 - www-client/dillo fails to detect GTK libs w/ --as-needed
Summary: www-client/dillo fails to detect GTK libs w/ --as-needed
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Mamoru KOMACHI (RETIRED)
Depends on: 133819
Blocks: as-needed
  Show dependency tree
Reported: 2006-08-16 09:48 UTC by Charlie Shepherd (RETIRED)
Modified: 2006-09-10 16:14 UTC (History)
1 user (show)

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

config.log from emerging with --as-needed in LDFLAGs (config.log,49.79 KB, application/octet-stream)
2006-08-16 09:50 UTC, Charlie Shepherd (RETIRED)
Details (,1.85 KB, patch)
2006-08-18 04:59 UTC, Timothy Redaelli (RETIRED)
Details | Diff (,1.85 KB, patch)
2006-08-18 05:01 UTC, Timothy Redaelli (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Charlie Shepherd (RETIRED) gentoo-dev 2006-08-16 09:48:54 UTC
When emerging dillo the configure script fails with this error:

checking for GTK - version >= 1.2.0... no
*** Could not run GTK test program, checking why...
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means GTK was incorrectly installed
*** or that you have moved GTK since it was installed. In the latter case, you
*** may want to edit the gtk-config script: /usr/bin/gtk-config
configure: error: Unable to find Gtk+ with a version >= 1.2.0. Dillo NEEDS Gtk+

!!! Please attach the following file when filing a report to
!!! /var/tmp/portage/dillo-0.8.5-r3/work/dillo-0.8.5/config.log

!!! ERROR: www-client/dillo-0.8.5-r3 failed.
Call stack:, line 1543:   Called dyn_compile, line 938:   Called src_compile
  dillo-0.8.5-r3.ebuild, line 86:   Called econf '--enable-nls' '--enable-anti-alias' '--enable-tabs' '--enable-meta-refresh' '--enable-ipv6' '--enable-ssl', line 539:   Called die

!!! econf failed
!!! If you need support, post the topmost build error, and the call stack if relevant.

See next comment for attached config.log
However, emerging dillo without --as-needed in LDFLAGs finishes successfully.

emerge --info:

Portage 2.1.1_pre5-r1 (default-linux/x86/2006.0, gcc-4.1.1/vanilla, glibc-2.4.20060329-r0, 2.6.18-rc4-viper i686)
System uname: 2.6.18-rc4-viper i686 Intel(R) Pentium(R) 4 CPU 2.80GHz
Gentoo Base System version 1.12.4
Last Sync: Wed, 16 Aug 2006 13:50:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
app-admin/eselect-compiler: 2.0.0_rc2-r1
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r2
dev-util/confcache:  0.4.2-r1
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17
CFLAGS="-march=i686 -O2 -fomit-frame-pointer -pipe -fno-ident -fweb -frename-registers -ftracer -Wall"
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/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=i686 -O2 -fomit-frame-pointer -pipe -fno-ident -fweb -frename-registers -ftracer -Wall -fvisibility-inlines-hidden "
FEATURES="autoconfig candy ccache collision-protect confcache distlocks metadata-transfer nodoc noinfo parallel-fetch sandbox sfperms strict stricter userpriv usersandbox"
LDFLAGS="-Wl,-O1 -Wl,-zdynsort -Wl,--as-needed -Wl,--sort-common -Wl,-z,now"
LINGUAS="en en_GB"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/overlays/initng /usr/local/overlays/xgl-coffee"
USE="x86 7zip X X509 aac acl acpi alsa amd amuled ansi apache2 arts asf audacious bash-completion bzip2 cap ccache cdda cddb cdinstall cdparanoia cdr cdrom cgi chroot ck-plus cracklib crypt css cups curl curlwrappers dbus dhcp dillo dio directfb djbfft dnd dri dv dvdread edl elibc_glibc encode erandom exif ext-png ext-zlib extensions fastcgi fbcon fbsplash ffmpeg firefox flash fortify fpx geoip gif gimp gimpprint ginac glgd glibc-compat20 glibc-omitfp glitz glut gmp gmtfull gnuplot gpm graphviz gs gsl gtk gtk2 hal hardenedphp hbci hdf iconv icq ide idl image imap imlib imlib2 infopipe initng_plugins_also initng_plugins_bash_launcher initng_plugins_chdir initng_plugins_chroot initng_plugins_conflict initng_plugins_cpout initng_plugins_critical initng_plugins_cron initng_plugins_daemon initng_plugins_dev initng_plugins_dllaunch initng_plugins_envparser initng_plugins_find initng_plugins_fstat initng_plugins_history initng_plugins_idleprobe initng_plugins_initctl initng_plugins_interactive initng_plugins_iparser initng_plugins_last initng_plugins_limit initng_plugins_logfile initng_plugins_netprobe initng_plugins_ngc4 initng_plugins_pause initng_plugins_pidfile initng_plugins_provide initng_plugins_reload initng_plugins_renice initng_plugins_rlparser initng_plugins_simple_launcher initng_plugins_stcmd initng_plugins_stdout initng_plugins_suid initng_plugins_syncron initng_plugins_syslog initng_plugins_unneeded innodb input_devices_joystick input_devices_keyboard input_devices_mouse ipv6 irda irmc j2ee jabber javacomm javamail javascript jbig jboss jce jms jmx joystick jpeg jpeg2k jta jython kakasi kde kdeenablefinal kdehiddenvisibility kdenewldflags kdexdeltas kerberos kernel_linux krb4 latex lcms leim libclamav libdsk libgd libgda libsamplerate libwww linguas_en linguas_en_GB live lua lzo lzw m17n-lib maildir matroska mbox mcal mdb migemo mime mixer mjpeg mmap mmx mmxext mono mozcalendar mozdevelop mozsvg mozxmlterm mp3 mpeg mpi mplayer msn mule multislot music mysql mysqli mythtv nagios-dns nagios-ntp nagios-ping nagios-ssh ncurses net netcdf network neural nis nls no-old-linux nomalloccheck nowin nptl nptlonly ntlm ntpl oav objc ocaml offensive ogg oggvorbis openal opengl oscar ospfapi pam parse-clocks pcap pcntl pcre pdf perl pertty pg-hier pg-intdatetime pg-vacuumdelay php physfs pic plotutils png portaudio povray ppds pri print procmail python qt3 qt4 quicktime quotas quotes readline real reiser4 reiserfs risky rogue rplay sdl seamonkey semanticfix session sftplogging shared sharedmem slp smime sndfile snortsam socks5 sox sse sse-filters sse2 ssl suspend2 svga symlink sysvipc szip tcltk tcpd tga theora tidy tk transcode truetype uim unicode usb userland_GNU v4l v4l2 vcd vda video_cards_i810 videos virus-scan vorbis wddx webdav wifi win32codecs winbind wma wmf wxwindows xanim xatrix xchatdccserver xchattext xcomposite xemacs xface xgetdefault xine xml xmlreader xmlrpc xmlwriter xmms xorg xosd xpm xprint xrandr xscreensaver xsettings xv xvid xvmc yahoo yaz yp yv12 zaptel zeo zlib zvbi"
Comment 1 Charlie Shepherd (RETIRED) gentoo-dev 2006-08-16 09:50:22 UTC
Created attachment 94403 [details]
config.log from emerging with --as-needed in LDFLAGs
Comment 2 Timothy Redaelli (RETIRED) gentoo-dev 2006-08-18 04:45:54 UTC
It's the famous gtk+-1.* bug (using gtk.m4), the short solution is to append --disable-gtktest in econf.
It works for all gtk+ programs
Comment 3 Timothy Redaelli (RETIRED) gentoo-dev 2006-08-18 04:59:15 UTC
Created attachment 94526 [details, diff]

Apply also this patch
Comment 4 Timothy Redaelli (RETIRED) gentoo-dev 2006-08-18 05:01:34 UTC
Created attachment 94527 [details, diff]

ops, this is the right patch
Comment 5 Emanuele Giaquinta (RETIRED) gentoo-dev 2006-09-10 16:14:37 UTC
Added to dillo-0.8.6, thanks.