smpeg fails to compile on AMD64. [It compiled cleanly under x86 on another box.]
My crystal ball got broken recently; try to reopen with the actual compile errors and emerge --info output.
Created attachment 122198 [details] emerge --info
(In reply to comment #1) > My crystal ball got broken recently; try to reopen with the actual compile > errors and emerge --info output. > How about allowing some time for me to build the bug report? Bugzilla disliked my long comments containing the error messages and emerge --info data.
Error messages: x86_64-pc-linux-gnu-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"smpeg\" -DVERSION=\"0.4.4\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DTHREADED_AUDIO -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -DNDEBUG -I.. -DNOCONTROLS -I. -I./audio -I./video -march=nocona -mmmx -m3dnow -msse -msse2 -msse3 -mfpmath=sse,387 -O3 -pipe -fomit-frame-pointer -MT gtv.o -MD -MP -MF .deps/gtv.Tpo -c -o gtv.o gtv.c gtv.c: In function ‘gtv_center_window’: gtv.c:192: error: ‘SDL_SysWMinfo’ has no member named ‘subsystem’ gtv.c:192: error: ‘SDL_SYSWM_X11’ undeclared (first use in this function) gtv.c:192: error: (Each undeclared identifier is reported only once gtv.c:192: error: for each function it appears in.) gtv.c:193: error: ‘SDL_SysWMinfo’ has no member named ‘info’ gtv.c:194: error: ‘SDL_SysWMinfo’ has no member named ‘info’ gtv.c:195: error: ‘SDL_SysWMinfo’ has no member named ‘info’ gtv.c:196: error: ‘SDL_SysWMinfo’ has no member named ‘info’ gtv.c:197: error: ‘SDL_SysWMinfo’ has no member named ‘info’ gtv.c:200: error: ‘SDL_SysWMinfo’ has no member named ‘info’ gtv.c:200: error: ‘SDL_SysWMinfo’ has no member named ‘info’ gtv.c:201: error: ‘SDL_SysWMinfo’ has no member named ‘info’ mv -f .deps/plaympeg.Tpo .deps/plaympeg.Po x86_64-pc-linux-gnu-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"smpeg\" -DVERSION=\"0.4.4\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DTHREADED_AUDIO -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -DNDEBUG -I.. -DNOCONTROLS -I. -I./audio -I./video -march=nocona -mmmx -m3dnow -msse -msse2 -msse3 -mfpmath=sse,387 -O3 -pipe -fomit-frame-pointer -MT glmovie-tile.o -MD -MP -MF .deps/glmovie-tile.Tpo -c -o glmovie-tile.o glmovie-tile.c x86_64-pc-linux-gnu-g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"smpeg\" -DVERSION=\"0.4.4\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DTHREADED_AUDIO -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -DNDEBUG -I.. -DNOCONTROLS -I. -I./audio -I./video -march=nocona -mmmx -m3dnow -msse -msse2 -msse3 -mfpmath=sse,387 -O3 -pipe -fomit-frame-pointer -fno-exceptions -fno-rtti -MT MPEGsystem.lo -MD -MP -MF .deps/MPEGsystem.Tpo -c MPEGsystem.cpp -fPIC -DPIC -o .libs/MPEGsystem.o make[1]: *** [gtv.o] Error 1 make[1]: *** Waiting for unfinished jobs.... x86_64-pc-linux-gnu-g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"smpeg\" -DVERSION=\"0.4.4\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DTHREADED_AUDIO -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -DNDEBUG -I.. -DNOCONTROLS -I. -I./audio -I./video -march=nocona -mmmx -m3dnow -msse -msse2 -msse3 -mfpmath=sse,387 -O3 -pipe -fomit-frame-pointer -fno-exceptions -fno-rtti -MT smpeg.lo -MD -MP -MF .deps/smpeg.Tpo -c smpeg.cpp -fPIC -DPIC -o .libs/smpeg.o mv -f .deps/glmovie-tile.Tpo .deps/glmovie-tile.Po x86_64-pc-linux-gnu-g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"smpeg\" -DVERSION=\"0.4.4\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DTHREADED_AUDIO -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -DNDEBUG -I.. -DNOCONTROLS -I. -I./audio -I./video -march=nocona -mmmx -m3dnow -msse -msse2 -msse3 -mfpmath=sse,387 -O3 -pipe -fomit-frame-pointer -fno-exceptions -fno-rtti -MT smpeg.lo -MD -MP -MF .deps/smpeg.Tpo -c smpeg.cpp -o smpeg.o >/dev/null 2>&1 mv -f .deps/smpeg.Tpo .deps/smpeg.Plo x86_64-pc-linux-gnu-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"smpeg\" -DVERSION=\"0.4.4\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DTHREADED_AUDIO -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -DNDEBUG -I.. -DNOCONTROLS -I. -I./audio -I./video -march=nocona -mmmx -m3dnow -msse -msse2 -msse3 -mfpmath=sse,387 -O3 -pipe -fomit-frame-pointer -MT MPEGfilter.lo -MD -MP -MF .deps/MPEGfilter.Tpo -c MPEGfilter.c -fPIC -DPIC -o .libs/MPEGfilter.o x86_64-pc-linux-gnu-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"smpeg\" -DVERSION=\"0.4.4\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DTHREADED_AUDIO -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -DNDEBUG -I.. -DNOCONTROLS -I. -I./audio -I./video -march=nocona -mmmx -m3dnow -msse -msse2 -msse3 -mfpmath=sse,387 -O3 -pipe -fomit-frame-pointer -MT MPEGfilter.lo -MD -MP -MF .deps/MPEGfilter.Tpo -c MPEGfilter.c -o MPEGfilter.o >/dev/null 2>&1 x86_64-pc-linux-gnu-g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"smpeg\" -DVERSION=\"0.4.4\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DTHREADED_AUDIO -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -DNDEBUG -I.. -DNOCONTROLS -I. -I./audio -I./video -march=nocona -mmmx -m3dnow -msse -msse2 -msse3 -mfpmath=sse,387 -O3 -pipe -fomit-frame-pointer -fno-exceptions -fno-rtti -MT MPEGsystem.lo -MD -MP -MF .deps/MPEGsystem.Tpo -c MPEGsystem.cpp -o MPEGsystem.o >/dev/null 2>&1 mv -f .deps/MPEGfilter.Tpo .deps/MPEGfilter.Plo mv -f .deps/MPEGsystem.Tpo .deps/MPEGsystem.Plo make[1]: Leaving directory `/var/lib/portage/tmp/portage/media-libs/smpeg-0.4.4-r8/work/smpeg-0.4.4' make: *** [all-recursive] Error 1 !!! ERROR: media-libs/smpeg-0.4.4-r8 failed. Call stack: ebuild.sh, line 1615: Called dyn_compile ebuild.sh, line 972: Called qa_call 'src_compile' ebuild.sh, line 44: Called src_compile smpeg-0.4.4-r8.ebuild, line 66: Called die
*** This bug has been marked as a duplicate of bug 151119 ***
I had already tried the fix suggested in bug #151119 and it didn't work.
I traced through the source code and concluded that a C macro had not been defined correctly. I modified the CFLAGS and CXXFLAGS in /etc/make.conf to include: -DSDL_VIDEO_DRIVER_X11=1 This then allowed the compilationto run cleanly.
If it isn't defined in /usr/include/SDL/SDL_config.h then you need USE=X on media-libs/libsdl. *** This bug has been marked as a duplicate of bug 151119 ***
(In reply to comment #8) > If it isn't defined in /usr/include/SDL/SDL_config.h then you need USE=X on > media-libs/libsdl. I already have X, alsa, arts and opengl defined in my use flags for libsdl: memphis ~ # eix -s libsdl [I] media-libs/libsdl Available versions: 1.2.11 ~1.2.11-r1 1.2.11-r2 ~1.2.12 {X aalib alsa arts dga directfb esd fbcon ggi libcaca nas noaudio noflagstrip nojoystick novideo opengl oss svga xinerama xv} Installed versions: 1.2.11-r2(23:28:34 25/06/07)(X alsa arts opengl -aalib -dga -directfb -esd -fbcon -ggi -libcaca -nas -noaudio -noflagstrip -nojoystick -novideo -oss -svga -xinerama -xv) Homepage: http://www.libsdl.org/ Description: Simple Direct Media Layer
The gtk1 player is no more available, so this bug is no more in. Thanks