Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 182185 - media-libs/smpeg-0.4.4-r8 fails to compile
Summary: media-libs/smpeg-0.4.4-r8 fails to compile
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-15 22:35 UTC by David W Noon
Modified: 2011-07-21 14:12 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (memphis_emerge_info.txt,2.92 KB, text/plain)
2007-06-15 22:41 UTC, David W Noon
Details

Note You need to log in before you can comment on or make changes to this bug.
Description David W Noon 2007-06-15 22:35:13 UTC
smpeg fails to compile on AMD64. [It compiled cleanly under x86 on another box.]
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-06-15 22:40:27 UTC
My crystal ball got broken recently; try to reopen with the actual compile errors and emerge --info output.
Comment 2 David W Noon 2007-06-15 22:41:25 UTC
Created attachment 122198 [details]
emerge --info
Comment 3 David W Noon 2007-06-15 22:43:20 UTC
(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.
Comment 4 David W Noon 2007-06-15 22:43:56 UTC
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
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2007-06-15 22:48:48 UTC

*** This bug has been marked as a duplicate of bug 151119 ***
Comment 6 David W Noon 2007-06-15 22:51:35 UTC
I had already tried the fix suggested in bug #151119 and it didn't work.
Comment 7 David W Noon 2007-06-15 22:53:32 UTC
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.
Comment 8 Tristan Heaven (RETIRED) gentoo-dev 2007-11-23 07:11:10 UTC
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 ***
Comment 9 David W Noon 2007-11-23 13:48:26 UTC
(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

Comment 10 Tupone Alfredo gentoo-dev 2011-07-21 14:12:50 UTC
The gtk1 player is no more available, so this bug is no more in.
Thanks