Bug 176542 - dev-php[45]/pecl-fileinfo-1.0.4 stable request for dev-lang/php-5.2.1-r3
Bug#: 176542 Product:  Gentoo Linux Version: unspecified Platform: x86
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: php-bugs@gentoo.org Reported By: toto@darkside.tomsk.ru
Component: Applications
URL:  http://pecl.php.net/Fileinfo
Summary: dev-php[45]/pecl-fileinfo-1.0.4 stable request for dev-lang/php-5.2.1-r3
Keywords:  
Status Whiteboard: 
Opened: 2007-04-30 09:21 0000
Description:   Opened: 2007-04-30 09:21 0000
Hi,
With php-5.2.x pecl-info > 1.0.4 get:
config.status: creating config.h
/bin/sh
/var/tmp/portage/dev-php5/pecl-fileinfo-1.0.3/work/Fileinfo-1.0.3/libtool
--mode=compile i686-pc-linux-gnu-gcc  -I.
-I/var/tmp/portage/dev-php5/pecl-fileinfo-1.0.3/work/Fileinfo-1.0.3
-DPHP_ATOM_INC
-I/var/tmp/portage/dev-php5/pecl-fileinfo-1.0.3/work/Fileinfo-1.0.3/include
-I/var/tmp/portage/dev-php5/pecl-fileinfo-1.0.3/work/Fileinfo-1.0.3/main
-I/var/tmp/portage/dev-php5/pecl-fileinfo-1.0.3/work/Fileinfo-1.0.3
-I/usr/lib/php5/include/php -I/usr/lib/php5/include/php/main
-I/usr/lib/php5/include/php/TSRM -I/usr/lib/php5/include/php/Zend
-I/usr/lib/php5/include/php/ext -I/usr/lib/php5/include/php/ext/date/lib 
-DHAVE_CONFIG_H  -march=athlon-xp -O2 -pipe -fomit-frame-pointer   -c
/var/tmp/portage/dev-php5/pecl-fileinfo-1.0.3/work/Fileinfo-1.0.3/fileinfo.c -o
fileinfo.lo
mkdir .libs
 i686-pc-linux-gnu-gcc -I.
-I/var/tmp/portage/dev-php5/pecl-fileinfo-1.0.3/work/Fileinfo-1.0.3
-DPHP_ATOM_INC
-I/var/tmp/portage/dev-php5/pecl-fileinfo-1.0.3/work/Fileinfo-1.0.3/include
-I/var/tmp/portage/dev-php5/pecl-fileinfo-1.0.3/work/Fileinfo-1.0.3/main
-I/var/tmp/portage/dev-php5/pecl-fileinfo-1.0.3/work/Fileinfo-1.0.3
-I/usr/lib/php5/include/php -I/usr/lib/php5/include/php/main
-I/usr/lib/php5/include/php/TSRM -I/usr/lib/php5/include/php/Zend
-I/usr/lib/php5/include/php/ext -I/usr/lib/php5/include/php/ext/date/lib
-DHAVE_CONFIG_H -march=athlon-xp -O2 -pipe -fomit-frame-pointer -c
/var/tmp/portage/dev-php5/pecl-fileinfo-1.0.3/work/Fileinfo-1.0.3/fileinfo.c 
-fPIC -DPIC -o .libs/fileinfo.o
/var/tmp/portage/dev-php5/pecl-fileinfo-1.0.3/work/Fileinfo-1.0.3/fileinfo.c:124:42:
error: macro "ZEND_ME_MAPPING" requires 4 arguments, but only 3 given
/var/tmp/portage/dev-php5/pecl-fileinfo-1.0.3/work/Fileinfo-1.0.3/fileinfo.c:125:49:
error: macro "ZEND_ME_MAPPING" requires 4 arguments, but only 3 given
/var/tmp/portage/dev-php5/pecl-fileinfo-1.0.3/work/Fileinfo-1.0.3/fileinfo.c:124:
error: 'ZEND_ME_MAPPING' undeclared here (not in a function)
/var/tmp/portage/dev-php5/pecl-fileinfo-1.0.3/work/Fileinfo-1.0.3/fileinfo.c:125:
error: expected '}' before 'ZEND_ME_MAPPING'
/var/tmp/portage/dev-php5/pecl-fileinfo-1.0.3/work/Fileinfo-1.0.3/fileinfo.c:126:41:
error: macro "ZEND_ME_MAPPING" requires 4 arguments, but only 3 given
/var/tmp/portage/dev-php5/pecl-fileinfo-1.0.3/work/Fileinfo-1.0.3/fileinfo.c:127:45:
error: macro "ZEND_ME_MAPPING" requires 4 arguments, but only 3 given
make: *** [fileinfo.lo] Ошибка 1

!!! ERROR: dev-php5/pecl-fileinfo-1.0.3 failed.
Call stack:
  ebuild.sh, line 1614:   Called dyn_compile
  ebuild.sh, line 971:   Called qa_call 'src_compile'
  environment, line 4285:   Called src_compile
  ebuild.sh, line 1304:   Called php-ext-pecl-r1_src_compile
  php-ext-pecl-r1.eclass, line 38:   Called php-ext-source-r1_src_compile
  php-ext-source-r1.eclass, line 50:   Called die

!!! Unable to make code
!!! If you need support, post the topmost build error, and the call stack if
relevant.
!!! A complete build log is located at
'/var/tmp/portage/dev-php5/pecl-fileinfo-1.0.3/temp/build.log'.


Reproducible: Always

------- Comment #1 From toto 2007-04-30 09:22:15 0000 -------
Portage 2.1.2.2 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.5-r0,
2.6.19-gentoo-r5 i686)
=================================================================
System uname: 2.6.19-gentoo-r5 i686 AMD Athlon(tm) XP 1800+
Gentoo Base System release 1.12.9
Timestamp of tree: Mon, 30 Apr 2007 04:30:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632)
[disabled]
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.15-r1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config
/usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /var/bind
/var/qmail/alias /var/qmail/control /var/vpopmail/domains /var/vpopmail/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/php/apache1-php5/ext-active/
/etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/
/etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="ftp://fido:cocacola@baddy.ivanco.net/pub ftp://hostel.tusur.ru
ftp://213.183.109.13 http://gentoo.osuosl.org/
http://ftp.uoi.gr/mirror/OS/gentoo/ http://mirror.gentoo.gr.jp
http://ftp.twaren.net/Linux/Gentoo/"
LANG="ru_RU.utf8"
LC_ALL=""
LINGUAS="ru"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
--force --whole-file --delete --delete-after --stats --timeout=180
--exclude=/distfiles --exclude=/local --exclude=/packages
--filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/sunrise /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow accessibility apache2 apm berkdb bitmap-fonts bzip2 cgi cli cracklib
crypt curl dri eds emboss encode expat filter foomaticdb fortran ftp gd gdbm
geoip gif gmp gstreamer gtk2 iconv idn imagemagick imap imlib isdnlog jpeg lcms
libclamav libg++ libwww logrotate mad maildir mhash midi mikmod mmap mmx mng
mod_irc mod_muc mod_pubsub mono motif mpeg munin-apache munin-squid mysql
ncurses nls nptl nptlonly ogg oss pam pcntl pcre perl php png pppd python qt3
qt4 quicktime readline reflection samba sasl session slang spell spl sqlite sse
ssl tcpd tiff truetype truetype-fonts type1-fonts unicode usb vhosts web webdav
webinterface x86 xinetd xml xorg xv zip zlib" ALSA_CARDS="ali5451 als4000
atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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 mulaw multi
null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard
mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780
lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru" USERLAND="GNU" VIDEO_CARDS="apm
ark ati chips cirrus cyrix dummy fbdev glint i128 i740 i810 imstt mga neomagic
nsc nv rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident
tseng v4l vesa vga via vmware voodoo"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS,
PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

------- Comment #2 From Gustavo Zacarias (RETIRED) 2007-05-21 12:29:45 0000 -------
sparc already had dev-php5/pecl-fileinfo-1.0.4 stable because we do our
homework, and dev-php4/pecl-fileinfo-1.0.4 isn't a problem since it's for php4
:)

------- Comment #3 From Jeroen Roovers 2007-05-21 16:01:26 0000 -------
Stable for HPPA.

------- Comment #4 From Christian Faulhammer 2007-05-24 19:39:33 0000 -------
x86/amd64 stable

------- Comment #5 From Brent Baude 2007-05-25 15:07:36 0000 -------
ppc64 stable for both.

------- Comment #6 From nixnut 2007-06-01 17:12:07 0000 -------
stable on ppc.

------- Comment #7 From toto 2007-06-27 06:29:02 0000 -------
As I see, all done. plz close bug some one =]