Summary: | transcode compilation crash - undeclared frame_rate in ffmpeg/avcodec.h | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Matus Tejiscak <ziman> |
Component: | [OLD] Library | Assignee: | Gentoo Media-video project <media-video> |
Status: | RESOLVED WONTFIX | ||
Severity: | normal | CC: | aoyu93, bgo, bss03, bugs-gentoo, emptymind, f.hammer, gentoo, kparent, m.debruijne, malte, moixa, patrick, pez, phajdan.jr, schnitzelkuchen, tim.heinrich, timmy, tomo.bbe |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 109253 | ||
Attachments: | Patch to get transcode to compile with recent ffmpeg versions |
Description
Matus Tejiscak
2005-09-11 03:41:42 UTC
I can confirm this bug too. Which ffmpeg version do you have? transcode should compile fine using ffmpeg-0.4.9_p20050226-r5. (In reply to comment #2) > Which ffmpeg version do you have? transcode should compile fine using > ffmpeg-0.4.9_p20050226-r5. I've got ffmpeg-0.4.9_p20050906. I had set the ACCEPT="~x86" option in my make.conf but I removed it after fetching the package, which I forgot to mention. I've been bitten by this bug too. Using ffmpeg-0.4.9-20050906. Portage 2.0.51.22-r2 (default-linux/x86/2005.1, gcc-3.4.3-20050110, glibc-2.3.5-r1, 2.6.13-ck5 i686) ================================================================= System uname: 2.6.13-ck5 i686 AMD Athlon(tm) 64 Processor 3000+ Gentoo Base System version 1.6.13 dev-lang/python: 2.3.5, 2.4.1-r1 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=athlon-xp -O2 -msse2 -msse -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/bind /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon-xp -O2 -msse2 -msse -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://mirrors.acm.cs.rpi.edu/gentoo/ http://ftp.du.se/pub/os/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://tesla/gentoo-portage" USE="x86 3dnow 3dnowext X a52 aac alsa apache2 apm audiofile avi berkdb bitmap-fonts bonobo cdparanoia cdr crypt cups curl dga dts dvd dvdr dvdread eds emboss encode esd ethereal fam fame ffmpeg flac foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2 gtkhtml imagemagick imap imlib irda irmc ithreads java jpeg ldap libg++ libwww lirc lzo mad mbox mikmod mjpeg mmx mmxext motif mozilla mp3 mpeg mysql mythtv ncurses network nls nptl nvidia oav offensive ogg oggvorbis opengl oss pam pcre pdf pdflib perl png posix ppds pthreads python qt quicktime readline rhythmbox samba sdl slang sndfile spell sse sse2 ssl svga tcpd tiff transcode truetype truetype-fonts type1-fonts v4l v4l2 vcd vorbis wifi win32codecs xine xml xml2 xmms xv xvid xvmc yv12 zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS *** Bug 107031 has been marked as a duplicate of this bug. *** I got this bug too (~amd64 here). I too resolved by declaring the missing fields, haven't tried if the resulting build has problems. Can it be that this version of transcode needs a different version of ffmpeg? (just throwing out random ideas) *** Bug 107738 has been marked as a duplicate of this bug. *** ffmpeg-0.4.9_p20050226-r5 works for me If we can't fix this we should add "=media-video/ffmpeg-0.4.9_p20050906" to package.mask. ffmpeg-0.4.9_p20050226-r5 works for me too. Just like everyone else, masking off 0.4.9_p20050906 and moving back to the previous version solved this problem for me. yes. me to Another confirmation on amd64. Also, bug may be related to 105597. emerge --info: Portage 2.0.53_rc5 (default-linux/amd64/2005.1, gcc-3.4.4, glibc-2.3.5-r2, 2.6.13-gentoo x86_64) ================================================================= System uname: 2.6.13-gentoo x86_64 Dual Core AMD Opteron(tm) Processor 275 Gentoo Base System version 1.12.0_pre8 distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.4 [enabled] dev-lang/python: 2.3.4-r1, 2.4.2 sys-apps/sandbox: 1.2.13 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-r1 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.20 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O3 -march=opteron -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib64/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d" CXXFLAGS="-O3 -march=opteron -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig buildpkg ccache distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" MAKEOPTS="-j5" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="amd64 X Xaw3d a52 aac aalib acl acpi alsa apm arts async audiofile avi bash-completion berkdb bidi bitmap-fonts bl bzip2 cdparanoia cdr crypt cscope css cups curl dbus dga directfb dts dv dvb dvd dvdr dvdread edl eds emacs emboss encode esd fam fame fbcon ffmpeg flac foomaticdb fortran fuse gdbm gif gnome gnutls gphoto2 gpm gstreamer gtk gtk2 guile hal howl ieee1394 imagemagick imlib ipv6 jack java javascript jpeg kde kdeenablefinal kerberos ldap lesstif libcaca libg++ libwww licaca lzo lzw lzw-tiff mad mikmod mjpeg mng motif mozilla mp3 mpeg mplayer musepack mysql ncurses nls nptl nsplugin odbc ogg oggvorbis opengl oss pam pda pdflib perl png postgres python qt quicktime readline real rtc samba sasl sblive sdl slang sndfile snmp spell ssl syslog tcltk tcpd tetex tga theora threads tidy tiff truetype truetype-fonts type1-fonts unicode usb userlocales v4l v4l2 vcd vorbis win32codecs wmf xanim xine xinerama xml xml2 xmms xpm xprint xv xvid zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS i can confirm that here, too. Anything to do against it, other than downgrading ? Seems to be a duplicate of bug #107176 Here's a proposed patch for transcode 0.6.14 and ffmpeg 0.4.9_p20050906. It may not be the "good" way and I still have to check up on ffmpeg's changelog for reference. But it seems to work fine for me. Try it if you're brave. Created attachment 70548 [details, diff]
Patch to get transcode to compile with recent ffmpeg versions
Patch at Comment #16 works here. I downloaded it to the files directory of my /usr/local/portage/media-video/transcode overlay and modified the transcode-0.6.14-r2.ebuild in the src_unpack() as indicated by the (+) lines: cd ${S} + cd export + epatch ${FILESDIR}/transcode-0.6.14-ffmpeg-0.4.9_p20050906.patch + + cd ${S} EPATCH_SUFFIX="patch" epatch ${WORKDIR}/${PATCH_VER}/ There's probably a cleaner way to do this but it works. Can this patch PLEASE be added to the portage tree? This bug is about a month old and you have to do some happy annoying package masking/unmasking to have a working transcode and ffmpeg on the same machine. *** Bug 107176 has been marked as a duplicate of this bug. *** Sorry for the delay, fixed in CVS, needs to wait for the mirrors to take up the patchset. The fix seems not to be in portage by now, is it? I just got this bug here at my machine. this bug is not fixed in portage.. today yet. I've synced almost 2 hours ago .. So maybe the patch wasn't included? Maybe something went wrong? Can this bug plz be reviewed? At least change its status/resolution, thx. Hi Diego, Somehow a working patch doesn't seem to be in the tree, can you (or anyone else) please reopen this bug, thanks! Still bugged as of today... Unmask transcode-1.0.2 and lzo-2 (given that you're not using anything else that's using lzo-1). transcode-0.6 is really being a pain to manage. |