Created attachment 370588 [details] media-plugins/alsa-plugins-1.0.27-r1 build log emerge --info Portage 2.2.8-r1 (default/linux/amd64/13.0/desktop/gnome/systemd, gcc-4.7.3, glibc-2.18-r1, 3.13.1 x86_64) ================================================================= System uname: Linux-3.13.1-x86_64-Intel-R-_Core-TM-_i7_CPU_M_640_@_2.80GHz-with-gentoo-2.2 KiB Mem: 3908876 total, 659964 free KiB Swap: 16777212 total, 16095224 free Timestamp of tree: Sat, 15 Feb 2014 18:45:01 +0000 ld GNU ld (GNU Binutils) 2.24 app-shells/bash: 4.2_p45-r1 dev-java/java-config: 2.2.0 dev-lang/python: 2.6.9, 2.7.6, 3.3.3 dev-util/cmake: 2.8.12.2 dev-util/pkgconfig: 0.28 sys-apps/baselayout: 2.2 sys-apps/openrc: 0.12.4 sys-apps/sandbox: 2.6-r1 sys-devel/autoconf: 2.13, 2.69 sys-devel/automake: 1.11.6, 1.12.6, 1.13.4, 1.14.1 sys-devel/binutils: 2.24-r2 sys-devel/gcc: 4.7.3-r1, 4.8.2 sys-devel/gcc-config: 1.8 sys-devel/libtool: 2.4.2 sys-devel/make: 4.0-r1 sys-kernel/linux-headers: 3.13 (virtual/os-headers) sys-libs/glibc: 2.18-r1 Repositories: gentoo x11 ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-O2 -pipe" DISTDIR="/usr/portage/distfiles" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="ftp://ftp.heanet.ie/pub/gentoo/ http://ftp.heanet.ie/pub/gentoo/ rsync://ftp.heanet.ie/pub/gentoo/" LANG="C" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j4" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/var/lib/layman/x11" SYNC="rsync://rsync.ie.gentoo.org/gentoo-portage" USE="X a52 aac aalib acl acpi alsa amd64 atmo autoipd avahi berkdb bidi bluetooth bluray branding bzip2 cairo cdda cddb cdr chromaprint cli colord cracklib crypt cups curl cxx dbus dc1394 dcc_video dirac directfb dri dts dvb dvd dvdr eds egl emboss encode evo exif faad fam fdk ffmpeg firefox flac fluidsynth fontconfig fortran gbm gdbm gif gimp gme gnome gnome-keyring gnome-online-accounts gpm growl gstreamer gtk gtk3 html httpd iconv icu introspection ipv6 java jemalloc jpeg jpeg2k kate laptop lcms ldap libass libcaca libkms libnotify libsamplerate libsecret libtar libtiger linsys lirc live lua mad matroska minizip mmx mng modemmanager modplug modules mp3 mp4 mpeg mtp multilib musepack mysql nautilus ncurses nls nptl nsplugin odbcmanual odk ogg omxil opencv opengl openmp optimisememory opus pam pango pcre pdf png policykit postscript ppds projectm pulseaudio python qt3support qt4 rdp readline rtsp run-as-root samba schroedinger sdl sdl-image session sftp shout sid skins smp socialweb speex spell sse sse2 ssl startup-notification svg systemd taglib tcpd telepathy theora tiff tremor truetype twolame udev udisks unicode upnp upower usb v4l vaapi vcdx vdpau vlm vorbis webkit wifi wimax wma-fixed wmf wps wxwidgets x264 xa xcb xml xpm xv xvid zlib zvbi" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="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 ublox ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-minimizer nlpsolver scripting-beanshell scripting-javascript wiki-publisher" LINGUAS="it" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia" 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, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment on attachment 370588 [details] media-plugins/alsa-plugins-1.0.27-r1 build log Again, what does virtual/ffmpeg resolve to ?
fixed with upstream patch: http://git.alsa-project.org/?p=alsa-plugins.git;a=commitdiff;h67e208954711fabe159070d242927246ed821cd
the patch doesn't work here
Created attachment 370652 [details, diff] upstream patch (does not seem to work)
Created attachment 370654 [details] /var/tmp/portage/media-plugins/alsa-plugins-1.0.27-r1/temp/patchy.patch.out
cat a52/pcm_a52.c.rej --- pcm_a52.c +++ pcm_a52.c @@ -916,7 +913,7 @@ if (rec->codec == NULL) rec->codec = avcodec_find_encoder_by_name("ac3"); if (rec->codec == NULL) - rec->codec = avcodec_find_encoder(AV_CODEC_ID_AC3); + rec->codec = avcodec_find_encoder(CODEC_ID_AC3); if (rec->codec == NULL) { SNDERR("Cannot find codec engine"); err = -EINVAL;
please help (In reply to Samuli Suominen from comment #2) > fixed with upstream patch: > > http://git.alsa-project.org/?p=alsa-plugins.git;a=commitdiff; > h67e208954711fabe159070d242927246ed821cd
(In reply to renato gallo from comment #5) > Created attachment 370654 [details] > /var/tmp/portage/media-plugins/alsa-plugins-1.0.27-r1/temp/patchy.patch.out patchy.patch.out?! dunno what you did, but this certainly isn't from Portage
(In reply to Rafał Mużyło from comment #1) > Again, what does virtual/ffmpeg resolve to ? To original reporter: This was never answered. Like 'emerge -pv --nodeps media-video/ffmpeg media-video/libav' output. And I see no proof the patch doesn't work. You should upgrade your Portage tree (sync) and get a new build.log that shows the patch being applied. So we can see the patch is actually being applied, and then information what FFmpeg implementation / version is being used.
xevilstar ~ # emerge --sync >>> Synchronization of repository 'gentoo' located in '/usr/portage'... >>> Starting rsync with rsync://193.1.193.64/gentoo-portage... >>> Checking server timestamp ... Welcome to the HEAnet mirror site, ftp.heanet.ie (http://ftp.heanet.ie/about) ----------------------------------------------------------------------------- nano /etc/portage/patches//media-plugins/alsa-plugins/patchy.patch cat /etc/portage/patches//media-plugins/alsa-plugins/patchy.patch--- a52/pcm_a52.c +++ a52/pcm_a52.c @@ -58,6 +58,9 @@ #endif #endif +#if LIBAVCODEC_VERSION_INT < AV_VERSION_INT(54, 25, 0) +#define AV_CODEC_ID_AC3 CODEC_ID_AC3 +#endif struct a52_ctx { snd_pcm_ioplug_t io; @@ -916,7 +919,7 @@ SND_PCM_PLUGIN_DEFINE_FUNC(a52) if (rec->codec == NULL) rec->codec = avcodec_find_encoder_by_name("ac3"); if (rec->codec == NULL) - rec->codec = avcodec_find_encoder(CODEC_ID_AC3); + rec->codec = avcodec_find_encoder(AV_CODEC_ID_AC3); if (rec->codec == NULL) { SNDERR("Cannot find codec engine"); err = -EINVAL; I have copied the upstream patch in patchy.patch xevilstar ~ # emerge alsa-plugins it fails
without the patch... mv /etc/portage/patches//media-plugins/alsa-plugins/patchy.patch /usr/src/ emerge alsa-plugins Making all in doc make[2]: Entering directory '/var/tmp/portage/media-plugins/alsa-plugins-1.0.27-r1/work/alsa-plugins-1.0.27/doc' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/var/tmp/portage/media-plugins/alsa-plugins-1.0.27-r1/work/alsa-plugins-1.0.27/doc' Making all in pulse make[2]: Entering directory '/var/tmp/portage/media-plugins/alsa-plugins-1.0.27-r1/work/alsa-plugins-1.0.27/pulse' /bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DNDEBUG -DNDEBUG -Wall -g -I/usr/include/alsa -D_REENTRANT -D_GNU_SOURCE -O2 -pipe -c -o conf_pulse.lo conf_pulse.c /bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DNDEBUG -DNDEBUG -Wall -g -I/usr/include/alsa -D_REENTRANT -D_GNU_SOURCE -O2 -pipe -c -o ctl_pulse.lo ctl_pulse.c /bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DNDEBUG -DNDEBUG -Wall -g -I/usr/include/alsa -D_REENTRANT -D_GNU_SOURCE -O2 -pipe -c -o pulse.lo pulse.c /bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DNDEBUG -DNDEBUG -Wall -g -I/usr/include/alsa -D_REENTRANT -D_GNU_SOURCE -O2 -pipe -c -o pcm_pulse.lo pcm_pulse.c libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DNDEBUG -DNDEBUG -Wall -g -I/usr/include/alsa -D_REENTRANT -D_GNU_SOURCE -O2 -pipe -c pcm_pulse.c -fPIC -DPIC -o .libs/pcm_pulse.o libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DNDEBUG -DNDEBUG -Wall -g -I/usr/include/alsa -D_REENTRANT -D_GNU_SOURCE -O2 -pipe -c conf_pulse.c -fPIC -DPIC -o .libs/conf_pulse.o libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DNDEBUG -DNDEBUG -Wall -g -I/usr/include/alsa -D_REENTRANT -D_GNU_SOURCE -O2 -pipe -c ctl_pulse.c -fPIC -DPIC -o .libs/ctl_pulse.o libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DNDEBUG -DNDEBUG -Wall -g -I/usr/include/alsa -D_REENTRANT -D_GNU_SOURCE -O2 -pipe -c pulse.c -fPIC -DPIC -o .libs/pulse.o pulse.c: In function 'pulse_poll_activate': pulse.c:255:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] /bin/sh ../libtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc -DNDEBUG -Wall -g -I/usr/include/alsa -D_REENTRANT -D_GNU_SOURCE -O2 -pipe -module -avoid-version -export-dynamic -no-undefined -Wl,--no-undefined -Wl,-O1 -Wl,--as-needed -o libasound_module_conf_pulse.la -rpath /usr/lib64/alsa-lib conf_pulse.lo -lasound -lpulse -lasound libtool: link: x86_64-pc-linux-gnu-gcc -shared -fPIC -DPIC .libs/conf_pulse.o -Wl,--as-needed -lpulse -lasound -O2 -Wl,--no-undefined -Wl,-O1 -Wl,-soname -Wl,libasound_module_conf_pulse.so -o .libs/libasound_module_conf_pulse.so /bin/sh ../libtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc -DNDEBUG -Wall -g -I/usr/include/alsa -D_REENTRANT -D_GNU_SOURCE -O2 -pipe -module -avoid-version -export-dynamic -no-undefined -Wl,--no-undefined -Wl,-O1 -Wl,--as-needed -o libasound_module_ctl_pulse.la -rpath /usr/lib64/alsa-lib ctl_pulse.lo pulse.lo -lasound -lpulse -lasound libtool: link: ( cd ".libs" && rm -f "libasound_module_conf_pulse.la" && ln -s "../libasound_module_conf_pulse.la" "libasound_module_conf_pulse.la" ) libtool: link: x86_64-pc-linux-gnu-gcc -shared -fPIC -DPIC .libs/ctl_pulse.o .libs/pulse.o -Wl,--as-needed -lpulse -lasound -O2 -Wl,--no-undefined -Wl,-O1 -Wl,-soname -Wl,libasound_module_ctl_pulse.so -o .libs/libasound_module_ctl_pulse.so /bin/sh ../libtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc -DNDEBUG -Wall -g -I/usr/include/alsa -D_REENTRANT -D_GNU_SOURCE -O2 -pipe -module -avoid-version -export-dynamic -no-undefined -Wl,--no-undefined -Wl,-O1 -Wl,--as-needed -o libasound_module_pcm_pulse.la -rpath /usr/lib64/alsa-lib pcm_pulse.lo pulse.lo -lasound -lpulse -lasound libtool: link: ( cd ".libs" && rm -f "libasound_module_ctl_pulse.la" && ln -s "../libasound_module_ctl_pulse.la" "libasound_module_ctl_pulse.la" ) libtool: link: x86_64-pc-linux-gnu-gcc -shared -fPIC -DPIC .libs/pcm_pulse.o .libs/pulse.o -Wl,--as-needed -lpulse -lasound -O2 -Wl,--no-undefined -Wl,-O1 -Wl,-soname -Wl,libasound_module_pcm_pulse.so -o .libs/libasound_module_pcm_pulse.so libtool: link: ( cd ".libs" && rm -f "libasound_module_pcm_pulse.la" && ln -s "../libasound_module_pcm_pulse.la" "libasound_module_pcm_pulse.la" ) make[2]: Leaving directory '/var/tmp/portage/media-plugins/alsa-plugins-1.0.27-r1/work/alsa-plugins-1.0.27/pulse' Making all in rate make[2]: Entering directory '/var/tmp/portage/media-plugins/alsa-plugins-1.0.27-r1/work/alsa-plugins-1.0.27/rate' /bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DNDEBUG -Wall -g -I/usr/include/alsa -O2 -pipe -c -o rate_samplerate.lo rate_samplerate.c libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DNDEBUG -Wall -g -I/usr/include/alsa -O2 -pipe -c rate_samplerate.c -fPIC -DPIC -o .libs/rate_samplerate.o /bin/sh ../libtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc -Wall -g -I/usr/include/alsa -O2 -pipe -module -avoid-version -export-dynamic -no-undefined -Wl,--no-undefined -Wl,-O1 -Wl,--as-needed -o libasound_module_rate_samplerate.la -rpath /usr/lib64/alsa-lib rate_samplerate.lo -lasound -lsamplerate -lasound libtool: link: x86_64-pc-linux-gnu-gcc -shared -fPIC -DPIC .libs/rate_samplerate.o -Wl,--as-needed -lsamplerate -lasound -O2 -Wl,--no-undefined -Wl,-O1 -Wl,-soname -Wl,libasound_module_rate_samplerate.so -o .libs/libasound_module_rate_samplerate.so libtool: link: ( cd ".libs" && rm -f "libasound_module_rate_samplerate.la" && ln -s "../libasound_module_rate_samplerate.la" "libasound_module_rate_samplerate.la" ) make[2]: Leaving directory '/var/tmp/portage/media-plugins/alsa-plugins-1.0.27-r1/work/alsa-plugins-1.0.27/rate' Making all in a52 make[2]: Entering directory '/var/tmp/portage/media-plugins/alsa-plugins-1.0.27-r1/work/alsa-plugins-1.0.27/a52' /bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DNDEBUG -Wall -g -I/usr/include/alsa -DAVCODEC_HEADER="<libavcodec/avcodec.h>" -O2 -pipe -c -o pcm_a52.lo pcm_a52.c libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DNDEBUG -Wall -g -I/usr/include/alsa "-DAVCODEC_HEADER=<libavcodec/avcodec.h>" -O2 -pipe -c pcm_a52.c -fPIC -DPIC -o .libs/pcm_a52.o pcm_a52.c: In function 'a52_free': pcm_a52.c:511:2: warning: 'avcodec_free_frame' is deprecated (declared at /usr/include/libavcodec/avcodec.h:3138) [-Wdeprecated-declarations] pcm_a52.c: In function 'alloc_input_buffer': pcm_a52.c:555:2: warning: 'avcodec_alloc_frame' is deprecated (declared at /usr/include/libavcodec/avcodec.h:3113) [-Wdeprecated-declarations] /bin/sh ../libtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc -Wall -g -I/usr/include/alsa -DAVCODEC_HEADER="<libavcodec/avcodec.h>" -O2 -pipe -module -avoid-version -export-dynamic -no-undefined -Wl,--no-undefined -Wl,-O1 -Wl,--as-needed -o libasound_module_pcm_a52.la -rpath /usr/lib64/alsa-lib pcm_a52.lo -lasound -lavcodec -lavutil -lasound libtool: link: x86_64-pc-linux-gnu-gcc -shared -fPIC -DPIC .libs/pcm_a52.o -Wl,--as-needed -lavcodec -lavutil -lasound -O2 -Wl,--no-undefined -Wl,-O1 -Wl,-soname -Wl,libasound_module_pcm_a52.so -o .libs/libasound_module_pcm_a52.so libtool: link: ( cd ".libs" && rm -f "libasound_module_pcm_a52.la" && ln -s "../libasound_module_pcm_a52.la" "libasound_module_pcm_a52.la" ) make[2]: Leaving directory '/var/tmp/portage/media-plugins/alsa-plugins-1.0.27-r1/work/alsa-plugins-1.0.27/a52' Making all in rate-lavc make[2]: Entering directory '/var/tmp/portage/media-plugins/alsa-plugins-1.0.27-r1/work/alsa-plugins-1.0.27/rate-lavc' /bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DNDEBUG -Wall -g -I/usr/include/alsa -DAVCODEC_HEADER="<libavcodec/avcodec.h>" -O2 -pipe -c -o rate_lavcrate.lo rate_lavcrate.c libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DNDEBUG -Wall -g -I/usr/include/alsa "-DAVCODEC_HEADER=<libavcodec/avcodec.h>" -O2 -pipe -c rate_lavcrate.c -fPIC -DPIC -o .libs/rate_lavcrate.o rate_lavcrate.c: In function 'pcm_src_free': rate_lavcrate.c:70:3: warning: implicit declaration of function 'av_resample_close' [-Wimplicit-function-declaration] rate_lavcrate.c: In function 'pcm_src_init': rate_lavcrate.c:96:3: warning: implicit declaration of function 'av_resample_init' [-Wimplicit-function-declaration] rate_lavcrate.c:96:17: warning: assignment makes pointer from integer without a cast [enabled by default] rate_lavcrate.c: In function 'pcm_src_convert_s16': rate_lavcrate.c:186:3: warning: implicit declaration of function 'av_resample' [-Wimplicit-function-declaration] rate_lavcrate.c:194:2: warning: implicit declaration of function 'av_resample_compensate' [-Wimplicit-function-declaration] /bin/sh ../libtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc -Wall -g -I/usr/include/alsa -DAVCODEC_HEADER="<libavcodec/avcodec.h>" -O2 -pipe -module -avoid-version -export-dynamic -no-undefined -Wl,--no-undefined -Wl,-O1 -Wl,--as-needed -o libasound_module_rate_lavcrate.la -rpath /usr/lib64/alsa-lib rate_lavcrate.lo -lasound -lavcodec -lavutil -lasound libtool: link: x86_64-pc-linux-gnu-gcc -shared -fPIC -DPIC .libs/rate_lavcrate.o -Wl,--as-needed -lavcodec -lavutil -lasound -O2 -Wl,--no-undefined -Wl,-O1 -Wl,-soname -Wl,libasound_module_rate_lavcrate.so -o .libs/libasound_module_rate_lavcrate.so .libs/rate_lavcrate.o: In function `pcm_src_free': /var/tmp/portage/media-plugins/alsa-plugins-1.0.27-r1/work/alsa-plugins-1.0.27/rate-lavc/rate_lavcrate.c:70: undefined reference to `av_resample_close' .libs/rate_lavcrate.o: In function `pcm_src_init': /var/tmp/portage/media-plugins/alsa-plugins-1.0.27-r1/work/alsa-plugins-1.0.27/rate-lavc/rate_lavcrate.c:96: undefined reference to `av_resample_init' .libs/rate_lavcrate.o: In function `pcm_src_convert_s16': /var/tmp/portage/media-plugins/alsa-plugins-1.0.27-r1/work/alsa-plugins-1.0.27/rate-lavc/rate_lavcrate.c:186: undefined reference to `av_resample' /var/tmp/portage/media-plugins/alsa-plugins-1.0.27-r1/work/alsa-plugins-1.0.27/rate-lavc/rate_lavcrate.c:194: undefined reference to `av_resample_compensate' collect2: error: ld returned 1 exit status Makefile:411: recipe for target 'libasound_module_rate_lavcrate.la' failed make[2]: *** [libasound_module_rate_lavcrate.la] Error 1 make[2]: Leaving directory '/var/tmp/portage/media-plugins/alsa-plugins-1.0.27-r1/work/alsa-plugins-1.0.27/rate-lavc' Makefile:417: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory '/var/tmp/portage/media-plugins/alsa-plugins-1.0.27-r1/work/alsa-plugins-1.0.27' Makefile:348: recipe for target 'all' failed make: *** [all] Error 2 * ERROR: media-plugins/alsa-plugins-1.0.27-r1::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=media-plugins/alsa-plugins-1.0.27-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=media-plugins/alsa-plugins-1.0.27-r1::gentoo'`. * The complete build log is located at '/var/tmp/portage/media-plugins/alsa-plugins-1.0.27-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/media-plugins/alsa-plugins-1.0.27-r1/temp/environment'. * Working directory: '/var/tmp/portage/media-plugins/alsa-plugins-1.0.27-r1/work/alsa-plugins-1.0.27' (In reply to Samuli Suominen from comment #8) > (In reply to renato gallo from comment #5) > > Created attachment 370654 [details] > > /var/tmp/portage/media-plugins/alsa-plugins-1.0.27-r1/temp/patchy.patch.out > > patchy.patch.out?! dunno what you did, but this certainly isn't from Portage
emerge -pv virtual/ffmpeg These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] virtual/ffmpeg-9 USE="X encode jpeg2k mp3 opus sdl speex theora truetype vaapi vdpau x264 -gsm -threads" 0 kB Total: 1 package (1 reinstall), Size of downloads: 0 kB * IMPORTANT: 9 news items need reading for repository 'gentoo'. * Use eselect news to read news items. (In reply to Rafał Mużyło from comment #1) > Comment on attachment 370588 [details] > media-plugins/alsa-plugins-1.0.27-r1 build log > > Again, what does virtual/ffmpeg resolve to ?
the patch doesn't seem to work (In reply to Samuli Suominen from comment #2) > fixed with upstream patch: > > http://git.alsa-project.org/?p=alsa-plugins.git;a=commitdiff; > h67e208954711fabe159070d242927246ed821cd
(In reply to renato gallo from comment #12) > emerge -pv virtual/ffmpeg > > These are the packages that would be merged, in order: > > Calculating dependencies... done! > [ebuild R ] virtual/ffmpeg-9 USE="X encode jpeg2k mp3 opus sdl speex > theora truetype vaapi vdpau x264 -gsm -threads" 0 kB > > Total: 1 package (1 reinstall), Size of downloads: 0 kB > > * IMPORTANT: 9 news items need reading for repository 'gentoo'. > * Use eselect news to read news items. > > > > (In reply to Rafał Mużyło from comment #1) > > Comment on attachment 370588 [details] > > media-plugins/alsa-plugins-1.0.27-r1 build log > > > > Again, what does virtual/ffmpeg resolve to ? :sigh: :roll: Like comment 9 said, that's not the required answer. Is that libav or ffmpeg and what's the exact version number.
the version installed are : media-video/ffmpeg-2.1.3 media-video/libav-9999:0/9 virtual/ffmpeg-9 (In reply to Rafał Mużyło from comment #14) > (In reply to renato gallo from comment #12) > > emerge -pv virtual/ffmpeg > > > > These are the packages that would be merged, in order: > > > > Calculating dependencies... done! > > [ebuild R ] virtual/ffmpeg-9 USE="X encode jpeg2k mp3 opus sdl speex > > theora truetype vaapi vdpau x264 -gsm -threads" 0 kB > > > > Total: 1 package (1 reinstall), Size of downloads: 0 kB > > > > * IMPORTANT: 9 news items need reading for repository 'gentoo'. > > * Use eselect news to read news items. > > > > > > > > (In reply to Rafał Mużyło from comment #1) > > > Comment on attachment 370588 [details] > > > media-plugins/alsa-plugins-1.0.27-r1 build log > > > > > > Again, what does virtual/ffmpeg resolve to ? > > :sigh: :roll: > Like comment 9 said, that's not the required answer. > Is that libav or ffmpeg and what's the exact version number.
Now i am trying to remove libav and reinstall media-video/ffmpeg
no changes
I still haven't seen a build.log where alsa-plugins-1.0.27-ffmpeg.patch is being applied and the alsa-plugins-1.0.27-r1 build failing.
Comment on attachment 370588 [details] media-plugins/alsa-plugins-1.0.27-r1 build log This build.log is old, doesn't apply -ffmpeg.patch
Comment on attachment 370652 [details, diff] upstream patch (does not seem to work) This patch is in Portage as -ffmpeg.patch
(In reply to Samuli Suominen from comment #20) > Comment on attachment 370652 [details, diff] [details, diff] > upstream patch (does not seem to work) > > This patch is in Portage as -ffmpeg.patch USE=ffmpeg emerge alsa-plugins .libs/rate_lavcrate.o: In function `pcm_src_free': /var/tmp/portage/media-plugins/alsa-plugins-1.0.27-r1/work/alsa-plugins-1.0.27/rate-lavc/rate_lavcrate.c:70: undefined reference to `av_resample_close' .libs/rate_lavcrate.o: In function `pcm_src_init': /var/tmp/portage/media-plugins/alsa-plugins-1.0.27-r1/work/alsa-plugins-1.0.27/rate-lavc/rate_lavcrate.c:96: undefined reference to `av_resample_init' .libs/rate_lavcrate.o: In function `pcm_src_convert_s16': /var/tmp/portage/media-plugins/alsa-plugins-1.0.27-r1/work/alsa-plugins-1.0.27/rate-lavc/rate_lavcrate.c:186: undefined reference to `av_resample' /var/tmp/portage/media-plugins/alsa-plugins-1.0.27-r1/work/alsa-plugins-1.0.27/rate-lavc/rate_lavcrate.c:194: undefined reference to `av_resample_compensate' collect2: error: ld returned 1 exit status Makefile:411: recipe for target 'libasound_module_rate_lavcrate.la' failed make[2]: *** [libasound_module_rate_lavcrate.la] Error 1 make[2]: Leaving directory '/var/tmp/portage/media-plugins/alsa-plugins-1.0.27-r1/work/alsa-plugins-1.0.27/rate-lavc' Makefile:417: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory '/var/tmp/portage/media-plugins/alsa-plugins-1.0.27-r1/work/alsa-plugins-1.0.27' Makefile:348: recipe for target 'all' failed make: *** [all] Error 2
Created attachment 371704 [details] requested build.log
(In reply to renato gallo from comment #22) > Created attachment 371704 [details] > requested build.log I understand now. This build.log is now showing "undefined reference to `av_resample*'" instead of "error: 'CODEC_ID_AC3' undeclared" This is very confusing to read, 2 bugs in 1 bug report. Please open a new bug report for the undefined references, so we can leave this one FIXED for the CODEC_ID_AC3 undeclared bug. As in, you can't just open a old bug report everytime you hit a different bug in the same package. I understand you did it accidentally, so it's okay, but please file a new bug: - Attach the build.log there - Attach emerge --info there - Make the summary say: media-plugins/alsa-plugins: undefined reference to `av_resample*' - Include information what version of media-video/ffmpeg OR media-video/libav is installed you are seeing the undefined references to av_resample* So, reclosing the CODEC_ID_AC3 bug as FIXED ->