Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 33999 - libsoup-1.99.26 only compiles with automake-1.6...
Summary: libsoup-1.99.26 only compiles with automake-1.6...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High minor (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-21 02:13 UTC by Eddahbi Karim
Modified: 2003-12-07 08:07 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 Eddahbi Karim 2003-11-21 02:13:32 UTC
I've 4 versions of automake.
With version 1.4, libsoup-1.99.26 failed with a strange automake error...

"Configuration:

  Source code location:         .
  Compiler:                     gcc
  Build flags:                  -mcpu=athlon-xp -O2 -m3dnow -pipe -mmmx -s    
-Wall -Wstrict-prototypes -Wmissing-declarations                
-Wmissing-prototypes -Wnested-externs -Wpointer-arith -D_REENTRANT 

  GnuTLS support:               no
  OpenSSL support:              yes
    Static SSL Proxy:           no
    SSL Proxy Name:             libsoup-ssl-proxy



Makefile:173: warning: overriding commands for target `_AM_File'
Makefile:163: warning: ignoring old commands for target `_AM_File'
Makefile:192: warning: overriding commands for target `[]'
Makefile:182: warning: ignoring old commands for target `[]'
make: *** No rule to make target `_AM_File,', needed by `all-recursive-am'.  Stop."

With version 1.7, it gives that :

"Configuration:

  Source code location:         .
  Compiler:                     gcc
  Build flags:                  -mcpu=athlon-xp -O2 -m3dnow -pipe -mmmx -s     -
Wall -Wstrict-prototypes -Wmissing-declarations                 -Wmissing-protot
ypes -Wnested-externs -Wpointer-arith -D_REENTRANT 

  GnuTLS support:               no
  OpenSSL support:              yes
    Static SSL Proxy:           no
    SSL Proxy Name:             libsoup-ssl-proxy



make  all-recursive
make[1]: Entering directory `/var/tmp/portage/libsoup-1.99.26/work/libsoup-1.99.
26'
Making all in libsoup
make[2]: Entering directory `/var/tmp/portage/libsoup-1.99.26/work/libsoup-1.99.
26/libsoup'
Makefile:383: *** missing separator.  Stop.
make[2]: Leaving directory `/var/tmp/portage/libsoup-1.99.26/work/libsoup-1.99.2
6/libsoup'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/libsoup-1.99.26/work/libsoup-1.99.2
6'
make: *** [all] Error 2

!!! ERROR: net-libs/libsoup-1.99.26 failed.
!!! Function src_compile, Line 42, Exitcode 2
!!! make failed
"

With automake-1.5, it prints that :

"
Configuration:

  Source code location:         .
  Compiler:                     gcc
  Build flags:                  -mcpu=athlon-xp -O2 -m3dnow -pipe -mmmx -s     
        -Wall -Wstrict-prototypes -Wmissing-declarations                
-Wmissing-prototypes -Wnested-externs -Wpointer-arith -D_REENTRANT 

  GnuTLS support:               no
  OpenSSL support:              yes
    Static SSL Proxy:           no
    SSL Proxy Name:             libsoup-ssl-proxy



make[1]: Entering directory `/var/tmp/portage/libsoup-1.99.26/work/libsoup-1.99.26'
make[1]: Entering directory `/var/tmp/portage/libsoup-1.99.26/work/libsoup-1.99.26'
cd . && /bin/sh /var/tmp/portage/libsoup-1.99.26/work/libsoup-1.99.26/missing
--run autoheader
cd . && /bin/sh /var/tmp/portage/libsoup-1.99.26/work/libsoup-1.99.26/missing
--run autoheader
make[1]: Leaving directory `/var/tmp/portage/libsoup-1.99.26/work/libsoup-1.99.26'
/bin/sh: -c: line 1: syntax error near unexpected token `)'
/bin/sh: -c: line 1: `if test ! -f )].in; then  rm -f ././stamp-h4.in;  make
././stamp-h4.in;  else :; fi'
make: *** [)].in] Error 2
make: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/var/tmp/portage/libsoup-1.99.26/work/libsoup-1.99.26'

!!! ERROR: net-libs/libsoup-1.99.26 failed.
!!! Function src_compile, Line 42, Exitcode 2
!!! make failed
"

And with 1.6 it compiles...

Any idea on the problem ?

Reproducible: Always
Steps to Reproduce:
1. Link automake to automake-1.4 or -1.5 or -1.7
2. Launch the libsoup compilation without the gnutls USEFLAG
3. Watch the result of the configure script

Actual Results:  
It fails with one of the error described above...

Expected Results:  
Compile like it does with automake-1.6

Portage 2.0.49-r15 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r3, 2.6.0-test9-mm3)
=================================================================
System uname: 2.6.0-test9-mm3 i686 AMD Athlon(tm) XP 1800+
Gentoo Base System version 1.4.3.10p1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-mcpu=athlon-xp -O2 -m3dnow -pipe -mmmx -s"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config
/usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-mcpu=athlon-xp -O2 -m3dnow -pipe -mmmx -s"
DISTDIR="/opt/packages"
FEATURES="sandbox ccache autoaddcvs"
GENTOO_MIRRORS="http://mirrors.sec.informatik.tu-darmstadt.de/gentoo
ftp://gentoo.linux.no/pub/gentoo/ http://gentoo.linux.no/
http://212.219.56.162/sites/www.ibiblio.org/gentoo/
http://212.219.56.152/sites/www.ibiblio.org/gentoo/
http://212.219.56.146/sites/www.ibiblio.org/gentoo/
http://212.219.56.131/sites/www.ibiblio.org/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="x86 oss apm avi crypt cups encode foomaticdb gif jpeg libg++ mad mikmod
mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib directfb
gtkhtml alsa gdbm berkdb slang readline arts tetex aalib bonobo svga tcltk java
guile ruby mysql postgres X sdl gpm tcpd pam libwww ssl perl python esd imlib
oggvorbis gnome gtk qt kde motif opengl mozilla ldap cdr scanner"
Comment 1 Alastair Tse (RETIRED) gentoo-dev 2003-11-22 07:28:32 UTC
can you try:

export WANT_AUTOMAKE="1.6" emerge libsoup
Comment 2 Alastair Tse (RETIRED) gentoo-dev 2003-11-22 07:28:56 UTC
oops .. i mean just:

WANT_AUTOMAKE="1.6" emerge libsoup
Comment 3 Eddahbi Karim 2003-11-23 14:12:45 UTC
I tried that and it fails with :
WANT_AUTOMAKE="1.4"
WANT_AUTOMAKE="1.5"
WANT_AUTOMAKE="1.6"

But works with WANT_AUTOMAKE="1.7" .

My automake was linked to automake-1.7.

If I do WANT_AUTOMAKE="1.7" with automake-1.6, I had this error :

cd . && /bin/sh /var/tmp/portage/libsoup-1.99.26/work/libsoup-1.99.26/missing --run autoheader
touch ./)].in)].in
/bin/sh: -c: line 1: syntax error near unexpected token `)'
/bin/sh: -c: line 1: `touch ./)].in)].in'
make: *** [)].in] Error 2

but If I do WANT_AUTOMAKE="1.6" with autmomake 1.6 it works.

It seems that the version of Automake and WANT_AUTOMAKE variable must be correlated...

If you have a bunch of test, I can do them :/
Comment 4 foser (RETIRED) gentoo-dev 2003-12-07 08:07:24 UTC
removed the automake statement .26 and .26-r1, it doesn't seem to be needed anyway.

please do test :)