[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[E-devel] Libast (current cvs) fails to build for Fedora Core 5



I started building for Fedora Core 5 ()and I had some problems
building libast which might be related to the new gcc.

I'm using FC5  Kernel 2.6.15-1.2054_FC5smp and gcc-4.1.0-3. Relevant
snippet of the failed build (The full log is attached):
----------------------------------------------------------------------------------------------------------------------
+ ./configure --build=i686-redhat-linux-gnu
--host=i686-redhat-linux-gnu --targe t=i386-redhat-linux-gnu
--program-prefix= --prefix=/usr --exec-prefix=/usr --bin dir=/usr/bin
--sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share
--includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/libexec
--localstatedir=/v ar --sharedstatedir=/usr/com
--mandir=/usr/share/man --infodir=/usr/share/info
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for preferred libtoolize... libtoolize
checking for preferred aclocal... aclocal
checking for preferred autoconf... autoconf
checking for preferred autoheader... autoheader
checking for preferred automake... automake
checking build system type... i686-redhat-linux-gnu
checking host system type... i686-redhat-linux-gnu
checking target system type... i386-redhat-linux-gnu
checking for i686-redhat-linux-gnu-gcc... no
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
./configure: line 3402: syntax error near unexpected token `AST_PROG_CHECKS'
./configure: line 3402: `AST_PROG_CHECKS()'
error: Bad exit status from /var/tmp/rpm-tmp.8834 (%build)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.8834 (%build)
----------------------------------------------------------------------------------------------------------------------

Patches anybody?

--
With kind regards,
Didier.

------------
Yum/apt repository for DR17/EFL: http://sps.nus.edu.sg/~didierbe

Didier F.B Casse
PhD candidate, Singapore Synchrotron Light Source (SSLS)
National University of Singapore.
[didier@localhost SRPMS]$ rpmbuild --rebuild libast-0.7.1-1.20060318cvs.src.rpm Installing libast-0.7.1-1.20060318cvs.src.rpm
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.8834
+ umask 022
+ cd /home/didier/rpmbuild/BUILD
+ LANG=C
+ export LANG
+ unset DISPLAY
+ cd /home/didier/rpmbuild/BUILD
+ rm -rf libast-0.7.1
+ /bin/gzip -dc /home/didier/rpmbuild/SOURCES/libast-0.7.1-20060318.tar.gz
+ tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd libast-0.7.1
++ /usr/bin/id -u
+ '[' 500 = 0 ']'
++ /usr/bin/id -u
+ '[' 500 = 0 ']'
+ /bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.8834
+ umask 022
+ cd /home/didier/rpmbuild/BUILD
+ cd libast-0.7.1
+ LANG=C
+ export LANG
+ unset DISPLAY
+ rm -rf missing
+ touch README
+ aclocal
configure.in:50: warning: AC_ARG_PROGRAM was called before AC_CANONICAL_TARGET
autoconf/general.m4:1657: AC_CANONICAL_TARGET is expanded from...
configure.in:50: the top level
+ autoheader
configure.in:50: warning: AC_ARG_PROGRAM was called before AC_CANONICAL_TARGET
autoconf/general.m4:1657: AC_CANONICAL_TARGET is expanded from...
configure.in:50: the top level
+ autoconf
configure.in:50: warning: AC_ARG_PROGRAM was called before AC_CANONICAL_TARGET
autoconf/general.m4:1657: AC_CANONICAL_TARGET is expanded from...
configure.in:50: the top level
+ libtoolize --copy --automake
+ automake --add-missing --copy --gnu
configure.in:50: warning: AC_ARG_PROGRAM was called before AC_CANONICAL_TARGET
autoconf/general.m4:1657: AC_CANONICAL_TARGET is expanded from...
configure.in:50: the top level
configure.in: installing `./install-sh'
configure.in: installing `./missing'
src/Makefile.am: installing `./depcomp'
+ CFLAGS=
+ export CFLAGS
+ CFLAGS=
+ export CFLAGS
+ CXXFLAGS=
+ export CXXFLAGS
+ FFLAGS=
+ export FFLAGS
++ find . -name config.guess -o -name config.sub
+ for i in '$(find . -name config.guess -o -name config.sub)'
++ basename ./config.sub
+ '[' -f /usr/lib/rpm/redhat/config.sub ']'
+ /bin/rm -f ./config.sub
++ basename ./config.sub
+ /bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub
`/usr/lib/rpm/redhat/config.sub' -> `./config.sub'
+ for i in '$(find . -name config.guess -o -name config.sub)'
++ basename ./config.guess
+ '[' -f /usr/lib/rpm/redhat/config.guess ']'
+ /bin/rm -f ./config.guess
++ basename ./config.guess
+ /bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess
`/usr/lib/rpm/redhat/config.guess' -> `./config.guess'
+ ./configure --build=i686-redhat-linux-gnu --host=i686-redhat-linux-gnu --targe t=i386-redhat-linux-gnu --program-prefix= --prefix=/usr --exec-prefix=/usr --bin dir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includ edir=/usr/include --libdir=/usr/lib --libexecdir=/usr/libexec --localstatedir=/v ar --sharedstatedir=/usr/com --mandir=/usr/share/man --infodir=/usr/share/info
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for preferred libtoolize... libtoolize
checking for preferred aclocal... aclocal
checking for preferred autoconf... autoconf
checking for preferred autoheader... autoheader
checking for preferred automake... automake
checking build system type... i686-redhat-linux-gnu
checking host system type... i686-redhat-linux-gnu
checking target system type... i386-redhat-linux-gnu
checking for i686-redhat-linux-gnu-gcc... no
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
./configure: line 3402: syntax error near unexpected token `AST_PROG_CHECKS'
./configure: line 3402: `AST_PROG_CHECKS()'
error: Bad exit status from /var/tmp/rpm-tmp.8834 (%build)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.8834 (%build)