Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 210603 - media-video/avidemux-2.4.1: Why don't we have USE sdl?
Summary: media-video/avidemux-2.4.1: Why don't we have USE sdl?
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-02-18 16:50 UTC by Samuli Suominen (RETIRED)
Modified: 2008-02-18 17:14 UTC (History)
0 users

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 Samuli Suominen (RETIRED) gentoo-dev 2008-02-18 16:50:52 UTC
When line 'use sdl || mycmakeargs="${mycmakeargs} -DNO_SDL=1"' inside avidemux-2.4.1.ebuild is uncommented, and sdl added to IUSE and built with KEYWORDS="-*" as in everything disabled the building dies during linking phase:

[ebuild   R   ] media-video/avidemux-2.4.1  USE="aac alsa amrnb dts encode gtk lame%* qt4 sdl%* truetype vorbis x264 xv xvid -aften -arts -esd -jack -libsamplerate" 0 kB

Linking CXX executable avidemux2_cli
/var/tmp/portage/media-video/avidemux-2.4.1/work/avidemux_build/avidemux/ADM_libraries/ADM_lavcodec/libADM_lavcodec.a(utils.o): In function `av_tempfile':
/var/tmp/portage/media-video/avidemux-2.4.1/work/avidemux_2.4.1/avidemux/ADM_libraries/ADM_lavcodec/utils.c:1372: warning: the use of `tempnam' is dangerous, better use `mkstemp'
/var/tmp/portage/media-video/avidemux-2.4.1/work/avidemux_build/avidemux/ADM_outputs/oplug_avi/liboplug_avi.a(op_avisave.o): In function `GenericAviSave::setupAudio()':
op_avisave.cpp:(.text+0x100a): undefined reference to `pthread_create'
/var/tmp/portage/media-video/avidemux-2.4.1/work/avidemux_build/avidemux/ADM_outputs/oplug_mp4/liboplug_mp4.a(oplug_mp4.o): In function `oplug_mp4(char const*, ADM_OUT_FORMAT)':
oplug_mp4.cpp:(.text+0xc0a): undefined reference to `pthread_create'
/var/tmp/portage/media-video/avidemux-2.4.1/work/avidemux_build/avidemux/ADM_outputs/oplug_mpeg/liboplug_mpeg.a(op_mpegpass.o): In function `mpeg_passthrough(char const*, ADM_OUT_FORMAT)':
op_mpegpass.cpp:(.text+0x850): undefined reference to `pthread_create'
op_mpegpass.cpp:(.text+0xc71): undefined reference to `pthread_create'
op_mpegpass.cpp:(.text+0xc9b): undefined reference to `pthread_create'
/var/tmp/portage/media-video/avidemux-2.4.1/work/avidemux_build/avidemux/ADM_outputs/oplug_mpegFF/liboplug_mpegFF.a(oplug_vcdff.o):oplug_vcdff.cpp:(.text+0xd59): more undefined references to `pthread_create' follow
/var/tmp/portage/media-video/avidemux-2.4.1/work/avidemux_build/avidemux/ADM_libraries/ADM_lavcodec/libADM_lavcodec.a(pthread.o): In function `avcodec_thread_free':
/var/tmp/portage/media-video/avidemux-2.4.1/work/avidemux_2.4.1/avidemux/ADM_libraries/ADM_lavcodec/pthread.c:94: undefined reference to `pthread_join'
/var/tmp/portage/media-video/avidemux-2.4.1/work/avidemux_build/avidemux/ADM_libraries/ADM_lavcodec/libADM_lavcodec.a(pthread.o): In function `avcodec_thread_init':
/var/tmp/portage/media-video/avidemux-2.4.1/work/avidemux_2.4.1/avidemux/ADM_libraries/ADM_lavcodec/pthread.c:156: undefined reference to `pthread_create'
/var/tmp/portage/media-video/avidemux-2.4.1/work/avidemux_build/avidemux/ADM_libraries/ADM_mplex/libADM_mplex.a(ADM_mplexmuxer.o): In function `mplexMuxer::open(char const*, unsigned int, ADM_MUXER_TYPE, aviInfo*, WAVHeader*)':
ADM_mplexmuxer.cpp:(.text+0x3f6): undefined reference to `pthread_create'
collect2: ld returned 1 exit status
make[2]: *** [avidemux/avidemux2_cli] Error 1
make[1]: *** [avidemux/CMakeFiles/avidemux2_cli.dir/all] Error 2
make: *** [all] Error 2

I have to mention, the entire system including this build is using LDFLAGS="-Wl,--as-needed"
Comment 1 Ben de Groot (RETIRED) gentoo-dev 2008-02-18 17:14:31 UTC
Will report this upstream.