Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 232364 - games-arcade/stepmania-3.9 fails to build. Looks for avformat.h in wrong place
Summary: games-arcade/stepmania-3.9 fails to build. Looks for avformat.h in wrong place
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Samuli Suominen (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-19 17:37 UTC by Angelo Arrifano (RETIRED)
Modified: 2008-07-31 19:12 UTC (History)
1 user (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 Angelo Arrifano (RETIRED) gentoo-dev 2008-07-19 17:37:53 UTC
(...)
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I.  -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT   -finline-limit=300   -march=k8 -Os -msse3 -pipe -c -o LightsDriver_SystemMessage.o `test -f 'arch/Lights/LightsDriver_SystemMessage.cpp' || echo './'`arch/Lights/LightsDriver_SystemMessage.cpp
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I.  -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT   -finline-limit=300   -march=k8 -Os -msse3 -pipe -c -o LightsDriver_LinuxWeedTech.o `test -f 'arch/Lights/LightsDriver_LinuxWeedTech.cpp' || echo './'`arch/Lights/LightsDriver_LinuxWeedTech.cpp
arch/MovieTexture/MovieTexture_FFMpeg.cpp:28:34: error: libavformat/avformat.h: No such file or directory
arch/MovieTexture/MovieTexture_FFMpeg.cpp:38: error: variable or field 'img_convert__' declared void
arch/MovieTexture/MovieTexture_FFMpeg.cpp:38: error: 'AVPicture' was not declared in this scope
(...)

--------------------------------

media-video/ffmpeg-0.4.9_p20070616
games-arcade/stepmania-3.9  USE="ffmpeg gtk jpeg vorbis -debug -force-oss -mad"

by including 'ffmpeg/avformat.h' instead, the ebuild emerged fine.

PS: USE="-ffmpeg" didn't work but I saw this being discussed on another bug.

--------------------------------

Portage 2.1.4.4 (default-linux/amd64/2007.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.24-gentoo-r8 x86_64)
=================================================================
System uname: 2.6.24-gentoo-r8 x86_64 AMD Turion(tm) 64 X2 Mobile Technology TL-56
Timestamp of tree: Tue, 08 Jul 2008 20:38:01 +0000
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.4.4-r13
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r2
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -Os -msse3 -pipe"
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/config /var/bind"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /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 /etc/udev/rules.d"
CXXFLAGS="-march=k8 -Os -msse3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache collision-protect distlocks metadata-transfer multilib-strict parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://cesium.di.uminho.pt/pub/gentoo/"
LANG="en_US.ISO-8859-1"
LINGUAS="en pt pt_PT"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/portage/local/layman/synce"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acpi alsa amd64 amr amrnb amrwb bash-completion berkdb branding bzip2 cairo cli cracklib crypt cups dbus devhelp divx doc dvd dvdr emerald encode exif fam ffmpeg firefox flac fortran gd gdbm gif gimp glade glib glitz gnutls gstreamer gtk gtkspell hal hddtemp iconv ieee1394 imagemagick insecure-savers isdnlog javascript jpeg jpeg2k kdepim kqemu lame laptop libcaca libnotify midi mmx mmxext mp2 mp3 mp4 mpeg mplayer mudflap musicbrainz mysql ncurses nls nptl nptlonly offensive ogg opengl openmp pam pcre png pppd python quicktime readline realmedia reflection samba sdl session smp sndfile sourceview spell spl sse sse2 ssl stream svg syslog taglib tcpd threads tiff truetype type1 unicode v4l v4l2 vhosts vim-syntax vorbis wifi wmp xcomposite xfs xorg xosd xpm xscreensaver xvid zlib" ALSA_CARDS="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" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CAMERAS="spca50x" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev synaptics joystick" KERNEL="linux" LCD_DEVICES="xosd" LINGUAS="en pt pt_PT" USERLAND="GNU" VIDEO_CARDS="nv nvidia none"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2008-07-29 19:03:13 UTC
(In reply to comment #0)
> media-video/ffmpeg-0.4.9_p20070616

Because of..

  21 Jun 2008; Hanno Boeck <hanno@gentoo.org>
  +files/stepmania-3.9-newffmpeg.diff, stepmania-3.9.ebuild:
  Fix paths for latest ffmpeg.

..it needs now

  29 Jul 2008; Samuli Suominen <drac@gentoo.org> stepmania-3.9.ebuild:
  Bump ffmpeg dep. for last change to 0.4.9_p20080326 wrt #232364.
Comment 2 Jyrki Launonen 2008-07-31 14:52:47 UTC
I don't mind that USE=ffmpeg pulls the currently unstable 2008-version as
dependency, but I do mind that stepmania won't build anymore with stable ffmpeg
(2007). I'm suggesting, that line
  epatch "${FILESDIR}/${P}-newffmpeg.diff"
would be changed to 
  has_version >=media-video/ffmpeg-0.4.9_p20080326 && epatch "${FILESDIR}/${P}-newffmpeg.diff"
or something at some point of time, which at least makes stepmania to build with old stable.