Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 368163 - dev-php5/ffmpeg-php emerge fails
Summary: dev-php5/ffmpeg-php emerge fails
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: PHP Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-20 12:28 UTC by John L. Poole
Modified: 2011-05-23 16:43 UTC (History)
0 users

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


Attachments
build.log (build.log,24.29 KB, text/plain)
2011-05-20 12:32 UTC, John L. Poole
Details
enivironment (environment,118.98 KB, application/octet-stream)
2011-05-20 12:32 UTC, John L. Poole
Details

Note You need to log in before you can comment on or make changes to this bug.
Description John L. Poole 2011-05-20 12:28:45 UTC
emerge  dev-php5/ffmpeg-php results in:
 * ERROR: dev-php5/ffmpeg-php-0.6.0-r1 failed (compile phase):
 *   Unable to make code
...


localhost ~ # emerge --info =dev-php5/ffmpeg-php-0.6.0-r1
Portage 2.1.9.42 (default/linux/amd64/10.0, gcc-4.4.5, libc-0-r0, 2.6.37-gentoo-r4 x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.37-gentoo-r4-x86_64-AMD_Phenom-tm-_II_X4_940_Processor-with-gentoo-2.0.2
Timestamp of tree: Fri, 20 May 2011 10:45:01 +0000
distcc 3.1 x86_64-pc-linux-gnu [disabled]
app-shells/bash:     4.1_p9
dev-java/java-config: 2.1.11-r3
dev-lang/python:     2.6.6-r1, 2.7.1-r1, 3.1.3-r1
dev-util/cmake:      2.8.4-r1
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.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.5, 4.5.2
sys-devel/gcc-config: 1.4.1-r1
sys-devel/libtool:   2.2.10
sys-devel/make:      3.81-r2
sys-kernel/linux-headers: 2.6.36.1
sys-libs/glibc:      2.12.2
virtual/os-headers:  0
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA dlj-1.1 AdobeFlash-10.1"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/bind /var/lib/hsqldb /var/lib/neatx/home"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /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="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://mirror.usu.edu/mirrors/gentoo/ http://mirror.its.uidaho.edu/pub/gentoo/ "
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j8"
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://192.168.168.15/gentoo-portage"
USE="X acl amd64 apache2 avahi berkdb bzip2 cli cracklib crypt cups cxx dbus dri fortran gdbm gnome gpm gtk iconv ipv6 mmx modules mudflap multilib mysql ncurses nls nptl nptlonly openmp pam pcre perl pppd python qt3support readline session sse sse2 ssl sysfs tcpd unicode xorg zlib" 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="braindump flow karbon kexi kpresenter krita tables words" 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" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy 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, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

localhost ~ #
localhost ~ # emerge -pqv =dev-php5/ffmpeg-php-0.6.0-r1
[ebuild     U ] dev-php5/ffmpeg-php-0.6.0-r1 [0.6.0] PHP_TARGETS="php5-3%* -php5-2%"

 * IMPORTANT: 2 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.

localhost ~ #

build.log and environment to follow in attachments.
Comment 1 John L. Poole 2011-05-20 12:32:13 UTC
Created attachment 274099 [details]
build.log
Comment 2 John L. Poole 2011-05-20 12:32:32 UTC
Created attachment 274101 [details]
enivironment
Comment 3 John L. Poole 2011-05-20 12:38:46 UTC
Note:
localhost ~ # cat /etc/portage/package.keywords |grep php
# BEGIN: dev-php5/ffmpeg-php-0.6.0
=dev-php5/ffmpeg-php-0.6.0 ~amd64
# END: dev-php5/ffmpeg-php-0.6.0
localhost ~ #
Comment 4 John L. Poole 2011-05-20 12:41:58 UTC
I rem'd out the line, as in:

   #=dev-php5/ffmpeg-php-0.6.0 ~amd64

in /etc/portage/package.keywords and got the same result.
Comment 5 Ole Markus With (RETIRED) gentoo-dev 2011-05-23 10:08:57 UTC
There is only one version of ffmpeg-php, dev-php5/ffmpeg-php-0.6.0-r1, and this one is stable so your keywords file does not affect anything. 

Which version of ffmpeg do you have installed. I tried building php-ffmpeg both against 0.6 0.6_p25767 and against 0.7_rc1 and both work fine. I did not try building against any version of libav.
Comment 6 John L. Poole 2011-05-23 16:19:13 UTC
[I] virtual/ffmpeg
     Available versions:  0.6-r1 ~0.6.90 {X +encode jpeg2k mp3 sdl theora threads vaapi vdpau x264}
     Installed versions:  0.6-r1(14:50:41 04/07/11)(X encode mp3 sdl threads -theora -vaapi -vdpau -x264)
     Description:         Virtual package for FFmpeg implementation
Comment 7 John L. Poole 2011-05-23 16:20:58 UTC
[I] media-video/ffmpeg
     Available versions:  0.6 0.6_p25767 (~)0.6.90_rc0-r2 (~)0.7_rc1 (**)9999 {+3dnow +3dnowext X aac alsa altivec amr avx bindist +bzip2 celt cpudetection custom-cflags debug dirac doc +encode faac faad frei0r gsm +hardcoded-tables ieee1394 jack jpeg2k +mmx +mmxext mp3 network oss pic qt-faststart rtmp schroedinger sdl speex +ssse3 static-libs test theora threads truetype v4l v4l2 vaapi vdpau video_cards_nvidia vorbis vpx x264 xvid (+)zlib}
     Installed versions:  9999(17:20:18 05/13/11)(3dnow 3dnowext X bzip2 encode hardcoded-tables mmx mmxext mp3 sdl ssse3 threads zlib -aac -alsa -altivec -amr -avx -bindist -celt -cpudetection -custom-cflags -debug -dirac -doc -faac -frei0r -gsm -ieee1394 -jack -jpeg2k -network -oss -pic -qt-faststart -rtmp -schroedinger -speex -static-libs -test -theora -truetype -v4l -v4l2 -vaapi -vdpau -video_cards_nvidia -vorbis -vpx -x264 -xvid)
     Homepage:            http://ffmpeg.org/
     Description:         Complete solution to record, convert and stream audio and video. Includes libavcodec.
Comment 8 John L. Poole 2011-05-23 16:23:10 UTC
localhost ~ # cat /etc/portage/package.use |grep ffmpeg
 media-video/ffmpeg threads
 media-video/ffmpeg mp3
media-sound/sox flac mp3 id3tag lame mad png ogg ffmpeg
media-video/ffmpeg sdl
media-libs/mlt ffmpeg melt qt4 sdl xml
virtual/ffmpeg sdl threads mp3
localhost ~ # cat /etc/portage/package.keywords |grep ffmpeg
# BEGIN: dev-php5/ffmpeg-php-0.6.0
#=dev-php5/ffmpeg-php-0.6.0 ~amd64
# END: dev-php5/ffmpeg-php-0.6.0
media-video/ffmpeg **
localhost ~ #
Comment 9 Ole Markus With (RETIRED) gentoo-dev 2011-05-23 16:32:55 UTC
To me, it looks like you are using a live version of ffmpeg. Please test with a supported (i.e stable) version.
Comment 10 John L. Poole 2011-05-23 16:43:46 UTC
You are right. 

I remarked the last line in my /etc/portage/package.keywords now that version 6 is in Gentoo:
  #
  # to get R .6
  #
  #media-video/ffmpeg **

I emerge media-video/ffmpeg pulling in   0.6_p25767(08:46:28 05/23/11).

I successfully emerged dev-php5/ffmpeg-php.

Thank you.