Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 369523 - app-cdr/k3b-2.0.2-r1 with media-video/libav-0.7_beta2 - work/k3b-2.0.2/plugins/decoder/ffmpeg/k3bffmpegwrapper.cpp:112: error: ‘CODEC_TYPE_AUDIO’ was not declared in this scope
Summary: app-cdr/k3b-2.0.2-r1 with media-video/libav-0.7_beta2 - work/k3b-2.0.2/plugin...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Gentoo KDE team
URL: https://bugs.kde.org/show_bug.cgi?id=...
Whiteboard: tracking upstream
Keywords:
: 379895 383583 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-05-31 14:20 UTC by Paolo Pedroni
Modified: 2011-09-19 06:53 UTC (History)
6 users (show)

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


Attachments
app-cdr/k3b-2.0.2-r1 build log (k3b-2.0.2-r1:20110531-132846.log.gz,20.94 KB, application/gzip)
2011-05-31 14:20 UTC, Paolo Pedroni
Details
app-cdr/k3b-2.0.2-r1 ebuild environment (environment,161.09 KB, text/plain)
2011-05-31 14:21 UTC, Paolo Pedroni
Details
Patch to allow k3b to compile with new libav versions (k3b-new-libav.patch,2.79 KB, patch)
2011-06-23 09:17 UTC, Paolo Pedroni
Details | Diff
Patch for the k3b ebuild to apply the patch above (k3b-2.0.2-r1-libav-0.7.patch,374 bytes, patch)
2011-06-23 09:21 UTC, Paolo Pedroni
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Paolo Pedroni 2011-05-31 14:20:51 UTC
Created attachment 275361 [details]
app-cdr/k3b-2.0.2-r1 build log

I decided to try to compile libav-0.7_beta2 (mostly because I needed to use some filters which were in ffmpeg, but not in libav-0.6) and fully expected that not all packages depending on it would "survive" a revdep-rebuild. This is one of the packages that didn't.

I will attach the build log and the ebuild environment ASAP

Reproducible: Always

Steps to Reproduce:
1. emerge -1av =libav-0.7_beta2
2. revdep-rebuild
Actual Results:  
Compilation failure

Expected Results:  
Succesfull ebuild

# emerge --info =app-cdr/k3b-2.0.2-r1
Portage 2.1.9.42 (default/linux/amd64/10.0/desktop/kde, gcc-4.4.5, libc-0-r0, 2.6.38-gentoo-r6 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-2.6.38-gentoo-r6-x86_64-Intel-R-_Pentium-R-_4_CPU_3.20GHz-with-gentoo-2.0.2
Timestamp of tree: Tue, 31 May 2011 07:15:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.1_p9
dev-java/java-config: 2.1.11-r3
dev-lang/python:     2.7.1-r1, 3.1.3-r1
dev-util/ccache:     2.4-r9
dev-util/cmake:      2.8.4-r1
sys-apps/baselayout: 2.0.2
sys-apps/openrc:     0.8.2-r1
sys-apps/sandbox:    2.4
sys-devel/autoconf:  2.13, 2.65-r1
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.5
sys-devel/gcc-config: 1.4.1-r1
sys-devel/libtool:   2.2.10
sys-devel/make:      3.82
sys-kernel/linux-headers: 2.6.36.1
sys-libs/glibc:      2.12.2
virtual/os-headers:  0
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=nocona -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--keep-going y"
FEATURES="assume-digests binpkg-logs ccache compress-build-logs distcc distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms split-elog split-log strict test unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS=""
GENTOO_MIRRORS="http://de-mirror.org/distro/gentoo/ http://tux.rainside.sk/gentoo/ http://mirror.netcologne.de/gentoo/ http://mirror.switch.ch/ftp/mirror/gentoo/ http://gentoo.wheel.sk/"
LANG="it_IT.UTF-8"
LC_ALL="it_IT.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="it"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acl acpi alsa amd64 ao audiofile bash-completion bluetooth branding bzip2 cairo caps cdda cddb cdparanoia cdr cli consolekit cracklib crypt css cups curl cxx dbus dga djvu dri dts dvd dvdr emboss encode exif expat fam fbcon ffmpeg fftw firefox flac fontconfig foomaticdb fortran ftp gd gdbm gdu geoip ggi gif gimp gmp gnutls gphoto2 gpm graphviz gstreamer gtk handbook iconv icu idn ieee1394 imagemagick imlib ipv6 java jbig jpeg jpeg2k kde lame lcms libcaca libnotify libsamplerate lm_sensors lua lzma lzo mad mmap mmx mng modules mp3 mp4 mpeg mplayer mudflap multilib musicbrainz ncurses nls nptl nptlonly nsplugin offensive ogg openal openexr opengl openmp pam pango pch pcre pdf perl png policykit ppds pppd python qt3support qt4 rdesktop readline recode sdl semantic-desktop session smartcard sndfile sockets speex spell sqlite sqlite3 sse sse2 ssl startup-notification subversion svg symlink sysfs syslog sysvipc taglib tcpd theora threads tidy tiff truetype udev unicode usb vcd vim-syntax vnc vorbis wmf wxwidgets x264 xattr xcb xcomposite xinerama xml xorg xpm xscreensaver xulrunner xv xvid yahoo zlib" ALSA_CARDS="hda-intel virmidi" 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="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 cgi cgid 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" CALLIGRA_FEATURES="braindump flow karbon kexi kpresenter krita tables words" CAMERAS="kodak ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="it" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="radeon r600" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

app-cdr/k3b-2.0.2-r1 was built with the following:
USE="(consolekit) dvd encode ffmpeg flac lame mad (multilib) musicbrainz (policykit) sndfile taglib vcd vorbis wav (-aqua) -debug -emovix (-kdeenablefinal) -musepack -sox" LINGUAS="it -ast -be -bg -ca -ca@valencia -cs -csb -da -de -el -en_GB -eo -es -et -eu -fi -fr -ga -gl -he -hi -hne -hr -hu -is -ja -km -ko -ku -lt -mai -nb -nds -nl -nn -oc -pa -pl -pt -pt_BR -ro -ru -se -sk -sl -sv -th -tr -uk -zh_CN -zh_TW"

# emerge -pqv =app-cdr/k3b-2.0.2-r1
[ebuild   R   ] app-cdr/k3b-2.0.2-r1  USE="dvd encode ffmpeg flac lame mad musicbrainz sndfile taglib vcd vorbis wav (-aqua) -debug -emovix (-kdeenablefinal) -musepack -sox" LINGUAS="it -ast -be -bg -ca -ca@valencia -cs -csb -da -de -el -en_GB -eo -es -et -eu -fi -fr -ga -gl -he -hi -hne -hr -hu -is -ja -km -ko -ku -lt -mai -nb -nds -nl -nn -oc -pa -pl -pt -pt_BR -ro -ru -se -sk -sl -sv -th -tr -uk -zh_CN -zh_TW"
Comment 1 Paolo Pedroni 2011-05-31 14:21:44 UTC
Created attachment 275363 [details]
app-cdr/k3b-2.0.2-r1 ebuild environment
Comment 2 Paolo Pedroni 2011-06-03 08:45:51 UTC
Reported upstream as https://bugs.kde.org/show_bug.cgi?id=274817
Comment 3 Andreas Sturmlechner gentoo-dev 2011-06-17 21:47:12 UTC
same here with meanwhile libav-9999 and k3b-9999
Comment 4 Paolo Pedroni 2011-06-23 09:17:36 UTC
Created attachment 277865 [details, diff]
Patch to allow k3b to compile with new libav versions

This patch from the upstream bug works for me (it applies and compiles cleanly). It is versioned, so it can be applied unconditionally to the ebuild until upstream can fix it for good in a new release.
Comment 5 Paolo Pedroni 2011-06-23 09:21:51 UTC
Created attachment 277867 [details, diff]
Patch for the k3b ebuild to apply the patch above

This is a patch for the ebuild. I changed the name of the patch between the previous comment and this one, but that's trivial to fix.
Comment 6 Gef 2011-08-08 17:18:50 UTC
Paolo, thanks for having reported this upstream (although the patch doesn't look that official. At least it works (tm)).
Comment 7 Andreas K. Hüttel archtester gentoo-dev 2011-08-19 21:23:05 UTC
*** Bug 379895 has been marked as a duplicate of this bug. ***
Comment 8 Franz Trischberger 2011-09-18 09:20:01 UTC
Upstream bug is marked RESOLVED, the applied patch is exactly the one proposed upstream, only difference is in line 309 (probably because there was another commit in git before this patch was applied). Please push the patched version into portage. Thx :)
Comment 9 Andreas K. Hüttel archtester gentoo-dev 2011-09-18 10:09:07 UTC
Upstream patch added, thanks!
Comment 10 godmachine (Lance Poore) 2011-09-19 06:53:44 UTC
*** Bug 383583 has been marked as a duplicate of this bug. ***