Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 168683 - media-video/transcode needs libsdl w/ USE=X
Summary: media-video/transcode needs libsdl w/ USE=X
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High trivial (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
: 171324 192582 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-02-28 05:58 UTC by Moonfire
Modified: 2009-08-22 02:39 UTC (History)
3 users (show)

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


Attachments
this is the build log (build.log,385.63 KB, text/plain)
2007-02-28 06:01 UTC, Moonfire
Details
transcode-1.0.6_rc2-r1.diff (transcode-1.0.6_rc2-r1.diff,596 bytes, patch)
2008-05-16 03:37 UTC, Ryan Hill (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Moonfire 2007-02-28 05:58:59 UTC
The building of transcode crashes. Changes of the USE Flags dont help. The emerge Process needs an User, but this is not correct.

Reproducible: Always

Steps to Reproduce:
1. Building of media-video/transcode-1.0.2-r4
2. media-video/transcode-1.0.2-r4 [1.0.2-r3] USE="3dnow X a52 dv* dvdread fame gtk imagemagick jpeg mjpeg mmx mp3 mpeg network ogg quicktime sdl sse sse2 truetype v4l2 vorbis xml xvid (-altivec) -extrafilters* -lzo -theora"

Actual Results:  
 x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -D_REENTRANT -DMOD_PATH=\"/usr/lib64/transcode\" -I../.. -I../../filter -I../../src -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -I/usr/include/SDL -Wall -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -march=athlon64 -O2 -pipe -msse3 -DDCT_YUV_PRECISION=1 -MT pv.lo -MD -MP -MF .deps/pv.Tpo -c pv.c  -fPIC -DPIC -o .libs/pv.o
pv.c: In function 'xv_display_Xv_init':
pv.c:446: warning: pointer targets in passing argument 3 of 'XvQueryAdaptors' differ in signedness
mv -f .deps/pv.Tpo .deps/pv.Plo
mv -f .deps/filter_preview.Tpo .deps/filter_preview.Plo
display.c: In function 'dv_display_Xv_init':
display.c:405: warning: pointer targets in passing argument 3 of 'XvQueryAdaptors' differ in signedness
display.c:567: warning: pointer targets in passing argument 4 of 'XvShmCreateImage' differ in signedness
display.c:574: warning: pointer targets in assignment differ in signedness
display.c:574: warning: pointer targets in assignment differ in signedness
display.c: In function 'dv_center_window':
display.c:595: error: 'SDL_SysWMinfo' has no member named 'subsystem'
display.c:595: error: 'SDL_SYSWM_X11' undeclared (first use in this function)
display.c:595: error: (Each undeclared identifier is reported only once
display.c:595: error: for each function it appears in.)
display.c:596: error: 'SDL_SysWMinfo' has no member named 'info'
display.c:597: error: 'SDL_SysWMinfo' has no member named 'info'
display.c:597: error: 'SDL_SysWMinfo' has no member named 'info'
display.c:599: error: 'SDL_SysWMinfo' has no member named 'info'
display.c:599: error: 'SDL_SysWMinfo' has no member named 'info'
display.c:603: error: 'SDL_SysWMinfo' has no member named 'info'
display.c:603: error: 'SDL_SysWMinfo' has no member named 'info'
display.c:604: error: 'SDL_SysWMinfo' has no member named 'info'
make[3]: *** [display.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
 x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -D_REENTRANT -DMOD_PATH=\"/usr/lib64/transcode\" -I../.. -I../../filter -I../../src -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -I/usr/include/SDL -Wall -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -march=athlon64 -O2 -pipe -msse3 -DDCT_YUV_PRECISION=1 -MT filter_pv.lo -MD -MP -MF .deps/filter_pv.Tpo -c filter_pv.c  -fPIC -DPIC -o .libs/filter_pv.o
mv -f .deps/filter_pv.Tpo .deps/filter_pv.Plo
make[3]: Leaving directory `/var/tmp/portage/media-video/transcode-1.0.2-r4/work/transcode-1.0.2/filter/preview'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/media-video/transcode-1.0.2-r4/work/transcode-1.0.2/filter'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/media-video/transcode-1.0.2-r4/work/transcode-1.0.2'
make: *** [all] Error 2

!!! ERROR: media-video/transcode-1.0.2-r4 failed.
Call stack:
  ebuild.sh, line 1614:   Called dyn_compile
  ebuild.sh, line 971:   Called qa_call 'src_compile'
  environment, line 3797:   Called src_compile
  transcode-1.0.2-r4.ebuild, line 132:   Called die

!!! (no error message)
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/tmp/portage/media-video/transcode-1.0.2-r4/temp/build.log'.
Comment 1 Moonfire 2007-02-28 06:00:08 UTC
moonX moonfire # emerge --info
Portage 2.1.2-r9 (default-linux/amd64/2006.1, gcc-4.1.2, glibc-2.5-r0, 2.6.19 x86_64)
=================================================================
System uname: 2.6.19 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 3800+
Gentoo Base System release 1.12.9
Timestamp of tree: Tue, 27 Feb 2007 18:30:01 +0000
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.31-r3
dev-lang/python:     2.4.4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.23b
virtual/os-headers:  2.6.20
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe -msse3"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /var/bind"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=athlon64 -O2 -pipe -msse3"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ ftp://trumpetti.atm.tut.fi/gentoo/ ftp://mirror.ovh.net/gentoo-distfiles/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo "
LINGUAS="en"
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/portage/local/layman/enlightenment /usr/portage/local/layman/pro-audio /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="64bit aac aalib acl acpi alsa amd64 apache2 asf berkdb bitmap-fonts bzip2 cli cracklib crypt cups dbus debug divx dri dvd dvdr dvdread fam fame flac fortran freetype gdbm gpm hal iconv ipv6 jack java ldap libg++ mailbox maildir matroska midi mmx2 mp3 mp4 mpeg mpeg2 mpeg4 mplayer musicbrainz mysql ncurses nls nptl nptlonly nvidia nvtv pam pcre perl ppds pppd python readline reflection session smp spl ssl tcpd threads tiff truetype-fonts type1-fonts unicode usb utf8 v4l v4l2 vcd wma wma123 wmf wmv wxwindows x264 xine xinerama xorg xv zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="fbdev nv nvidia vesa"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Comment 2 Moonfire 2007-02-28 06:01:32 UTC
Created attachment 111513 [details]
this is the build log
Comment 3 Steve Dibb (RETIRED) gentoo-dev 2007-03-16 22:56:27 UTC
Try with -sdl
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2007-03-18 09:55:06 UTC
*** Bug 171324 has been marked as a duplicate of this bug. ***
Comment 5 Samuli Suominen (RETIRED) gentoo-dev 2007-04-02 22:10:54 UTC
Try re-emerging libsdl with USE="X" first, then transcode.. Looks like libsdl is compiled without libXt for some reason.
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2007-09-15 09:09:25 UTC
*** Bug 192582 has been marked as a duplicate of this bug. ***
Comment 7 Jakub Moc (RETIRED) gentoo-dev 2007-09-15 09:10:25 UTC
Reopen.
Comment 8 Steve Dibb (RETIRED) gentoo-dev 2008-05-15 20:41:12 UTC
my gosh this bug is old, added a check in transcode-1.0.6_rc2-r1
Comment 9 Steve Dibb (RETIRED) gentoo-dev 2008-05-15 20:44:32 UTC
(In reply to comment #8)
> my gosh this bug is old, added a check in transcode-1.0.6_rc2-r1
> 

and transcode-1.1.0_alpha7-r1
Comment 10 Martin Walch 2008-05-15 21:46:42 UTC
I just tried it on amd64 with different USE flags, libsdl-1.2.11-r2 and transcode-1.0.4, especially with -X. I did not encounter any error.
Comment 11 Ryan Hill (RETIRED) gentoo-dev 2008-05-16 03:37:58 UTC
Created attachment 153271 [details, diff]
transcode-1.0.6_rc2-r1.diff

pkg_setup will fail if libsdl isn't already installed.
Comment 12 Ryan Hill (RETIRED) gentoo-dev 2008-05-16 03:38:29 UTC
reopen
Comment 13 Steve Dibb (RETIRED) gentoo-dev 2008-05-24 02:48:52 UTC
fixed in cvs
Comment 14 Matt 2009-03-26 16:37:07 UTC
transcode will also fail to build with a libsdl that is missing "video audio joystick" USE flags.  I'm not sure exactly which one but probably video, I heeded the warning and enabled them all. (exactly the same errors as the original message on this bug, that's how I found it)

It may save someone some confusion to also check at least the sdl video flag in this ebuild.

Comment 15 * 2009-08-22 02:39:01 UTC
I'm getting the same error as the original even though libsdl is built with X.  This is with (stable) transcode-1.0.7.

Actually it's failed for me for a couple years now so I always emerge with -sdl.  Not a big deal but it's still broken.