When I try to emerge hermes-1.3.2-r2 this is the output : >>> Unpacking Hermes-1.3.2.tar.gz to /var/tmp/portage/hermes-1.3.2-r2/work >>> Source unpacked. automake-1.5: configure.in: installing `./depcomp' automake-1.5: src/Makefile.am: Assembler source seen but `ASFLAGS' not defined in `configure.in' /usr/share/automake-1.5/am/depend2.am: AMDEP does not appear in AM_CONDITIONAL /usr/share/automake-1.5/am/depend2.am: AMDEP does not appear in AM_CONDITIONAL /usr/share/automake-1.5/am/depend2.am: AMDEP does not appear in AM_CONDITIONAL /usr/share/automake-1.5/am/lang-compile.am: AMDEP does not appear in AM_CONDITIONAL Then the configure goes on ... .. Until creating libtool Making all in src make[1]: Entering directory `/var/tmp/portage/hermes-1.3.2-r2/work/Hermes-1.3.2/src' Makefile:247: *** missing separator. Stop. make[1]: Leaving directory `/var/tmp/portage/hermes-1.3.2-r2/work/Hermes-1.3.2/src' make: *** [all-recursive] Error 1 !!! ERROR: media-libs/hermes-1.3.2-r2 failed. !!! Function src_compile, Line 38, Exitcode 2 !!! (no error message) FYI, Line 247 is : @AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/Blit.Plo@am__quote@ Reproducible: Always Steps to Reproduce: 1. emerge hermes 2. 3. Actual Results: See above details Expected Results: Compile, and make me happy :-) Portage 2.0.50 (default-x86-1.4, gcc-3.3.2, glibc-2.3.3_pre20040117-r0, 2.6.2-gentoo) ================================================================= System uname: 2.6.2-gentoo i686 Intel(R) Pentium(R) 4 CPU 2.40GHz Gentoo Base System version 1.4.3.12 Autoconf: sys-devel/autoconf-2.59 Automake: sys-devel/automake-1.8.2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O3 -march=pentium4 -funroll-loops -fprefetch-loop-arrays -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /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/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-O3 -march=pentium4 -funroll-loops -fprefetch-loop-arrays -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://gentoo.mirror.sdv.fr http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://mirrors.sec.informatik.tu-darmstadt.de/gentoo http://ds.thn.htu.se/linux/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.fr.gentoo.org/gentoo-portage" USE="X alsa apm avi berkdb caps cdr crypt cups curl doc dvd encode esd flac foomaticdb gdbm gif gpm gstreamer gtk2 idea imlib java jpeg kde libg++ libwww lirc mad md5sum mikmod mmx motif mozilla moznoirc moznomail mpeg mysql nas ncurses nptl oggvorbis opengl pam pdflib perl png postgres python qt quicktime readline sdl slang spell sse ssl svga tcpd tetex tiff truetype x86 xine xml2 xv zlib"
Could you please test the emerge with WANT_AUTOMAKE=1.6 emerge media-libs/hermes I think the problem is automake-1.5
Ok I've just tried this is what I get : Making all in src make[1]: Entering directory `/var/tmp/portage/hermes-1.3.2-r2/work/Hermes-1.3.2/src' cd .. && autoheader autoheader-2.59: WARNING: Using auxiliary files such as `acconfig.h', `config.h.bot' autoheader-2.59: WARNING: and `config.h.top', to define templates for `config.h.in' autoheader-2.59: WARNING: is deprecated and discouraged. autoheader-2.59: autoheader-2.59: WARNING: Using the third argument of `AC_DEFINE' and autoheader-2.59: WARNING: `AC_DEFINE_UNQUOTED' allows to define a template without autoheader-2.59: WARNING: `acconfig.h': autoheader-2.59: autoheader-2.59: WARNING: AC_DEFINE([NEED_FUNC_MAIN], 1, autoheader-2.59: [Define if a function `main' is needed.]) autoheader-2.59: autoheader-2.59: WARNING: More sophisticated templates can also be produced, see the autoheader-2.59: WARNING: documentation. then ... gcc -DHAVE_CONFIG_H -I. -I. -I. -O3 -march=pentium4 -funroll-loops -fprefetch-loop-arrays -pipe -c Clear.c -MT Clear.lo -MD -MP -MF -fPIC -DPIC .deps/Clear.TPlo -o .libs/Clear.lo gcc: cannot specify -o with -c or -S and multiple compilations make[2]: *** [Clear.lo] Error 1 make[2]: *** Waiting for unfinished jobs.... rm -f .libs/Convert.lo gcc -DHAVE_CONFIG_H -I. -I. -I. -O3 -march=pentium4 -funroll-loops -fprefetch-loop-arrays -pipe -c Convert.c -MT Convert.lo -MD -MP -MF -fPIC -DPIC .deps/Convert.TPlo -o .libs/Convert.lo gcc: cannot specify -o with -c or -S and multiple compilations make[2]: *** [Convert.lo] Error 1
Hm, my setup is almost the same as yours and hermes compiles on my system without a problem. The only output from autoconf I get is: >>> md5 src_uri ;-) Hermes-1.3.2.tar.gz >>> Unpacking source... >>> Unpacking Hermes-1.3.2.tar.gz to /var/tmp/portage/hermes-1.3.2-r2/work >>> Source unpacked. configure.in:45: AC_PROG_CPP was called before AC_PROG_CC configure.in:81: warning: AC_TRY_RUN called without default to allow cross compiling configure.in:82: warning: AC_TRY_RUN called without default to allow cross compiling configure.in:83: warning: AC_TRY_RUN called without default to allow cross compiling configure.in:84: warning: AC_TRY_RUN called without default to allow cross compiling configure.in:113: warning: AC_TRY_RUN called without default to allow cross compiling creating cache ./config.cache automake -V says I'm using automake (GNU automake) 1.8.2 Please try WANT_AUTOMAKE=1.8 emerge media-libs/hermes If this fails I'm currently at the end of my knowledge Portage 2.0.50 (default-x86-1.4, gcc-3.3.2, glibc-2.3.3_pre20040117-r0, 2.6.1-G-R1) ================================================================= System uname: 2.6.1-G-R1 i686 AMD Athlon(tm) Processor Gentoo Base System version 1.4.3.12 distcc 2.12.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.59 Automake: sys-devel/automake-1.8.2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O3 -pipe -fomit-frame-pointer -fprefetch-loop-arrays -funroll-loops -fforce-addr -fmove-all-movables -march=athlon-tbird -mmmx -m3dnow" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /opt/tomcat/conf /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /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/env.d" CXXFLAGS="-O3 -pipe -fomit-frame-pointer -fprefetch-loop-arrays -funroll-loops -fforce-addr -fmove-all-movables -march=athlon-tbird -mmmx -m3dnow -Wno-deprecated" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache cvs digest sandbox usersandbox" GENTOO_MIRRORS="http://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://trumpetti.atm.tut.fi/gentoo/ http://gentoo.linux.no/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ http://ftp.easynet.nl/mirror/gentoo/ ftp://ftp.uninett.no/pub/linux/Gentoo" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://gentoo.mirror.at.stealer.net/gentoo-portage" USE="3dnow 3ds X X509 aalib acl alsa apache2 avi berkdb bonobo cdr cjk crypt cups curl directfb doc encode esd evms2 exiscan exiscan-acl fbcon ffmpeg firebird flash foomaticdb freetds gd gd-external gdbm ggi gif gnome gnomedb gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile imagemagick imap imlib informix innodb ipv6 java jpeg ldap libg++ libwww lmtp mad maildir mbox mozcalendar mozilla mozinterfaceinfo mozp3p mozsvg mozxmlterm mysql nas ncurses nls nptl odbc oggvorbis oss pam pdflib perl php png postgres python qt quicktime readline ruby samba sasl scanner slang slp socks5 spell sqlite sse ssl tcltk tcpd tetex tiff truetype usb wmf x86 xchattext xfs xml xml2 xmms zlib"
I'm glad it worked :-) But is it possible to "patch" the ebuild or is it something in my configuration that is not like everyone else configuration and made that compilation fail ? Another question, would WANT_AUTOMAKE=1.8 be a "stable" default for other emerges as well ? Thanks alot.
yeah, this isnt just your box ;) i'll fix it up
ok, should be happy in cvs now ;)
*** Bug 40781 has been marked as a duplicate of this bug. ***
*** Bug 40784 has been marked as a duplicate of this bug. ***
I have still the same problem described here. Did I forget something essential? btw. I tried to reopen the bug, but I can't. I'm not a sufficiently empowered user. [..] * Patching ${S}/ltmain.sh ... * Could not apply portage.patch! * Please verify that it is not needed. * Cannot apply any patch, running libtoolize... * Applying uClibc/libtool patches ... * Fixing ${S}/ltconfig... [ ok ] [..] if /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -O2 -march=athlon -fomit-frame-pointer -MT c_genrc_ao_blit.lo -MD -MP -MF ".deps/c_genrc_ao_blit.Tpo" -c -o c_genrc_ao_blit.lo c_genrc_ao_blit.c; \ then mv -f ".deps/c_genrc_ao_blit.Tpo" ".deps/c_genrc_ao_blit.Plo"; else rm -f ".deps/c_genrc_ao_blit.Tpo"; exit 1; fi gcc -c -o mmx_main.lo mmx_main.S cp mmx_main.lo `echo mmx_main.lo | sed -e 's/\.lo$/.o/'` gcc -c -o mmx_clr.lo mmx_clr.S cp mmx_clr.lo `echo mmx_clr.lo | sed -e 's/\.lo$/.o/'` gcc -c -o mmxp_32.lo mmxp_32.S cp mmxp_32.lo `echo mmxp_32.lo | sed -e 's/\.lo$/.o/'` gcc -c -o x86_clr.lo x86_clr.S cp x86_clr.lo `echo x86_clr.lo | sed -e 's/\.lo$/.o/'` gcc -c -o x86_main.lo x86_main.S cp x86_main.lo `echo x86_main.lo | sed -e 's/\.lo$/.o/'` gcc -c -o x86p_16.lo x86p_16.S cp x86p_16.lo `echo x86p_16.lo | sed -e 's/\.lo$/.o/'` gcc -c -o x86p_32.lo x86p_32.S cp x86p_32.lo `echo x86p_32.lo | sed -e 's/\.lo$/.o/'` gcc -c -o x86p_s32.lo x86p_s32.S cp x86p_s32.lo `echo x86p_s32.lo | sed -e 's/\.lo$/.o/'` gcc -c -o x86p_cpy.lo x86p_cpy.S cp x86p_cpy.lo `echo x86p_cpy.lo | sed -e 's/\.lo$/.o/'` gcc -c -o x86p_i8.lo x86p_i8.S cp x86p_i8.lo `echo x86p_i8.lo | sed -e 's/\.lo$/.o/'` gcc -c -o mmxp2_32.lo mmxp2_32.S cp mmxp2_32.lo `echo mmxp2_32.lo | sed -e 's/\.lo$/.o/'` gcc -DHAVE_CONFIG_H -I. -I. -I. -O2 -march=athlon -fomit-frame-pointer -MT c_genrc_ao_blit.lo -MD -MP -MF .deps/c_genrc_ao_blit.Tpo -c c_genrc_ao_blit.c -fPIC -o .libs/c_genrc_ao_blit.o gcc -DHAVE_CONFIG_H -I. -I. -I. -O2 -march=athlon -fomit-frame-pointer -MT c_genrc_ao_blit.lo -MD -MP -MF .deps/c_genrc_ao_blit.Tpo -c c_genrc_ao_blit.c -o c_genrc_ao_blit.o >/dev/null 2>&1 /bin/sh ../libtool --mode=link gcc -O2 -march=athlon -fomit-frame-pointer -o libHermes.la -rpath /usr/lib -version-info 1:0:0 \ Clear.lo Convert.lo Blit.lo Dither.lo FactConv.lo Factory.lo Format.lo Hermes.lo List.lo Palette.lo Utility.lo c_16.lo c_24.lo c_32.lo c_clr.lo c_cnv.lo c_cpy.lo c_genrc.lo c_genrc_ac.lo c_genrc_ca.lo c_genrc_a.lo c_genrc_cc.lo c_genrc_cc_blit.lo c_genrc_co_blit.lo c_i8.lo c_muhmu.lo d_32.lo c_genrc_ao_blit.lo mmx_main.lo mmx_clr.lo mmxp_32.lo x86_clr.lo x86_main.lo x86p_16.lo x86p_32.lo x86p_s32.lo x86p_cpy.lo x86p_i8.lo mmxp2_32.lo libtool: link: `mmx_main.lo' is not a valid libtool object make[2]: *** [libHermes.la] Error 1 make[2]: Leaving directory `/var/tmp/portage/hermes-1.3.2-r2/work/Hermes-1.3.2/src' make[1]: *** [all] Error 2 make[1]: Leaving directory `/var/tmp/portage/hermes-1.3.2-r2/work/Hermes-1.3.2/src' make: *** [all-recursive] Error 1 Portage 2.0.51-r3 (default-linux/x86/2004.3, gcc-3.3.4, glibc-2.3.4.20040808-r1, 2.6.9-gentoo-r4 i686) ================================================================= System uname: 2.6.9-gentoo-r4 i686 AMD Athlon(tm) Processor Gentoo Base System version 1.4.16 Autoconf: sys-devel/autoconf-2.59-r5 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.15.90.0.1.1-r3 Headers: sys-kernel/linux-headers-2.4.21-r1 Libtools: sys-devel/libtool-1.5.2-r7 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=athlon -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" COMPILER="" 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/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/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=athlon -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms" GENTOO_MIRRORS="http://gentoo.osuosl.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow X aalib acpi aim alsa apm arts avi bash-completion berkdb bitmap-fonts bzlib cdr crypt cscope cups db2 dga directfb divx4linux dvb dvd dvdr encode esd exif f77 fam flac foomaticdb fortran gdbm gif gphoto2 gpm gstreamer gtk gtk2 icq imlib jabber java joystick jpeg kde libg++ libwww lirc mad mbox mikmod motif mozilla mpeg msn mysql ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime readline ruby scanner sdl slang spell ssl svg svga tcltk tcpd tetex theora tiff truetype usb x86 xine xml xml2 xmms xosd xpm xv xvid yahoo zlib"
Sorry I forgot to export ACCEPT_KEYWORDS="~x86" Now it works. Thanks