Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 81795 - VICE 1.16 compilation fails with USE=ffmpeg
Summary: VICE 1.16 compilation fails with USE=ffmpeg
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-12 15:15 UTC by Gerry
Modified: 2005-02-14 01:24 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 Gerry 2005-02-12 15:15:10 UTC
When emerging vice 1.16, I get the following error:

--- 8< ---
(...)
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../../src -I../../../src/arch/unix -I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -I../../../src -I../../../src/drive -I../../../src/c64 -I../../../src/c128 -I../../../src/vic20 -I../../../src/pet -I../../../src/cbm2 -I../../../src/sid -I../../../src    -O2 -march=pentium3 -fomit-frame-pointer -pipe -c `test -f 'ffmpeglib.c' || echo './'`ffmpeglib.c
ffmpeglib.c: In function `ffmpeglib_open':
ffmpeglib.c:51: warning: assignment from incompatible pointer type
ffmpeglib.c:52: error: `__av_freep' undeclared (first use in this function)
ffmpeglib.c:52: error: (Each undeclared identifier is reported only once
ffmpeglib.c:52: error: for each function it appears in.)
ffmpeglib.c:58: warning: assignment from incompatible pointer type
make[5]: *** [ffmpeglib.o] Error 1
make[5]: *** Waiting for unfinished jobs....
make[5]: Leaving directory `/var/tmp/portage/vice-1.16/work/vice-1.16/src/arch/unix'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/var/tmp/portage/vice-1.16/work/vice-1.16/src/arch/unix'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/vice-1.16/work/vice-1.16/src/arch'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/vice-1.16/work/vice-1.16/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/var/tmp/portage/vice-1.16/work/vice-1.16/src'
make: *** [all-recursive] Error 1

!!! ERROR: app-emulation/vice-1.16 failed.
!!! Function src_compile, Line 47, Exitcode 2
!!! emake failed
!!! If you need support, post the topmost build error, NOT this status message.
--- 8< ---


Reproducible: Always
Steps to Reproduce:
Comment 1 Mr. Bones. (RETIRED) gentoo-dev 2005-02-12 18:29:29 UTC
reopen with the output from emerge --info
Comment 2 Mr. Bones. (RETIRED) gentoo-dev 2005-02-12 22:38:16 UTC
forgot to click the button.
Comment 3 Gerry 2005-02-13 03:38:05 UTC
Here's emerge --info as requested.  By the way, emerging it with USE=-ffmpeg made it compile, even though ffmpeg isn't in the IUSE flags of the ebuild.  ffmpeg version is 0.4.9_pre1.

--- 8< ---
# emerge --info
Portage 2.0.51-r15 (default-linux/x86/2004.3, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.10-gentoo-r6 i686)
=================================================================
System uname: 2.6.10-gentoo-r6 i686 Pentium III (Katmai)
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Jan 22 2005, 15:53:01)]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.59-r5
sys-devel/automake:  1.8.5-r1
sys-devel/binutils:  2.14.90.0.8-r1
sys-devel/libtool:   1.5.2-r5
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=pentium3 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium3 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms userpriv usersandbox"
GENTOO_MIRRORS="http://ftp.du.se/pub/os/gentoo"
LANG="nb_NO.UTF-8"
LC_ALL="nb_NO.UTF-8"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 16bit S3TC X Xaw3d a52 aac aalib acpi acpi4linux aim alsa amd apache2 apm asm async audiofile avi bash-completion bdf berkdb bitmap-fonts blender-game bzip2 cairo ccache cdda cddb cdio cdparanoia cdr cdrom chroot clamav codecs crypt css cups curl curlwrappers divx4linux dlopen droproot dts dvd dvdr dvdread dxr3 edl encode exif expat f77 faad fam fb fbcon fbdev ffmpeg flac flash fmod font-server foomaticdb fortran freetype ftp gcj gdbm gif gimp glitz gnome gpm gtk gtk2 hal icq image imap imlib imlib2 ipv6 jabber jack jack-tmpfs java jit jpeg kde kdeenablefinal ladspa libcaca libclamav libg++ libwww linguas_nb linguas_nb_NO linguas_no linguas_no_NO live logitech-mouse lua mad matroska md5sum mhash mikmod mime mixer mjpeg mmap mmx mmx2 mng motif mozilla mpeg mpeg2 mpeg4 mplayer msn music mysql native ncurses nls nptl nvidia oav objc ocaml ogg oggvorbis openal opengl oscar oss pam pdflib perl php physfs png python qemu-fast qt quicktime readline real ruby samba scanner sdk sdl spell sse ssl stencil-buffer stream svg svga tcpd theora threads tiff transcode truetype truetype-fonts type1-fonts unicode usb usepackagedmakefiles utf8 v4l v4l2 videos vidix vorbis wma123 wxwindows xanim xine xml xml2 xmms xrandr xscreensaver xv xvid zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, PORTDIR_OVERLAY
--- 8< ---
Comment 4 Mr. Bones. (RETIRED) gentoo-dev 2005-02-14 01:24:55 UTC
only works with ffmpeg-0.4.7 so ffmpeg support is now disabled.  I emailed upstream so hopefully later releases of vice will support the changed api of ffmpeg.