First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 207638
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Desktop Misc. Team <desktop-misc@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Muelli <gentoo-bugs@Auftrags-Killer.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
media-libs:imlib-1.9.15-r2:20080127-020700.log build log media-libs/imlib text/plain Muelli 2008-01-27 02:15 0000 34.87 KB Details
media-libs:imlib-1.9.15-r2:20080127-022715.log build log of fine compiling media-libs/imlib text/plain Muelli 2008-01-27 02:34 0000 85.78 KB Details
loadsaveenv paludis environment text/plain James L. Hammons 2008-05-02 14:32 0000 154.94 KB Details
build.log build.log text/plain Vasileios P. Lourdas 2009-10-06 21:34 0000 29.72 KB Details
imlib-1.9.15--as-needed-gtk-1.patch imlib-1.9.15--as-needed-gtk-1.patch patch Peter Volkov 2009-10-30 08:30 0000 411 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 207638 depends on: Show dependency tree
Bug 207638 blocks: 129413
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2008-01-27 02:15 0000
I tried to emerge =media-libs/imlib-1.9.15-r2 but it failed.

Reproducible: Always

Steps to Reproduce:
1. add --as-needed to your LDFLAGS
2. emerge =media-libs/imlib-1.9.15-r2


Actual Results:  
/bin/sh ../libtool --mode=link i686-pc-linux-gnu-gcc  -O3 -march=athlon-xp
-fomit-frame-pointer -pipe -m3dnow -msse -mmmx -fprefetch-loop-arrays  -Wl,-O1
-Wl,--enable-new-dtags -Wl,--sort-common -Wl,--as-needed -o imlib_config 
imlib_config.o icons.o testimg.o ../gdk_imlib/libgdk_imlib.la -L/usr/lib -lgtk
-lgdk -rdynamic -lgmodule -lglib -lXi -lXext -lXext -lX11 -lm -ljpeg -ltiff
-lgif -lpng -lz -lm 
mkdir .libs
i686-pc-linux-gnu-gcc -O3 -march=athlon-xp -fomit-frame-pointer -pipe -m3dnow
-msse -mmmx -fprefetch-loop-arrays -Wl,-O1 -Wl,--enable-new-dtags
-Wl,--sort-common -Wl,--as-needed -o .libs/imlib_config imlib_config.o icons.o
testimg.o -rdynamic  ../gdk_imlib/.libs/libgdk_imlib.so -L/usr/lib
/usr/lib/libgtk.so /usr/lib/libgdk.so /usr/lib/libgmodule.so
/usr/lib/libglib.so /usr/lib/libXi.so /usr/lib/libXext.so /usr/lib/libX11.so
/usr/lib/libjpeg.so /usr/lib/libtiff.so /usr/lib/libgif.so /usr/lib/libpng12.so
-lz -lm
../gdk_imlib/.libs/libgdk_imlib.so: undefined reference to `TIFFWriteScanline'
../gdk_imlib/.libs/libgdk_imlib.so: undefined reference to
`png_create_read_struct'
../gdk_imlib/.libs/libgdk_imlib.so: undefined reference to
`jpeg_write_scanlines'


Expected Results:  
I'd expect it to compile fine

$ emerge --info
Portage 2.1.3.19 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0,
2.6.23-gentoo-r3 i686)
=================================================================
System uname: 2.6.23-gentoo-r3 i686 AMD Athlon(tm) XP 2400+
Timestamp of tree: Fri, 25 Jan 2008 19:00:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r6
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.10-r5
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=athlon-xp -fomit-frame-pointer -pipe -m3dnow -msse -mmmx
-fprefetch-loop-arrays"
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/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf
/etc/gconf /etc/rc.d /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c
/etc/udev/rules.d /etc/wget"
CXXFLAGS="-O3 -march=athlon-xp -fomit-frame-pointer -pipe -m3dnow -msse -mmmx
-fprefetch-loop-arrays"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache confcache distcc distlocks metadata-transfer
parallel-fetch sandbox sfperms splitdebug strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="de_DE.utf8"
LDFLAGS="-Wl,-O1 -Wl,--enable-new-dtags -Wl,--sort-common -Wl,--as-needed"
LINGUAS="de en_GB eo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
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
--filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/mnt/ramdisk"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/muelli"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X X509 a52 aac accessibility acl acpi ada adns aiglx alsa
amarok amr amuled async auctex audacious audiofile authfile avahi
bash-completion bindist bitmap-fonts bittorrent bl blender-game bluetooth
bonjour branding browserplugin buttons bzip2 cairo ccache cdb cdda cddb
cdinstall cdio cdparanoia cdr cli cracklib crypt css csv curl cyrus d dbase
dbus devhelp disk-partition divx divx4linux djvu drac dri dts dvb dvd dvdnav
dvdr dvdread dvi dynagraph eds effects emboss emerald encode enscript escreen
ethereal evo exif extrafilters extras fasttrack ffmpeg firefox flac fuse gajim
galago garmin gd gdbm gedit geldkarte ggi gif gkrellm glade glitz glsa glut
gmedia gmp gnokii gnome gnuplot gnustep gnutella gnutls gpg gpgme gpm graphviz
gs gsm gstreamer gtalk gtk gtk2 gtkhtml hal hbci hddtemp html http iconv id3
idn imagemagick imlib inherit-graph ipv6 irc irda isdnlog jabber javascript
jingle joystick jpeg jpeg2k junit justify keyring lame latex libcaca libnotify
libsexy libwww logrotate logwatch lzo mad madwifi matroska midi mikmod mmx
mmxext mng mod mod_muc mod_pubsub moneyplex mono mozdevelop mozilla moznoirc
moznomail mozsvg mp3 mp4 mp4live mpe mpeg mpeg2 mpeg4 mplayer mudflap multiuser
musepack musicbrainz mythtv nautilus ncurses net nls nntp nogg nptl nptlonly
nvidia nvtv offensive ofx ogg ole on-the-fly-crypt opengl openmp openssl oss
pam pcre pdf perl plugin plugins png postscript pppd pulseaudio python pyx qt3
qt3support qt4 quicktime rar readline real realmedia recode reflection reiser4
reiserfs remote replytolist restrict-javascript rss rtsp ruby sasl screen sdl
sendfile sensord session sftp shaper shorten shout skins slang sms socks5
softquota sourceview speech speedo speex spell spl sqlite sqlite3 srv sse sse2
ssl stream stroke subversion svg svga symlink tcl tcpd tetex tga theora
thesaurus thumbnail thumbnailing thunderbird tiff tk tordns tos tracker
trayicon truetype truetype-fonts type1-fonts unicode upnp usb utf8 uuencode v4l
v4l2 valgrind vcd videos vidix visual visualization vnc vorbis win32codecs wma
wmf wmp x264 x86 xanim xchat xcomposite xemacs xforms xine xml xorg xulrunner
xv xvid xvmc zeroconf zip zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem
bt87x ca0106 cmipci emu10k1 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 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="keyboard mouse joystick" KERNEL="linux"
LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses
text" LINGUAS="de en_GB eo" USERLAND="GNU" VIDEO_CARDS="nvidia nv vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL,
PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

------- Comment #1 From Muelli 2008-01-27 02:15:58 0000 -------
Created an attachment (id=141865) [details]
build log media-libs/imlib

------- Comment #2 From Jakub Moc (RETIRED) 2008-01-27 02:22:51 0000 -------
Compiles perfectly fine here w/ --as-needed

------- Comment #3 From Muelli 2008-01-27 02:32:47 0000 -------
Now it compiles fine w/o --as-needed. Please see the build.log attached. I just
removed " -Wl,--as-needed" from my make.conf.

------- Comment #4 From Muelli 2008-01-27 02:34:16 0000 -------
Created an attachment (id=141867) [details]
build log of fine compiling media-libs/imlib

------- Comment #5 From James L. Hammons 2008-05-02 14:32:35 0000 -------
Created an attachment (id=151623) [details]
paludis environment

I'm having the same problem building with Wl,--as-needed flags as well. I even
rebuilt giflib, libpng, tiff and jpeg and it still errors out in the same
place. Since I'm using paludis on this machine, I'm not sure what files to
attach; it also seems that paludis doesn't keep build logs of the stuff it
makes.

And yes, I've searched the forums for guidance on posting bugs while using
paludis instead of portage but there doesn't seem to be any--at least none that
I could find. :-P

------- Comment #6 From Peter Volkov 2008-07-16 10:00:36 0000 -------
Thank you for report. This problem should be fixed in CVS now. If not, please,
reopen bug.

------- Comment #7 From Jeff Mitchell 2008-12-11 20:33:10 0000 -------
-r2 breaks build with --as-needed, despite what the patch is supposed to do. 
-r1 was installed fine, and -r2 will only install if I do a 'LDFLAGS="" emerge
imlib'...build log, then emerge --info below


mv -f .deps/imlib_config.Tpo .deps/imlib_config.Po
mv -f .deps/testimg.Tpo .deps/testimg.Po
/bin/sh ../libtool --tag=CC   --mode=link i686-pc-linux-gnu-gcc 
-march=pentium-m -O2 -pipe  -Wl,--as-needed -o imlib_config imlib_config.o
icons.o testimg.o ../gdk_i
mlib/libgdk_imlib.la -L/usr/lib -lgtk -lgdk -rdynamic -lgmodule -lglib -lXi
-lXext -lXext -lX11 -lm -ljpeg -ltiff -lgif -lpng -lz -lm 
mkdir .libs
i686-pc-linux-gnu-gcc -march=pentium-m -O2 -pipe -Wl,--as-needed -o
.libs/imlib_config imlib_config.o icons.o testimg.o -rdynamic 
../gdk_imlib/.libs/libgdk_imlib.so 
-L/usr/lib /usr/lib/libgtk.so /usr/lib/libgdk.so /usr/lib/libgmodule.so
/usr/lib/libglib.so /usr/lib/libXi.so /usr/lib/libXext.so /usr/lib/libtiff.so
-ljbig /usr/lib/
libjpeg.so -lc /usr/lib/libgif.so /usr/lib/libSM.so /usr/lib/libICE.so
/usr/lib/libX11.so /usr/lib/libXau.so /usr/lib/libXdmcp.so -ldl
/usr/lib/libpng12.so -lz -lm 
../gdk_imlib/.libs/libgdk_imlib.so: undefined reference to `TIFFWriteScanline'
../gdk_imlib/.libs/libgdk_imlib.so: undefined reference to
`png_create_read_struct'
../gdk_imlib/.libs/libgdk_imlib.so: undefined reference to
`jpeg_write_scanlines'
../gdk_imlib/.libs/libgdk_imlib.so: undefined reference to `png_set_expand'
../gdk_imlib/.libs/libgdk_imlib.so: undefined reference to `jpeg_stdio_src'
../gdk_imlib/.libs/libgdk_imlib.so: undefined reference to
`TIFFDefaultStripSize'
../gdk_imlib/.libs/libgdk_imlib.so: undefined reference to `png_get_valid'
../gdk_imlib/.libs/libgdk_imlib.so: undefined reference to `_TIFFmalloc'
../gdk_imlib/.libs/libgdk_imlib.so: undefined reference to `TIFFReadRGBAImage'
../gdk_imlib/.libs/libgdk_imlib.so: undefined reference to `png_init_io'
../gdk_imlib/.libs/libgdk_imlib.so: undefined reference to `DGifOpenFileHandle'
../gdk_imlib/.libs/libgdk_imlib.so: undefined reference to
`jpeg_CreateDecompress'
../gdk_imlib/.libs/libgdk_imlib.so: undefined reference to
`jpeg_destroy_decompress'
../gdk_imlib/.libs/libgdk_imlib.so: undefined reference to `png_set_filler'
../gdk_imlib/.libs/libgdk_imlib.so: undefined reference to
`jpeg_finish_decompress'
../gdk_imlib/.libs/libgdk_imlib.so: undefined reference to `jpeg_set_defaults'
../gdk_imlib/.libs/libgdk_imlib.so: undefined reference to `jpeg_set_quality'
../gdk_imlib/.libs/libgdk_imlib.so: undefined reference to `png_set_read_fn'
../gdk_imlib/.libs/libgdk_imlib.so: undefined reference to `png_set_sBIT'
../gdk_imlib/.libs/libgdk_imlib.so: undefined reference to
`DGifGetExtensionNext'
../gdk_imlib/.libs/libgdk_imlib.so: undefined reference to
`png_create_info_struct'
../gdk_imlib/.libs/libgdk_imlib.so: undefined reference to `TIFFScanlineSize'
../gdk_imlib/.libs/libgdk_imlib.so: undefined reference to `jpeg_read_header'
../gdk_imlib/.libs/libgdk_imlib.so: undefined reference to `png_set_packing'
../gdk_imlib/.libs/libgdk_imlib.so: undefined reference to `TIFFClose'
../gdk_imlib/.libs/libgdk_imlib.so: undefined reference to `png_write_rows'
../gdk_imlib/.libs/libgdk_imlib.so: undefined reference to
`jpeg_start_compress'
../gdk_imlib/.libs/libgdk_imlib.so: undefined reference to `png_set_strip_16'
../gdk_imlib/.libs/libgdk_imlib.so: undefined reference to
`jpeg_start_decompress'
../gdk_imlib/.libs/libgdk_imlib.so: undefined reference to `DGifGetImageDesc'
../gdk_imlib/.libs/libgdk_imlib.so: undefined reference to `TIFFGetField'
../gdk_imlib/.libs/libgdk_imlib.so: undefined reference to `TIFFOpen'
../gdk_imlib/.libs/libgdk_imlib.so: undefined reference to `_TIFFfree'
../gdk_imlib/.libs/libgdk_imlib.so: undefined reference to `DGifGetRecordType'
../gdk_imlib/.libs/libgdk_imlib.so: undefined reference to `DGifGetLine'
../gdk_imlib/.libs/libgdk_imlib.so: undefined reference to `png_set_shift'
../gdk_imlib/.libs/libgdk_imlib.so: undefined reference to `png_read_image'
../gdk_imlib/.libs/libgdk_imlib.so: undefined reference to `png_write_info'
../gdk_imlib/.libs/libgdk_imlib.so: undefined reference to
`png_create_write_struct'
../gdk_imlib/.libs/libgdk_imlib.so: undefined reference to `DGifCloseFile'
../gdk_imlib/.libs/libgdk_imlib.so: undefined reference to `TIFFSetField'
../gdk_imlib/.libs/libgdk_imlib.so: undefined reference to
`jpeg_CreateCompress'
../gdk_imlib/.libs/libgdk_imlib.so: undefined reference to `png_set_IHDR'
../gdk_imlib/.libs/libgdk_imlib.so: undefined reference to `jpeg_stdio_dest'
../gdk_imlib/.libs/libgdk_imlib.so: undefined reference to `png_write_end'
../gdk_imlib/.libs/libgdk_imlib.so: undefined reference to `png_read_info'
../gdk_imlib/.libs/libgdk_imlib.so: undefined reference to `jpeg_std_error'
../gdk_imlib/.libs/libgdk_imlib.so: undefined reference to `DGifGetExtension'
../gdk_imlib/.libs/libgdk_imlib.so: undefined reference to `PrintGifError'
../gdk_imlib/.libs/libgdk_imlib.so: undefined reference to
`png_destroy_read_struct'
../gdk_imlib/.libs/libgdk_imlib.so: undefined reference to
`jpeg_finish_compress'
../gdk_imlib/.libs/libgdk_imlib.so: undefined reference to `TIFFFdOpen'
../gdk_imlib/.libs/libgdk_imlib.so: undefined reference to `png_get_IHDR'
../gdk_imlib/.libs/libgdk_imlib.so: undefined reference to
`jpeg_read_scanlines'
../gdk_imlib/.libs/libgdk_imlib.so: undefined reference to
`png_destroy_write_struct'
../gdk_imlib/.libs/libgdk_imlib.so: undefined reference to `png_get_io_ptr'
collect2: ld returned 1 exit status
make[2]: *** [imlib_config] Error 1
make[2]: Leaving directory
`/var/tmp/portage/media-libs/imlib-1.9.15-r2/work/imlib-1.9.15/utils'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/media-libs/imlib-1.9.15-r2/work/imlib-1.9.15'
make: *** [all] Error 2



Portage 2.1.4.5 (default/linux/x86/2008.0, gcc-4.1.2, glibc-2.6.1-r0,
2.6.21-suspend2-r7 i686)
=================================================================
System uname: 2.6.21-suspend2-r7 i686 Intel(R) Pentium(R) M processor 2.00GHz
Timestamp of tree: Wed, 26 Nov 2008 21:00:01 +0000
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.4.4-r5, 2.5.2-r7
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r2
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2,
1.10.1-r1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium-m -O2 -pipe"
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
/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/ex
t-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=pentium-m -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans
userfetch"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo"
LDFLAGS="-Wl,--as-needed"
LINGUAS="en en_US"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
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.gentoo.org/gentoo-portage"
USE="7zip X Xaw3d a52 aac acl acpi addbookmarks aim alias alsa apache2 arts
audiofile autoipd au
toreplace avahi bash-completion bcmath berkdb bidi bluetooth bonjour bookmarks
branding bzip2 ca
iro calendar cardbus ccache cdda cddb cdio cdparanoia cdr cdrom cgi chm
clearcase cli codecs com
mercial connectionstatus contactnotes corba cpudetection cracklib crypt css
ctype cups curl curl
wrappers cvs daap dbus divx dmi dnd dri dts dvb dvd dvdr dvdread eds effects
elf emacs enca esd 
exif expat exscalibar extensions extrafilters fam fame fastcgi fat ffmpeg fftw
firefox flac fltk
 font-server fontconfig force-cgi-redirect fortran fpx freetype ftp fuse galago
gd gdbm gg ggi g
if gimpprint glib glitz glut gmail gmedia gmp gnome gnome-print gphoto2 gpm
graphviz groupwise g
s gsm gstreamer gtk gtkhtml h323 hal hash haskell hbci highlight history
howl-compat httpd iconv
 icq id3 idn ieee1394 imagemagick imap inkjar ipod ipv6 irc isdnlog jabber jack
jack-tmpfs java 
javascript jbig jce jikes jit joystick jpeg jpeg2k kde kdeenablefinal lame
largeterminal latex l
cms ldap leim lesstif libcaca libsamplerate live lm_sensors logitech-mouse
logrotate lua lzo lzw
 maildir matroska mbox mdnsresponder-compat memlimit mhash midi mime mjpeg mmap
mng mod mono mot
if mozbranding mozdevelop mozilla mozsvg mozxmlterm mp3 mp4 mp4live mpeg2 mpi
mplayer msn mudfla
p multiuser musepack musicbrainz mysql mysqli nas ncurses nethack network
new-login nls nntp now
listening nptl nptlonly nsplugin ntlm numeric nxclient offensive ofx ole
on-the-fly-crypt openal
 opengl openmp oscar oss pam pam_timestamp pascal paste64 pcntl pcre pda pdf
perforce perl php p
hysfs player plotutils plugin png pnp portaudio posix postfix postgres povray
pppd pulseaudio py
thon qemu-fast qt3 qt4 quotes rar rdesktop readline reflection reiserfs remote
resolvconf rpm rr
dtool rss rtsp ruby samba sametime sasl scanner screen screenshot sdl sensord
server session sha
redext shorten shout silc simplexml skins slp smime sms smux sndfile snmp soap
sockets socks5 sp
eedo speex spell spl sql sqlite sqlite3 ssl startup-notification statistics
stencil-buffer strea
m subversion svg sysfs sysvipc tcl tcltk tcpd tetex texteffect theora threads
tiff tk tokenizer 
toolbar transcode translator truetype type1 unicode usb utf8 v4l v4l2 vcd vidix
vim vim-pager vi
m-with-x visualization vlm vnc vorbis webpresence wifi winpopup wmf wmp wxgtk1
wxwindows x264 x8
6 xanim xchatnogtk xchattext xcomposite xface xforms xine xinerama xml
xmlreader xmlrpc xmlwrite
r xorg xosd xpm xprint xscreensaver xsl xvid xvmc yahoo yv12 zeroconf zip zlib"
ALSA_CARDS="inte
l8x0" 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_f
ile authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user
autoindex cache da
v dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache
filter headers includ
e info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif
speling status un
ique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard
mouse evdev joystic
k" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216
lcdm001 mtxorb ncurses 
text" LINGUAS="en en_US" USERLAND="GNU" VIDEO_CARDS="i810 fbdev vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG,
LC_ALL, PORTAGE_COMP
RESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

------- Comment #8 From Peter Volkov 2008-12-12 17:40:42 0000 -------
Jeff, what USE flags you used to build imlib? And, please, attach full build
log.

------- Comment #9 From Vasileios P. Lourdas 2009-10-06 21:34:06 0000 -------
Created an attachment (id=206264) [details]
build.log

Build fails here too, with same errors.

emerge --info
Portage 2.1.6.13 (default/linux/x86/2008.0/desktop, gcc-4.3.2,
glibc-2.9_p20081201-r2, 2.6.31-gentoo-r1 i686)
=================================================================
System uname:
Linux-2.6.31-gentoo-r1-i686-Genuine_Intel-R-_CPU_T2300_@_1.66GHz-with-gentoo-2.0.1
Timestamp of tree: Tue, 06 Oct 2009 14:30:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p28
dev-java/java-config: 2.1.9-r1
dev-lang/python:     2.5.4-r3, 2.6.2-r1
dev-python/pycrypto: 2.0.1-r8
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.4.3-r3
sys-apps/sandbox:    2.1
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 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.6a
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer"
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 /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/
/etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release
/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/terminfo
/etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d
/etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache collision-protect distlocks fixpackages parallel-fetch
protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://helios/~lourdas/ http://files.gentoo.gr
http://mirror.leaseweb.com/gentoo/ http://mirror.jamit.de/gentoo/
http://gentoo.mneisen.org/ http://ftp.ntua.gr/pub/linux/gentoo/
http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/
http://mirror.cambrium.nl/pub/os/linux/gentoo/
http://ftp.cc.uoc.gr/mirrors/linux/gentoo/
http://ftp.uni-erlangen.de/pub/mirrors/gentoo
http://de-mirror.org/distro/gentoo/"
LDFLAGS="-Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed"
LINGUAS="en"
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"
PORTDIR_OVERLAY="/usr/local/portage/layman/arcon
/usr/local/portage/layman/devnull /usr/local/portage/layman/kde-testing
/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa apache2 artswrappersuid asf bash-completion berkdb
branding bzip2 bzlib cairo calendar caps cdr charconv chm cleartype cli
consolekit cracklib crypt css ctype cups curl dba dbus device-mapper dmi dri
dts dvd dvdr dvdread effects emboss encode esd evo exif expat fam fat fbcon
ffmpeg firefox firefox3 flac flatfile foomaticdb fortran ftp gcj gd gdbm gif
gimp gimpprint glx gmp gnomedb gnutls gocr gphoto2 gpm gstreamer gtk hal
hddtemp howl iconv imagemagick imap imlib innodb isdnlog jabber java java6
javascript jpeg jpeg2k kde kdeenablefinal kdehiddenvisibility laptop lcms ldap
lensfun libnotify libsamplerate libwww lm_sensors mad madwifi maildir
mailwrapper mhash mikmod mime mmx mmxext modules motif mozbranding mozdevelop
mozilla mozsvg mp3 mp4 mpeg mplayer mpm-worker msn mudflap multiuser mysql
mysqli ncurses nls no-old-linux nodrm nomalloccheck nptl nptlonly nsplugin ntfs
objc odbc offensive ogg opengl openmp pam pcmcia pcntl pcre pdf pdo pear perl
php pic plugin pmu png policykit posix ppds pppd python qt3 qt3support qt4
quicktime rar raw rdesktop rdp readline recode redeyes reflection reiserfs ruby
sasl scanner sdl semantic-desktop server session sharedext simplexml slang smp
sndfile soap sockets speex spell spl spreadsheet sqlite srt sse sse2 ssl
startup-notification subtitles subversion svg svga symlink sysfs syslog tcltk
tcpd tetex threads thunar tidy tiff tokenizer tordns truetype unicode usb
userlocales utf8 vda vnc vncviewer vorbis win32codecs wmf wv wxgtk1 x264 x86
xcomposite xfs xine xml xmlreader xmlrpc xmlwriter xorg xpm xprint xscreensaver
xsl xulrunner xv xvid xvmc xvnc zip 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" APACHE2_MPMS="prefork" ELIBC="glibc" INPUT_DEVICES="keyboard mouse
synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780
lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU"
VIDEO_CARDS="radeon"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG,
LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

------- Comment #10 From Vasileios P. Lourdas 2009-10-29 23:12:01 0000 -------
Ping...

------- Comment #11 From Peter Volkov 2009-10-30 08:29:36 0000 -------
Ah, now I see. This still fails with gtk+1. Thank you for ping Vasileios.

------- Comment #12 From Peter Volkov 2009-10-30 08:30:56 0000 -------
Created an attachment (id=208706) [details]
imlib-1.9.15--as-needed-gtk-1.patch

Vasileios, could you try this patch? You need to put it into files dir and, add
epatch line into ebuild and rebuild digest.

------- Comment #13 From Vasileios P. Lourdas 2009-10-30 11:48:52 0000 -------
(In reply to comment #12)
> Created an attachment (id=208706) [details] [details]
> imlib-1.9.15--as-needed-gtk-1.patch
> 
> Vasileios, could you try this patch? You need to put it into files dir and, add
> epatch line into ebuild and rebuild digest.

Just tried it, but it still fails. I did check that the patch applies cleanly
(Makefile.am is modified).

------- Comment #14 From Peter Volkov 2009-10-30 15:41:52 0000 -------
(In reply to comment #13)
> Just tried it, but it still fails. I did check that the patch applies cleanly
> (Makefile.am is modified).

But did you rerun automake and ./configure after that? 

------- Comment #15 From Vasileios P. Lourdas 2009-10-30 20:01:51 0000 -------
(In reply to comment #14)
> But did you rerun automake and ./configure after that? 

No. Could you please give me instructions on how to do that?

------- Comment #16 From Peter Volkov 2009-10-31 11:07:14 0000 -------
Please, try ebuild from my overlay:

svn co http://overlays.gentoo.org/svn/dev/pva/media-libs/imlib

------- Comment #17 From Samuli Suominen 2009-10-31 11:22:54 0000 -------
http://tinderbox.dev.gentoo.org/misc/rindex/media-libs/imlib

The need for [gtk] flag in media-libs/imlib seems to be almost obsolete,
the plan was to kill the flag soon as possible.

------- Comment #18 From Vasileios P. Lourdas 2009-10-31 11:24:29 0000 -------
(In reply to comment #17)
> http://tinderbox.dev.gentoo.org/misc/rindex/media-libs/imlib
> 
> The need for [gtk] flag in media-libs/imlib seems to be almost obsolete,
> the plan was to kill the flag soon as possible.

Nope. It still fails with same error message. Should I emerge it without the
gtk flag?

------- Comment #19 From Vasileios P. Lourdas 2009-10-31 11:26:18 0000 -------
(In reply to comment #16)
> Please, try ebuild from my overlay:
> 
> svn co http://overlays.gentoo.org/svn/dev/pva/media-libs/imlib

Sorry for previous message, wrong quote.

It still fails with the ebuild from your overlay.

------- Comment #20 From Peter Volkov 2009-10-31 13:11:40 0000 -------
Err. I had to build many years old library just to reproduce this problem :)

Well, everything is fixed here. Problem reported in #9 is... By some reason
imlib's ./configure misdetects dynamic modules support and disables it. This
bug has nothing to do with --as-needed (it should be reproducible without
--as-needed too). Vasileios please try to rebuild glib:1, and if this does not
help attach config.log.

(In reply to comment #18)
> Should I emerge it without the gtk flag?

This should help too.


(In reply to comment #17)
> http://tinderbox.dev.gentoo.org/misc/rindex/media-libs/imlib
> 
> The need for [gtk] flag in media-libs/imlib seems to be almost obsolete,
> the plan was to kill the flag soon as possible.

Applications mentioned there are not widely used, and imlib built by default
with gtk support. So, to make this happen I think somebody has to check that
applications mentioned there really do not need gtk support in imlib.


That said, I'm all for dropping gtk+1 from the tree.

------- Comment #21 From Vasileios P. Lourdas 2009-10-31 14:03:23 0000 -------
(In reply to comment #20)
> Err. I had to build many years old library just to reproduce this problem :)
> 
> Well, everything is fixed here. Problem reported in #9 is... By some reason
> imlib's ./configure misdetects dynamic modules support and disables it. This
> bug has nothing to do with --as-needed (it should be reproducible without
> --as-needed too). Vasileios please try to rebuild glib:1, and if this does not
> help attach config.log.

Yes, that helped! Thanks for your time! Both your ebuild and the one in portage
worked. Rebuilding glib:1 did the trick.

First Last Prev Next    No search results available      Search page      Enter new bug