Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 149006 - configure/makefile troubles
Summary: configure/makefile troubles
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-24 18:13 UTC by Mike McQuaid
Modified: 2006-09-25 10:49 UTC (History)
0 users

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


Attachments
config.log (config.log,10.39 KB, text/plain)
2006-09-25 02:31 UTC, Mike McQuaid
Details
bash -x ./configure ... (log,56.30 KB, text/plain)
2006-09-25 08:57 UTC, Mike McQuaid
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mike McQuaid 2006-09-24 18:13:07 UTC
Ultimately, every ebuild that seems to use automake ends up like this. I'm guessing there's some problem with Makefile generation.


>>> Emerging (1 of 1) x11-misc/fsv-0.9 to /
 * fsv-0.9.tar.gz MD5 ;-) ...                                             [ ok ]
 * fsv-0.9.tar.gz size ;-) ...                                            [ ok ]
 * checking ebuild checksums ;-) ...                                      [ ok ]
 * checking auxfile checksums ;-) ...                                     [ ok ]
 * checking miscfile checksums ;-) ...                                    [ ok ]
 * checking fsv-0.9.tar.gz ;-) ...                                        [ ok ]
>>> Unpacking source...
>>> Unpacking fsv-0.9.tar.gz to /var/tmp/portage/fsv-0.9/work
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/fsv-0.9/work/fsv-0.9 ...
./configure --prefix=/usr --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 --build=x86_64-pc-linux-gnu
creating cache ./config.cache
checking for a BSD compatible install... /bin/install -c
checking whether build environment is sane... ./configure: 675: :: not found
yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking for gcc... gcc
checking whether the C compiler (gcc -march=athlon64 -msse3 -O2 -pipe ) works... yes
checking whether the C compiler (gcc -march=athlon64 -msse3 -O2 -pipe ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking how to run the C preprocessor... ./configure: 1: :: not found
gcc -E
checking for ranlib... ranlib
checking for POSIXized ISC... no
checking for dirent.h that defines DIR... yes
checking for opendir in -ldir... no
checking for ANSI C header files... ./configure: 1: :: not found
./configure: 1: :: not found
./configure: 1: :: not found
yes
checking whether time.h and sys/time.h may both be included... yes
checking for strings.h... yes
checking for sys/time.h... yes
checking for unistd.h... yes
checking for working const... yes
checking for mode_t... yes
checking for uid_t in sys/types.h... yes
checking for pid_t... yes
checking for size_t... yes
checking for comparison_fn_t... yes
checking for st_blocks in struct stat... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for working alloca.h... yes
checking for alloca... yes
checking for working fnmatch... yes
checking for strftime... yes
checking for getcwd... yes
checking for gettimeofday... yes
checking for mktime... yes
checking for strcspn... yes
checking for strdup... yes
checking for strspn... yes
checking for strtod... yes
checking for strtoul... yes
checking for scandir... yes
checking for inline... inline
checking for off_t... yes
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... yes
checking for argz.h... yes
checking for limits.h... yes
checking for locale.h... yes
checking for nl_types.h... yes
checking for malloc.h... yes
checking for string.h... yes
checking for unistd.h... (cached) yes
checking for sys/param.h... yes
checking for getcwd... (cached) yes
checking for munmap... yes
checking for putenv... yes
checking for setenv... yes
checking for setlocale... yes
checking for strchr... yes
checking for strcasecmp... yes
checking for strdup... (cached) yes
checking for __argz_count... yes
checking for __argz_stringify... yes
checking for __argz_next... yes
checking for stpcpy... yes
checking for LC_MESSAGES... yes
checking whether NLS is requested... yes
checking whether included gettext is requested... no
checking for libintl.h... yes
checking for gettext in libc... yes
checking for msgfmt... /usr/bin/msgfmt
checking for dcgettext... yes
checking for gmsgfmt... /usr/bin/gmsgfmt
checking for xgettext... /usr/bin/xgettext
./configure: 1: :: not found
checking for gtk-config... /usr/bin/gtk-config
checking for GTK - version >= 1.2.1... ./configure: 4017: :: not found
yes
./configure: 4079: :: not found
checking for glBegin in -lMesaGL... no
checking for glBegin in -lGL... yes
checking for gtk_gl_area_new in -lgtkgl... yes
checking for file... /usr/bin/file
updating cache ./config.cache
./configure: 4402: :: not found
creating ./config.status
./configure: 4717: :: not found
./config.status: 148: :: not found
creating fsv.spec
creating Makefile
creating debug/Makefile
creating doc/Makefile
creating intl/Makefile
creating lib/Makefile
creating po/Makefile.in
creating src/Makefile
creating config.h
Makefile:169: *** missing separator.  Stop.

!!! ERROR: x11-misc/fsv-0.9 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  fsv-0.9.ebuild, line 24:   Called die

!!! (no error message)
!!! If you need support, post the topmost build error, and the call stack if relevant.
Comment 1 Mike McQuaid 2006-09-24 18:13:23 UTC
Portage 2.1.1 (default-linux/amd64/2006.1, gcc-4.1.1, glibc-2.4-r3, 2.6.18-m249 x86_64)
=================================================================
System uname: 2.6.18-m249 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 3800+
Gentoo Base System version 1.12.5
Last Sync: Sun, 24 Sep 2006 00:50:01 +0000
ccache version 2.3 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.6-r1, 2.0.29
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
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/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -msse3 -O2 -pipe"
CHOST="x86_64-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 /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/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=athlon64 -msse3 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache metadata-transfer sandbox sfperms strict userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://gentoo.blueyonder.co.uk"
LC_ALL="en_GB.UTF-8"
LINGUAS="en_GB"
MAKEOPTS="-j5"
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'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://mp5/gentoo-portage"
USE="amd64 7zip X a52 aac acpi alias alsa amarok amazon amr aoss asf bash-completion bitmap-fonts bluetooth browserplugin bzip2 cairo ccache cdda cddb cdinstall cdio cdparanoia cdr cdrom cdsound cli commercial connectionstatus contactnotes crypt cscope css cups cvs dbus divx dlloader dri dts dvb dvd dvdr dvdread effects elibc_glibc emoticon emul-linux-x86 encode exif extraicons extras fam fbcon fbsplash festival ffmpeg flac flash frontendonly ftp fuse gcj gdbm geoip gif gimp gimpprint glibc-omitfp glitz gmail gmailtimestamps gphoto2 gpm grammar graphviz gtk gtk2 gvim gzip hal hddtemp highlight history html id3 input_devices_evdev input_devices_keyboard input_devices_mouse ipod irc jabber jack java java5 javascript joystick jpeg kcal kde kdepim kdgraphics kdm kernel_linux kqemu ladspa lame largeterminal latex lcd linguas_en_GB lirc lirc_devices_livedrive_midi live lm_sensors logitech-mouse logrotate mad mmap mp3 mp4 mp4live mpeg mpeg2 mplayer msn msnextras mysql mythtv ncurses net network nls nntp no-old-linux nocardbus nocd nowlistening nptl nptlonly nsplugin ntlm nvidia ogg openal opengl oss pam pcre pdf perl php png print python qemu-fast qt3 quicktime rdesktop readline rss rtc samba sasl screen sdl session spell sql sse-filters ssl subversion svg svgz svn-mirror tcpd threads tidy truetype truetype-fonts type1-fonts udev uk_bleb uk_rt unicode unzip usb userland_GNU vfat video_cards_nv video_cards_nvidia vim vnc vncviewer vorbis widescreen wifi wma wmp x264 xcomposite xine xinerama xorg xscreensaver xv xvid xvmc zip zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 SpanKY gentoo-dev 2006-09-24 20:56:51 UTC
has nothing to do with automake/autoconf ... autotools were not run in the output you just showed

post the config.log file as an attachment
Comment 3 Mike McQuaid 2006-09-25 02:31:00 UTC
Created attachment 98005 [details]
config.log

Here's the config.log
Seems to be some ld problem
Comment 4 SpanKY gentoo-dev 2006-09-25 05:10:42 UTC
post `emerge --verbose --info`

also, try going into /var/tmp/portage/fsv-0.9/work/fsv-0.9 and running configure yourself and see if it errors
Comment 5 Mike McQuaid 2006-09-25 05:13:36 UTC
Still gets errors when running configure from the directory. 

Here's my verbose emerge info:

Portage 2.1.1 (default-linux/amd64/2006.1, gcc-4.1.1, glibc-2.4-r3, 2.6.18-m249 x86_64)
=================================================================
System uname: 2.6.18-m249 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 3800+
Gentoo Base System version 1.12.5
Last Sync: Sun, 24 Sep 2006 00:50:01 +0000
ccache version 2.3 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.6-r1, 2.0.29
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
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/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ABI="amd64"
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE=""
ARCH="amd64"
ASFLAGS_x86="--32"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CCACHE_SIZE="2G"
CDEFINE_amd64="__x86_64__"
CDEFINE_x86="__i386__"
CFLAGS="-march=athlon64 -msse3 -O2 -pipe"
CFLAGS_x86="-m32 -L/emul/linux/x86/lib -L/emul/linux/x86/usr/lib"
CHOST="x86_64-pc-linux-gnu"
CHOST_amd64="x86_64-pc-linux-gnu"
CHOST_x86="i686-pc-linux-gnu"
CLASSPATH="."
CLEAN_DELAY="5"
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 /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/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CROSSCOMPILE_OPTS=""
CVS_RSH="ssh"
CXXFLAGS="-march=athlon64 -msse3 -O2 -pipe"
DEFAULT_ABI="amd64"
DISPLAY=":0.0"
DISTDIR="/usr/portage/distfiles"
DVB_CARDS=""
EDITOR="/bin/vim"
ELIBC="glibc"
EMERGE_WARNING_DELAY="10"
FCDSL_CARDS=""
FEATURES="autoconfig ccache metadata-transfer sandbox sfperms strict userfetch userpriv usersandbox"
FETCHCOMMAND="/usr/bin/wget -t 5 -T 60 --passive-ftp -P ${DISTDIR} ${URI}"
FOO2ZJS_DEVICES=""
FRITZCAPI_CARDS=""
GCC_SPECS=""
GDK_USE_XFT="1"
GENERATION="2"
GENTOO_MIRRORS="http://gentoo.blueyonder.co.uk"
GTK2_RC_FILES="/root/.gtkrc-2.0:/root/.kde/share/config/gtkrc-2.0:/etc/gtk-2.0/gtkrc"
G_BROKEN_FILENAMES="1"
G_FILENAME_ENCODING="UTF-8"
HISTCONTROL="ignoredups"
HOME="/root"
INFOPATH="/usr/share/info:/usr/share/binutils-data/x86_64-pc-linux-gnu/2.16.1/info:/usr/share/gcc-data/x86_64-pc-linux-gnu/4.1.1/info"
INPUT_DEVICES="keyboard mouse evdev"
JAVAC="/etc/java-config-2/current-system-vm/bin/javac"
JAVA_HOME="/etc/java-config-2/current-system-vm"
JDK_HOME="/etc/java-config-2/current-system-vm"
KDEDIRS="/usr/kde/3.5:/usr:/usr/local"
KERNEL="linux"
LC_ALL="en_GB.UTF-8"
LDFLAGS_x86="-m elf_i386 -L/emul/linux/x86/lib -L/emul/linux/x86/usr/lib"
LESS="-R -M --shift 5"
LESSOPEN="|lesspipe.sh %s"
LIBDIR_amd64="lib64"
LIBDIR_x86="lib32"
LINGUAS="en_GB"
LIRC_DEVICES="livedrive_midi"
LOGNAME="root"
MAKEOPTS="-j5"
MANPATH="/usr/local/share/man:/usr/share/man:/usr/share/binutils-data/x86_64-pc-linux-gnu/2.16.1/man:/usr/share/gcc-data/x86_64-pc-linux-gnu/4.1.1/man:/opt/blackdown-jdk-1.4.2.03/man:/etc/java-config/system-vm/man/:/usr/qt/3/doc/man"
MISDN_CARDS=""
MULTILIB_ABIS="amd64 x86"
MULTILIB_STRICT_DENY="64-bit.*shared object"
MULTILIB_STRICT_DIRS="/lib /usr/lib /usr/kde/*/lib /usr/qt/*/lib /usr/X11R6/lib"
MULTILIB_STRICT_EXEMPT="(perl5|gcc|gcc-lib|binutils|eclipse-3|debug|portage)"
OLDPWD="/root"
OPENGL_PROFILE="nvidia"
PAGER="/usr/bin/less"
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/4.1.1:/opt/blackdown-jdk-1.4.2.03/bin:/opt/blackdown-jdk-1.4.2.03/jre/bin:/usr/kde/3.5/sbin:/usr/kde/3.5/bin:/usr/qt/3/bin"
PKGDIR="/usr/portage/packages"
PKG_CONFIG_PATH="/usr/qt/3/lib64/pkgconfig"
PORTAGE_ARCHLIST="ppc s390 amd64 ppc64 x86-fbsd m68k arm sparc sh mips ia64 alpha ppc-macos hppa x86"
PORTAGE_BINHOST_CHUNKSIZE="3000"
PORTAGE_BIN_PATH="/usr/lib/portage/bin"
PORTAGE_CALLER="emerge"
PORTAGE_CONFIGROOT="/"
PORTAGE_DEBUG="0"
PORTAGE_DEPCACHEDIR="/var/cache/edb/dep"
PORTAGE_ELOG_CLASSES="warn error log"
PORTAGE_ELOG_MAILFROM="portage"
PORTAGE_ELOG_MAILSUBJECT="[portage] ebuild log for ${PACKAGE} on ${HOST}"
PORTAGE_ELOG_MAILURI="root"
PORTAGE_GID="250"
PORTAGE_INST_GID="0"
PORTAGE_INST_UID="0"
PORTAGE_PYM_PATH="/usr/lib/portage/pym"
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'"
PORTAGE_RSYNC_RETRIES="3"
PORTAGE_TMPDIR="/var/tmp"
PORTAGE_TMPFS="/dev/shm"
PORTAGE_WORKDIR_MODE="0700"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
PORT_LOGDIR="/var/log/portage"
PRELINK_PATH=""
PRELINK_PATH_MASK=""
PWD="/var/tmp/portage/fsv-0.9/work/fsv-0.9"
PYTHONPATH="/usr/lib/portage/pym"
QMAKESPEC="linux-g++"
QTDIR="/usr/qt/3"
RESUMECOMMAND="/usr/bin/wget -c -t 5 -T 60 --passive-ftp -P ${DISTDIR} ${URI}"
ROOT="/"
ROOTPATH="/opt/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/4.1.1:/opt/blackdown-jdk-1.4.2.03/bin:/opt/blackdown-jdk-1.4.2.03/jre/bin:/usr/kde/3.5/sbin:/usr/kde/3.5/bin:/usr/qt/3/bin"
RPMDIR="/usr/portage/rpm"
SGML_CATALOG_FILES="/etc/sgml/sgml-ent.cat:/etc/sgml/sgml-docbook.cat:/etc/sgml/openjade-1.3.2.cat:/etc/sgml/dsssl-docbook-stylesheets.cat:/etc/sgml/sgml-docbook-3.1.cat:/etc/sgml/sgml-lite.cat"
SHELL="/bin/bash"
SHLVL="1"
STAGE1_USE="nptl nptlonly unicode"
SYMLINK_LIB="yes"
SYNC="rsync://mp5/gentoo-portage"
TERM="xterm"
USE="amd64 7zip X a52 aac acpi alias alsa amarok amazon amr aoss asf bash-completion bitmap-fonts bluetooth browserplugin bzip2 cairo ccache cdda cddb cdinstall cdio cdparanoia cdr cdrom cdsound cli commercial connectionstatus contactnotes crypt cscope css cups cvs dbus divx dlloader dri dts dvb dvd dvdr dvdread effects elibc_glibc emoticon emul-linux-x86 encode exif extraicons extras fam fbcon fbsplash festival ffmpeg flac flash frontendonly ftp fuse gcj gdbm geoip gif gimp gimpprint glibc-omitfp glitz gmail gmailtimestamps gphoto2 gpm grammar graphviz gtk gtk2 gvim gzip hal hddtemp highlight history html id3 input_devices_evdev input_devices_keyboard input_devices_mouse ipod irc jabber jack java java5 javascript joystick jpeg kcal kde kdepim kdgraphics kdm kernel_linux kqemu ladspa lame largeterminal latex lcd linguas_en_GB lirc lirc_devices_livedrive_midi live lm_sensors logitech-mouse logrotate mad mmap mp3 mp4 mp4live mpeg mpeg2 mplayer msn msnextras mysql mythtv ncurses net network nls nntp no-old-linux nocardbus nocd nowlistening nptl nptlonly nsplugin ntlm nvidia ogg openal opengl oss pam pcre pdf perl php png print python qemu-fast qt3 quicktime rdesktop readline rss rtc samba sasl screen sdl session spell sql sse-filters ssl subversion svg svgz svn-mirror tcpd threads tidy truetype truetype-fonts type1-fonts udev uk_bleb uk_rt unicode unzip usb userland_GNU vfat video_cards_nv video_cards_nvidia vim vnc vncviewer vorbis widescreen wifi wma wmp x264 xcomposite xine xinerama xorg xscreensaver xv xvid xvmc zip zlib"
USER="root"
USERLAND="GNU"
USE_EXPAND="CROSSCOMPILE_OPTS DVB_CARDS ELIBC FCDSL_CARDS FOO2ZJS_DEVICES FRITZCAPI_CARDS INPUT_DEVICES KERNEL LINGUAS LIRC_DEVICES MISDN_CARDS USERLAND VIDEO_CARDS"
USE_EXPAND_HIDDEN="CROSSCOMPILE_OPTS ELIBC KERNEL USERLAND"
USE_ORDER="env:pkg:conf:defaults"
VIDEO_CARDS="nvidia nv"
VMHANDLE="blackdown-jdk-1.4.2"
XARGS="xargs -r"
XAUTHORITY="/root/.xauthuYaBMH"
_="/usr/bin/emerge"
Comment 6 SpanKY gentoo-dev 2006-09-25 06:34:59 UTC
then go in that dir and run:
bash -x ./configure ... >& log

and post the log as an attachment
Comment 7 Mike McQuaid 2006-09-25 08:57:04 UTC
Created attachment 98030 [details]
bash -x ./configure ...

There you go!
Comment 8 Mike McQuaid 2006-09-25 09:10:22 UTC
Found the problem!
I'd symlinked /bin/dash to /bin/sh, which seems to break things :)

Sorry for the timewasting.
Comment 9 SpanKY gentoo-dev 2006-09-25 10:49:19 UTC
yeah, dont do that :p
Comment 10 SpanKY gentoo-dev 2006-09-25 10:49:40 UTC
only bash is known to provide POSIX compat sh