Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 181744 - media-libs/imlib-1.9.15-r1 missing libX11 dependency
Summary: media-libs/imlib-1.9.15-r1 missing libX11 dependency
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Samuli Suominen (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-12 12:32 UTC by david bourgeois
Modified: 2007-06-14 13:05 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,8.33 KB, text/plain)
2007-06-12 12:39 UTC, david bourgeois
Details
config.log (config.log,48.41 KB, text/plain)
2007-06-12 17:27 UTC, david bourgeois
Details

Note You need to log in before you can comment on or make changes to this bug.
Description david bourgeois 2007-06-12 12:32:04 UTC
in ./configure:
checking for jpeg_destroy_decompress in -ljpeg... no
configure: error: *** JPEG library not found ***

I get /usr/include/jpeglib.h with the required jpeg_destroy_decompress header there. (media-libs/jpeg-6b-r7 installed)

imlib is a dependency of camserv wich I'm trying to emerge.

Reproducible: Always

Steps to Reproduce:
1. emerge imlib
2.
3.




Portage 2.1.2.7 (default-linux/x86/2007.0/server, gcc-4.1.2, glibc-2.5-r3, 2.6.21-gentoo-r2 i686)
=================================================================
System uname: 2.6.21-gentoo-r2 i686 Celeron (Coppermine)
Gentoo Base System release 1.12.9
Timestamp of tree: Tue, 12 Jun 2007 09:50:01 +0000
dev-lang/python:     2.3.6-r2, 2.4.4-r4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
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.16.1-r3
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/qmail/alias /var/qmail/control /var/vpopmail/domains /var/vpopmail/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/php/apache1-php5/ext-active/ /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -march=i686 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/"
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="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.be.gentoo.org/gentoo-portage"
USE="acl apache2 berkdb bitmap-fonts cli cracklib crypt cups doc dri fortran gdbm gpm iconv imap ipv6 isdnlog ldap libg++ maildir mailwrapper midi mmx mudflap mysql ncurses nls nptl nptlonly openmp pam pcre perl pppd python readline reflection session snmp spl sse ssl tcpd truetype truetype-fonts type1-fonts unicode x86 xml xorg 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="apm ark chips cirrus cyrix dummy fbdev glint i128 i740 i810 imstt mach64 mga neomagic nsc nv r128 radeon rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware voodoo"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 david bourgeois 2007-06-12 12:39:02 UTC
Created attachment 121802 [details]
build.log
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-06-12 17:22:17 UTC
> !!! Please attach the following file when filing a report to bugs.gentoo.org:
> !!! /var/tmp/portage/media-libs/imlib-1.9.15-r1/work/imlib-1.9.15/config.log

Just do it...
Comment 3 david bourgeois 2007-06-12 17:27:18 UTC
Created attachment 121828 [details]
config.log

Sorry, mixed build.log and config.log, here it is.
Comment 4 david bourgeois 2007-06-12 17:29:14 UTC
Attached required info.
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2007-06-12 17:32:26 UTC
<snip>
/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lX11
</snip>
Comment 6 Philip White 2007-06-13 01:14:11 UTC
I am not able to get imlib to configure itself without requiring libX11.  "./configure --help" shows a "--with-x" feature (implying that it is disabled by default), and I even tried "--without-x" without any change.

Changing the ebuild to support a new USE flag and configuration arguments is easy, once someone figures out what arguments to pass to avoid relying on X11.  I tried to browse and comprehend configure.in of the imlib package, but quickly got lost.
Comment 7 Samuli Suominen (RETIRED) gentoo-dev 2007-06-14 13:05:59 UTC
I've added libX11 as dep but it doesn't actually use any symbols from it with asneeded.. when built with USE="-gtk"

I would accept a patch changing this.

objdump -p /usr/lib/libImlib.so.1.9.15 | grep NEEDED

  NEEDED      libjpeg.so.62
  NEEDED      libtiff.so.3
  NEEDED      libgif.so.4
  NEEDED      libpng12.so.0
  NEEDED      libz.so.1
  NEEDED      libm.so.6
  NEEDED      libSM.so.6
  NEEDED      libICE.so.6
  NEEDED      libXext.so.6
  NEEDED      libc.so.6