Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 481062 - media-sound/squeezeslave-1.1_p381 - src/slimaudio/slimaudio_decoder_aac.c:167:10: error: `AVIOContext' has no member named `is_streamed'
Summary: media-sound/squeezeslave-1.1_p381 - src/slimaudio/slimaudio_decoder_aac.c:167...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Lowest normal (vote)
Assignee: Tim Harder
URL: http://forums.gentoo.org/viewtopic-t-...
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: ffmpeg-2.2
  Show dependency tree
 
Reported: 2013-08-14 15:51 UTC by Silvan Burch
Modified: 2015-02-06 14:24 UTC (History)
0 users

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


Attachments
squeezeslave-1.1_p381_new_ffmpeg.patch (squeezeslave-1.1_p381_new_ffmpeg.patch,2.47 KB, patch)
2013-08-19 21:28 UTC, Rick Moritz
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Silvan Burch 2013-08-14 15:51:18 UTC
first, that's my first bug report ... i hope i'm doin it right:

title says it pretty much, here's the error message if you try to emerge media-sound/squeezeslave-1.1_p381 with the USE flags aac, alsa and wma on:

[code]
src/slimaudio/slimaudio_decoder_aac.c:167:10: error: âAVIOContextâ has no member named âis_streamedâ
src/slimaudio/slimaudio_decoder_aac.c:202:3: warning: âav_find_stream_infoâ is deprecated (declared at /usr/include/libavformat/avformat.h:1446) [-Wdeprecated-declarations]
src/slimaudio/slimaudio_decoder_aac.c:239:2: warning: âavcodec_openâ is deprecated (declared at /usr/include/libavcodec/avcodec.h:3569) [-Wdeprecated-declarations]
src/slimaudio/slimaudio_decoder_aac.c:287:3: warning: âavcodec_decode_audio3â is deprecated (declared at /usr/include/libavcodec/avcodec.h:3852) [-Wdeprecated-declarations]
make: *** [src/slimaudio/slimaudio_decoder_wma.o] Error 1
make: *** Waiting for unfinished jobs....
make: *** [src/slimaudio/slimaudio_decoder_aac.o] Error 1 
[/code]

see also http://forums.gentoo.org/viewtopic-t-966468-highlight-layman.html

here the emerge --info:

[code]
Portage 2.1.12.2 (default/linux/amd64/13.0/desktop/kde, gcc-4.6.3, glibc-2.15-r3, 3.8.13-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.8.13-gentoo-x86_64-AMD_Phenom-tm-_II_X6_1055T_Processor-with-gentoo-2.2
KiB Mem:     8176780 total,   5322820 free
KiB Swap:    4194300 total,   4194300 free
Timestamp of tree: Wed, 14 Aug 2013 15:30:01 +0000
ld GNU ld (GNU Binutils) 2.23.1
app-shells/bash:          4.2_p45
dev-java/java-config:     2.1.12-r1
dev-lang/python:          2.7.5, 3.2.5-r1
dev-util/cmake:           2.8.10.2-r2
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.9.6-r3, 1.11.6, 1.12.6
sys-devel/binutils:       2.23.1
sys-devel/gcc:            4.6.3
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.7 (virtual/os-headers)
sys-libs/glibc:           2.15-r3
Repositories: gentoo ohnobinki_overlay steam-overlay regen2-overlay
Installed sets: @steam
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=amdfam10 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/polkit-1/actions /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=amdfam10 -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"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j7"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --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/ohnobinki /var/lib/layman/steam /var/lib/layman/regen2-overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acl acpi aim airplay alsa amd64 berkdb bindist bluetooth bluray branding bzip2 cairo calendar cdda cdr clamav clamdtop cli consolekit cracklib crypt cups cvs cxx dbus declarative dedicated display dri dts dvb dvd dvdr embedded emboss encode exif extras fam fat firefox flac flash fortran ftp gdbm gif gimp git gpm gptfdisk gudev gzip hwdb iconv ieee1394 imagemagick imap introspection ipod ipv6 java java6 javascript joystick jpeg jpeg2k kde kdrive kerberos keymap kipi lame latex lcms ldap libkms libnotify libwww mad mercurial messages midi milter mime minizip mmx mng modules mozilla mp3 mp4 mpeg mpg123 mplayer msn mudflap multilib mysql mysqli nas ncurses nfs nls nptl ntfs ocaml ogg openal openexr opengl openmp oss pam pango pcre pdf perl phonon php plasma png policykit postscript ppds profile pulseaudio python qt3support qt4 quicktime readline rule_generator samba sdl semantic-desktop session sftp sound spell sse sse2 sse3 ssl startup-notification steamgames_journey_down steamgames_tf2 steamgames_trine2 steamgames_unwritten_tales subversion svg tcpd tiff timidity truetype udev udisks unicode upnp upower usb v4l vim-syntax vorbis webserver win32 win32codecs win64 wma wxwidgets x264 xa xcb xcomposite xine xinerama xml xorg xscreensaver xv xvid zlib" ABI_X86="64 32" 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 ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="de" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-4" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" 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

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

media-sound/squeezeslave-1.1_p381 was built with the following:
USE="display -aac -alsa -tremor -wma -zones"
[/code]
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2013-08-16 15:00:51 UTC
Please attach the entire build log to this bug report.
Comment 2 Rick Moritz 2013-08-19 21:26:04 UTC
The patch I just attached fixes all the blocking compile errors with the latest ffmpeg.
Still plenty of warnings left, and I did not actually get any AAC/WMA streams to work.
Comment 3 Rick Moritz 2013-08-19 21:28:05 UTC
Created attachment 356448 [details, diff]
squeezeslave-1.1_p381_new_ffmpeg.patch

These are the minimum modifications required to compile latest squeezeslave with latest stable ffmpeg.
Comment 4 Rick Moritz 2013-08-20 12:14:22 UTC
An additional note:
The latest release of squeezeslave (1.3 - r393) has not yet been included in portage, from what I can see. I'm currently a bit strapped for time, so if someone else could give that a quick testing, maybe it's good enough to just include that in portage, and spell good riddance to these API-deprecation issues.
Comment 5 Silvan Burch 2013-08-21 14:54:53 UTC
@Jeroen Roovers: just so I don't get it wrong: attach the whole output of 'emerge --info'?
Comment 6 Alexis Ballier gentoo-dev 2015-02-06 14:24:56 UTC
+  06 Feb 2015; Alexis Ballier <aballier@gentoo.org>
+  squeezeslave-1.1_p381.ebuild, +files/squeezeslave-1.1_p381-ffmpeg2.patch:
+  fix build with ffmpeg2, patch by Rick Moritz in bug #481062 with some extra
+  changes by me for ffmpeg 2.4+
+