Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 510690 - =media-libs/mediastreamer-2.9.0 stable request (Was: media-libs/mediastreamer-2.8.2 with media-video/ffmpeg-2.2.2 - videoenc.c:105:15: error: field 'codec' has incomplete type)
Summary: =media-libs/mediastreamer-2.9.0 stable request (Was: media-libs/mediastreamer...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Andrew Savchenko
URL:
Whiteboard:
Keywords: STABLEREQ
Depends on: 530916 535584
Blocks: ffmpeg-2.2-stable
  Show dependency tree
 
Reported: 2014-05-18 22:00 UTC by Carter Young
Modified: 2015-05-01 19:25 UTC (History)
2 users (show)

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


Attachments
build.log (medstr_bld.log,18.67 KB, text/plain)
2014-05-18 23:53 UTC, Carter Young
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Carter Young 2014-05-18 22:00:35 UTC
Updated to media-video/ffmpeg-2.8.2 over the weekend, removed the graph2dot flag, and completed it.  Rebuilt all files complaining of preserved-libs.  Down to loast one:


!!! existing preserved libs:
>>> package: media-video/ffmpeg-2.2.2
 *  - /usr/lib64/libavcodec.so.54
 *  - /usr/lib64/libavcodec.so.54.92.100
 *      used by /usr/lib64/libmediastreamer.so.1.0.0 (media-libs/mediastreamer-2.8.2)


Reproducible: Always

Steps to Reproduce:
1.emerge =media-video/ffmpeg-2.2.2
2.emerge =media-libs/mediastreamer-2.8.2

Actual Results:  
videoenc.c:105:15: error: field 'codec' has incomplete type
videoenc.c:206:48: error: parameter 2 ('codec') has incomplete type
videoenc.c: In function 'process_frame':
videoenc.c:777:2: warning: 'avcodec_get_frame_defaults' is deprecated (declared at /usr/include/libavcodec/avcodec.h:3432) [-Wdeprecated-declarations]
videoenc.c:800:2: warning: 'avcodec_encode_video' is deprecated (declared at /usr/include/libavcodec/avcodec.h:4340) [-Wdeprecated-declarations]
make[3]: *** [videoenc.lo] Error 1
make[3]: Leaving directory `/var/tmp/portage/media-libs/mediastreamer-2.8.2/work/mediastreamer-2.8.2/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/media-libs/mediastreamer-2.8.2/work/mediastreamer-2.8.2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/media-libs/mediastreamer-2.8.2/work/mediastreamer-2.8.2'
make: *** [all] Error 2
 * ERROR: media-libs/mediastreamer-2.8.2::gentoo failed (compile phase):
 *   emake failed


Expected Results:  
=media-libs/mediastreamer-2.8.2 should compile cleanly

sudo emerge --info '=media-libs/mediastreamer-2.8.2::gentoo'
Portage 2.2.8-r1 (default/linux/amd64/13.0/desktop/kde/systemd, gcc-4.7.3, glibc-2.17, 3.12.13-gentoo x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.12.13-gentoo-x86_64-AMD_Athlon-tm-_II_X2_255_Processor-with-gentoo-2.2
KiB Mem:     4052940 total,    138124 free
KiB Swap:    4000764 total,   3987032 free
Timestamp of tree: Sat, 17 May 2014 20:15:01 +0000
ld GNU ld (GNU Binutils) 2.23.2
app-shells/bash:          4.2_p45
dev-java/java-config:     2.2.0
dev-lang/python:          2.7.6-r1, 3.2.5-r4, 3.3.5, 3.4.0
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.10.3, 1.11.6, 1.12.6, 1.14.1
sys-devel/binutils:       2.23.2
sys-devel/gcc:            4.7.3-r1
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2-r1
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.9 (virtual/os-headers)
sys-libs/glibc:           2.17
Repositories: gentoo sunrise mistafunk mv
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
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 /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.5/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cli-php5.5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /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="/var/cache/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://gentoo.cites.uiuc.edu/pub/gentoo/"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
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/sunrise /var/lib/layman/mistafunk /var/lib/layman/mv"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="64bit X a52 aac aalib acl acpi aim alsa amd64 apache2 apm audiofile bash-completion bazaar bcmath berkdb bidi binfilter bluetooth branding bzip2 c++0x cairo calendar cdda cddb cdr cgi cli client cracklib crypt css ctype cups curl curlwrappers cvs cxx datahub dbus dconf declarative dga djvu downloads-monitor dri dts dvd dvdr emboss encode exif expat extra-cardsets fam fbcondecor ffmpeg firefox flac fontconfig foomaticdb fortran freetds ftp g15 gd gdbm geoip gif gimp gles2 glut gnome-screensaver gnome-shell gphoto2 gpm gps graphite graphviz gsm gtk gtkspell gtkstyle gudev guile hwdb i18n iconv icq icu idn ieee1394 imap imlib introspection ipod ipv6 jabber jack java java6 javascript jbig jingle joystick jpeg jpeg2k kde kipi ladspa lame lash latex lcms ldap libcaca libgda libnotify lirc lm_sensors lock lua lzma lzo mad mbox mime minizip mmap mmx mng mod modplug modules mozilla mp3 mp4 mpeg mplayer msn multilib musepack mysql nas ncurses networkmanager nis nls nntp nptl nsplugin nvidia odbc offensive ogg openal openexr opengl openmp openntpd openrc oscar pam pango pch pcre pda pdf phonon php plasma plotutils plugin-fishlim plymouth png policykit posix postgres ppds pulseaudio python qt3support qt4 raw rdesktop readline rss ruby scanner sdl semantic-desktop session sharedext sharedmem shorten slp smp sndfile snmp soap sockets speex spell sqlite sse sse2 ssl startup-notification subversion svg syslog systemd taglib tcl tcpd theora threads thumbnail thunar tidy tiff tk truetype udev udisks unicode upower usb vala vhosts video vlc vorbis webkit wmf wxwidgets x264 xcb xcomposite xft xine xinerama xml xmlreader xmlrpc xmlwriter xpm xscreensaver xv xvid yahoo zip zlib" ABI_X86="32 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="alias auth_basic auth_digest rewrite authz_host dir mime cgid php dav mono status include mime_magic log_config setenvif" APACHE2_MPMS="worker" 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" DRACUT_MODULES="plymouth" ELIBC="glibc" FFTOOLS="aviocat cws2fws ffeval ffescape fourcc2pixfmt ismindex pktdumper qt-faststart trasher" 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="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="nlpsolver pdfimport presenter-console presenter-minimizer scripting-javascript" LINGUAS="en en_US" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5_5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20 ruby21" 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"
USE_PYTHON="2.7 3.3"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

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

media-libs/mediastreamer-2.8.2 was built with the following:
USE="X alsa gsm ipv6 (policykit) pulseaudio sdl speex theora video x264 -amr -bindist (-coreaudio) -debug -doc -examples -g726 -g729 -ilbc -oss -portaudio -silk -static-libs -v4l" ABI_X86="64"
Comment 1 Carter Young 2014-05-18 22:12:04 UTC
Please make ffmpeg-2.2.2 rely on >=media-libs/mediastreamer-2.9.0

Fixed by adding media-libs/mediastreamer to /etc/portage/package.accept_keywords
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2014-05-18 23:23:14 UTC
Please attach the entire build log to this bug report.
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2014-05-18 23:24:12 UTC
(In reply to Carter Young from comment #1)
> Please make ffmpeg-2.2.2 rely on >=media-libs/mediastreamer-2.9.0
> 
> Fixed by adding media-libs/mediastreamer to
> /etc/portage/package.accept_keywords

They are both in the unstable branch, so if _you_ added one of them to package.keywords, then it's up to _you_ to add the other one as well. But I digress.
Comment 4 Carter Young 2014-05-18 23:53:14 UTC
Created attachment 377212 [details]
build.log
Comment 5 Carter Young 2014-05-18 23:57:21 UTC
(In reply to Jeroen Roovers from comment #3)
> (In reply to Carter Young from comment #1)
> > Please make ffmpeg-2.2.2 rely on >=media-libs/mediastreamer-2.9.0
> > 
> > Fixed by adding media-libs/mediastreamer to
> > /etc/portage/package.accept_keywords
> 
> They are both in the unstable branch, so if _you_ added one of them to
> package.keywords, then it's up to _you_ to add the other one as well. But I
> digress.

While I agree with that plan, I disagree with at least not having an ewarning, ie, this ebuild requires an updated header which replaces a deprecated header.  The new format can be used by upgrading to >=media-libs/mediastreamer-2.9.0
Comment 6 Agostino Sarubbo gentoo-dev 2015-03-27 16:38:24 UTC
amd64 stable
Comment 7 Pacho Ramos gentoo-dev 2015-04-18 10:31:34 UTC
ppc stable
Comment 8 Pacho Ramos gentoo-dev 2015-04-18 10:32:45 UTC
x86 stable
Comment 9 Jeroen Roovers (RETIRED) gentoo-dev 2015-05-01 19:25:46 UTC
Stable for PPC64. Closing.