Summary: | media-libs/libquicktime-1.0.3 fails to emerge. | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Mieszko Ślusarczyk <mieszkoslusarczyk> |
Component: | Current packages | Assignee: | Gentoo Media-video project <media-video> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | mike, Thomas.Rausch |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Mieszko Ślusarczyk
2008-09-09 21:03:21 UTC
(In reply to comment #0) > audio.Tpo -c audio.c -fPIC -DPIC -o .libs/audio.o > audio.c: In function ‘lqt_ffmpeg_decode_audio’: > audio.c:674: error: ‘AVCodecContext’ has no member named > ‘bits_per_sample’ > make[3]: *** [audio.lo] Błąd 1 That's what happens when you use live and unsupported ebuilds of ffmpeg. Please send a patch upstream instead. Ummm, I don't think that conclusion is correct. My ffmpeg is stable in the official portage tree: <SNIP> audio.c:673:44: error: missing binary operator before token "(" audio.c: In function ‘lqt_ffmpeg_decode_audio’: audio.c:676: error: ‘AVCodecContext’ has no member named ‘bits_per_coded_sample’ make[3]: *** [audio.lo] Error 1 make[3]: *** Waiting for unfinished jobs.... i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../../include -I/usr/include/ffmpeg -I/usr/include/ffmpeg -DLOCALE_DIR=\"/usr/share/locale\" -O2 -march=pentium4 -fomit-frame-pointer -fforce-addr -pipe -finline-functions -Wall -Winline -MT lqt_ffmpeg.lo -MD -MP -MF .deps/lqt_ffmpeg.Tpo -c lqt_ffmpeg.c -o lqt_ffmpeg.o >/dev/null 2>&1 mv -f .deps/lqt_ffmpeg.Tpo .deps/lqt_ffmpeg.Plo make[3]: Leaving directory `/var/tmp/portage/media-libs/libquicktime-1.0.3/work/libquicktime-1.0.3/plugins/ffmpeg' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/media-libs/libquicktime-1.0.3/work/libquicktime-1.0.3/plugins' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/media-libs/libquicktime-1.0.3/work/libquicktime-1.0.3' make: *** [all] Error 2 * * ERROR: media-libs/libquicktime-1.0.3 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 2363: Called die * The specific snippet of code: * emake || die "emake failed" * The die message: * emake failed * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/media-libs/libquicktime-1.0.3/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/media-libs/libquicktime-1.0.3/temp/environment'. * kirk ~ # equery list ffmpeg [ Searching for package 'ffmpeg' in all categories among: ] * installed packages [I--] [ ] media-video/ffmpeg-0.4.9_p20070616 (0) kirk ~ # equery which ffmpeg /usr/portage/media-video/ffmpeg/ffmpeg-0.4.9_p20070616.ebuild kirk ~ # grep KEYWORDS $(equery which ffmpeg) KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd" kirk ~ # emerge --info Portage 2.1.4.4 (default/linux/x86/2008.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.23-gentoo-r9 i686) ================================================================= System uname: 2.6.23-gentoo-r9 i686 Intel(R) Pentium(R) 4 CPU 2.53GHz Timestamp of tree: Wed, 24 Sep 2008 00:20:01 +0000 app-shells/bash: 3.2_p33 dev-java/java-config: 1.3.7, 2.1.6 dev-lang/python: 2.5.2-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.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.23-r3 ACCEPT_KEYWORDS="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -fforce-addr -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/config /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /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/terminfo /etc/udev/rules.d" CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -fforce-addr -pipe" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS=" --with-bdeps y" FEATURES="buildpkg collision-protect distlocks fixpackages parallel-fetch sandbox sfperms strict unmerge-orphans userfetch userpriv userpriv_fakeroot usersandbox verify-rdepend" GENTOO_MIRRORS="http://gentoo.chem.wisc.edu/gentoo" LANG="en_US.UTF-8" LC_ALL="en_US.UTF-8" LDFLAGS="-Wl,-O1" LINGUAS="en en_US" MAKEOPTS="-j2" 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/portage/local/layman/nerone /usr/portage/local/layman/sunrise /usr/portage/local/layman/pythonhead /usr/local/portage" SYNC="rsync://rsync.nerone.org/gentoo-portage" USE="X a52 aac acl acpi alsa amr apache2 audiofile avahi bash-completion bluetooth branding bsf bzip2 cairo caps cddb cdparanoia cdr cli cracklib crypt css cups curl dbus dri dts dv dvd dvdr dvdread emboss encode evo exif expat fam fame fastcgi fat ffmpeg fftw firefox flac flash ftp gd gdbm geoip gif glut gmp gnutls gphoto2 gpm gtk hal hbci iconv idn imagemagick imap imlib ipv6 isdnlog ithreads jack java javascript jpeg kde kdeenablefinal kdehiddenvisibility kipi lame lcms libnotify lighttpd live logitech-mouse lzo mad matroska mcal memlimit midi mikmod mjpeg mmap mmx mng mozilla mp3 mp4 mpeg mplayer mudflap musepack musicbrainz mysql ncurses network network-cron nls nntp nptl nptlonly nsplugin ntfs offensive ofx ogg openexr opengl pam pcre pdf perl physfs png postgres ppds pppd python qt3 qt3support qt4 quicktime rdesktop readline real reflection reiserfs resolvconf rtc sasl sdl session slp speex spell spl sqlite sse sse2 ssl startup-notification svg symlink sysfs syslog theora threads threadsafe thunderbird tidy tiff truetype unicode usb utempter utf8 vcd video vim-syntax vnc vorbis webdav win32codecs x264 x86 xattr xcb xcomposite xine xml xorg xosd xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="alias auth_basic authn_alias authn_default authn_file authz_default authz_groupfile authz_host authz_user autoindex dav dav_fs dir env include info log_config mime mime_magic negotiation proxy proxy_http rewrite setenvif status unique_id" APACHE2_MPMS="event" CAMERAS="canon directory ptp2" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US" USERLAND="GNU" VIDEO_CARDS="nvidia" Unset: CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS This bug isn't invalid. throbber adam # equery l ffmpeg [ Searching for package 'ffmpeg' in all categories among: ] * installed packages [I--] [ ] media-video/ffmpeg-0.4.9_p20070616 (0) throbber adam # ls /usr/portage/media-video/ffmpeg/ ChangeLog ffmpeg-0.4.9_p20070616-r2.ebuild files ffmpeg-0.4.9_p20070616.ebuild ffmpeg-0.4.9_p20070616-r3.ebuild Manifest ffmpeg-0.4.9_p20070616-r1.ebuild ffmpeg-0.4.9_p20080206.ebuild metadata.xml ffmpeg-0.4.9_p20070616-r20.ebuild ffmpeg-0.4.9_p20080326.ebuild And yet: /bin/sh ../../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../../include -I/usr/include/ffmpeg -I/usr/include/ffmpeg -DLOCALE_DIR=\"/usr/share/locale\" -march=athlon64 -fomit-frame-pointer -O2 -pipe -finline-functions -Wall -Winline -MT audio.lo -MD -MP -MF .deps/audio.Tpo -c -o audio.lo audio.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../../include -I/usr/include/ffmpeg -I/usr/include/ffmpeg -DLOCALE_DIR=\"/usr/share/locale\" -march=athlon64 -fomit-frame-pointer -O2 -pipe -finline-functions -Wall -Winline -MT audio.lo -MD -MP -MF .deps/audio.Tpo -c audio.c -fPIC -DPIC -o .libs/audio.o In file included from ffmpeg.h:29, from audio.c:26: /usr/include/ffmpeg/avcodec.h:2252: warning: ‘ImgReSampleContext’ is deprecated /usr/include/ffmpeg/avcodec.h:2258: warning: ‘ImgReSampleContext’ is deprecated audio.c:673:44: error: missing binary operator before token "(" audio.c: In function ‘lqt_ffmpeg_decode_audio’: audio.c:676: error: ‘AVCodecContext’ has no member named ‘bits_per_coded_sample’ make[3]: *** [audio.lo] Error 1 make[3]: Leaving directory `/var/tmp/portage/media-libs/libquicktime-1.0.3/work/libquicktime-1.0.3/plugins/ffmpeg' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/media-libs/libquicktime-1.0.3/work/libquicktime-1.0.3/plugins' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/media-libs/libquicktime-1.0.3/work/libquicktime-1.0.3' make: *** [all] Error 2 * * ERROR: media-libs/libquicktime-1.0.3 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 2434: Called die * The specific snippet of code: * emake || die "emake failed" * The die message: * emake failed * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/media-libs/libquicktime-1.0.3/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/media-libs/libquicktime-1.0.3/temp/environment'. * Reopening. I need a more modern version of ffmpeg as the stable 0.4.9_p20070616 for media-video/kdenlive. With ffmpeg-0.4.9_p20080326 does it again with the media-libs/libquicktime-1.0.3. In fact it's not the same bug... that's due to the *fix* for the initial problem. Upstream merged the wrong patch which was incompaible with older ffmpeg versions, shame on me for trusting them. Nevertheless it should be fixed now, thanks for the report. Oh, I see how it happened. Insidious. Anyways, confirmed. libquicktime-1.0.3.ebuild works for me now. |