Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 305769 - weird /usr/bin/imlib-config code from imlib-1.9.15-r2 confuses the gnome-libs-1.4.2 build
Summary: weird /usr/bin/imlib-config code from imlib-1.9.15-r2 confuses the gnome-libs...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-18 16:47 UTC by Robert Forsman
Modified: 2010-02-18 17:06 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Forsman 2010-02-18 16:47:13 UTC
I was doing a revdep-rebuild and gnome-libs failed to recompile.

checking for IMLIB - version >= 1.9... /usr/bin/imlib-config: line 52: --cflags: command not found
/usr/bin/imlib-config: line 60: --libs: command not found
no
*** Could not run IMLIB 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 IMLIB was incorrectly installed
*** or that you have moved IMLIB since it was installed. In the latter case, you
*** may want to edit the imlib-config script: /usr/bin/imlib-config
checking for imlib-config... (cached) /usr/bin/imlib-config
checking for IMLIB - version >= 1.8... /usr/bin/imlib-config: line 52: --cflags: command not found
/usr/bin/imlib-config: line 60: --libs: command not found
no
*** Could not run IMLIB 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 IMLIB was incorrectly installed
*** or that you have moved IMLIB since it was installed. In the latter case, you
*** may want to edit the imlib-config script: /usr/bin/imlib-config
configure: error: *** IMLIB 1.8 not installed - please install first ***
 * ERROR: gnome-base/gnome-libs-1.4.2 failed:
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line  54:  Called src_compile
 *   environment, line 3128:  Called die
 * The specific snippet of code:
 *       ./configure --host=${CHOST} --prefix=/usr --libdir=/usr/$(get_libdir) --mandir=/usr/share/man --infodir=/usr/share/info --sysconfdir=/etc --localstatedir=/var/lib --enable-prefer-db1 ${myconf} || die;
 * 
 * If you need support, post the output of 'emerge --info =gnome-base/gnome-libs-1.4.2',
 * the complete build log and the output of 'emerge -pqv =gnome-base/gnome-libs-1.4.2'.
 * This ebuild is from an overlay: '/home/thoth/portage/'
 * The complete build log is located at '/var/tmp/portage/gnome-base/gnome-libs-1.4.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/gnome-base/gnome-libs-1.4.2/temp/environment'.
 * S: '/var/tmp/portage/gnome-base/gnome-libs-1.4.2/work/gnome-libs-1.4.2'


When i examine line 60 of /usr/bin/imlib-config  I see

    --libs-gdk)
      libdirs=-L${exec_prefix}/lib
      echo $libdirs -lgdk_imlib$gdk_gx_libs ` --libs` $gdk_libs
      ;;

 chemmis:502 $ epm -qf !$
epm -qf /usr/bin/imlib-config
imlib-1.9.15-r2

I'm not sure why --libs is in ``s with a space on the front.  There's a similar clause for --cflags-gdk


chemmis thoth # emerge --info
Portage 2.1.7.16 (default/linux/x86/10.0, gcc-4.3.4, glibc-2.10.1-r1, 2.6.30-gentoo-r8 i686)
=================================================================
System uname: Linux-2.6.30-gentoo-r8-i686-Intel-R-_Core-TM-2_Duo_CPU_T7250_@_2.00GHz-with-gentoo-1.12.13
Timestamp of tree: Wed, 17 Feb 2010 09:00:01 +0000
app-shells/bash:     4.0_p35
dev-java/java-config: 2.1.10
dev-lang/python:     2.6.4
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-r2, 1.10.2
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.27-r2
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /var/bind"
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 /etc/udev/rules.d"
CXXFLAGS="-march=core2 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS="-Wl,-O1"
LINGUAS="en"
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="/home/thoth/portage"
SYNC="rsync://alexandria/gentoo-portage"
USE="3dnow 3dnowext X Xaw3d a52 aac acl alsa amr apache2 arts bash-completion berkdb bluetooth bzip2 bzlib cli cracklib crypt cups cxx dbus dga divx4linux doc dri dts dv dvd dvdr edl encode esd faac ffmpeg firefox flac gdbm gif gnome gnutls gpm gtk hal iconv imagemagick inkjar ipv6 java jpeg jpeg2k live logrotate lzo mad maildir matroska mjpegi mmx mmxext mng modules mozsvg mp3 mp4 mpeg mpeg2 mudflap musepak mysql mythtv ncurses nls nojython nptl nptlonly nsplugin ogg openal opengl openmp oss pam pcmcia pcre pdf perl png pnm pppd python quicktime readline reflection rtsp samba session spl sse sse2 ssl svg sysfs tcltk tcpd theora tiff transcode truetype udev unicode v4l vim-with-x vorbis win32codecs wma wmf x264 x86 xanim xinerama xml xorg xv xvid xvmc yv12 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 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 keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nv nvidia vesa fbdev" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2010-02-18 17:06:32 UTC
emerge: there are no ebuilds to satisfy "gnome-libs".

It's been removed years ago...