Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 187699 - app-emulation/vice-1.22 fails to compile with media-video/ffmpeg-0.4.9_p20070616
Summary: app-emulation/vice-1.22 fails to compile with media-video/ffmpeg-0.4.9_p20070616
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
: 196692 196750 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-08-04 09:29 UTC by Christian Lemke
Modified: 2007-11-07 19:31 UTC (History)
5 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 Christian Lemke 2007-08-04 09:29:31 UTC
vice fails to compile with the following error(s):

i686-pc-linux-gnu-gcc -O2 -march=prescott -mfpmath=sse -pipe -I/usr/kde/3.5/include/artsc -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -Wl,-O1 -Wl,-z,now -Wl,--as-needed -o xcbm2  alarm.o attach.o autostart.o charset.o clkguard.o cmdline.o cbmdos.o cbmimage.o color.o crc32.o datasette.o debug.o dma.o emuid.o event.o findpath.o fliplist.o gcr.o info.o init.o initcmdline.o interrupt.o ioutil.o joystick.o kbdbuf.o keyboard.o lib.o log.o machine-bus.o machine.o main.o mouse.o network.o palette.o ram.o rawfile.o resources.o romset.o screenshot.o snapshot.o sound.o sysfile.o translate.o traps.o util.o vsync.o zfile.o zipcode.o ../src/cbm2/libcbm2.a ../src/drive/iecieee/libdriveiecieee.a ../src/drive/ieee/libdriveieee.a ../src/drive/libdrive.a ../src/parallel/libparallel.a ../src/vdrive/libvdrive.a ../src/sounddrv/libsounddrv.a ../src/gfxoutputdrv/libgfxoutputdrv.a ../src/printerdrv/libprinterdrv.a ../src/rs232drv/librs232drv.a ../src/monitor/libmonitor.a ../src/diskimage/libdiskimage.a ../src/fsdevice/libfsdevice.a ../src/tape/libtape.a ../src/imagecontents/libimagecontents.a ../src/fileio/libfileio.a ../src/serial/libserial.a ../src/core/libcore.a ../src/sid/libsid.a ../src/crtc/libcrtc.a ../src/vicii/libvicii.a ../src/raster/libraster.a ../src/video/libvideo.a ../src/arch/unix/libarch.a ../src/arch/unix/gui/libarchgui.a ../src/arch/unix/x11/libx11ui.a ../src/arch/unix/x11/xaw/libxawui.a ../src/arch/unix/x11/xaw/widgets/libwidgets.a ../src/arch/unix/libarch.a ../src/arch/unix/gui/libarchgui.a ../src/arch/unix/x11/libx11ui.a        -lXrandr -lXxf86dga -lXxf86dga -lXxf86vm -lGL -lXaw -lXpm -lXmu -lXt -lXv -lXext -lX11 -lSM -lICE -lbsd -lnsl   -ljpeg -lgif -lpng -lreadline -lbsd -lavformat -lmp3lame -lavcodec -lavutil -lnet -lbsd -lnsl -lz -lm  -L/usr/kde/3.5/lib -ldl -lartsc -lpthread -lgmodule-2.0 -ldl -lgthread-2.0 -lrt -lglib-2.0 -lSDL -lpthread  -lasound -lmp3lame
../src/arch/unix/libarch.a(ffmpeglib.o): In function `ffmpeglib_open':
ffmpeglib.c:(.text+0x39): undefined reference to `img_convert'
collect2: ld gab 1 als Ende-Status zurück
i686-pc-linux-gnu-gcc -O2 -march=prescott -mfpmath=sse -pipe -I/usr/kde/3.5/include/artsc -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -Wl,-O1 -Wl,-z,now -Wl,--as-needed -o petcat  charset.o findpath.o ioutil.o lib.o log.o petcat.o rawfile.o resources.o util.o zfile.o zipcode.o ../src/arch/unix/archdep.o ../src/fileio/libfileio.a  -ljpeg -lgif -lpng -lreadline -lbsd -lavformat -lmp3lame -lavcodec -lavutil -lnet -lbsd -lnsl -lz -lm  -L/usr/kde/3.5/lib -ldl -lartsc -lpthread -lgmodule-2.0 -ldl -lgthread-2.0 -lrt -lglib-2.0 -lSDL -lpthread  -lasound -lmp3lame
make[3]: *** [xplus4] Fehler 1
make[3]: *** Warte auf noch nicht beendete Prozesse...
../src/arch/unix/libarch.a(ffmpeglib.o): In function `ffmpeglib_open':
ffmpeglib.c:(.text+0x39): undefined reference to `img_convert'
collect2: ld gab 1 als Ende-Status zurück
make[3]: *** [x128] Fehler 1
../src/arch/unix/libarch.a(ffmpeglib.o): In function `ffmpeglib_open':
ffmpeglib.c:(.text+0x39): undefined reference to `img_convert'
collect2: ld gab 1 als Ende-Status zurück
make[3]: *** [xcbm2] Fehler 1
make[3]: Leaving directory `/var/tmp/portage/app-emulation/vice-1.21-r1/work/vice-1.21/src'
make[2]: *** [all-recursive] Fehler 1
make[2]: Leaving directory `/var/tmp/portage/app-emulation/vice-1.21-r1/work/vice-1.21/src'
make[1]: *** [all] Fehler 2
make[1]: Leaving directory `/var/tmp/portage/app-emulation/vice-1.21-r1/work/vice-1.21/src'
make: *** [all-recursive] Fehler 1


Reproducible: Always

Steps to Reproduce:
1.emerge vice
Actual Results:  
compile error(s)

Expected Results:  
no compile error(s)

# emerge --info
Portage 2.1.3.3 (default-linux/x86/2006.1, gcc-4.2.0, glibc-2.6-r0, 2.6.22-gentoo-r1 i686)
=================================================================
System uname: 2.6.22-gentoo-r1 i686 Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz
Gentoo Base System release 1.12.10
Timestamp of tree: Sat, 04 Aug 2007 07:20:01 +0000
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r6
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17-r1
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.22-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=prescott -mfpmath=sse -pipe"
CHOST="i686-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/www/localhost/htdocs"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -march=prescott -mfpmath=sse -pipe"
DISTDIR="/mnt/D/distfiles"
FEATURES="distlocks sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://ftp.tu-ilmenau.de/Mirrors/gentoo http://mirrors.sec.informatik.tu-darmstadt.de/gentoo"
LANG="de_DE@euro"
LC_ALL="de_DE@euro"
LDFLAGS="-Wl,-O1 -Wl,-z,now -Wl,--as-needed"
LINGUAS="de en"
MAKEOPTS="-j6"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/rsync_excludes"
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 --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/lila-theme /usr/portage/local/layman/zugaina /usr/portage/local/layman/sunrise /usr/portage/local/layman/gentoo-de /usr/portage/local/layman/xwing /usr/portage/local/layman/vmware /usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X aac acpi alsa arts bash-completion berkdb bitmap-fonts branding bzip2 cairo cdinstall cdparanoia cdr cli cracklib crypt cups d dbus doc dri dts dv dvd dvdr dvdread encode exif expat fbcon ffmpeg fuse gdbm gif glut gmp gphoto2 gpm hal iconv idn imagemagick ipv6 isdnlog java jikes jpeg jpeg2k kde kdeenablefinal kdehiddenvisibility libg++ lm_sensors mad matroska midi mmx mng mp3 mudflap musepack mysql ncurses nls nptl nptlonly nvidia ogg opengl openmp pam pcre pdf perl pertty png ppds pppd python qt3 qt4 rdesktop readline reflection samba sasl scanner sdl session slang source spl sqlite sqlite3 sse sse2 ssl svga tcpd theora threads tiff truetype truetype-fonts type1-fonts usb vcd vim-syntax vorbis win32codecs x86 xine xml xorg xprint xv xvid xvmc zlib" ALSA_CARDS="emu10k1 hda-intel" 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" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de en" USERLAND="GNU" VIDEO_CARDS="v4l nvidia nv"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS
Comment 1 Geert Vanhaute 2007-08-19 16:39:42 UTC
Same here on ~amd64
media-video/ffmpeg-0.4.9_p20070616-r1
app-emulation/vice-1.21-r1
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-10-22 07:40:01 UTC
*** Bug 196692 has been marked as a duplicate of this bug. ***
Comment 3 Mr. Bones. (RETIRED) gentoo-dev 2007-10-22 22:01:53 UTC
*** Bug 196750 has been marked as a duplicate of this bug. ***
Comment 4 Sven Müller 2007-10-31 10:31:01 UTC
Same error here on ~x86
app-emulation/vice-1.22
media-video/ffmpeg-0.4.9_p20070616-r2
Comment 5 Wulf Krueger (RETIRED) gentoo-dev 2007-11-07 06:28:33 UTC
Vice-1.22 compiles fine using =media-video/ffmpeg-0.4.9_p20070616. 

ffmpeg-0.4.9_p20070616-r1 already has the swscaler stuff which seems to disable the old interfaces (part of which is img_convert) as can be found out rather easily by searching our Bugzilla.

-r1 ff. enables swscaler unconditionally:

        myconf="${myconf} --enable-gpl --enable-pp \
                        --enable-swscaler --disable-strip"

Seeing that this bug and at least 5 others (not counting quite a few dupes) have been open and seen no progress for quite some time, I'm cc'ing media-video in the hope they might have an idea or maybe add a USE flag for swscaler to ffmpeg so that older software (older than about 4 months :-) ) can do a built_with_use check.

games might want to poke the Vice upstream about this which I haven't done yet because I'm not entirely sure I've understood the whole thing completely.
Comment 6 Alexis Ballier gentoo-dev 2007-11-07 07:42:29 UTC
(In reply to comment #5)
> in the hope they might have an idea or maybe add a USE flag for swscaler to
> ffmpeg so that older software (older than about 4 months :-) ) can do a
> built_with_use check.

definitely not a good idea imho: if you enable swscaler, img_* functions dont get compiled, what changes the abi. And of course the .so number is the same...
Comment 7 Samuli Suominen (RETIRED) gentoo-dev 2007-11-07 18:47:02 UTC
(In reply to comment #6)
> (In reply to comment #5)
> > in the hope they might have an idea or maybe add a USE flag for swscaler to
> > ffmpeg so that older software (older than about 4 months :-) ) can do a
> > built_with_use check.
> 
> definitely not a good idea imho: if you enable swscaler, img_* functions dont
> get compiled, what changes the abi. And of course the .so number is the same...
> 

I have to agree with Alexis here. Vice should support swscaler.
Comment 8 Wulf Krueger (RETIRED) gentoo-dev 2007-11-07 19:02:23 UTC
(In reply to comment #6)
> definitely not a good idea imho: if you enable swscaler, img_* functions dont
> get compiled, what changes the abi. And of course the .so number is the same...

Yes, true. I hadn't thought of that. And, yes, Vice should support it but it might take quite some time till it does. Thus, I'd suggest to restrict the dependency to  
=media-video/ffmpeg-0.4.9_p20070616 for now.
Comment 9 Samuli Suominen (RETIRED) gentoo-dev 2007-11-07 19:13:47 UTC
(In reply to comment #8)
> (In reply to comment #6)
> > definitely not a good idea imho: if you enable swscaler, img_* functions dont
> > get compiled, what changes the abi. And of course the .so number is the same...
> 
> Yes, true. I hadn't thought of that. And, yes, Vice should support it but it
> might take quite some time till it does. Thus, I'd suggest to restrict the
> dependency to  
> =media-video/ffmpeg-0.4.9_p20070616 for now.

Then USE ffmpeg needs also to be package.use.masked or else it will cause deptree creation failure (upgrade-downgrade cycling) for users. There are
packages in tree that need swscaler allready and are depending on >=media-video/ffmpeg-0.4.9_p20070616-r1, like xvidcap and ffmpeg2theora.
> 

Comment 10 Mr. Bones. (RETIRED) gentoo-dev 2007-11-07 19:31:47 UTC
I removed ffmpeg support from vice for now.  We'll pick it up at a later release.