Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 373213 - media-sound/audacity-1.3.12 fails to build with libav-0.7
Summary: media-sound/audacity-1.3.12 fails to build with libav-0.7
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Professional Audio Applications Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-27 15:32 UTC by Paolo Pedroni
Modified: 2011-07-24 00:59 UTC (History)
1 user (show)

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


Attachments
media-sound/audacity-1.3.12 ebuild log (audacity-1.3.12:20110627-150420.log.gz,50.97 KB, application/gzip)
2011-06-27 15:35 UTC, Paolo Pedroni
Details
media-sound/audacity-1.3.12 ebuild environment (environment,119.72 KB, text/plain)
2011-06-27 15:36 UTC, Paolo Pedroni
Details
ffmpeg/libav patch (audacity-1.3.13-ffmpeg.patch,6.95 KB, patch)
2011-07-17 22:54 UTC, Tim Harder
Details | Diff
Build log for audacity-1.3.13 with USE=ffmpeg (audacity-1.3.13:20110627-151718.log.gz,49.18 KB, application/x-gzip)
2011-07-18 05:45 UTC, Paolo Pedroni
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Paolo Pedroni 2011-06-27 15:32:55 UTC
I decided to try to compile libav-0.7 (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 =media-video/libav-0.7
2. emerge -1av audacity
Actual Results:  
Compilation failure

Expected Results:  
Successful ebuild

# emerge --info =media-sound/audacity-1.3.12
Portage 2.1.9.42 (default/linux/amd64/10.0/desktop/kde, gcc-4.4.5, libc-0-r0, 2.6.39-gentoo-r2 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-2.6.39-gentoo-r2-x86_64-Intel-R-_Core-TM-2_CPU_6600_@_2.40GHz-with-gentoo-2.0.2
Timestamp of tree: Mon, 27 Jun 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
dev-util/pkgconfig:  0.25-r2
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=core2 -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=core2 -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="-j3"
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 declarative 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 kipi 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 phonon plasma 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

# emerge -pqv =media-sound/audacity-1.3.12
[ebuild  N    ] media-sound/audacity-1.3.12  USE="alsa ffmpeg flac id3tag libsamplerate mp3 vorbis -jack -ladspa -midi -soundtouch -twolame -vamp"
Comment 1 Paolo Pedroni 2011-06-27 15:35:03 UTC
Created attachment 278359 [details]
media-sound/audacity-1.3.12 ebuild log
Comment 2 Paolo Pedroni 2011-06-27 15:36:30 UTC
Created attachment 278361 [details]
media-sound/audacity-1.3.12 ebuild environment
Comment 3 Paolo Pedroni 2011-06-27 15:37:58 UTC
Also media-sound/audacity-1.3.13 is affected, but with a different error message. Of course, omitting the ffmpeg USE flags allows the package to build.
Comment 4 Tim Harder gentoo-dev 2011-07-17 20:48:27 UTC
Can you attach a build log for the audacity-1.3.13 failure? Since that version's going stable I'd rather target it.
Comment 5 Tim Harder gentoo-dev 2011-07-17 22:54:51 UTC
Created attachment 280275 [details, diff]
ffmpeg/libav patch

This patch allows audacity to compile and work with the latest libav git as of today.

Please test it with other versions of ffmpeg/libav such as the latest ~arch libav and the latest stable ffmpeg versions.
Comment 6 Tim Harder gentoo-dev 2011-07-17 22:55:38 UTC
Note that the patch is for audacity-1.3.13.
Comment 7 Paolo Pedroni 2011-07-18 05:45:54 UTC
Created attachment 280281 [details]
Build log for audacity-1.3.13 with USE=ffmpeg

Here is the build log for audacity-1.3.13
Comment 8 Tim Harder gentoo-dev 2011-07-18 06:40:46 UTC
(In reply to comment #7)
> Created attachment 280281 [details]
> Build log for audacity-1.3.13 with USE=ffmpeg
> 
> Here is the build log for audacity-1.3.13

Could you try the patch I attached? It should fix all the issues for current libav/ffmpeg versions.
Comment 9 Paolo Pedroni 2011-07-18 08:55:22 UTC
(In reply to comment #8)
> Could you try the patch I attached? It should fix all the issues for current
> libav/ffmpeg versions.

Just tried: it compiles fine, I don't have time to test if it works, at the moment (i suppose it does, though).
Comment 10 Tim Harder gentoo-dev 2011-07-24 00:59:26 UTC
Fixed in audacity-1.3.13 in CVS.

It should now work with all versions of ffmpeg/libav currently in the tree including the live ebuilds, at least for the moment. :)