Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 279670 - media-sound/dvda-author-09.05 fails to compile
Summary: media-sound/dvda-author-09.05 fails to compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-30 13:07 UTC by parafin
Modified: 2009-08-23 10:40 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 parafin 2009-07-30 13:07:38 UTC
Here's log:

/bin/sh ../libtool --tag=CC   --mode=link i686-pc-linux-gnu-gcc -std=gnu99  -std=c99 -O2 -march=core2 -fomit-frame-pointer -ftracer -pipe  -DCPU_IS_LITTLE_ENDIAN -lm   -L/usr/local/lib -lFLAC -logg -lsox  -Wl,-O1 -L/usr/lib -L/usr/local/lib -L/usr/local/lib/FLAC -L/usr/local/lib/flac -L/usr/lib -L/usr/local/lib -L/usr/lib -L/usr/local/lib -L/usr/lib/sox -L/usr/local/lib/sox -o dvda amg2.o ats.o atsi2.o audio.o auxiliary.o dvda-author2.o file_input_parsing.o samg2.o videoimport.o launch_manager.o command_line_parsing.o endianness.o lexer.o libsoxconvert.o ../libutils/libc_utils.a ../libats2wav/libats2wav.a ../fixwav/src/libfixwav13.a      ../glibc/libglibc.a  
../libtool: line 848: X--tag=CC: command not found
../libtool: line 881: libtool: ignoring unknown tag : command not found
../libtool: line 848: X--mode=link: command not found
../libtool: line 1015: *** Warning: inferring the mode of operation is deprecated.: command not found
../libtool: line 1016: *** Future versions of Libtool will require --mode=MODE be specified.: command not found
../libtool: line 2265: X-std=gnu99: command not found
../libtool: line 2265: X-std=c99: command not found
../libtool: line 2265: X-O2: command not found
../libtool: line 2095: X-march=core2: command not found
../libtool: line 2265: X-fomit-frame-pointer: command not found
../libtool: line 2265: X-ftracer: command not found
../libtool: line 2265: X-pipe: command not found
../libtool: line 2265: X-DCPU_IS_LITTLE_ENDIAN: command not found
../libtool: line 1974: X-L/usr/local/lib: No such file or directory
../libtool: line 2228: X-Wl,-O1: command not found

Fatal server error:
Server is already active for display 0
        If this server is no longer running, remove /tmp/.X0-lock
        and start again.

../libtool: line 1974: X-L/usr/lib: No such file or directory
../libtool: line 1974: X-L/usr/local/lib: No such file or directory
../libtool: line 1974: X-L/usr/local/lib/FLAC: No such file or directory
../libtool: line 1974: X-L/usr/local/lib/flac: No such file or directory
../libtool: line 1974: X-L/usr/lib: No such file or directory
../libtool: line 1974: X-L/usr/local/lib: No such file or directory
../libtool: line 1974: X-L/usr/lib: No such file or directory
../libtool: line 1974: X-L/usr/local/lib: No such file or directory
../libtool: line 1974: X-L/usr/lib/sox: No such file or directory
../libtool: line 1974: X-L/usr/local/lib/sox: No such file or directory
../libtool: line 2434: Xdvda: command not found

Fatal server error:
Server is already active for display 0
        If this server is no longer running, remove /tmp/.X0-lock
        and start again.

../libtool: line 2446: Xdvda: command not found
../libtool: line 2454: mkdir /.libs: No such file or directory
ACCESS DENIED  mkdir:        /.libs
mkdir: cannot create directory `/.libs': Permission denied
make[3]: *** [dvda] Error 1
make[3]: Leaving directory `/var/tmp/portage/media-sound/dvda-author-09.05/work/dvda-author-09.05/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/media-sound/dvda-author-09.05/work/dvda-author-09.05/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/media-sound/dvda-author-09.05/work/dvda-author-09.05'
make: *** [all] Error 2
 * 
 * ERROR: media-sound/dvda-author-09.05 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2638:  Called _eapi2_src_compile
 *               ebuild.sh, line  634:  Called die
 * The specific snippet of code:
 *              emake || die "emake failed"
 *  The die message:
 *   emake failed
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/media-sound/dvda-author-09.05/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-sound/dvda-author-09.05/temp/environment'.
 * 
--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE "/var/log/sandbox/sandbox-10788.log"

VERSION 1.0
FORMAT: F - Function called
FORMAT: S - Access Status
FORMAT: P - Path as passed to function
FORMAT: A - Absolute Path (not canonical)
FORMAT: R - Canonical Path
FORMAT: C - Command Line

F: mkdir
S: deny
P: /.libs
A: /.libs
R: /.libs
C: mkdir /.libs 
--------------------------------------------------------------------------------

Also configuration stage gives some strange results:

  Configuration summary :

    Version : ..................... 09.05

    Dependencies:
                 ...................fixwav/libfixwav13.a
                 ...................
                 ...................
                 ...................


    Build libraries:
                    libFLAC ........no
                    libogg  ........no
                    libsox  ........no
                    gnu libc .......yes
                    libats2wav .....yes
                    libutils .......yes

    Ogg FLAC support:
                     ...............no



  GNU lib sources in glibc/ will be recompiled for enhanced portability.

  This is made necessary by SoX bug in versions < 14.3
  Machine is little-endian

  Installation directories :
    prefix is: ..................../usr/local
    Library directory: ........... /usr/local/lib
    Program directory: ........... /usr/local/bin
    Man pages: ................... /usr/local/share/man/man1
    Documentation directory: ..... /usr/local/share/doc/dvda-author
    Images directory: ............ /usr/local/share/pixmaps
    Configuration files: ......... /etc



Reproducible: Always

Steps to Reproduce:




Portage 2.1.6.13 (default/linux/x86/2008.0/desktop, gcc-4.3.2, glibc-2.9_p20081201-r2, 2.6.29.1 i686)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.29.1-i686-Intel-R-_Core-TM-2_CPU_6300_@_1.86GHz-with-glibc2.0
Timestamp of tree: Wed, 29 Jul 2009 20:30:01 +0000
distcc 3.1 i686-pc-linux-gnu [disabled]
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p39
dev-lang/python:     2.5.4-r3
dev-python/pycrypto: 2.0.1-r8
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.6.4
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.63-r1
sys-devel/automake:  1.7.9-r1, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=core2 -fomit-frame-pointer -ftracer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=core2 -fomit-frame-pointer -ftracer -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps y"
FEATURES="buildpkg ccache distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.yandex.ru/gentoo-distfiles/"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage/"
USE="X a52 aac adns alsa apache2 audiofile bash-completion berkdb bzip2 cairo caps cddb cdparanoia cracklib crypt cups curl cxx dba dbus dri dts dvb dvd dvdr dvdread encode expat faac faad fbcon ffmpeg flac fontconfig foomaticdb ftp gd gdbm geoip gif gmp gpm graphviz gtk iconv idn imap ipv6 jpeg lcms libsamplerate mad matroska milter mmx mmxext mng mp3 mpeg mysql ncurses nls nptl nsplugin offensive ogg opengl pam pcre pdf perl pic png ppds pulseaudio python quicktime readline ruby sasl session slang sndfile snmp speex spell sqlite sse sse2 ssl ssse3 svg tcpd theora threads tiff truetype unicode usb vorbis win32codecs wxwindows x264 x86 xml xpm xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="alias auth_basic authn_file authz_host authz_user autoindex cgid dir info log_config mime mime_magic negotiation rewrite setenvif so speling status" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" SANE_BACKENDS="plustek" USERLAND="GNU" VIDEO_CARDS="intel"
Unset:  CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

media-sound/dvda-author-20050703 was built with the following:
USE=""
CFLAGS="-O2 -march=pentium-m -msse3 -fomit-frame-pointer -ftracer -pipe"
CXXFLAGS="-O2 -march=pentium-m -msse3 -fomit-frame-pointer -ftracer -pipe"
LDFLAGS=""

>>> Attempting to run pkg_info() for 'media-sound/dvda-author-20050703'
 * Adjusting permissions for FEATURES=ccache: '/tmp/tmpq0sF_m/ccache'
 * pkg_info() is not defined: 'dvda-author-20050703.ebuild'
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2009-07-30 13:21:30 UTC
+  30 Jul 2009; Samuli Suominen <ssuominen@gentoo.org>
+  dvda-author-09.05.ebuild:
+  Fix building with =libtool-1* wrt #279670.

Sync in a hour, should be fixed now. Thanks for reporting.
Comment 2 parafin 2009-08-06 22:09:00 UTC
Nope, I still have problems emerging it. Now I get this:

>>> Emerging (1 of 1) media-sound/dvda-author-09.05
 * dvda-author-09.05-3.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                                       [ ok ]
 * checking ebuild checksums ;-) ...                                                                 [ ok ]
 * checking auxfile checksums ;-) ...                                                                [ ok ]
 * checking miscfile checksums ;-) ...                                                               [ ok ]
>>> Unpacking source...
>>> Unpacking dvda-author-09.05-3.tar.bz2 to /var/tmp/portage/media-sound/dvda-author-09.05/work
>>> Source unpacked in /var/tmp/portage/media-sound/dvda-author-09.05/work
>>> Preparing source in /var/tmp/portage/media-sound/dvda-author-09.05/work/dvda-author-09.05 ...
 * Applying dvda-author-09.05-sandbox.patch ...                                                       [ ok ]
 * Running eautoreconf in '/var/tmp/portage/media-sound/dvda-author-09.05/work/dvda-author-09.05' ...
 * Running aclocal -I m4 --install ...                                                                [ ok ]
 * Running autoconf ...                                                                               [ ok ]
 * Running autoheader ...                                                                             [ ok ]
 * Running automake --add-missing --copy ...                                                          [ !! ]

 * Failed Running automake !
 * 
 * Include in your bugreport the contents of:
 * 
 *   /var/tmp/portage/media-sound/dvda-author-09.05/temp/automake.out

 * 
 * ERROR: media-sound/dvda-author-09.05 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_prepare
 *             environment, line 2645:  Called eautoreconf
 *             environment, line  863:  Called eautomake
 *             environment, line  836:  Called autotools_run_tool 'automake' '--add-missing' '--copy'
 *             environment, line  348:  Called die
 * The specific snippet of code:
 *           die "Failed Running $1 !";
 *  The die message:
 *   Failed Running automake !
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/media-sound/dvda-author-09.05/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-sound/dvda-author-09.05/temp/environment'.
 * 

>>> Failed to emerge media-sound/dvda-author-09.05, Log file:

>>>  '/var/tmp/portage/media-sound/dvda-author-09.05/temp/build.log'
spobs ~ # cat /var/tmp/portage/media-sound/dvda-author-09.05/temp/automake.out
***** automake *****
***** PWD: /var/tmp/portage/media-sound/dvda-author-09.05/work/dvda-author-09.05
***** automake --add-missing --copy

fixwav/src/Makefile.am:2: library used but `RANLIB' is undefined
fixwav/src/Makefile.am:2:   The usual way to define `RANLIB' is to add `AC_PROG_RANLIB'
fixwav/src/Makefile.am:2:   to `configure.ac' and run `autoconf' again.
fixwav/src/Makefile.am:6: variable `libfixwav13_a_LDFLAGS' is defined but no program or
fixwav/src/Makefile.am:6: library has `libfixwav13_a' as canonic name (possible typo)
glibc/Makefile.am:1: library used but `RANLIB' is undefined
glibc/Makefile.am:1:   The usual way to define `RANLIB' is to add `AC_PROG_RANLIB'
glibc/Makefile.am:1:   to `configure.ac' and run `autoconf' again.
libFLAC/Makefile.am:10: library used but `RANLIB' is undefined
libFLAC/Makefile.am:10:   The usual way to define `RANLIB' is to add `AC_PROG_RANLIB'
libFLAC/Makefile.am:10:   to `configure.ac' and run `autoconf' again.
libFLAC/include/libogg/src/Makefile.am:6: library used but `RANLIB' is undefined
libFLAC/include/libogg/src/Makefile.am:6:   The usual way to define `RANLIB' is to add `AC_PROG_RANLIB'
libFLAC/include/libogg/src/Makefile.am:6:   to `configure.ac' and run `autoconf' again.
libats2wav/Makefile.am:1: library used but `RANLIB' is undefined
libats2wav/Makefile.am:1:   The usual way to define `RANLIB' is to add `AC_PROG_RANLIB'
libats2wav/Makefile.am:1:   to `configure.ac' and run `autoconf' again.
libats2wav/Makefile.am:6: variable `AM_LDADD' is defined but no program or
libats2wav/Makefile.am:6: library has `AM' as canonic name (possible typo)
libsoxconvert/libgsm/Makefile.am:29: library used but `RANLIB' is undefined
libsoxconvert/libgsm/Makefile.am:29:   The usual way to define `RANLIB' is to add `AC_PROG_RANLIB'
libsoxconvert/libgsm/Makefile.am:29:   to `configure.ac' and run `autoconf' again.
libsoxconvert/lpc10/Makefile.am:1: library used but `RANLIB' is undefined
libsoxconvert/lpc10/Makefile.am:1:   The usual way to define `RANLIB' is to add `AC_PROG_RANLIB'
libsoxconvert/lpc10/Makefile.am:1:   to `configure.ac' and run `autoconf' again.
libsoxconvert/src/Makefile.am:3: library used but `RANLIB' is undefined
libsoxconvert/src/Makefile.am:3:   The usual way to define `RANLIB' is to add `AC_PROG_RANLIB'
libsoxconvert/src/Makefile.am:3:   to `configure.ac' and run `autoconf' again.
libsoxconvert/src/Makefile.am:4: variable `libsoxconvert_a_LDFLAGS' is defined but no program or
libsoxconvert/src/Makefile.am:4: library has `libsoxconvert_a' as canonic name (possible typo)
libutils/Makefile.am:3: library used but `RANLIB' is undefined
libutils/Makefile.am:3:   The usual way to define `RANLIB' is to add `AC_PROG_RANLIB'
libutils/Makefile.am:3:   to `configure.ac' and run `autoconf' again.
Comment 3 Samuli Suominen (RETIRED) gentoo-dev 2009-08-17 12:00:15 UTC
+  17 Aug 2009; Samuli Suominen <ssuominen@gentoo.org>
+  dvda-author-09.05.ebuild:
+  Remove AT_NO_RECURSIVE wrt #279670.
+
   08 Aug 2009; Samuli Suominen <ssuominen@gentoo.org>
   dvda-author-09.05.ebuild:
   Force >=libtool-2 instead of trying to fix it for 1.x wrt #279670.
Comment 4 parafin 2009-08-23 10:40:39 UTC
Yeah, dvda-author compiles fine now. But dependencies are not quite right - if you try to compile it with libtool-2.2.4 installed you'll get this:
>>> Emerging (1 of 1) media-sound/dvda-author-09.05
 * dvda-author-09.05-3.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                                       [ ok ]
 * checking ebuild checksums ;-) ...                                                                 [ ok ]
 * checking auxfile checksums ;-) ...                                                                [ ok ]
 * checking miscfile checksums ;-) ...                                                               [ ok ]
>>> Unpacking source...
>>> Unpacking dvda-author-09.05-3.tar.bz2 to /var/tmp/portage/media-sound/dvda-author-09.05/work
>>> Source unpacked in /var/tmp/portage/media-sound/dvda-author-09.05/work
>>> Preparing source in /var/tmp/portage/media-sound/dvda-author-09.05/work/dvda-author-09.05 ...
 * Applying dvda-author-09.05-sandbox.patch ...                                                       [ ok ]
 * Running eautoreconf in '/var/tmp/portage/media-sound/dvda-author-09.05/work/dvda-author-09.05/libsoxconvert' ...
 * Running aclocal -I m4 --install ...                                                                [ ok ]
 * Running libtoolize --copy --force --install --automake ...                                         [ ok ]
 * Running aclocal -I m4 --install ...                                                                [ !! ]

 * Failed Running aclocal !
 * 
 * Include in your bugreport the contents of:
 * 
 *   /var/tmp/portage/media-sound/dvda-author-09.05/temp/aclocal-30545.out

 * 
 * ERROR: media-sound/dvda-author-09.05 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_prepare
 *             environment, line 2703:  Called eautoreconf
 *             environment, line  872:  Called eautoreconf
 *             environment, line  883:  Called _elibtoolize '--copy' '--force' '--install'
 *             environment, line  283:  Called eaclocal
 *             environment, line  819:  Called autotools_run_tool 'aclocal' '-I' 'm4' '--install'
 *             environment, line  370:  Called die
 * The specific snippet of code:
 *           die "Failed Running $1 !";
 *  The die message:
 *   Failed Running aclocal !
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/media-sound/dvda-author-09.05/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-sound/dvda-author-09.05/temp/environment'.
 * 

>>> Failed to emerge media-sound/dvda-author-09.05, Log file:

>>>  '/var/tmp/portage/media-sound/dvda-author-09.05/temp/build.log'
note ~ # cat /var/tmp/portage/media-sound/dvda-author-09.05/temp/aclocal-30545.out
***** aclocal *****
***** PWD: /var/tmp/portage/media-sound/dvda-author-09.05/work/dvda-author-09.05/libsoxconvert
***** aclocal -I m4 --install

configure.ac:17: error: Libtool version 2.2.6 or higher is required
m4/libtool.m4:46: LT_PREREQ is expanded from...
configure.ac:17: the top level
autom4te-2.63: /usr/bin/m4 failed with exit status: 63
aclocal-1.10: autom4te failed with exit status: 63

So instead of >=sys-devel/libtool-2 there should be >=sys-devel/libtool-2.2.6.