Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 392695

Summary: media-video/motion-3.2.12-r1 fails to emerge with ffmpeg media-video/ffmpeg-0.8.7
Product: Gentoo Linux Reporter: Gary E. Miller <gem>
Component: Current packagesAssignee: Gentoo Media-video project <media-video>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Build.log
environment file

Description Gary E. Miller 2011-12-01 01:14:16 UTC
Created attachment 294405 [details]
Build.log

dagwood ~ # emerge -pqv =media-video/motion-3.2.12-r1
[ebuild   R   ] media-video/motion-3.2.12-r1  USE="ffmpeg mysql -postgres -v4l"

dagwood ~ # emerge --info =media-video/motion-3.2.12-r1
Portage 2.1.10.39 (default/linux/amd64/10.0/desktop, gcc-4.5.3, glibc-2.14.1-r1, 3.1.2-gentoo x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.1.2-gentoo-x86_64-Intel-R-_Core-TM-2_Duo_CPU_P8400_@_2.26GHz-with-gentoo-2.1
Timestamp of tree: Wed, 30 Nov 2011 16:45:01 +0000
distcc 3.1 x86_64-pc-linux-gnu [enabled]
app-shells/bash:          4.2_p20
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.2-r3, 3.2.2
dev-util/cmake:           2.8.6-r4
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.1
sys-apps/openrc:          0.9.4
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.5-r1, 1.9.6-r3, 1.10.3, 1.11.1-r1
sys-devel/binutils:       2.22
sys-devel/gcc:            4.5.3-r1
sys-devel/gcc-config:     1.5-r2
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 2.6.39 (virtual/os-headers)
sys-libs/glibc:           2.14.1-r1
Repositories: gentoo java-overlay
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa /var/bind /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/env.d/java/ /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=core2 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distcc distlocks ebuild-locks fixlafiles news parallel-fetch protect-owned sandbox sfperms unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://mirror.usu.edu/mirrors/gentoo/ http://gentoo.cites.uiuc.edu/pub/gentoo/ "
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-z,now,--as-needed,-O1,--hash-style=gnu,--sort-common"
LINGUAS="en"
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/portage/local/layman/java-overlay"
SYNC="rsync://spidey.rellim.com/gentoo-portage"
USE="X a52 aac acl acpi adns aesicm aio alsa amazon amd64 amr apng ares asyncns audiofile avahi bash-completion berkdb binary-drivers bonjour bookmarks branding btrfs bzip2 cairo calendar capi caps cdaudio cdb cdda cdio cdr celt cgroup chroot cli consolekit cracklib crypt cups curl custom-optimization cxx daap dbus dc1394 declarative dirac diskio divx dlz dri dtmf dts dv dvb dvbplayer dvd dvdr dvi ecwj2k emboss encode exif expat extrafilters extras faac faad fam fame fat festival ffmpeg ffmpeg-mt fftw firefox fits flac fontconfig foomaticdb fortran gallium gcdmaster gcrypt gd gdal gdbm gdu geoip geos geotiff gif gimp gkrellm glib gmath gml gmp gnuplot gnutls gost gpac gpg gpgme gphoto2 gpm gps grass gs gsl gsm gstreamer gtk gucharmap gutenprint h323 hardened hdf5 hfs hpijs hpn http iax iconv icu id3tag imagemagick inkjar inotify ipp iproute2 ipv6 irc ivr jabber jack java javascript jbig jpeg jpeg2k krb4 ladspa lame largefile latex lcms ldap less libass libburn libedit libextractor libgcrypt libnotify libsamplerate libsysfs libv4l2 libvisual live lm_sensors logrotate lv2 lzo mad matroska mbrola mdadm mdnsresponder-compat mkl mmx mng modules mp2 mp3 mp3rtp mp4 mp4live mpeg mpeg2 mplayer mtp mudflap multilib music musicbrainz mysql ncurses netcdf network nls nodrm nptl nptlonly nsplugin ntfs offensive ogdi ogg opencl openexr opengl openmp oss pam pango passwdqc pcap pch pcre pdf pdfimport perl pixmaps plotutil plotutils png pnm policykit ppds pppd proj pth pvr python qos qt-static qt3support qt4 rar raw rdesktop readline realmedia rle rpz rrdtool rtc rtsp run-as-root scanner schroedinger screen sdl secure-delete semantic-desktop server session shm shout sip sipim skins smi smp sndfile sound speex spell sqlite srt srtp sse sse2 sse3 ssh ssl ssse3 startup-notification stream svg swat syntax-check sysfs syslog taglib tcpd tcpwrapper theora threads thumbnail tidy tiff tools transcode truetype tunepimp twolame udev unicode urandom usb v4l2 vaapi vamp vcd vcdinfo vcdx vdr video vim-syntax visualization vlc vlm vnc vorbis vorbis-psy vpx vxml wav wavpack webkit wifi wikipedia wireshark wma wmf wmp wps wxwidgets x264 xanim xattr xcap xcb xcf xcomposite xface xfce xforms xft xine xinerama xml xmlrpc xmp xorg xosd xpm xrandr xrender xscreensaver xsl xslt xulrunner xv xvid xvmc yahoo youtube zephyr zeroconf zip zlib zrtp zvbi" 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" 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="kexi words flow plan stage tables krita karbon braindump" CAMERAS="canon fuji 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="keyboard mouse synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nouveau vesa" 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

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

media-video/motion-3.2.12-r1 was built with the following:
USE="ffmpeg (multilib) mysql -postgres -v4l"
Comment 1 Gary E. Miller 2011-12-01 01:14:55 UTC
Created attachment 294407 [details]
environment file
Comment 2 Gary E. Miller 2011-12-01 01:16:11 UTC
The meat of the issue:

x86_64-pc-linux-gnu-gcc -march=core2 -O2 -pipe -DWITHOUT_V4L -D_REENTRANT -DHAVE_FFMPEG -I/usr/include -DFFMPEG_NEW_INCLUDES -DHAVE_FFMPEG_NEW -I/usr/include/mysql -DTYPE_32BIT="int" -DHAVE_BSWAP    -Wall -DVERSION=\"3.2.12\" -Dsysconfdir=\"/etc\"    -c -o ffmpeg.o ffmpeg.c
ffmpeg.c:26:10: warning: #warning **************************************************
ffmpeg.c:27:10: warning: #warning Your version of FFmpeg is newer than version 0.4.8
ffmpeg.c:28:10: warning: #warning Newer versions of ffmpeg do not support MPEG1 with
ffmpeg.c:29:10: warning: #warning non-standard framerate. MPEG1 will be disabled for
ffmpeg.c:30:10: warning: #warning normal video output. You can still use mpeg4 and
ffmpeg.c:31:10: warning: #warning and mpeg4ms which are both better in terms of size
ffmpeg.c:32:10: warning: #warning and quality. MPEG1 is always used for timelapse.
ffmpeg.c:33:10: warning: #warning Please read the Motion Guide for more information.
ffmpeg.c:34:10: warning: #warning Note that this is not an error message!
ffmpeg.c:35:10: warning: #warning **************************************************
ffmpeg.c:183:5: warning: initialization from incompatible pointer type
ffmpeg.c: In function ‘mpeg1_write_trailer’:
ffmpeg.c:202:5: warning: ‘put_buffer’ is deprecated (declared at /usr/include/libavformat/avio.h:256)
ffmpeg.c:203:5: warning: ‘put_flush_packet’ is deprecated (declared at /usr/include/libavformat/avio.h:293)
ffmpeg.c: In function ‘ffmpeg_init’:
ffmpeg.c:232:5: warning: implicit declaration of function ‘av_register_protocol’
ffmpeg.c: In function ‘get_oformat’:
ffmpeg.c:261:9: warning: implicit declaration of function ‘guess_format’
ffmpeg.c:261:12: warning: assignment makes pointer from integer without a cast
ffmpeg.c:273:12: warning: assignment makes pointer from integer without a cast
ffmpeg.c:276:12: warning: assignment makes pointer from integer without a cast
ffmpeg.c:283:12: warning: assignment makes pointer from integer without a cast
ffmpeg.c:286:12: warning: assignment makes pointer from integer without a cast
ffmpeg.c:290:12: warning: assignment makes pointer from integer without a cast
ffmpeg.c:298:12: warning: assignment makes pointer from integer without a cast
ffmpeg.c: In function ‘ffmpeg_open’:
ffmpeg.c:380:21: error: ‘CODEC_TYPE_VIDEO’ undeclared (first use in this function)
ffmpeg.c:380:21: note: each undeclared identifier is reported only once for each function it appears in
ffmpeg.c:420:5: warning: ‘av_set_parameters’ is deprecated (declared at /usr/include/libavformat/avformat.h:1434)
ffmpeg.c:501:9: warning: ‘url_fopen’ is deprecated (declared at /usr/include/libavformat/avio.h:279)
ffmpeg.c:511:17: warning: ‘url_fopen’ is deprecated (declared at /usr/include/libavformat/avio.h:279)
ffmpeg.c:532:5: warning: ‘av_write_header’ is deprecated (declared at /usr/include/libavformat/avformat.h:1492)
ffmpeg.c: In function ‘ffmpeg_close’:
ffmpeg.c:599:9: warning: ‘url_fclose’ is deprecated (declared at /usr/include/libavformat/avio.h:280)
ffmpeg.c: In function ‘ffmpeg_put_frame’:
ffmpeg.c:649:22: error: ‘PKT_FLAG_KEY’ undeclared (first use in this function)
distcc[32158] ERROR: compile ffmpeg.c on localhost failed
make: *** [ffmpeg.o] Error 1
make: *** Waiting for unfinished jobs....
 * ERROR: media-video/motion-3.2.12-r1 failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of 'emerge --info =media-video/motion-3.2.12-r1',
 * the complete build log and the output of 'emerge -pqv =media-video/motion-3.2.12-r1'.
 * The complete build log is located at '/var/tmp/portage/media-video/motion-3.2.12-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-video/motion-3.2.12-r1/temp/environment'.
 * S: '/var/tmp/portage/media-video/motion-3.2.12-r1/work/motion-3.2.12'
 * 
 * The following package has failed to build or install:
 * 
 *  (media-video/motion-3.2.12-r1::gentoo, ebuild scheduled for merge), Log file:
 *   '/var/tmp/portage/media-video/motion-3.2.12-r1/temp/build.log'
 *
Comment 3 dony 2011-12-02 15:06:51 UTC
Same here:

media-video/motion-3.2.12-r1  USE="ffmpeg v4l -mysql -postgres"

# emerge --info motion        
Portage 2.1.10.39 (default/linux/amd64/10.0/desktop/gnome, gcc-4.5.3, glibc-2.14.1-r1, 3.1.4-gentoo x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.1.4-gentoo-x86_64-Intel-R-_Core-TM-_i7_CPU_M_620_@_2.67GHz-with-gentoo-2.1
Timestamp of tree: Fri, 02 Dec 2011 00:45:01 +0000
distcc 3.1 x86_64-pc-linux-gnu [disabled]
ccache version 3.1.6 [disabled]
app-shells/bash:          4.2_p20
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.2-r3, 3.2.2
dev-util/ccache:          3.1.6
dev-util/cmake:           2.8.6-r4
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.1
sys-apps/openrc:          0.9.4
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.10.3, 1.11.1-r1
sys-devel/binutils:       2.22
sys-devel/gcc:            4.5.3-r1
sys-devel/gcc-config:     1.5-r2
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 2.6.39 (virtual/os-headers)
sys-libs/glibc:           2.14.1-r1
Repositories: gentoo x-local-overlay
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -msse4 -mcx16 -mpopcnt -msahf -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /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/apache2-php5.4/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/php/cli-php5.4/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo"
CXXFLAGS="-march=core2 -msse4 -mcx16 -mpopcnt -msahf -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="de"
MAKEOPTS="-j5"
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="/dev/shm"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/local-overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X X509 a52 aac aalib acl acpi alsa amd64 apache2 asf automount avahi avi bacula-clientonly bash-completion berkdb bluetooth branding bzip2 cairo calendar cdda cddb cdr clamdtop cli colord consolekit cracklib crypt cups cxx dbus dri drm dts dvd dvdr dvdread eds emboss emerald encode evo exchange exif fam fbcondecor ffmpeg firefox flac fortran gdbm gdu gif gimp glitz gnome gnome-keyring gnome-online-accounts gphoto2 gpm gstreamer gtk hddtemp http http-cache iamd64 iconv imagemagick ipod ipv6 irda java jpeg jpeg2k lame laptop largefile lcms ldap libnotify lm_sensors mad mdnsresponder-compat milter mjpeg mmap mmx mng modules mono mp3 mp4 mpeg mudflap multilib nautilus ncurses networkmanager nls nptl nptlonly nsplugin nspluginwrapper nvidia ogg opengl openmp pam pango pcre pda pdf pdflib perl php png policykit ppds pppd pulseaudio qt3support qt4 quicktime readline redeyes reiserfs samba scanner sdl session sftp sms socialweb spell sse sse2 ssl startup-notification svg sysfs tcpd thumbnail tiff truetype udev unicode usb v4l v4l2 vcd video vorbis wifi x264 xcb xml xorg xulrunner xv xvid xvmc zlib" ALSA_CARDS="hda-intel" 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="access authz_host auth auth_dbm auth_anon auth_digest alias file-cache echo charset-lite cache disk-cache mem-cache ext-filter case_filter case-filter-in deflate mime-magic cern-meta expires filter headers loop-aes usertrack unique-id proxy proxy_connect proxy_ftp proxy_http info include cgi cgid dav dav-fs vhost-alias speling rewrite log_config logio env setenvif mime status autoindex asis negotiation dir imap actions userdir so unique_id authn_file auth_basic authn_dbm authz_groupfile authz_owner authz_user" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" 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="keyboard mouse evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" SANE_BACKENDS="net hp hp3500" USERLAND="GNU" VIDEO_CARDS="nv nvidia vesa vmware v4l" 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, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

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

media-video/motion-3.2.12-r1 was built with the following:
USE="ffmpeg (multilib) v4l -mysql -postgres"
Comment 4 Alexis Ballier gentoo-dev 2011-12-03 15:58:10 UTC
fixed, thanks
Comment 5 Gary E. Miller 2011-12-04 00:38:16 UTC
Confirmed fixed.  Thank you!