Bug 117091 - emerge mjpegtools-1.8.0-r1 fails, autoconf error
|
Bug#:
117091
|
Product: Gentoo Linux
|
Version: 2005.1
|
Platform: AMD64
|
|
OS/Version: Linux
|
Status: RESOLVED
|
Severity: normal
|
Priority: P2
|
|
Resolution: FIXED
|
Assigned To: media-video@gentoo.org
|
Reported By: ian@syndicated-productions.com
|
|
Component: Applications
|
|
|
URL:
|
|
Summary: emerge mjpegtools-1.8.0-r1 fails, autoconf error
|
|
Keywords:
|
|
Status Whiteboard:
|
|
Opened: 2005-12-29 07:39 0000
|
* Running autoconf ... [ !! ]
* Failed Running autoconf !
***** autoconf *****
configure.ac:104: error: possibly undefined macro: AC_DEFINE
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
configure.ac:314: error: possibly undefined macro: AM_PATH_SDL
Portage 2.0.53 (default-linux/amd64/2005.1, gcc-3.4.4, glibc-2.3.5-r2,
2.6.13-gentoo-r5 x86_64)
=================================================================
System uname: 2.6.13-gentoo-r5 x86_64 AMD Opteron(tm) Processor 246
Gentoo Base System version 1.6.13
dev-lang/python: 2.3.5-r2, 2.4.2
sys-apps/sandbox: 1.2.12
sys-devel/autoconf: 2.13, 2.59-r6
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils: 2.16.1
sys-devel/libtool: 1.5.20
virtual/os-headers: 2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=opteron -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /usr/spool/PBS /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=opteron -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://gentoo.risq.qc.ca http://gentoo.osuosl.org
http://www.ibiblio.org/pub/Linux/distributions/gentoo
http://adelie.polymtl.ca/"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X acl apache avi berkdb bitmap-fonts bzip2 cdr crypt cups dvdr eds
emboss encode expat foomaticdb fortran ftp gd gdbm gif gpm gstreamer gtk gtk2
imlib ipv6 jpeg lcms libwww lzw lzw-tiff mhash mng mp3 mpeg mpi ncurses nls
noaudio nptl opengl pam pdflib perl php png postgres python quicktime readline
samba ssl tcpd tiff truetype truetype-fonts type1-fonts udev usb userlocales
wxgtk1 xml2 xpm xv zlib userland_GNU kernel_linux elibc_glibc"
Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Same here:
* Running autoconf ... [ !! ]
* Failed Running autoconf !
***** autoconf *****
configure.ac:104: error: possibly undefined macro: AC_DEFINE
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
configure.ac:314: error: possibly undefined macro: AM_PATH_SDL
Portage 2.0.53 (default-linux/ppc/2005.1/ppc, gcc-3.4.4, glibc-2.3.5-r2,
2.6.14-gentoo-r5 ppc)
=================================================================
System uname: 2.6.14-gentoo-r5 ppc 7447A, altivec supported
Gentoo Base System version 1.6.13
dev-lang/python: 2.4.2
sys-apps/sandbox: 1.2.12
sys-devel/autoconf: 2.13, 2.59-r6
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils: 2.16.1
sys-devel/libtool: 1.5.20
virtual/os-headers: 2.6.11-r2
ACCEPT_KEYWORDS="ppc"
AUTOCLEAN="yes"
CBUILD="powerpc-unknown-linux-gnu"
CFLAGS="-O2 -pipe -mtune=G4 -maltivec -mabi=altivec"
CHOST="powerpc-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -pipe -mtune=G4 -maltivec -mabi=altivec"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="de_DE.UTF-8"
LINGUAS="de"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="ppc X a52 aac alsa altivec berkdb bitmap-fonts bzip2 cdr crypt cups dv dvd
dvdr dvdread eds emboss encode expat fam ffmpeg flac fortran gif gpm gstreamer
gtk gtk2 hal idn ieee1394 java jpeg kdeenablefinal lcms libwww mad mjpeg mng
motif mp3 mpeg ncurses nls nsplugin ogg oggvorbis opengl pam pcre pdflib perl
png python qt readline sndfile snmp spell ssl tcpd tiff truetype truetype-fonts
type1-fonts udev unicode vorbis xml2 xv xvid zlib linguas_de userland_GNU
kernel_linux elibc_glibc"
Unset: ASFLAGS, CTARGET, LC_ALL, LDFLAGS, MAKEOPTS
here as well
>>> Unpacking mjpegtools-1.8.0.tar.gz to /var/tmp/portage/mjpegtools-1.8.0-r1/work
* Running eautoreconf in
'/var/tmp/portage/mjpegtools-1.8.0-r1/work/mjpegtools-1.8.0' ...
* Running aclocal ...
[ ok ]
* Running libtoolize --copy --force --automake ...
[ ok ]
* Running aclocal ...
[ ok ]
* Running autoconf ...
[ !! ]
* Failed Running autoconf !
*
* Include in your bugreport the contents of:
*
* /var/tmp/portage/mjpegtools-1.8.0-r1/temp/autoconf-23382.out
!!! ERROR: media-video/mjpegtools-1.8.0-r1 failed.
!!! Function autotools_run_tool, Line 179, Exitcode 0
!!! Failed Running autoconf !
!!! If you need support, post the topmost build error, NOT this status message.
cat /var/tmp/portage/mjpegtools-1.8.0-r1/temp/autoconf-23382.out
***** autoconf *****
configure.ac:104: error: possibly undefined macro: AC_DEFINE
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
configure.ac:314: error: possibly undefined macro: AM_PATH_SDL
Portage 2.0.53 (default-linux/ppc/2005.1/ppc/G4, gcc-3.4.4, glibc-2.3.5-r2,
2.6.14-gentoo-r5 ppc)
=================================================================
System uname: 2.6.14-gentoo-r5 ppc 7447A, altivec supported
Gentoo Base System version 1.6.13
dev-lang/python: 2.4.2
sys-apps/sandbox: 1.2.12
sys-devel/autoconf: 2.13, 2.59-r6
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils: 2.16.1
sys-devel/libtool: 1.5.20
virtual/os-headers: 2.6.11-r2
ACCEPT_KEYWORDS="ppc"
AUTOCLEAN="yes"
CBUILD="powerpc-unknown-linux-gnu"
CFLAGS="-O2 -mcpu=G4 -mtune=G4 -fno-strict-aliasing -pipe -maltivec
-mabi=altivec -mpowerpc-gfxopt"
CHOST="powerpc-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mcpu=G4 -mtune=G4 -fno-strict-aliasing -pipe -maltivec
-mabi=altivec -mpowerpc-gfxopt"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://gentoo.risq.qc.ca/ ftp://gentoo.mirrored.ca/
ftp://gentoo.arcticnetwork.ca/pub/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.ca.gentoo.org/gentoo-portage"
USE="ppc X alsa altivec apache2 audiofile berkdb bitmap-fonts bzip2 cdr crypt
cups curl dvdread eds emboss esd ethereal exif expat fam fbcon ffmpeg flac
fortran gd gdbm gif glut gnome gpm gstreamer gtk gtk2 idn ieee1394 imagemagick
imlib java jpeg junit kde lcms libwww mad mhash mng motif mp3 mpeg mysql
ncurses nls ogg oggvorbis opengl pam pcre pdflib perl php png python qt
readline recode samba spell ssl tcpd tiff truetype truetype-fonts type1-fonts
udev unicode vorbis xine xml xml2 xv xvid zlib userland_GNU kernel_linux
elibc_glibc"
Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
exactly the same for me (em64t)
Autotools are no more called as there was no need for.
(In reply to comment #4)
> Autotools are no more called as there was no need for.
>
Please reopen because I got this problem today, from a freshly synced tree:
>>> Emerging (1 of 11) media-video/mjpegtools-1.8.0-r1 to /
>>> Creating Manifest for /usr/portage/media-video/mjpegtools
>>> checking ebuild checksums ;-)
>>> checking auxfile checksums ;-)
>>> checking miscfile checksums ;-)
>>> checking mjpegtools-1.8.0.tar.gz ;-)
>>> Unpacking source...
>>> Unpacking mjpegtools-1.8.0.tar.gz to /var/tmp/portage/mjpegtools-1.8.0-r1/work
* Applying mjpegtools-1.8.0-gcc41.patch ...
[ ok ]
* Applying mjpegtools-1.8.0-parallelmake.patch ...
[ ok ]
* Applying mjpegtools-1.8.0-pkg-config.patch ...
[ ok ]
* Applying mjpegtools-1.8.0-as-needed.patch ...
[ ok ]
* Running eautoreconf in
'/var/tmp/portage/mjpegtools-1.8.0-r1/work/mjpegtools-1.8.0' ...
* Running aclocal ...
[ ok ]
* Running libtoolize --copy --force --automake ...
[ ok ]
* Running aclocal ...
[ ok ]
* Running autoconf ...
[ !! ]
* Failed Running autoconf !
*
* Include in your bugreport the contents of:
*
* /var/tmp/portage/mjpegtools-1.8.0-r1/temp/autoconf-15438.out
!!! ERROR: media-video/mjpegtools-1.8.0-r1 failed.
Call stack:
ebuild.sh, line 1539: Called dyn_unpack
ebuild.sh, line 711: Called src_unpack
mjpegtools-1.8.0-r1.ebuild, line 53: Called eautoreconf
autotools.eclass, line 67: Called eautoconf
autotools.eclass, line 137: Called autotools_run_tool 'autoconf'
autotools.eclass, line 193: Called die
!!! Failed Running autoconf !
!!! If you need support, post the topmost build error, and the call stack if
relevant.
$ cat /var/tmp/portage/mjpegtools-1.8.0-r1/temp/autoconf-15438.out
***** autoconf *****
configure.ac:104: error: possibly undefined macro: AC_DEFINE
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
configure.ac:316: error: possibly undefined macro: AM_PATH_SDL
$ emerge --info
Portage 2.1-r2 (default-linux/amd64/2006.1/server, gcc-4.1.1, glibc-2.4-r3,
2.6.17-gentoo-r7 x86_64)
=================================================================
System uname: 2.6.17-gentoo-r7 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor
4600+
Gentoo Base System version 1.12.4
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632)
[enabled]
ccache version 2.3 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-lang/python: 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache: 2.3
dev-util/confcache: [Not Present]
sys-apps/sandbox: 1.2.17
sys-devel/autoconf: 2.13, 2.59-r7
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils: 2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool: 1.5.22
virtual/os-headers: 2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O3 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf
/etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=k8 -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache collision-protect digest distcc
distlocks fixpackages metadata-transfer sandbox sfperms strict test userfetch
userpriv usersandbox"
GENTOO_MIRRORS="http://mirror.switch.ch/ftp/mirror/gentoo/
http://gentoo.ynet.sk/pub http://gentoo.inf.elte.hu/
http://www.die.unipd.it/pub/Linux/distributions/gentoo-sources/
http://pandemonium.tiscali.de/pub/gentoo/"
LANG="it_IT.UTF-8"
LC_ALL="it_IT.UTF-8"
LINGUAS="it"
MAKEOPTS="-j9"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
--force --whole-file --delete --delete-after --stats --timeout=180
--exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/portage/local/layman/vmware"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="amd64 aalib acpi apache2 bash-completion bcmath berkdb bitmap-fonts bzip2
caps cli crypt cups curl curlwrappers dbus dga dio dlloader dri dvd dvdread
emul-linux-x86 encode exif expat fbcon ffmpeg fftw flac fortran ftp gd ggi glut
gmp gnutls gphoto2 gpm hal hardenedphp iconv ieee1394 imagemagick isdnlog java
javascript jikes jpeg libcaca libg++ lm_sensors mad maildir matroska memlimit
mime mmap mp3 mpeg mpi ncurses nls nptl nptlonly offensive ogg openal oss pam
pcre perl png posix ppds pppd python quicktime readline recode reflection samba
sasl session sharedmem shorten sndfile sockets sox spell spl ssl symlink
sysvipc tcpd theora threads tidy tokenizer truetype truetype-fonts type1-fonts
udev unicode usb vorbis xine xml xml2 xorg xvid zlib elibc_glibc
input_devices_keyboard input_devices_mouse input_devices_evdev kernel_linux
linguas_it userland_GNU video_cards_radeon"
Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS,
PORTAGE_RSYNC_EXTRA_OPTS
I got the same error right now with 2006.1 and mjpegtools-1.8.0-r1. So it looks
like it was not fixed. However emerging sdl before mjpegtools-1.8.0-r1 fixes
the problem.
Correction (if I was not clear) emerging with sdl as a USE flag fixes this
problem.
*** Bug 146476 has been marked as a duplicate of this bug. ***
This bug accurs now as eautoreconf is called with new configure.ac changes.
sdl is really not (!) needed. It is just a brainded autoconf-setup in
mjpegtools-sources.
It misses some m4-files which autoconf needs and normally fetches from the
system.
that should be solved now. And mjpegtools does not unconditionally need SDL.
Ok, it is really solved in AMD64 (tested). You can close this thread :)