Hi everyone,
the latest avifile seems to be broken on Mandrake 9.1beta1 (Cooker).
Attached is the complete error output.
I'm using automake 1.4-21.p6.mdk, autoconf 2.54-1mdk and libtool
1.4.2-9mdk.
CU
--
G�tz Waschk <> master of computer science <> University of Rostock
http://wwwtec.informatik.uni-rostock.de/~waschk/waschk.asc for PGP key
--> Logout Fascism! <--
Executing(%prep): /bin/sh -e /home/goetz/tmp/rpm-tmp.16234
+ umask 022
+ cd /home/goetz/BUILD
+ cd /home/goetz/BUILD
+ rm -rf avifile0.7-0.7.26
+ /usr/bin/bzip2 -dc /home/goetz/SOURCES/avifile-0.7.26-20030117.tar.bz2
+ tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd avifile0.7-0.7.26
/home/goetz/BUILD/avifile0.7-0.7.26
+ exit 0
Executing(%build): /bin/sh -e /home/goetz/tmp/rpm-tmp.4764
+ umask 022
+ cd /home/goetz/BUILD
+ cd avifile0.7-0.7.26
/home/goetz/BUILD/avifile0.7-0.7.26
+ '[' '!' -f configure ']'
+ ./autogen.sh
Generating build information...
Running libtoolize...
Running aclocal ...
aclocal: both `configure.ac' and `configure.in' present: ignoring `configure.in'
Running autoheader...
autoheader-2.5x: warning: `configure.ac' and `configure.in' both present.
at /usr/bin/autoheader-2.5x line 113
autoheader-2.5x: warning: proceeding with `configure.ac'.
at /usr/bin/autoheader-2.5x line 113
autoheader-2.5x: `include/config.h.in' is unchanged
Running autoconf...
autoconf-2.5x: warning: both `configure.ac' and `configure.in' are present.
autoconf-2.5x: warning: proceeding with `configure.ac'.
Running automake...
automake: both `configure.ac' and `configure.in' present: ignoring `configure.in'
Now you are ready to run ./configure
Please remove the file config.cache after changing your setup
so that configure will find the changes next time.
To speedup configure process use option cache-file i.e.:
configure --cache-file=config.cache
+ CONFIGURE_TOP=.
+ CFLAGS=-O2 -fomit-frame-pointer -pipe -march=i586 -mcpu=pentiumpro
+ export CFLAGS
+ CXXFLAGS=-O2 -fomit-frame-pointer -pipe -march=i586 -mcpu=pentiumpro
+ export CXXFLAGS
+ FFLAGS=-O2 -fomit-frame-pointer -pipe -march=i586 -mcpu=pentiumpro
+ export FFLAGS
+ cd .
+ '[' -f configure.in -o -f configure.ac ']'
+ libtoolize --copy --force
Using `AC_PROG_RANLIB' is rendered obsolete by `AC_PROG_LIBTOOL'
You should update your `aclocal.m4' by running aclocal.
Putting files in AC_CONFIG_AUX_DIR, `admin'.
/home/goetz/BUILD/avifile0.7-0.7.26/admin
+ ./configure i586-mandrake-linux-gnu --prefix=/usr --exec-prefix=/usr
+--bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share
+--includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/lib
+--localstatedir=/var/lib --sharedstatedir=/usr/com --mandir=/usr/share/man
+--infodir=/usr/share/info
configure: WARNING: you should use --build, --host, --target
avifile configure options: i586-mandrake-linux-gnu --prefix=/usr --exec-prefix=/usr
--bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share
--includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/lib
--localstatedir=/var/lib --sharedstatedir=/usr/com --mandir=/usr/share/man
--infodir=/usr/share/info
checking build system type... i586-mandrake-linux-gnu
checking host system type... i586-mandrake-linux-gnu
checking target system type... i586-mandrake-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal-1.4... found
checking for working autoconf... found
checking for working automake-1.4... found
checking for working autoheader... found
checking for working makeinfo... found
checking for i586-mandrake-linux-gnu-g++... i586-mandrake-linux-gnu-g++
checking for C++ compiler default output... 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 i586-mandrake-linux-gnu-g++ accepts -g... yes
checking for i586-mandrake-linux-gnu-gcc... i586-mandrake-linux-gnu-gcc
checking whether we are using the GNU C compiler... yes
checking whether i586-mandrake-linux-gnu-gcc accepts -g... yes
checking for i586-mandrake-linux-gnu-gcc option to accept ANSI C... none needed
checking how to run the C preprocessor... i586-mandrake-linux-gnu-gcc -E
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking whether make sets ${MAKE}... (cached) yes
checking for i586-mandrake-linux-gnu-ranlib... no
checking for ranlib... ranlib
checking for gawk... gawk
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... nm
checking how to recognise dependant libraries... pass_all
checking command to parse nm output... ok
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for i586-mandrake-linux-gnu-ranlib... ranlib
checking for i586-mandrake-linux-gnu-strip... no
checking for strip... strip
checking for objdir... .libs
checking for i586-mandrake-linux-gnu-gcc option to produce PIC... -fPIC
checking if i586-mandrake-linux-gnu-gcc PIC flag -fPIC works... yes
checking if i586-mandrake-linux-gnu-gcc static flag -static works... yes
checking if i586-mandrake-linux-gnu-gcc supports -c -o file.o... yes
checking if i586-mandrake-linux-gnu-gcc supports -c -o file.lo... yes
checking if i586-mandrake-linux-gnu-gcc supports -fno-rtti -fno-exceptions... yes
checking whether the linker (/usr/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking whether -lc should be explicitly linked in... no
creating libtool
checking whether byte ordering is bigendian... no
checking for dlopen in -ldl... yes
checking for nanosleep in -lposix4... no
checking for socket in -lsocket... no
checking for gethostbyname in -lnsl... yes
checking for kstat_open in -lkstat... no
checking for lseek64 in -lc... yes
checking for pthreads... yes
checking for ANSI C header files... (cached) yes
checking linux/ioctl.h usability... yes
checking linux/ioctl.h presence... yes
checking for linux/ioctl.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking for unistd.h... (cached) yes
checking for stdint.h... (cached) yes
checking for sys/types.h... (cached) yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/ioccom.h usability... no
checking sys/ioccom.h presence... no
checking for sys/ioccom.h... no
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking for valid sysinfo struct... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for off_t... yes
checking for pid_t... yes
checking for size_t... yes
checking whether time.h and sys/time.h may both be included... 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 whether i586-mandrake-linux-gnu-gcc needs -traditional... no
checking whether sys/types.h defines makedev... yes
checking for working memcmp... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... yes
checking for function prototypes... yes
checking whether setvbuf arguments are reversed... no
checking return type of signal handlers... void
checking for vprintf... yes
checking for _doprnt... no
checking for ftime... yes
checking for gettimeofday... yes
checking for strdup... yes
checking for strstr... yes
checking for setenv... yes
checking for unsetenv... yes
checking for memalign... yes
checking for scandir... yes
checking for opendir... yes
checking for nanosleep... yes
checking for localtime_r... yes
checking for asctime_r... yes
checking for strptime... yes
checking for vsscanf... yes
checking for extra asctime_r argument... no
checking whether system declares lrintf function in math.h... yes
checking if you need GNU extensions... yes
checking if i586-mandrake-linux-gnu-gcc supports "-finline-limit-200" flag(s)... yes
checking "C compiler version"... gcc 3.2.1
checking for freetype-config... /usr/bin/freetype-config
checking for FreeType - version >= 2.0... yes
checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for XGetExtensionVersion in -lXi... yes
checking for XF86DGAQueryExtension in -lXxf86dga... yes
checking for XF86VidModeSwitchMode in -lXxf86vm... yes
checking /usr/X11R6/include/X11/Xft/Xft.h usability... yes
checking /usr/X11R6/include/X11/Xft/Xft.h presence... yes
checking for /usr/X11R6/include/X11/Xft/Xft.h... yes
checking for XftDrawString32 in -lXft... yes
checking for XRenderQueryVersion in -lXrender... yes
checking /usr/X11R6/include/X11/extensions/Xv.h usability... yes
checking /usr/X11R6/include/X11/extensions/Xv.h presence... yes
checking for /usr/X11R6/include/X11/extensions/Xv.h... yes
checking for XvCreateImage in -lXv... yes
checking for /usr/X11R6/include/X11/extensions/Xinerama.h... yes
checking for XineramaQueryExtension in -lXinerama... yes
checking for /usr/X11R6/include/X11/extensions/dpms.h... yes
checking whether system has DPMS fce in X11/extensions/dpms.h... yes
checking for DPMSQueryExtension in -lXdpms... no
checking for main in -lqt-mt... yes
checking for Qt library (version >= 200)... yes
found qt-mt version 310, libraries /usr/lib/qt3/lib, headers /usr/lib/qt3/include
checking for moc... /usr/lib/qt3/bin/moc
checking for multithreading support in Qt... yes
checking Qt version for Avicap... yes
checking jpeglib.h usability... yes
checking jpeglib.h presence... yes
checking for jpeglib.h... yes
checking for jpeg_start_compress in -ljpeg... yes
checking for iconv_open in -lc... yes
checking for iconv declaration... not using const
checking for sdl-config... sdl-config
setting SDL_CONFIG to /usr/bin/sdl-config
checking for sdl-config... /usr/bin/sdl-config
checking for SDL - version >= 1.0.0... yes
checking linux/videodev.h usability... yes
checking linux/videodev.h presence... yes
checking for linux/videodev.h... yes
checking for OSS audio support... yes
checking for _oss_ioctl in -lossaudio... no
checking for Sun audio support... no
checking for a52_frame in -la52... yes
checking for lame_decode_init in -lmp3lame... no
configure: WARNING: Directory: /usr/lib/win32 does not exist - install binaries!
checking for libz... yes
checking for Ogg... yes
checking for Vorbis... yes
checking for mad_stream_init in -lmad... yes
checking decore.h usability... no
checking decore.h presence... no
checking for decore.h... no
checking encore2.h usability... no
checking encore2.h presence... no
checking for encore2.h... no
configure: WARNING:
--- For DivX playback you might wish to install latest
--- divx4linux package to use divx4 plugin - to get more information
--- take a look at: http://avifile.sourceforge.net, http://www.divx.com
checking xvid.h usability... no
checking xvid.h presence... no
checking for xvid.h... no
configure: WARNING: Could not run XviD test program, checking why...
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means XviD was incorrectly installed.
--- Sources to build XviD xvidcore library can be found at http://www.xvid.org
checking configure in libmmxnow... done
building mga_vid device
checking for vidix... yes
checking if i586-mandrake-linux-gnu-g++ supports -fno-exceptions -fno-rtti flag(s)...
yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating admin/Makefile
config.status: creating ffmpeg/Makefile
config.status: creating ffmpeg/libavformat/Makefile
config.status: creating ffmpeg/libavcodec/Makefile
config.status: creating ffmpeg/libavcodec/alpha/Makefile
config.status: creating ffmpeg/libavcodec/armv4l/Makefile
config.status: creating ffmpeg/libavcodec/i386/Makefile
config.status: creating ffmpeg/libavcodec/liba52/Makefile
config.status: creating ffmpeg/libavcodec/mlib/Makefile
config.status: creating ffmpeg/libavcodec/ppc/Makefile
config.status: creating ffmpeg/libavcodec/ps2/Makefile
config.status: creating drivers/Makefile
config.status: creating drivers/libdha/Makefile
config.status: creating drivers/libdha/bin/Makefile
config.status: creating drivers/libdha/kernelhelper/Makefile
config.status: creating drivers/libdha/oth/Makefile
config.status: creating drivers/libdha/sysdep/Makefile
config.status: creating drivers/vidix/Makefile
config.status: creating drivers/vidix/drivers/Makefile
config.status: creating lib/Makefile
config.status: creating lib/aviplay/Makefile
config.status: creating lib/aviread/Makefile
config.status: creating lib/aviwrite/Makefile
config.status: creating lib/common/Makefile
config.status: creating lib/subtitle/Makefile
config.status: creating lib/video/Makefile
config.status: creating plugins/Makefile
config.status: creating plugins/libac3pass/Makefile
config.status: creating plugins/libaudiodec/Makefile
config.status: creating plugins/libdivx4/Makefile
config.status: creating plugins/libffmpeg/Makefile
config.status: creating plugins/libmad/Makefile
config.status: creating plugins/libmp3lamebin_audioenc/Makefile
config.status: creating plugins/libmp3lame_audioenc/Makefile
config.status: creating plugins/libmp3lame_audioenc/lame3.70/Makefile
config.status: creating plugins/libmpeg_audiodec/Makefile
config.status: creating plugins/libvorbis/Makefile
config.status: creating plugins/libwin32/Makefile
config.status: creating plugins/libwin32/audiodec/Makefile
config.status: creating plugins/libwin32/loader/Makefile
config.status: creating plugins/libwin32/loader/dmo/Makefile
config.status: creating plugins/libwin32/loader/dshow/Makefile
config.status: creating plugins/libwin32/loader/wine/Makefile
config.status: creating plugins/libwin32/videocodec/Makefile
config.status: creating plugins/libxvid/Makefile
config.status: creating bin/Makefile
config.status: creating doc/Makefile
config.status: creating debian/Makefile
config.status: creating m4/Makefile
config.status: creating player/Makefile
config.status: creating include/Makefile
config.status: creating include/version.h
config.status: creating libavqt/Makefile
config.status: creating samples/Makefile
config.status: creating samples/misc/Makefile
config.status: creating samples/mjpeg_plugin/Makefile
config.status: creating samples/qtrecompress/Makefile
config.status: creating samples/qtvidcap/Makefile
config.status: creating samples/artsplug/Makefile
config.status: creating avifile-config
config.status: creating avifile.spec
config.status: creating include/config.h
config.status: executing default-1 commands
configure: configuring in plugins/libmad/libmad
configure: running /bin/sh './configure' --prefix=/usr 'i586-mandrake-linux-gnu'
'--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin'
'--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include'
'--libdir=/usr/lib' '--libexecdir=/usr/lib' '--localstatedir=/var/lib'
'--sharedstatedir=/usr/com' '--mandir=/usr/share/man' '--infodir=/usr/share/info'
'CFLAGS=-O2 -fomit-frame-pointer -pipe -march=i586 -mcpu=pentiumpro' 'CXXFLAGS=-O2
-fomit-frame-pointer -pipe -march=i586 -mcpu=pentiumpro'
'build_alias=i586-mandrake-linux-gnu' 'host_alias=i586-mandrake-linux-gnu'
'target_alias=i586-mandrake-linux-gnu' --cache-file=/dev/null --srcdir=.
configure: warning: CFLAGS=-O2 -fomit-frame-pointer -pipe -march=i586
-mcpu=pentiumpro: invalid host type
configure: error: can only configure for one host and one target at a time
configure: error: /bin/sh './configure' failed for plugins/libmad/libmad
error: Bad exit status from /home/goetz/tmp/rpm-tmp.4764 (%build)
RPM build errors:
Bad exit status from /home/goetz/tmp/rpm-tmp.4764 (%build)
Process rpmbuild exited abnormally with code 1