Summary: | xine-lib fails to compile, couldn't apply portage patch, aclocal stuff | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Guibod <guibod> |
Component: | [OLD] Library | Assignee: | Gentoo Media-video project <media-video> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | CC: | corsair |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Guibod
2004-02-12 02:26:10 UTC
While trying to emerge xine-lib-0.9.13-r3, i get a warning about aclocal that's not fixed, then it's says that my autoconf isn't fit. > * Patching ${S}/ltmain.sh... > * Could not apply portage.patch! > * Please verify that it is not needed. > * Cannot apply any patch, running libtoolize... that's the error > You should update your `aclocal.m4' by running aclocal. > cd . && aclocal > cd . && automake --gnu --include-deps Makefile > cd . && autoconf done, went to /usr/share/libtool/libltdl then run the above script. No error reported. > FATAL ERROR: Autoconf version 2.50 or higher is required for this script not my case: > root@MupoClient libltdl # emerge -p autoconf > > These are the packages that I would merge, in order: > > Calculating dependencies ...done! > [ebuild R ] sys-devel/autoconf-2.59 (note that I reported my last bug related to libtool, that I fixed manually by editing .la files) Reproducible: Always Steps to Reproduce: 1. emerge -Du world (xine-lib in queue) Actual Results: >>> emerge (1 of 14) media-libs/xine-lib-0.9.13-r3 to / >>> md5 src_uri ;-) xine-lib-0.9.13.tar.gz >>> Unpacking source... >>> Unpacking xine-lib-0.9.13.tar.gz to /var/tmp/portage/xine-lib-0.9.13-r3/work * Applying xine-lib-configure.patch... [ ok ] * Applying xine-lib-0.9.13-kxine.patch... [ ok ] * Applying xineconfig.patch-0.9.13... [ ok ] >>> Source unpacked. * Patching ${S}/ltmain.sh... * Applying portage-1.4.1.patch... * Applying relink-1.4.3.patch... * Applying sed-1.4.3.patch... * Applying tmp-1.3.5.patch... X esd nls alsa aalib oggvorbis avi * myconf: --disable-arts --with-w32-path=/usr/lib/win32 creating cache ./config.cache checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu checking build system type... i686-pc-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... found checking for working autoconf... found checking for working automake... found checking for working autoheader... found checking for working makeinfo... found checking for strerror in -lcposix... no checking for gcc... gcc checking whether the C compiler (gcc -march=athlon-xp -O3 -pipe -fomit-frame-pointer ) works... yes checking whether the C compiler (gcc -march=athlon-xp -O3 -pipe -fomit-frame-pointer ) 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... gcc -E checking for ANSI C header files... yes checking whether make sets ${MAKE}... (cached) yes checking for a BSD compatible install... /usr/bin/install -c checking whether ln -s works... yes checking for mawk... no checking for gawk... gawk checking for Cygwin environment... no checking for mingw32 environment... no checking for ld used by GCC... /usr/i686-pc-linux-gnu/bin/ld checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes checking for /usr/i686-pc-linux-gnu/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -B checking for a sed that does not truncate output... /bin/sed checking how to recognise dependent libraries... pass_all checking for object suffix... o checking for executable suffix... no checking command to parse /usr/bin/nm -B output... ok checking for dlfcn.h... yes checking for ranlib... ranlib checking for strip... strip checking for objdir... .libs checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.lo... yes checking if gcc supports -fno-rtti -fno-exceptions... yes checking whether the linker (/usr/i686-pc-linux-gnu/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 for shl_load... no checking for shl_load in -ldld... no checking for dlopen... no checking for dlopen in -ldl... yes checking whether a program can dlopen itself... yes checking whether a statically linked program can dlopen itself... no checking whether -lc should be explicitly linked in... no creating libtool checking for ranlib... (cached) ranlib checking for working const... yes checking for inline... inline checking for off_t... yes checking for size_t... yes checking for working alloca.h... yes checking for alloca... yes checking for unistd.h... yes checking for getpagesize... yes checking for working mmap... yes checking whether we are using the GNU C Library 2.1 or newer... 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 stddef.h... yes checking for stdlib.h... yes checking for string.h... yes checking for unistd.h... (cached) yes checking for sys/param.h... yes checking for feof_unlocked... yes checking for fgets_unlocked... yes checking for getcwd... yes checking for getegid... yes checking for geteuid... yes checking for getgid... yes checking for getuid... yes checking for mempcpy... yes checking for munmap... yes checking for putenv... yes checking for setenv... yes checking for setlocale... yes checking for stpcpy... yes checking for strchr... yes checking for strcasecmp... yes checking for strdup... yes checking for strtoul... yes checking for tsearch... yes checking for __argz_count... yes checking for __argz_stringify... yes checking for __argz_next... yes checking for iconv... yes checking for iconv declaration... extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); checking for nl_langinfo and CODESET... 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 GNU gettext in libc... yes checking for dcgettext... yes checking for ngettext... yes checking for msgfmt... /usr/bin/msgfmt checking for gmsgfmt... /usr/bin/msgfmt checking for xgettext... /usr/bin/xgettext checking for bison... bison checking version of bison... v. ?.??, bad checking for catalogs to be installed... fr pt_BR de sk es pl_PL cs checking whether byte ordering is bigendian... no checking for working const... (cached) yes checking for inline... (cached) inline checking for always_inline... yes checking for off_t... (cached) yes checking for size_t... (cached) yes checking for pthread_create in -lpthread... yes checking for dlopen in -lc... no checking for dlopen in -ldl... (cached) yes checking for mlib_VideoAddBlock_U8_S16 in -lmlib... no checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include checking for dnet_ntoa in -ldnet... no checking for dnet_ntoa in -ldnet_stub... no checking for gethostbyname... yes checking for connect... yes checking for remove... yes checking for shmat... yes checking for IceConnectionNumber in -lICE... yes checking for gzsetparams in -lz... yes checking for zlib.h... yes checking for libtool >= 1.4.0... yes checking for glBegin in -lGL... yes checking for glutInit in -lglut... no checking for gluPerspective in -lGLU... yes checking for XvShmCreateImage in -lXv... yes checking for libXv.a location... found in /usr/X11R6/lib checking for XineramaQueryExtension in -lXinerama... yes checking for aalib-config... /usr/bin/aalib-config checking for AALIB version >= 1.2... yes checking for linux/fb.h... yes checking for pkg-config... /usr/bin/pkg-config checking for DirectFB... found checking for sdl-config... /usr/bin/sdl-config checking for SDL - version >= 1.1.5... yes checking for /usr/include/linux/em8300.h... no *** DXR3 support disabled due to missing em8300.h *** checking for vidix support... yes checking for DHA linux kernel module build... no checking for mknod... mknod checking for depmod... depmod checking for Ogg... yes checking for Vorbis... yes checking for XviD... no *** Could not run XviD test program, checking why... *** The test program compiled, but did not run. This usually means *** that the run-time linker is not finding XviD or finding the wrong *** version of XviD. If it is not finding XviD, you'll need to set your *** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point *** to the installed location Also, make sure you have run ldconfig if that *** is required on your system *** *** If you have an old version installed, it is best to remove it, although *** you may also be able to get things to work by modifying LD_LIBRARY_PATH *** All of XviD dependent parts will be disabled *** checking for OSS audio support... yes checking for alsa/asoundlib.h... yes checking for ALSA version >= 0.9.0... yes checking for ALSA <= 0.5 series... no checking for ALSA >= 0.9 series... no checking for esd-config... /usr/bin/esd-config checking for ESD - version >= 0.2.8... yes checking for artsc-config... /usr/kde/3.2/bin/artsc-config checking for ARTS artsc - version >= 0.9.5... yes checking for Sun audio support... no checking for IRIX libaudio support... checking for dmedia/audio.h... no no *** All of IRIX AL dependent parts will be disabled *** checking for kstat_open in -lkstat... no checking for sys/cdio.h... no checking for linux/cdrom.h... yes checking if cdrom ioctls are available... yes checking for ip_mreqn... yes checking for sched_get_priority_min in -lposix4... no checking for sigaction... yes checking for sigset... yes checking for getpwuid_r... yes checking for nanosleep... yes checking for strsep... yes checking for strpbrk... yes checking for setenv... (cached) yes checking for byteswap.h... yes checking for malloc.h... (cached) yes checking for sys/mman.h... yes checking if gcc supports -mpreferred-stack-boundary=2 flags... yes checking if gcc supports -fno-strict-aliasing flags... yes checking if gcc supports -fschedule-insns2 flags... yes checking if gcc supports -mwide-multiply flags... no checking if gcc supports -falign-functions=4 flags... yes checking if gcc supports -falign-loops=4 flags... yes checking if gcc supports -falign-jumps=4 flags... yes checking if gcc supports -Wall flags... yes checking if gcc supports -mcpu=i386 flags... yes checking if gcc supports -mcpu=athlon flags... yes checking __attribute__ ((aligned ())) support... 64 checking for aclocal directory... /usr/share/aclocal checking for doxygen... doxygen updating cache ./config.cache creating ./config.status creating Makefile creating include/Makefile creating include/xine.h.tmpl creating src/Makefile creating src/audio_out/Makefile creating src/video_out/Makefile creating src/video_out/libdha/Makefile creating src/video_out/libdha/bin/Makefile creating src/video_out/libdha/kernelhelper/Makefile creating src/video_out/libdha/oth/Makefile creating src/video_out/libdha/sysdep/Makefile creating src/video_out/vidix/Makefile creating src/video_out/vidix/drivers/Makefile creating src/demuxers/Makefile creating src/dxr3/Makefile creating src/libmpeg2/Makefile creating src/liba52/Makefile creating src/libffmpeg/Makefile creating src/libffmpeg/libavcodec/Makefile creating src/libffmpeg/libavcodec/armv4l/Makefile creating src/libffmpeg/libavcodec/i386/Makefile creating src/libffmpeg/libavcodec/mlib/Makefile creating src/libffmpeg/libavcodec/alpha/Makefile creating src/liblpcm/Makefile creating src/libdts/Makefile creating src/libmad/Makefile creating src/libfaad/Makefile creating src/libfaad/fftw/Makefile creating src/libfaad/codebook/Makefile creating src/libw32dll/Makefile creating src/libw32dll/wine/Makefile creating src/libw32dll/DirectShow/Makefile creating src/libspudec/Makefile creating src/libsputext/Makefile creating src/libspucc/Makefile creating src/libvorbis/Makefile creating src/libxvid/Makefile creating src/libdivx4/Makefile creating src/libxinevdec/Makefile creating src/libxineadec/Makefile creating src/xine-utils/Makefile creating src/input/Makefile creating src/xine-engine/Makefile creating misc/Makefile creating misc/xine-config creating m4/Makefile creating doc/Makefile creating doc/man/Makefile creating doc/man/en/Makefile creating doc/man/en/man3/Makefile creating doc/xine-lib-API/Makefile creating doc/xine-lib-API/html/Makefile creating doc/hackersguide/Makefile creating misc/xine-lib.spec creating misc/SlackBuild creating misc/build_rpms.sh creating misc/relchk.sh creating misc/fonts/Makefile creating intl/Makefile creating po/Makefile.in creating config.h creating po/POTFILES creating po/Makefile xine-lib summary: ---------------- * input plugins: - file - net - stdin_fifo - rtp - http - mms - dvd - vcd - cda * demultiplexer plugins: - avi - mpeg - mpeg_block - mpeg_audio - mpeg_elem - mpeg_pes - mpeg_ts - qt - film - roq - fli - smjpeg - idcin - wav - cda - asf * video decoder plugins: - mpeg2 - ffmpeg - cyuv - divx4 - cinepak - msvc - fli - msrle - rgb - yuv - roqvideo - svq1 - w32dll * audio decoder plugins: - a52 - dts - mad - adpcm - lpcm - roqaudio - w32dll - faad * subtitle decoder plugins: - spu - spucc - sputext * video driver plugins: - XShm (X11 shared memory) - SyncFB (for Matrox G200/G400 cards) - Xv (XVideo *static*) - OpenGL - aa (Ascii ART) - fb (Linux framebuffer device) - sdl (Simple DirectMedia Layer) - directfb (DirectFB driver) - vidix * audio driver plugins: - oss (Open Sound System) - esd (Enlightened Sound Daemon) - arts (aRts - KDE soundserver) --- * Patching ${S}/ltmain.sh... * Could not apply portage.patch! * Please verify that it is not needed. * Cannot apply any patch, running libtoolize... You should update your `aclocal.m4' by running aclocal. cd . && aclocal cd . && automake --gnu --include-deps Makefile cd . && autoconf FATAL ERROR: Autoconf version 2.50 or higher is required for this script make: *** [configure] Erreur 2 make: *** Attente des tâches non terminées.... !!! ERROR: media-libs/xine-lib-0.9.13-r3 failed. !!! Function src_compile, Line 102, Exitcode 2 !!! (no error message) Expected Results: right emerge :) root@MupoClient libltdl # emerge info Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.2, glibc-2.3.3_pre20040207-r0, 2.4.23) ================================================================= System uname: 2.4.23 i686 AMD Athlon(tm) XP 1800+ Gentoo Base System version 1.4.3.13 Autoconf: sys-devel/autoconf-2.59 Automake: sys-devel/automake-1.8.2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /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/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/" 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 acpi4linux alsa amd apache2 apm avi berkdb bonobo cdr crypt directfb doc dvd encode esd fbcon ffmpeg foomaticdb freetype gdbm ggi gif gnome gnomedb gpm gtk gtk2 gtkhtml guile imlib java javascript jpeg ldap libg++ libwww mad mikmod motif mozilla moznocompose moznoirc mpeg nas ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime radeon readline samba sdl slang spell sse ssl svga tcltk tcpd tetex truetype unicode v4l video_cards_radeon x86 xine xinerama xml2 xmms xv zlib" what version of libtool ? My reported bug about libtool : http://bugs.gentoo.org/show_bug.cgi?id=41050 I think that is libtool 1.5.2 I have almost exactly the same problem. Mine fails with: * Patching ${S}/ltmain.sh... * Could not apply portage.patch! * Please verify that it is not needed. * Cannot apply any patch, running libtoolize... You should update your `aclocal.m4' by running aclocal. cd . && aclocal cd . && automake --gnu --include-deps Makefile cd . && autoconf configure:22670: error: possibly undefined macro: AM_ASFLAGS If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation. make: *** [configure] Fel 1 !!! ERROR: media-libs/xine-lib-0.9.13-r3 failed. !!! Function src_compile, Line 103, Exitcode 2 !!! (no error message) It looks like it tries to apply the patches twice. First before configure: >>> Unpacking xine-lib-0.9.13.tar.gz to /var/tmp/portage/xine-lib-0.9.13-r3/work * Applying xine-lib-configure.patch... [ ok ] * Applying xine-lib-0.9.13-kxine.patch... [ ok ] * Applying xine-lib-disable-directfb.patch... [ ok ] >>> Source unpacked. * Patching ${S}/ltmain.sh... * Applying portage-1.4.1.patch... * Applying relink-1.4.3.patch... * Applying sed-1.4.3.patch... * Applying tmp-1.3.5.patch... And then after: * Patching ${S}/ltmain.sh... * Could not apply portage.patch! * Please verify that it is not needed. * Cannot apply any patch, running libtoolize... Maybe that's the problem? Portage 2.0.50-r1 (default-ppc-2004.0, gcc-3.3.3, glibc-2.3.2-r9, 2.6.3-benh2) ================================================================= System uname: 2.6.3-benh2 ppc 750FX Gentoo Base System version 1.4.3.13 Autoconf: sys-devel/autoconf-2.58-r1 Automake: sys-devel/automake-1.7.8 ACCEPT_KEYWORDS="ppc" AUTOCLEAN="yes" CFLAGS="-O3 -pipe -mcpu=750 -mtune=750 -mpowerpc-gfxopt -fsigned-char -falign-functions=4 -fomit-frame-pointer -fforce-addr -frerun-loop-opt -fprefetch-loop-arrays -funroll-loops" CHOST="powerpc-unknown-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/lib/pbbuttonsd /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -pipe -mcpu=750 -mtune=750 -mpowerpc-gfxopt -fsigned-char -falign-functions=4 -fomit-frame-pointer -fforce-addr -frerun-loop-opt -fprefetch-loop-arrays -funroll-loops" DISTDIR="/usr/portage/distfiles" FEATURES="ccache" GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://www.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="X aalib alsa apm berkdb cdr dga dvd esd fbconv foomaticdb gdbm gif gnome gphoto2 gpm gtk gtk2 imlib jpeg libwww linguas_sv mad mikmod mitshm mng mostif motif mozilla mpeg ncurses nls nptl offensive oggvorbis opengl oss pam pcmcia perl png pnp ppc python quicktime readline samba sdl slang ssl tcltk tcpd tiff truetype unicode usb video_cards_radeon xine xml2 xmms xv xvid" Is this problem still existant for the current stable versions (xine-lib-1_rc*)? No, xine-lib-1* compiles and works just fine, but I need 0.9 for xine-dvdnav. :( Btw, I tried to compile it on my workstation too, which is a x86, and it didn't work on that either. Here is an emerge info from my ws: Portage 2.0.50-r1 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.2-r9, 2.6.4-mm1) ================================================================= System uname: 2.6.4-mm1 i686 AMD Athlon(tm) XP 2600+ Gentoo Base System version 1.4.3.13 Autoconf: sys-devel/autoconf-2.58-r1 Automake: sys-devel/automake-1.8.2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O3 -march=athlon-xp -mmmx -msse -mfpmath=sse -m3dnow -pipe -fomit-frame-pointer -maccumulate-outgoing-args -fforce-addr -frerun-loop-opt -falign-functions=4 -fprefetch-loop-arrays" 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 /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -march=athlon-xp -mmmx -msse -mfpmath=sse -m3dnow -pipe -fomit-frame-pointer -maccumulate-outgoing-args -fforce-addr -frerun-loop-opt -falign-functions=4 -fprefetch-loop-arrays" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://gentoo.oregonstate.edu 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 alsa apm arts artswrappersuid avi berkdb cdr crypt dga encode esd fbconv foomaticdb freetype gdbm gif gpm gtk gtk2 imlib jpeg kde libg++ libwww linguas_sv mad mikmod mmx mostif motif mpeg ncurses nls nptl oggvorbis opengl oss pam pdflib perl png python qt quicktime readline samba sdl slang spell sse ssl svga tcpd tiff truetype unicode usb video_cards_radeon x86 xml2 xmms xv zlib" Simon, are you aware that xine-lib-1* has dvd menu navigation built into it without the need for a plugin? Oh.. I didn't know that. Thanks :) could we close this ? *** Bug 48247 has been marked as a duplicate of this bug. *** yeah, 1_rc4 is stable now |