Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 242798 - dev-php/ffmpeg-php-0.5.3 fails to build against media-video/ffmpeg-0.4.9_p20081014
Summary: dev-php/ffmpeg-php-0.5.3 fails to build against media-video/ffmpeg-0.4.9_p200...
Status: RESOLVED DUPLICATE of bug 242050
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: PHP Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-19 17:11 UTC by f1a989188a51186834a821708563800a
Modified: 2008-10-20 13:52 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description f1a989188a51186834a821708563800a 2008-10-19 17:11:56 UTC
After updating ffmpeg to version ffmpeg-0.4.9_p20081014 I get a message tu run emerge @preserved-rebuild, but it fails every time.

Reproducible: Always
Comment 1 f1a989188a51186834a821708563800a 2008-10-19 17:20:08 UTC
build.log:

configure: creating ./config.status
config.status: creating config.h
config.status: executing libtool commands
/bin/sh /tmp/portage/dev-php5/ffmpeg-php-0.5.3/work/ffmpeg-php-0.5.3/libtool --mode=compile x86_64-pc-linux-gnu-gcc  -I. -I/tm
p/portage/dev-php5/ffmpeg-php-0.5.3/work/ffmpeg-php-0.5.3 -DPHP_ATOM_INC -I/tmp/portage/dev-php5/ffmpeg-php-0.5.3/work/ffmpeg-
php-0.5.3/include -I/tmp/portage/dev-php5/ffmpeg-php-0.5.3/work/ffmpeg-php-0.5.3/main -I/tmp/portage/dev-php5/ffmpeg-php-0.5.3
/work/ffmpeg-php-0.5.3 -I/usr/lib64/php5/include/php -I/usr/lib64/php5/include/php/main -I/usr/lib64/php5/include/php/TSRM -I/
usr/lib64/php5/include/php/Zend -I/usr/lib64/php5/include/php/ext -I/usr/lib64/php5/include/php/ext/date/lib -I/usr/include/li
bavcodec/ -I/usr/include/libavformat/ -I/usr/include/libavutil/ -I/usr/include/libswscale/ -I/usr/include/libavfilter/ -I/usr/
include/libavdevice/  -DHAVE_CONFIG_H  -O2 -march=k8 -pipe --omit-frame-pointer --rename-registers -m64 -Wall -fno-strict-alia
sing   -c /tmp/portage/dev-php5/ffmpeg-php-0.5.3/work/ffmpeg-php-0.5.3/ffmpeg-php.c -o ffmpeg-php.lo
/bin/sh /tmp/portage/dev-php5/ffmpeg-php-0.5.3/work/ffmpeg-php-0.5.3/libtool --mode=compile x86_64-pc-linux-gnu-gcc  -I. -I/tm
p/portage/dev-php5/ffmpeg-php-0.5.3/work/ffmpeg-php-0.5.3 -DPHP_ATOM_INC -I/tmp/portage/dev-php5/ffmpeg-php-0.5.3/work/ffmpeg-
php-0.5.3/include -I/tmp/portage/dev-php5/ffmpeg-php-0.5.3/work/ffmpeg-php-0.5.3/main -I/tmp/portage/dev-php5/ffmpeg-php-0.5.3
/work/ffmpeg-php-0.5.3 -I/usr/lib64/php5/include/php -I/usr/lib64/php5/include/php/main -I/usr/lib64/php5/include/php/TSRM -I/
usr/lib64/php5/include/php/Zend -I/usr/lib64/php5/include/php/ext -I/usr/lib64/php5/include/php/ext/date/lib -I/usr/include/li
bavcodec/ -I/usr/include/libavformat/ -I/usr/include/libavutil/ -I/usr/include/libswscale/ -I/usr/include/libavfilter/ -I/usr/
include/libavdevice/  -DHAVE_CONFIG_H  -O2 -march=k8 -pipe --omit-frame-pointer --rename-registers -m64 -Wall -fno-strict-alia
sing   -c /tmp/portage/dev-php5/ffmpeg-php-0.5.3/work/ffmpeg-php-0.5.3/ffmpeg_movie.c -o ffmpeg_movie.lo
libtool: compile:  x86_64-pc-linux-gnu-gcc -I. -I/tmp/portage/dev-php5/ffmpeg-php-0.5.3/work/ffmpeg-php-0.5.3 -DPHP_ATOM_INC -
I/tmp/portage/dev-php5/ffmpeg-php-0.5.3/work/ffmpeg-php-0.5.3/include -I/tmp/portage/dev-php5/ffmpeg-php-0.5.3/work/ffmpeg-php
-0.5.3/main -I/tmp/portage/dev-php5/ffmpeg-php-0.5.3/work/ffmpeg-php-0.5.3 -I/usr/lib64/php5/include/php -I/usr/lib64/php5/inc
lude/php/main -I/usr/lib64/php5/include/php/TSRM -I/usr/lib64/php5/include/php/Zend -I/usr/lib64/php5/include/php/ext -I/usr/l
ib64/php5/include/php/ext/date/lib -I/usr/include/libavcodec/ -I/usr/include/libavformat/ -I/usr/include/libavutil/ -I/usr/inc
lude/libswscale/ -I/usr/include/libavfilter/ -I/usr/include/libavdevice/ -DHAVE_CONFIG_H -O2 -march=k8 -pipe --omit-frame-poin
ter --rename-registers -m64 -Wall -fno-strict-aliasing -c /tmp/portage/dev-php5/ffmpeg-php-0.5.3/work/ffmpeg-php-0.5.3/ffmpeg-
php.c  -fPIC -DPIC -o .libs/ffmpeg-php.o
libtool: compile:  x86_64-pc-linux-gnu-gcc -I. -I/tmp/portage/dev-php5/ffmpeg-php-0.5.3/work/ffmpeg-php-0.5.3 -DPHP_ATOM_INC -
I/tmp/portage/dev-php5/ffmpeg-php-0.5.3/work/ffmpeg-php-0.5.3/include -I/tmp/portage/dev-php5/ffmpeg-php-0.5.3/work/ffmpeg-php
-0.5.3/main -I/tmp/portage/dev-php5/ffmpeg-php-0.5.3/work/ffmpeg-php-0.5.3 -I/usr/lib64/php5/include/php -I/usr/lib64/php5/inc
lude/php/main -I/usr/lib64/php5/include/php/TSRM -I/usr/lib64/php5/include/php/Zend -I/usr/lib64/php5/include/php/ext -I/usr/l
ib64/php5/include/php/ext/date/lib -I/usr/include/libavcodec/ -I/usr/include/libavformat/ -I/usr/include/libavutil/ -I/usr/include/libswscale/ -I/usr/include/libavfilter/ -I/usr/include/libavdevice/ -DHAVE_CONFIG_H -O2 -march=k8 -pipe --omit-frame-poin
ter --rename-registers -m64 -Wall -fno-strict-aliasing -c /tmp/portage/dev-php5/ffmpeg-php-0.5.3/work/ffmpeg-php-0.5.3/ffmpeg_
movie.c  -fPIC -DPIC -o .libs/ffmpeg_movie.o
/tmp/portage/dev-php5/ffmpeg-php-0.5.3/work/ffmpeg-php-0.5.3/ffmpeg-php.c: In function 'zm_startup_ffmpeg':
/tmp/portage/dev-php5/ffmpeg-php-0.5.3/work/ffmpeg-php-0.5.3/ffmpeg-php.c:110: warning: implicit declaration of function 'avco
dec_build'
/tmp/portage/dev-php5/ffmpeg-php-0.5.3/work/ffmpeg-php-0.5.3/ffmpeg-php.c: In function 'zm_shutdown_ffmpeg':
/tmp/portage/dev-php5/ffmpeg-php-0.5.3/work/ffmpeg-php-0.5.3/ffmpeg-php.c:121: warning: implicit declaration of function 'av_f
ree_static'
/tmp/portage/dev-php5/ffmpeg-php-0.5.3/work/ffmpeg-php-0.5.3/ffmpeg_movie.c: In function '_php_get_ff_frame':
/tmp/portage/dev-php5/ffmpeg-php-0.5.3/work/ffmpeg-php-0.5.3/ffmpeg_movie.c:1333: warning: implicit declaration of function 'img_copy'
/bin/sh /tmp/portage/dev-php5/ffmpeg-php-0.5.3/work/ffmpeg-php-0.5.3/libtool --mode=compile x86_64-pc-linux-gnu-gcc  -I. -I/tm
p/portage/dev-php5/ffmpeg-php-0.5.3/work/ffmpeg-php-0.5.3 -DPHP_ATOM_INC -I/tmp/portage/dev-php5/ffmpeg-php-0.5.3/work/ffmpeg-
php-0.5.3/include -I/tmp/portage/dev-php5/ffmpeg-php-0.5.3/work/ffmpeg-php-0.5.3/main -I/tmp/portage/dev-php5/ffmpeg-php-0.5.3
/work/ffmpeg-php-0.5.3 -I/usr/lib64/php5/include/php -I/usr/lib64/php5/include/php/main -I/usr/lib64/php5/include/php/TSRM -I/
usr/lib64/php5/include/php/Zend -I/usr/lib64/php5/include/php/ext -I/usr/lib64/php5/include/php/ext/date/lib -I/usr/include/li
bavcodec/ -I/usr/include/libavformat/ -I/usr/include/libavutil/ -I/usr/include/libswscale/ -I/usr/include/libavfilter/ -I/usr/
include/libavdevice/  -DHAVE_CONFIG_H  -O2 -march=k8 -pipe --omit-frame-pointer --rename-registers -m64 -Wall -fno-strict-alia
sing   -c /tmp/portage/dev-php5/ffmpeg-php-0.5.3/work/ffmpeg-php-0.5.3/ffmpeg_frame.c -o ffmpeg_frame.lo
libtool: compile:  x86_64-pc-linux-gnu-gcc -I. -I/tmp/portage/dev-php5/ffmpeg-php-0.5.3/work/ffmpeg-php-0.5.3 -DPHP_ATOM_INC -
I/tmp/portage/dev-php5/ffmpeg-php-0.5.3/work/ffmpeg-php-0.5.3/include -I/tmp/portage/dev-php5/ffmpeg-php-0.5.3/work/ffmpeg-php
-0.5.3/main -I/tmp/portage/dev-php5/ffmpeg-php-0.5.3/work/ffmpeg-php-0.5.3 -I/usr/lib64/php5/include/php -I/usr/lib64/php5/inc
lude/php/main -I/usr/lib64/php5/include/php/TSRM -I/usr/lib64/php5/include/php/Zend -I/usr/lib64/php5/include/php/ext -I/usr/l
ib64/php5/include/php/ext/date/lib -I/usr/include/libavcodec/ -I/usr/include/libavformat/ -I/usr/include/libavutil/ -I/usr/inc
lude/libswscale/ -I/usr/include/libavfilter/ -I/usr/include/libavdevice/ -DHAVE_CONFIG_H -O2 -march=k8 -pipe --omit-frame-poin
ter --rename-registers -m64 -Wall -fno-strict-aliasing -c /tmp/portage/dev-php5/ffmpeg-php-0.5.3/work/ffmpeg-php-0.5.3/ffmpeg_
frame.c  -fPIC -DPIC -o .libs/ffmpeg_frame.o
/tmp/portage/dev-php5/ffmpeg-php-0.5.3/work/ffmpeg-php-0.5.3/ffmpeg_frame.c: In function '_php_convert_frame':
/tmp/portage/dev-php5/ffmpeg-php-0.5.3/work/ffmpeg-php-0.5.3/ffmpeg_frame.c:202: warning: implicit declaration of function 'im
g_convert'
/tmp/portage/dev-php5/ffmpeg-php-0.5.3/work/ffmpeg-php-0.5.3/ffmpeg_frame.c: In function '_php_crop_frame':
/tmp/portage/dev-php5/ffmpeg-php-0.5.3/work/ffmpeg-php-0.5.3/ffmpeg_frame.c:260: warning: implicit declaration of function 'im
g_copy'
/tmp/portage/dev-php5/ffmpeg-php-0.5.3/work/ffmpeg-php-0.5.3/ffmpeg_frame.c: In function '_php_resample_frame':
/tmp/portage/dev-php5/ffmpeg-php-0.5.3/work/ffmpeg-php-0.5.3/ffmpeg_frame.c:282: error: 'ImgReSampleContext' undeclared (first
 use in this function)
/tmp/portage/dev-php5/ffmpeg-php-0.5.3/work/ffmpeg-php-0.5.3/ffmpeg_frame.c:282: error: (Each undeclared identifier is reporte
d only once
/tmp/portage/dev-php5/ffmpeg-php-0.5.3/work/ffmpeg-php-0.5.3/ffmpeg_frame.c:282: error: for each function it appears in.)
/tmp/portage/dev-php5/ffmpeg-php-0.5.3/work/ffmpeg-php-0.5.3/ffmpeg_frame.c:282: error: 'img_resample_ctx' undeclared (first u
se in this function)
/tmp/portage/dev-php5/ffmpeg-php-0.5.3/work/ffmpeg-php-0.5.3/ffmpeg_frame.c:308: warning: implicit declaration of function 'im
g_resample_full_init'
/tmp/portage/dev-php5/ffmpeg-php-0.5.3/work/ffmpeg-php-0.5.3/ffmpeg_frame.c:321: warning: implicit declaration of function 'im
g_resample'
/tmp/portage/dev-php5/ffmpeg-php-0.5.3/work/ffmpeg-php-0.5.3/ffmpeg_frame.c:326: warning: implicit declaration of function 'im
g_resample_close'
make: *** [ffmpeg_frame.lo] Error 1
make: *** Waiting for unfinished jobs....
 .[31;01m*.[0m
 .[31;01m*.[0m ERROR: dev-php5/ffmpeg-php-0.5.3 failed.
 .[31;01m*.[0m Call stack:
 .[31;01m*.[0m ebuild.sh, line   49:  Called src_compile
 .[31;01m*.[0m environment, line 3648:  Called php-ext-source-r1_src_compile
 .[31;01m*.[0m environment, line 2893:  Called die
 .[31;01m*.[0m The specific snippet of code:
 .[31;01m*.[0m emake || die "Unable to make code";
 .[31;01m*.[0m The die message:
 .[31;01m*.[0m Unable to make code
 .[31;01m*.[0m
 .[31;01m*.[0m If you need support, post the topmost build error, and the call stack if relevant.
 .[31;01m*.[0m A complete build log is located at '/tmp/portage/dev-php5/ffmpeg-php-0.5.3/temp/build.log'.
 .[31;01m*.[0m The ebuild environment file is located at '/tmp/portage/dev-php5/ffmpeg-php-0.5.3/temp/environment'.
 .[31;01m*.[0m

www temp # emerge -pv ffmpeg
WARNING: repository at /usr/local/portage is missing a repo_name entry

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] media-video/ffmpeg-0.4.9_p20081014  USE="aac encode mmx mp3 threads xvid zlib -X (-altivec) -amr -bindist -debug -dirac -doc -gsm -hardcoded-tables -ieee1394 -ipv6 -mmxext -network -schroedinger -sdl -ssse3 -test -theora -v4l -v4l2 -vhook -vorbis -x264" 0 kB

www temp # emerge -pv ffmpeg-php
WARNING: repository at /usr/local/portage is missing a repo_name entry

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] dev-php5/ffmpeg-php-0.5.3  0 kB

www temp # emerge --info
WARNING: repository at /usr/local/portage is missing a repo_name entry
Portage 2.2_rc12 (default/linux/amd64/2008.0, gcc-4.3.2, glibc-2.8_p20080602-r0, 2.6.26-gentoo-r1 x86_64)
=================================================================
System uname: Linux-2.6.26-gentoo-r1-x86_64-AMD_Athlon-tm-_64_Processor_3000+-with-gentoo-2.0.0
Timestamp of tree: Sun, 19 Oct 2008 08:30:01 +0000
app-shells/bash:     3.2_p39
dev-lang/python:     2.4.4-r13, 2.5.2-r8, 2.6-r2
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.3.0-r1
sys-apps/sandbox:    1.2.18.1-r3
sys-devel/autoconf:  2.63
sys-devel/automake:  1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.26
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=k8 -pipe --omit-frame-pointer --rename-registers -m64"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=k8 -pipe --omit-frame-pointer --rename-registers -m64"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS="-Wl,--hash-style=both -Wl,-O1"
LINGUAS="hu"
MAKEOPTS="-j2 -l3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/rsync_excludes"
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="/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="acl amd64 berkdb bzip2 cli cracklib crypt cups dri fastcgi fortran gdbm glibc-omitfp gpm iconv isdnlog midi minimal mmap mmx mudflap multilib ncurses nptl nptlonly pam pcre perl pppd python readline reflection session spl sse sse2 ssl sysfs 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 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="hu" USERLAND="GNU" VIDEO_CARDS="fbdev glint i810 mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa vga via vmware voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS

www temp # emerge -pv php
WARNING: repository at /usr/local/portage is missing a repo_name entry

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] dev-lang/php-5.2.6-r7  USE="apache2 bcmath bzip2 cgi cli crypt ctype curl discard-path force-cgi-redirect ftp gd hash imap json mysql mysqli nls pcre session simplexml sockets spl ssl sysvipc threads tokenizer truetype unicode xml xmlreader xmlrpc xmlwriter zip-external zlib (-adabas) -berkdb (-birdstep) -calendar -cdb -cjk -concurrentmodphp -curlwrappers -db2 -dbase (-dbmaker) -debug -doc (-empress) (-empress-bcs) (-esoob) -exif -fastbuild (-fdftk) -filter (-firebird) -flatfile (-frontbase) -gd-external -gdbm -gmp -iconv -inifile -interbase -iodbc -ipv6 (-java-external) -kerberos -kolab -ldap -ldap-sasl -libedit -mcve -mhash -msql -mssql -ncurses -oci8 -oci8-instant-client -odbc -pcntl -pdo -pic -posix -postgres -qdbm -readline -recode -reflection -sapdb -sharedext -sharedmem -snmp -soap (-solid) -spell -sqlite -suhosin (-sybase) (-sybase-ct) -tidy -wddx -xpm -xsl -yaz -zip" 0 kB

and the system message:
!!! existing preserved libs:
>>> package: media-video/ffmpeg-0.4.9_p20081014
 *  - /usr/lib64/libavcodec.so.51
 *  - /usr/lib64/libavcodec.so.51.53.0
 *      used by /usr/lib64/php5/lib/php/extensions/no-debug-zts-20060613/ffmpeg.so (dev-php5/ffmpeg-php-0.5.3)
Use emerge @preserved-rebuild to rebuild packages using these libraries

I tried the revdep-rebuild. Reason: nothing changed.
Comment 2 Alexis Ballier gentoo-dev 2008-10-20 13:52:58 UTC

*** This bug has been marked as a duplicate of bug 242050 ***