Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 143596 - media-video/cinelerra-cvs-20060219 won't compile after media-libs/x264-svn-20060810 update
Summary: media-video/cinelerra-cvs-20060219 won't compile after media-libs/x264-svn-20...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Marc Hildebrand (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 143597
  Show dependency tree
 
Reported: 2006-08-11 11:32 UTC by Rodrigo Severo
Modified: 2006-10-23 08:20 UTC (History)
2 users (show)

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


Attachments
A fix. (x264.patch,1.40 KB, patch)
2006-08-27 04:55 UTC, Alexis Ballier
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Rodrigo Severo 2006-08-11 11:32:16 UTC
media-video/cinelerra-cvs-20060219 won't compile after media-libs/x264-svn-20060810 update:

 i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_MMX -DUSE_MMX -DX86_CPU -DHAVE_MMX -DHAVE_BUILTIN_VECTOR -D_GNU_SOURCE -DHAVE_AV_CONFIG_H -I./.. -O3 -march=i686 -fomit-frame-pointer -pipe -DSAVING_ALWAYS_PERMIT -MT x264.lo -MD -MP -MF .deps/x264.Tpo -c x264.c  -fPIC -DPIC -o .libs/x264.o
x264.c: In function `X264_init':
x264.c:139: error: structure has no member named `b_cbr'
distcc[600] ERROR: compile x264.c on localhost failed
make[5]: *** [x264.lo] Error 1
make[5]: Leaving directory `/var/tmp/portage/cinelerra-cvs-20060219/work/cinelerra-cvs-20060219/quicktime/ffmpeg/libavcodec'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/var/tmp/portage/cinelerra-cvs-20060219/work/cinelerra-cvs-20060219/quicktime/ffmpeg/libavcodec'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/cinelerra-cvs-20060219/work/cinelerra-cvs-20060219/quicktime/ffmpeg'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/cinelerra-cvs-20060219/work/cinelerra-cvs-20060219/quicktime'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/cinelerra-cvs-20060219/work/cinelerra-cvs-20060219'
make: *** [all] Error 2

!!! ERROR: media-video/cinelerra-cvs-20060219 failed.
Call stack:
  ebuild.sh, line 1539:   Called dyn_compile
  ebuild.sh, line 939:   Called src_compile
  cinelerra-cvs-20060219.ebuild, line 76:   Called die

!!! make failed

Is this a duplicate of Bug #143593?

# emerge --info
Portage 2.1-r2 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.3.6-r4, 2.6.17-gentoo-r4 i686)
=================================================================
System uname: 2.6.17-gentoo-r4 i686 AMD Athlon(tm) XP 2500+
Gentoo Base System version 1.12.4
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=i686 -fomit-frame-pointer -pipe -DSAVING_ALWAYS_PERMIT"
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"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O3 -march=i686 -fomit-frame-pointer -pipe -DSAVING_ALWAYS_PERMIT"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig buildpkg distcc distlocks fixpackages metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.ccccom.com http://gentoo.mirror.sdv.fr http://distro.ibiblio.org/pub/Linux/distributions/gentoo/ http://gentoo.osuosl.org/"
MAKEOPTS="-j5"
PKGDIR="/var/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/local/portage /usr/local/portage-fabrica"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X a52 aac aalib alsa apache2 apm arts audiofile avi bitmap-fonts bzip2 bzlib cddb cdparanoia cdr cli crypt cups dbus dga dlloader dri dts dvd dvdr edl eds emboss encode faac faad fame ffmpeg flac foomaticdb fortran gd gdbm gif gimpprint gmp gpm gtk2 hal imagemagick imlib isdnlog jbig jpeg jpeg2k kde kdeenablefinal lcms ldap libcaca libg++ libwww live lzo mad matroska md5sum mikmod mjpeg mmx mng motif mp3 mpeg musepack musicbrainz ncurses nls nptl ogg oggvorbis opengl oss pam pcre pdflib perl png ppds pppd python qt qt3 qt4 quicktime readline real reflection samba sdl session sndfile speex spell spl ssl subversion svg svga tcpd tga theora tiff truetype truetype-fonts type1-fonts udev unicode usb vcd vorbis win32codecs wmf x264 xine xinerama xml xmms xorg xv xvid xvmc zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux userland_GNU video_cards_nv video_cards_vesa video_cards_vga video_cards_fbdev video_cards_radeon"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Alexis Ballier gentoo-dev 2006-08-27 04:55:50 UTC
Created attachment 95194 [details, diff]
A fix.

Hi,
here is a patch I've made to fix this issue.
This bug is not a dupe of the ffmpeg one, because cinelerra comes with its own ffmpeg copy but it has the same fix.

This has been sent upstream too.

Regrads, 

Alexis.
Comment 2 Alexis Ballier gentoo-dev 2006-09-12 23:43:42 UTC
Cinelerra-cvs people have finished the cinelerra 2.1 merge and applied this patch, may be it's time for a new snapshot ;)
Comment 3 Alexis Ballier gentoo-dev 2006-10-20 14:35:35 UTC
Fixed in latest snapshot in the tree.
Comment 4 Mark 2006-10-22 18:19:26 UTC
Hello,
I fear there still seems to be a Problem with the actuel ebuild "cinelerra-cvs-20061020.ebuild":

mp3lameaudio.c:27:23: error: lame/lame.h: No such file or directory
mp3lameaudio.c:31: error: expected specifier-qualifier-list before 'lame_global_flags'
mp3lameaudio.c: In function 'MP3lame_encode_init':
mp3lameaudio.c:44: error: 'Mp3AudioContext' has no member named 'stereo'
mp3lameaudio.c:46: error: 'Mp3AudioContext' has no member named 'gfp'
mp3lameaudio.c:48: error: 'Mp3AudioContext' has no member named 'gfp'
mp3lameaudio.c:49: error: 'Mp3AudioContext' has no member named 'gfp'
mp3lameaudio.c:50: error: 'Mp3AudioContext' has no member named 'gfp'
mp3lameaudio.c:52: error: 'Mp3AudioContext' has no member named 'gfp'
mp3lameaudio.c:54: error: 'Mp3AudioContext' has no member named 'gfp'
mp3lameaudio.c:54: error: 'JOINT_STEREO' undeclared (first use in this function)
mp3lameaudio.c:54: error: (Each undeclared identifier is reported only once
mp3lameaudio.c:54: error: for each function it appears in.)
mp3lameaudio.c:55: error: 'Mp3AudioContext' has no member named 'gfp'
mp3lameaudio.c:56: error: 'Mp3AudioContext' has no member named 'gfp'
mp3lameaudio.c:57: error: 'Mp3AudioContext' has no member named 'gfp'
mp3lameaudio.c:60: error: 'Mp3AudioContext' has no member named 'gfp'
mp3lameaudio.c:68: error: 'Mp3AudioContext' has no member named 'gfp'
mp3lameaudio.c: In function 'MP3lame_encode_frame':
mp3lameaudio.c:141: error: 'Mp3AudioContext' has no member named 'stereo'
mp3lameaudio.c:143: error: 'Mp3AudioContext' has no member named 'gfp'
mp3lameaudio.c:146: error: 'Mp3AudioContext' has no member named 'buffer'
mp3lameaudio.c:146: error: 'Mp3AudioContext' has no member named 'buffer_index'
mp3lameaudio.c:147: error: 'Mp3AudioContext' has no member named 'buffer_index'
mp3lameaudio.c:151: error: 'Mp3AudioContext' has no member named 'gfp'
mp3lameaudio.c:155: error: 'Mp3AudioContext' has no member named 'buffer'
mp3lameaudio.c:155: error: 'Mp3AudioContext' has no member named 'buffer_index'
mp3lameaudio.c:156: error: 'Mp3AudioContext' has no member named 'buffer_index'
mp3lameaudio.c:161: error: 'Mp3AudioContext' has no member named 'gfp'
mp3lameaudio.c:162: error: 'Mp3AudioContext' has no member named 'buffer'
mp3lameaudio.c:162: error: 'Mp3AudioContext' has no member named 'buffer_index'
mp3lameaudio.c:163: error: 'Mp3AudioContext' has no member named 'buffer_index'
mp3lameaudio.c:169: error: 'Mp3AudioContext' has no member named 'buffer_index'
mp3lameaudio.c:169: error: 'Mp3AudioContext' has no member named 'buffer_index'
mp3lameaudio.c:173: error: 'Mp3AudioContext' has no member named 'buffer_index'
mp3lameaudio.c:175: error: 'Mp3AudioContext' has no member named 'buffer_index'
mp3lameaudio.c:178: error: 'Mp3AudioContext' has no member named 'buffer'
mp3lameaudio.c:180: error: 'Mp3AudioContext' has no member named 'buffer_index'
mp3lameaudio.c:181: error: 'Mp3AudioContext' has no member named 'buffer'
mp3lameaudio.c:182: error: 'Mp3AudioContext' has no member named 'buffer_index'
mp3lameaudio.c:184: error: 'Mp3AudioContext' has no member named 'buffer'
mp3lameaudio.c:184: error: 'Mp3AudioContext' has no member named 'buffer'
mp3lameaudio.c:184: error: 'Mp3AudioContext' has no member named 'buffer_index'
mp3lameaudio.c: In function 'MP3lame_encode_close':
mp3lameaudio.c:200: error: 'Mp3AudioContext' has no member named 'gfp'
make[5]: *** [mp3lameaudio.lo] Error 1
make[5]: *** Waiting for unfinished jobs....
make[5]: Leaving directory `/var/tmp/portage/cinelerra-cvs-20061020/work/cinelerra-cvs-20061020/quicktime/ffmpeg/libavcodec'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/var/tmp/portage/cinelerra-cvs-20061020/work/cinelerra-cvs-20061020/quicktime/ffmpeg/libavcodec'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/cinelerra-cvs-20061020/work/cinelerra-cvs-20061020/quicktime/ffmpeg'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/cinelerra-cvs-20061020/work/cinelerra-cvs-20061020/quicktime'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/cinelerra-cvs-20061020/work/cinelerra-cvs-20061020'
make: *** [all] Error 2

!!! ERROR: media-video/cinelerra-cvs-20061020 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  cinelerra-cvs-20061020.ebuild, line 73:   Called die

!!! make failed
!!! If you need support, post the topmost build error, and the call stack if relevant.

Comment 5 Alexis Ballier gentoo-dev 2006-10-22 23:12:18 UTC
Right, that was due to a missing dep on media-sound/lame, now it is fixed.
You can either emerge -1 media-sound/lame or wait until the modification is propagated to your rsync server.

Alexis.
Comment 6 Mark 2006-10-23 08:20:55 UTC
Thanks for your fast response, Alexis.
The "quickfix" worked flawless.

Regards,

Mark