while trying to emerge mjpegtools i get the following error >>> Unpacking mjpegtools-1.6.2.tar.gz to /var/tmp/portage/mjpegtools-1.6.2-r3/work * Applying mjpegtools-1.6.2-fPIC.patch ... [ ok ] * Applying mjpegtools-1.6.2-gcc34.patch ... [ ok ] * Applying mjpegtools-1.6.2-gcc34-altivec.patch ... [ ok ]aclocal: configure.in: 380: macro `AM_PATH_SDL' not found in library autoreconf-2.59: aclocal failed with exit status: 1 Reproducible: Always Steps to Reproduce: 1. emerge mjpegtools Actual Results: Calculating dependencies ...done! >>> emerge (1 of 1) media-video/mjpegtools-1.6.2-r3 to / >>> md5 src_uri ;-) mjpegtools-1.6.2.tar.gz >>> Unpacking source... >>> Unpacking mjpegtools-1.6.2.tar.gz to /var/tmp/portage/mjpegtools-1.6.2-r3/work * Applying mjpegtools-1.6.2-fPIC.patch ... [ ok ] * Applying mjpegtools-1.6.2-gcc34.patch ... [ ok ] * Applying mjpegtools-1.6.2-gcc34-altivec.patch ... [ ok ]aclocal: configure.in: 380: macro `AM_PATH_SDL' not found in library autoreconf-2.59: aclocal failed with exit status: 1 !!! ERROR: media-video/mjpegtools-1.6.2-r3 failed. !!! Function src_unpack, Line 52, Exitcode 1 !!! (no error message) !!! If you need support, post the topmost build error, NOT this status message. Expected Results: Compiled successfully Portage 2.0.51-r8 (default-linux/amd64/2004.3, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.9 x86_64) ================================================================= System uname: 2.6.9 x86_64 AMD Athlon(tm) 64 Processor 3000+ Gentoo Base System version 1.6.7 Python: dev-lang/python-2.3.4 [2.3.4 (#1, Dec 9 2004, 21:32:44)] ccache version 2.3 [enabled] dev-lang/python: 2.3.4 sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.8.5-r2, 1.5, 1.4_p6, 1.6.3, 1.7.9, 1.9.3 sys-devel/binutils: 2.15.92.0.2-r1 sys-devel/libtool: 1.5.2-r7 virtual/os-headers: 2.6.8.1-r1 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CFLAGS="-O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox" GENTOO_MIRRORS="http://mirror.pacific.net.au/linux/Gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.au.gentoo.org/gentoo-portage" USE="amd64 X acpi alsa apache2 berkdb bitmap-fonts cdr crypt dvd encode esd f77 fam fortran gdm gif gnome gpm gstreamer gtk gtk+ imlib ipv6 java jp2 jpeg junit libwww lzw lzw-tiff mad mozilla ncurses nls nptl nptlonly opengl pam perl png postgres postgresql python readline samba ssl tcpd tiff truetype usb userlocales xml xml2 xmms xpm xrandr xv xvid zlib"
adding sdl to my USE flags prevented the error by compiling libsdl. This shouldn't have been a problem with that flags disabled.
Created attachment 45997 [details] new ebuild and patch to fix SDL issue Ditto on this bug. This is is the same problem which the nogtk patch addresses, except it's with SDL this time. Attached is a new ebuild, along with a patch to fix this. Archive contains only the ebuild file and the patch file. You will still need the remaining patches for 1.6.2 from portage.
Fixed by Diego