While trying to emerge smpeg I ran into the following problem g++ -dynamiclib -single_module -flat_namespace -undefined suppress -o .libs/libsmpeg-0.4.0.dylib .libs/MPEG.o .libs/MPEGring.o .libs/MPEGlist.o .libs/MPEGstream.o .libs/MPEGsystem.o .libs/MPEGfilter.o .libs/smpeg.o -all_load audio/.libs/libaudio.a video/.libs/libvideo.a -lstdc++ -lSDLmain /usr/lib/libSDL.dylib -lm -install_name /usr/lib/libsmpeg-0.4.0.dylib -compatibility_version 2 -current_version 2.3 ld: warning multiple definitions of symbol ___eprintf /usr/lib/gcc/powerpc-apple-darwin8/4.0.0/libgcc.a(_eprintf.o) private external definition of ___eprintf in section (__TEXT,__text) /usr/lib/gcc/powerpc-apple-darwin8/4.0.0/libstdc++.dylib(single module) definition of ___eprintf ld: multiple definitions of symbol ___divdi3 /usr/lib/gcc/powerpc-apple-darwin8/4.0.0/libgcc.a(_divdi3.o) private external definition of ___divdi3 in section (__TEXT,__text) /usr/lib/gcc/powerpc-apple-darwin8/4.0.0/libgcc_s.dylib(_divdi3_s.o) definition of ___divdi3 ld: multiple definitions of symbol ___udivdi3 /usr/lib/gcc/powerpc-apple-darwin8/4.0.0/libgcc.a(_udivdi3.o) private external definition of ___udivdi3 in section (__TEXT,__text) /usr/lib/gcc/powerpc-apple-darwin8/4.0.0/libgcc_s.dylib(_udivdi3_s.o) definition of ___udivdi3 ld: multiple definitions of symbol ___umoddi3 /usr/lib/gcc/powerpc-apple-darwin8/4.0.0/libgcc.a(_umoddi3.o) private external definition of ___umoddi3 in section (__TEXT,__text) /usr/lib/gcc/powerpc-apple-darwin8/4.0.0/libgcc_s.dylib(_umoddi3_s.o) definition of ___umoddi3 ld: multiple definitions of symbol ___fixunsdfdi /usr/lib/gcc/powerpc-apple-darwin8/4.0.0/libgcc.a(_fixunsdfdi.o) private external definition of ___fixunsdfdi in section (__TEXT,__text) /usr/lib/gcc/powerpc-apple-darwin8/4.0.0/libgcc_s.dylib(_fixunsdfdi_s.o) definition of ___fixunsdfdi /usr/bin/libtool: internal link edit command failed make[1]: *** [libsmpeg.la] Error 1 make: *** [all-recursive] Error 1 My emerge info Portage 2.1_pre3-r1 (default-darwin/macos/10.4, gcc-4.0.0, libsystem-7.1-r0, 8.6.0 Power Macintosh) ================================================================= System uname: 8.6.0 Power Macintosh powerpc macos-20041118 distcc 2.0.1-zeroconf powerpc-apple-darwin7.0 (protocol 1) (default port 3632) [disabled] dev-lang/python: [Not Present] sys-apps/sandbox: [Not Present] sys-devel/autoconf: [Not Present] sys-devel/automake: [Not Present] sys-devel/binutils: [Not Present] sys-devel/libtool: [Not Present] virtual/os-headers: 7.1 ACCEPT_KEYWORDS="ppc-macos" AUTOCLEAN="yes" CBUILD="powerpc-apple-darwin8" CFLAGS="-O2 -pipe" CHOST="powerpc-apple-darwin8" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/texmf/web2c /etc/env.d" CXXFLAGS="-O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig collision-protect distlocks sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/overlays/local" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="ppc aalib audiofile emboss exif expat ffcall ffmpeg gdbm gif gmp imagemagick jpeg lcms libwww lua mhash mng nls ogg opengl pcre png ppc-macos qt recode sdl slang svg tetex tiff truetype vorbis elibc_Darwin kernel_Darwin userland_Darwin" Unset: ASFLAGS, CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS
Add amd64 to this also: Failed Running aclocal ! Contents of /var/tmp/portage/smpeg-0.4.4-r8/temp/aclocal-21044.out ------------------------- # cat /var/tmp/portage/smpeg-0.4.4-r8/temp/aclocal-21044.out ***** aclocal ***** aclocal: configure.in: 56: macro `AM_PROG_AS' not found in library ------------------------- That was all it contained.
Created attachment 100382 [details] config.log for paddlaren The config-log as stated in the emerge error message.
I got problem with this package as well. When doing a: emerge -vatuDN world I is the first in list to emerge thus indicating all dependencies is resolved. During the configure-part it halts due to missing dependency to sdl-version >= 1.2.0 checking for a BSD-compatible install... /bin/install -c checking for socklen_t... yes checking for sdl-config... /usr/bin/sdl-config checking for SDL - version >= 1.2.0... no *** Could not run SDL 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 SDL was incorrectly installed *** or that you have moved SDL since it was installed. In the latter case, you *** may want to edit the sdl-config script: /usr/bin/sdl-config configure: error: *** SDL version 1.2.0 not found! !!! Please attach the following file when filing a report to bugs.gentoo.org: !!! /var/tmp/portage/smpeg-0.4.4-r8/work/smpeg-0.4.4/config.log The config-log-file is supplied as attachement. Have to mention that emerge reports the following: root:~#emerge -vatD libsdl These are the packages that would be merged, in reverse order: Calculating dependencies... done! [ebuild R ] media-libs/libsdl-1.2.11 USE="X alsa arts dga directfb esd fbcon opengl oss xinerama xv -aalib -ggi -libcaca -nas -noaudio -noflagstrip -nojoystick -novideo -svga" 0 kB When checking the dependences to this package on www.gentoo-portage.com it seems that the 0.4.4-r8 version does not have any. Only the older version seems to have dependences. The emerge --info: usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /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/" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-march=k8 -O2 -m32 -mfpmath=sse -msse2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://gentoo.osuosl.org/ ftp://distro.ibiblio.org/pub/linux/distributions/gentoo/ ftp://mirror.iawnet.sandia.gov/pub/gentoo/ ftp://gentoo.chem.wisc.edu/gentoo/ http://mirror.uni-c.dk/pub/gentoo/ ftp://ftp.linux.ee/pub/gentoo/distfiles/ ftp://trumpetti.atm.tut.fi/gentoo/ http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp.du.se/pub/os/gentoo http://ftp.du.se/pub/os/gentoo http://ds.thn.htu.se/linux/gentoo http://ftp.ds.hj.se/pub/Linux/distributions/gentoo/ ftp://ftp.ds.hj.se/pub/Linux/distributions/gentoo/ " LINGUAS="sv en sv_SE en_GB" MAKEOPTS="-j4" 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" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="x86 3dnow X acpi alsa apache2 apm arts berkdb bitmap-fonts cdparanoia cdr cli cracklib crypt cups dbus dga dio directfb dlloader doc dri dvd dvdr dvdread elibc_glibc emboss encode esd examples exif expat fbcon ffmpeg firefox flac foomaticdb fortran gdbm gif gpm hal icq idn imlib input_devices_keyboard input_devices_mouse ipv6 isdnlog jack java javascript jpeg jpeg2k kde kdeenablefinal kernel_linux kipi libedit libg++ libwww linguas_en linguas_en_GB linguas_sv linguas_sv_SE lm_sensors mad mikmod mime mmx motif mp3 mpeg mplayer msn ncurses nls nptl nsplugin ogg opengl oscar oss pam pcntl pcre pdf perl png posix pppd python qt3 qt4 quicktime readline reflection ruby sdl session slp sndfile spell spl sse sse2 ssl tcpd theora tiff truetype truetype-fonts type1-fonts udev unicode usb userland_GNU vcd video_cards_ati video_cards_fbdev video_cards_radeon video_cards_vesa vorbis win32codecs xine xinerama xml xorg xpm xprint xv xvid zlib" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
After reemerging the libsdl the smpeg-0.4.4-r8 compiled nicely. I have not tried to run it thoug. // Erik
this depends on libsdl, which is still a problem in prefix.
I'm going to add this as a blocker to bug 214565 based on comment 5. Resolving as INVALID now because media-libs/smpeg isn't even in the prefix tree. Please re-open if this works now (comment 4) and we can add it to the tree.