Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 75027 - libmovtar missing dependency
Summary: libmovtar missing dependency
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High normal
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-20 02:42 UTC by Toby Dickenson
Modified: 2005-04-24 10:51 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Toby Dickenson 2004-12-20 02:42:20 UTC
libmovtar-0.1.3-r1 failed to compile, apparently with an sdl-related problem.

Updating libsds to 1.2.7-r3 from 1.2.5-r2 resolved the problem.

tail of the libmovtar log included below:


gcc -DPACKAGE=\"libmovtar\" -DVERSION=\"0.1.3\" -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 -DRETSIGTYPE=void -DRESULTS=\"libmovtar.a\ movtar_split\ movtar_unify\ movtar_yuv422\ movtar_index\ movtar_setinfo\"  -I. -I. -I/usr/include/glib-1.2 -I/usr/lib/glib/include  -Irtjpeg     -march=i586 -mcpu=athlon-xp -O2 -DRTJPEG -g -c `test -f format.c || echo './'`format.c
RTjpeg.c: In function `RTjpeg_b2s':
RTjpeg.c:132: warning: use of cast expressions as lvalues is deprecated
source='rtjshow.c' object='rtjshow.o' libtool=no \
depfile='.deps/rtjshow.Po' tmpdepfile='.deps/rtjshow.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
gcc -DPACKAGE=\"libmovtar\" -DVERSION=\"0.1.3\" -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 -DRETSIGTYPE=void -DRESULTS=\"libmovtar.a\ movtar_split\ movtar_unify\ movtar_yuv422\ movtar_index\ movtar_setinfo\"  -I. -I. -I/usr/include/glib-1.2 -I/usr/lib/glib/include  -Irtjpeg     -march=i586 -mcpu=athlon-xp -O2 -DRTJPEG -g -c `test -f rtjshow.c || echo './'`rtjshow.c
gcc  -march=i586 -mcpu=athlon-xp -O2 -DRTJPEG -g   -o pnm2rtj  pnm2rtj.o RTjpeg.o format.o -ljpeg
gcc  -march=i586 -mcpu=athlon-xp -O2 -DRTJPEG -g   -o rtjshow  rtjshow.o RTjpeg.o format.o -ljpeg
rtjshow.o(.text+0x16c): In function `main':
/tmp/portage/portage/libmovtar-0.1.3-r1/work/libmovtar-0.1.3/rtjpeg/rtjshow.c:99: undefined reference to `SDL_Init'
rtjshow.o(.text+0x18f):/tmp/portage/portage/libmovtar-0.1.3-r1/work/libmovtar-0.1.3/rtjpeg/rtjshow.c:106: undefined reference to `SDL_Quit'
rtjshow.o(.text+0x1bc):/tmp/portage/portage/libmovtar-0.1.3-r1/work/libmovtar-0.1.3/rtjpeg/rtjshow.c:108: undefined reference to `SDL_SetVideoMode'
rtjshow.o(.text+0x1d5):/tmp/portage/portage/libmovtar-0.1.3-r1/work/libmovtar-0.1.3/rtjpeg/rtjshow.c:109: undefined reference to `SDL_EventState'
rtjshow.o(.text+0x1e9):/tmp/portage/portage/libmovtar-0.1.3-r1/work/libmovtar-0.1.3/rtjpeg/rtjshow.c:110: undefined reference to `SDL_EventState'
rtjshow.o(.text+0x1fd):/tmp/portage/portage/libmovtar-0.1.3-r1/work/libmovtar-0.1.3/rtjpeg/rtjshow.c:111: undefined reference to `SDL_EventState'
rtjshow.o(.text+0x222):/tmp/portage/portage/libmovtar-0.1.3-r1/work/libmovtar-0.1.3/rtjpeg/rtjshow.c:116: undefined reference to `SDL_LockSurface'
rtjshow.o(.text+0x265):/tmp/portage/portage/libmovtar-0.1.3-r1/work/libmovtar-0.1.3/rtjpeg/rtjshow.c:126: undefined reference to `SDL_UnlockSurface'
rtjshow.o(.text+0x297):/tmp/portage/portage/libmovtar-0.1.3-r1/work/libmovtar-0.1.3/rtjpeg/rtjshow.c:129: undefined reference to `SDL_UpdateRect'
rtjshow.o(.text+0x25): In function `sig_handler':
/tmp/portage/portage/libmovtar-0.1.3-r1/work/libmovtar-0.1.3/rtjpeg/rtjshow.c:49: undefined reference to `SDL_Quit'
collect2: ld returned 1 exit status
make[1]: *** [rtjshow] Error 1
make[1]: Leaving directory `/tmp/portage/portage/libmovtar-0.1.3-r1/work/libmovtar-0.1.3/rtjpeg'
make: *** [all-recursive] Error 1
Comment 1 Luca Barbato gentoo-dev 2005-01-06 09:02:47 UTC
gcc  -march=i586 -mcpu=athlon-xp -O2 -DRTJPEG -g   -o rtjshow  rtjshow.o RTjpeg.o format.o -ljpeg
Missing link to libsdl, I'm not sure how updating libsdl fixed that, I'll check that problem on my stable box soon
Comment 2 Jan Brinkmann (RETIRED) gentoo-dev 2005-04-03 09:00:27 UTC
games:

upgrading to unstable libsdl fixes this problem. do you think it's possible to stabilise libsdl-1.2.8-r1?
Comment 3 SpanKY gentoo-dev 2005-04-03 09:43:14 UTC
mmm i think we've taken care of all the current issues that are open with 1.2.8-r1 so it should be ok ...

Mr_Bones_ ?
Comment 4 Mr. Bones. (RETIRED) gentoo-dev 2005-04-03 10:00:18 UTC
bug #79025 is still open.  Bug #80416 seems a bit odd as well.
Comment 5 SpanKY gentoo-dev 2005-04-03 10:02:21 UTC
Bug 79025 isnt an issue since i dropped the patch that was causing it and i think i'd like to have a new unstable version to test out Bug 80416
Comment 6 Max Loparev 2005-04-24 09:28:42 UTC
I have the same situation when configure can't run SDL test program but exits succesfully. in the Next stage make exits with such error. After some investigation i found that the real problem was that SDL linked with exact version of DirectFB, and after updating DirectFB, SDL is unusable and need rebuilding with new DirectFB.
Comment 7 SpanKY gentoo-dev 2005-04-24 10:51:27 UTC
ok, 1.2.8-r1 pushed to stable