Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 74094 - Autoconf variables not expanded when building packages
Summary: Autoconf variables not expanded when building packages
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-11 06:12 UTC by José Romildo Malaquias
Modified: 2004-12-31 03:24 UTC (History)
0 users

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


Attachments
emerge log (log,14.84 KB, text/plain)
2004-12-21 18:46 UTC, José Romildo Malaquias
Details

Note You need to log in before you can comment on or make changes to this bug.
Description José Romildo Malaquias 2004-12-11 06:12:57 UTC
Emerging kde-base/kdegraphics-3.3.2 fail with the following messages:

# emerge -uv kdegraphics
[...]
/bin/sh ../../libtool --silent --mode=link --tag=CXX i686-pc-linux-gnu-g++  -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -march=athlon-xp -O2 -fomit-frame-pointer -pipe -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION    -o libkdeinit_kuickshow.la -rpath /usr/kde/3.3/lib -no-undefined -avoid-version -L/usr/X11R6/lib -L/usr/qt/3/lib -L/usr/kde/3.3/lib  kuickshow.lo aboutwidget.lo generalwidget.lo kuickconfigdlg.lo main.lo defaultswidget.lo imagewindow.lo kuickdata.lo imdata.lo filefinder.lo kurlwidget.lo filewidget.lo kuickio.lo kuick.lo imlibwidget.lo slideshowwidget.lo printing.lo -lkdeprint -L@libdir@ -lImlib @LDFLAGS@ @SUPPORT_LIBS@ @X_LIBS@ @X_PRE_LIBS@ -lXext -lX11 @X_EXTRA_LIBS@
../../libtool: line 1573: cd: @libdir@: No such file or directory
libtool: link: cannot determine absolute directory name of `@libdir@'
make[3]: *** [libkdeinit_kuickshow.la] Error 1
make[3]: Leaving directory `/var/tmp/portage/kdegraphics-3.3.2/work/kdegraphics-3.3.2/kuickshow/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/kdegraphics-3.3.2/work/kdegraphics-3.3.2/kuickshow'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kdegraphics-3.3.2/work/kdegraphics-3.3.2'
make: *** [all] Error 2

!!! ERROR: kde-base/kdegraphics-3.3.2 failed.
!!! Function kde_src_compile, Line 142, Exitcode 2
!!! died running emake, kde_src_compile:make
!!! If you need support, post the topmost build error, NOT this status message.

Reproducible: Always
Steps to Reproduce:




Gentoo Base System version 1.6.7
Portage 2.0.51-r8 (default-linux/x86/2004.0, gcc-3.4.3, glibc-2.3.4.20041102-r0,
2.6.9-gentoo-r9 i686)
=================================================================
System uname: 2.6.9-gentoo-r9 i686 AMD Athlon(tm) XP 2000+
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Aug 11 2004, 16:20:21)]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.8.5-r2, 1.5, 1.4_p6, 1.6.3, 1.7.9, 1.9.3
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.2-r7
virtual/os-headers:  2.6.8.1-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O2 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown
/usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/xdvi/ /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O2 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig buildpkg ccache collision-protect distlocks
sandbox sfperms strict usersandbox"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="3dnow X Xaw3d aalib acl acpi alsa apm arts audiofile avi berkdb
bitmap-fonts bonobo cdr crypt cups divx4linux dvd edl emacs emacs-w3 encode esd
f77 faad fam fbcon fbdev ffmpeg firebird flac foomaticdb gcj gdbm gif gimpprint
glut gnome gpm gstreamer gtk gtk2 gtkhtml guile imagemagick imap imlib imlib2
java javascript jpeg junit kde libcaca libg++ libwww lzo mad mbox md5sum mikmod
mmx mng motif mozilla mpeg ncurses neXt nls nntp nptl oggvorbis opengl oss pam
pcre pdflib perl png python qt quicktime readline rplay rtc samba sdl silverxp
slang spell sse ssl stroke svg svga tcltk tcpd tetex tiff truetype unicode v4l
v4l2 wmf x86 xface xine xml xml2 xmms xosd xv xvid zlib linguas_en linguas_pt_BR
linguas_fr linguas_de"
Comment 1 Caleb Tennis (RETIRED) gentoo-dev 2004-12-12 07:27:04 UTC
You aren't by chance using the latest unsermake are you?
Comment 2 José Romildo Malaquias 2004-12-13 05:14:17 UTC
No. I do not even have unsermake installed in my system.
Comment 3 augury@vampares.org 2004-12-15 03:35:05 UTC
looks kind of like the automake/autoconf files aren't right.
Comment 4 José Romildo Malaquias 2004-12-21 17:20:30 UTC
I am having a similar problem also with icewm. So the bug affects not only kdegraphics.

$ tar -zxvf /usr/portage/distfiles/icewm-1.2.18.tar.gz
$ cd icewm-1.2.18/
$ ./configure
$ make
[...]
  CXX    ytooltip.o
  LD     icewm
gcc: @LDFLAGS@: No such file or directory
gcc: @SUPPORT_LIBS@: No such file or directory
make[1]: *** [icewm] Error 1
make[1]: Leaving directory `/var/tmp/icewm-1.2.18/src'
make: *** [base] Error 2

Here the @LDFLAGS@ and @SUPPORT_LIBS@ are not being expanded in the generated makefiles.

But I still have no clue on why this is happening. I think that I have not done anything anormal in my system to introduce this bug.
Comment 5 José Romildo Malaquias 2004-12-21 17:24:27 UTC
Reassign the bug to bug-wranglers@gentoo.org, as it does not seem to be caused by kdegraphics. Maybe it is an autoconf/automake bug.
Comment 6 SpanKY gentoo-dev 2004-12-21 18:17:52 UTC
post the whole emerge log

`emerge icewm >& log`
Comment 7 José Romildo Malaquias 2004-12-21 18:46:12 UTC
Created attachment 46599 [details]
emerge log

The whole emerge log of icewm-1.2.17:

# emerge icewm >& log
Comment 8 José Romildo Malaquias 2004-12-31 02:56:59 UTC
Looking for @LDFLAGS@ in the icewm files, I have found:

config.log:IMAGE_LIBS='-L@libdir@ -lImlib @LDFLAGS@ @SUPPORT_LIBS@ @X_LIBS@ @X_PRE_LIBS@ -lXext -lX11 @X_EXTRA_LIBS@'

and

configure:    IMAGE_LIBS=`$IMLIB_CONFIG --libs`

Running "imlib-config --libs" gives me:

$ imlib-config --libs
-L@libdir@ -lImlib @LDFLAGS@ @SUPPORT_LIBS@ @X_LIBS@ @X_PRE_LIBS@ -lXext -lX11 @X_EXTRA_LIBS@

So, the problem may be with the imlib installation.
Comment 9 José Romildo Malaquias 2004-12-31 03:20:09 UTC
In fact, after re-emerging imlib, the problem is gone.

But I do not know why imlib-config was messed up before with auto variables in its output.
Comment 10 José Romildo Malaquias 2004-12-31 03:24:41 UTC
The bug was fixed by re-emerging imlib.