Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 368595 - dev-php5/pecl-http-1.7.1 - /var/tmp/portage/dev-php5/pecl-http-1.7.1/work/php5.3/http_api.c:256: error: too few arguments to function 'php_ob_handler_used'
Summary: dev-php5/pecl-http-1.7.1 - /var/tmp/portage/dev-php5/pecl-http-1.7.1/work/php...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: PHP Bugs
URL: http://pecl.php.net/bugs/bug.php?id=2...
Whiteboard:
Keywords:
Depends on:
Blocks: 397001
  Show dependency tree
 
Reported: 2011-05-24 14:18 UTC by Matthew Schultz
Modified: 2012-02-21 13:59 UTC (History)
5 users (show)

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


Attachments
build.log (build.log,38.07 KB, text/plain)
2011-05-24 14:19 UTC, Matthew Schultz
Details
environment (environment,122.82 KB, text/plain)
2011-05-24 14:20 UTC, Matthew Schultz
Details
Patch for fixing compile errors. (php_ob_handler_used.patch,529 bytes, patch)
2011-07-06 14:14 UTC, Jan Vansteenkiste
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Matthew Schultz 2011-05-24 14:18:19 UTC
=dev-php5/pecl-http-1.7.1 is failing to compile:

/var/tmp/portage/dev-php5/pecl-http-1.7.1/work/php5.3/http_api.c: In function '_http_exit_ex':
/var/tmp/portage/dev-php5/pecl-http-1.7.1/work/php5.3/http_api.c:256: error: too few arguments to function 'php_ob_handler_used'
/var/tmp/portage/dev-php5/pecl-http-1.7.1/work/php5.3/http_api.c:256: error: too few arguments to function 'php_ob_handler_used'
make: *** [http_api.lo] Error 1
make: *** Waiting for unfinished jobs....
emake failed
 * ERROR: dev-php5/pecl-http-1.7.1 failed (compile phase):
 *   Unable to make code
 * 
 * Call stack:
 *     ebuild.sh, line   56:  Called src_compile
 *   environment, line 3284:  Called php-ext-source-r2_src_compile
 *   environment, line 3023:  Called die
 * The specific snippet of code:
 *           emake || die "Unable to make code";


emerge --info:

Portage 2.1.9.42 (default/linux/amd64/10.0, gcc-4.4.5, libc-0-r0, 2.6.38-gentoo-r3 x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.38-gentoo-r3-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T9400_@_2.53GHz-with-gentoo-2.0.2
Timestamp of tree: Tue, 24 May 2011 13:15:01 +0000
app-shells/bash:     4.1_p9
dev-java/java-config: 2.1.11-r3
dev-lang/python:     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.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.5
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="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /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/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=core2 -O2 -pipe -fomit-frame-pointer"
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://portage.home http://gentoo.cites.uiuc.edu/pub/gentoo/ http://gentoo.mirrors.easynews.com/linux/gentoo/ http://mirror.phy.olemiss.edu/mirror/gentoo"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en ru"
MAKEOPTS="-j6"
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 /var/lib/layman/sunrise /usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi adns alsa amd64 apache2 audiofile avi bcmath bdf berkdb bluetooth bzip2 cairo calendar caps cdda cdr chardet cjk clamav cli consolekit cracklib crypt css ctype cups curl curlwrappers cxx dbus declarative device-mapper dga directfb dri dts dvb dvd dvdread emu-linux-x86 enca encode exif fbcon ffmpeg flac foomaticdb fortran ftp fts3 gd gdbm gif gmp gnutls gpm gsm gtk gtk2 gzip hash iconv idn ieee1394 imagemagick imap imlib innodb ipv6 ithreads java java6 javascript jpeg jpeg2k json kde kipi lcms libcaca libnotify lirc logrotate lzo mad matroska mcal mhash mime mjpeg mmx mmxext mng modules mp3 mp4 mpeg mplayer msession mudflap multilib mysql mysqli mythtv ncurses network nls nptl nptlonly nsplugin nss offensive ogg openal opengl openmp osc oss pam pcntl pcre pdf pdo pear perl php png policykit posix ppds pppd python qt qt3 qt3support qt4 quicktime readline reflection rtc samba sasl sdl seamonkey semantic-desktop session simplexml soap sockets spell spl sql sqlite sse sse2 sse3 ssl ssse3 subversion suhosin svg sysfs syslog tcmalloc tcpd theora threads thumbnail tidy tiff tokenizer transcode truetype udev unicode usb utempter v4l v4l2 vcd vorbis wddx webkit wifi wxwindows x264 xcb xcomposite xforms xine xinerama xml xorg xpm xsl xv xvid xvmc zip 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="actions alias auth_basic auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so 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="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en ru" PHP_TARGETS="php5-3" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby18" SANE_BACKENDS="epson epson2" USERLAND="GNU" VIDEO_CARDS="intel vesa fbdev 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, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Matthew Schultz 2011-05-24 14:19:50 UTC
Created attachment 274493 [details]
build.log
Comment 2 Matthew Schultz 2011-05-24 14:20:12 UTC
Created attachment 274495 [details]
environment
Comment 3 Jan Vansteenkiste 2011-07-06 13:37:33 UTC
I had the same problem. Happens with php target set to either php5.2 or php5.3.

Portage 2.1.10.4 (default/linux/amd64/10.0, gcc-4.4.5, glibc-2.12.2-r0, 2.6.39-gentoo-r2 x86_64)
=================================================================
System uname: Linux-2.6.39-gentoo-r2-x86_64-Intel-R-_Core-TM-_i5_CPU_M_560_@_2.67GHz-with-gentoo-2.0.3
Timestamp of tree: Tue, 05 Jul 2011 05:15: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.7.1-r1, 3.1.3-r1
dev-util/cmake:           2.8.4-r1
dev-util/pkgconfig:       0.25-r2
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.8.3-r1
sys-apps/sandbox:         2.4
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:       2.20.1-r1
sys-devel/gcc:            4.4.5
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.2.10
sys-devel/make:           3.82
sys-kernel/linux-headers: 2.6.38 (virtual/os-headers)
sys-libs/glibc:           2.12.2
Repositories: gentoo qting-edge poly-c x11 bircoph ruby xfce-dev gamerlay-stable vstone x-bugs-gentoo-org
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA dlj-1.1 PUEL AdobeFlash-10 AdobeFlash-10.1 Q3AEULA skype-eula"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -mtune=generic -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /usr/share/maven-bin-2.2/conf /usr/share/maven-bin-3.0/conf /usr/share/openvpn/easy-rsa"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.2/ext-active/ /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.2/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.2/ext-active/ /etc/php/cli-php5.3/ext-active/ /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 -mtune=generic -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--autounmask=n"
FEATURES="assume-digests binpkg-logs buildpkg distlocks ebuild-locks fixlafiles fixpackages news protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS=" ftp://ftp.belnet.be/pub/rsync.gentoo.org/gentoo http://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en nl"
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="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/qting-edge /var/lib/layman/poly-c /var/lib/layman/x11 /var/lib/layman/bircoph /var/lib/layman/ruby /var/lib/layman/xfce-dev /var/lib/layman/gamerlay /usr/local/portage/vstone.eu /usr/local/portage/bugs.gentoo.org"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X X509 a52 aac aalib acl acpi alsa amd64 apache2 aspell bash-completion berkdb bluetooth bzip2 cairo cdda cli cracklib crypt css cue cups curl cxx daap dbus dell dri dvd eds emerald encode exif faac faad fbsplash fdt ffmpeg flac fontforge fortran fpm ftp fuse gdbm gif git gnome-keyring gpm gtk gudev hddtemp hpijs iconv inkjar ipv6 jpeg laptop latex3 libcaca libnotify libvisual lm_sensors matroska mbox mms mmx mng modules mp3 mpeg mudflap multilib musepack ncurses network nls nntp nptl nptlonly nsplugin ogg opengl openmp openntpd pam pcre pcsc-lite pdf perl png podcast policykit pppd python qt3support readline reflection samba sdl session spell sqlite sqlite3 sse sse2 ssl subversion svg symlink sysfs syslog taglib tcpd theora threads thunar tiff truetype udev unicode usb v4l2 vhosts vim-syntax vorbis wavpack webkit wifi wmf x264 xlockrc xml xorg xvid xvmc youtube 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 auth_digest authn_dbd" 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="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en nl" PHP_TARGETS="php5-3 php5-2" QEMU_SOFTMMU_TARGETS="i386 x86_64 arm" QEMU_USER_TARGETS="i386 x86_64 arm" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel 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, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 4 Jan Vansteenkiste 2011-07-06 14:14:33 UTC
Created attachment 279233 [details, diff]
Patch for fixing compile errors.

I have not tested this if it has any effect while using pecl-http: It's a copy paste of the zlib.c source file where the same function is used.

To be done: find out what on what php version this function changed and started breaking stuff.
Comment 5 Ole Markus With (RETIRED) gentoo-dev 2011-07-22 12:28:19 UTC
I cannot reproduce this. It compiles fine for me for both 5.2 and 5.3.
Comment 6 Matthew Schultz 2011-07-22 14:45:56 UTC
(In reply to comment #5)
> I cannot reproduce this. It compiles fine for me for both 5.2 and 5.3.

I'm able to reproduce the error every time for both 5.2 and 5.3.  pecl-http-1.7.0-r1 of course still compiles fine for me on both 5.2 and 5.3.


emerge -pv php

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

Calculating dependencies... done!
[ebuild   R   ~] dev-lang/php-5.3.6-r1  USE="apache2 bcmath berkdb bzip2 calendar cjk cli crypt ctype curl curlwrappers exif fileinfo filter ftp gd gdbm gmp hash iconv imap intl ipv6 json mhash mysql mysqli mysqlnd nls pcntl pdo phar posix readline session simplexml soap sockets spell sqlite ssl threads tidy tokenizer truetype unicode wddx xml xpm xsl zip zlib (-adabas) (-birdstep) -cdb -cgi -db2 (-dbmaker) -debug -doc -embed (-empress) (-empress-bcs) -enchant (-esoob) -firebird -flatfile -fpm (-frontbase) -gd-external -inifile -interbase -iodbc -kerberos -kolab -ldap -ldap-sasl -libedit -mssql -oci8 -oci8-instant-client -odbc -pic -postgres -qdbm -recode -sapdb -sharedext -sharedmem -snmp (-solid) -sqlite3 (-sybase-ct) -sysvipc -xmlreader -xmlrpc -xmlwriter" 0 kB


emerge -pv =dev-lang/php-5.2.17

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

Calculating dependencies... done!
[ebuild   R    ] dev-lang/php-5.2.17  USE="apache2 bcmath berkdb bzip2 calendar cjk cli crypt ctype curl curlwrappers exif filter ftp gd gdbm gmp hash iconv imap ipv6 json mhash mysql mysqli ncurses nls pcntl pcre pdo posix readline reflection session simplexml soap sockets spell spl sqlite ssl suhosin threads tidy tokenizer truetype unicode wddx xml xpm xsl zip zlib (-adabas) (-birdstep) -cdb -cgi -db2 -dbase (-dbmaker) -debug -discard-path -doc -embed (-empress) (-empress-bcs) (-esoob) (-fdftk) -firebird -flatfile -force-cgi-redirect (-frontbase) -gd-external -inifile -interbase -iodbc -kerberos -kolab -ldap -ldap-sasl -libedit -msql -mssql -oci8 -oci8-instant-client -odbc -pic -postgres -qdbm -recode -sapdb -sharedext -sharedmem -snmp (-solid) (-sybase-ct) -sysvipc -xmlreader -xmlrpc -xmlwriter"
Comment 7 Ole Markus With (RETIRED) gentoo-dev 2011-07-22 14:53:57 UTC
I would file a bug with upstream and hear what they have to say about this. I cannot do anything without being able to reproduce this, and I cannot vouch for that patch either.
Comment 8 Matthew Schultz 2011-07-22 15:13:22 UTC
(In reply to comment #7)
> I would file a bug with upstream and hear what they have to say about this. I
> cannot do anything without being able to reproduce this, and I cannot vouch for
> that patch either.

I filed a bug with upstream: http://pecl.php.net/bugs/bug.php?id=22833

I also tried that patch and it does not work either:

/var/tmp/portage/dev-php5/pecl-http-1.7.1/work/php5.3/http_requestpool_object.c:167: warning: 'php_set_error_handling' is deprecated (declared at /usr/lib64/php5.3/include/php/main/php.h:291)
/var/tmp/portage/dev-php5/pecl-http-1.7.1/work/php5.3/http_requestpool_object.c:179: warning: 'php_set_error_handling' is deprecated (declared at /usr/lib64/php5.3/include/php/main/php.h:291)
/var/tmp/portage/dev-php5/pecl-http-1.7.1/work/php5.3/http_requestpool_object.c: In function 'zim_HttpRequestPool_attach':
/var/tmp/portage/dev-php5/pecl-http-1.7.1/work/php5.3/http_requestpool_object.c:215: warning: 'php_set_error_handling' is deprecated (declared at /usr/lib64/php5.3/include/php/main/php.h:291)
/var/tmp/portage/dev-php5/pecl-http-1.7.1/work/php5.3/http_requestpool_object.c:223: warning: 'php_set_error_handling' is deprecated (declared at /usr/lib64/php5.3/include/php/main/php.h:291)
/var/tmp/portage/dev-php5/pecl-http-1.7.1/work/php5.3/http_requestpool_object.c: In function 'zim_HttpRequestPool_detach':
/var/tmp/portage/dev-php5/pecl-http-1.7.1/work/php5.3/http_requestpool_object.c:236: warning: 'php_set_error_handling' is deprecated (declared at /usr/lib64/php5.3/include/php/main/php.h:291)
/var/tmp/portage/dev-php5/pecl-http-1.7.1/work/php5.3/http_requestpool_object.c:241: warning: 'php_set_error_handling' is deprecated (declared at /usr/lib64/php5.3/include/php/main/php.h:291)
/var/tmp/portage/dev-php5/pecl-http-1.7.1/work/php5.3/http_requestpool_object.c: In function 'zim_HttpRequestPool_send':
/var/tmp/portage/dev-php5/pecl-http-1.7.1/work/php5.3/http_requestpool_object.c:255: warning: 'php_set_error_handling' is deprecated (declared at /usr/lib64/php5.3/include/php/main/php.h:291)
/var/tmp/portage/dev-php5/pecl-http-1.7.1/work/php5.3/http_requestpool_object.c:257: warning: 'php_set_error_handling' is deprecated (declared at /usr/lib64/php5.3/include/php/main/php.h:291)
/bin/sh /var/tmp/portage/dev-php5/pecl-http-1.7.1/work/php5.3/libtool --mode=compile cc  -I. -I/var/tmp/portage/dev-php5/pecl-http-1.7.1/work/php5.3 -DPHP_ATOM_INC -I/var/tmp/portage/dev-php5/pecl-http-1.7.1/work/php5.3/include -I/var/tmp/portage/dev-php5/pecl-http-1.7.1/work/php5.3/main -I/var/tmp/portage/dev-php5/pecl-http-1.7.1/work/php5.3 -I/usr/lib64/php5.3/include/php -I/usr/lib64/php5.3/include/php/main -I/usr/lib64/php5.3/include/php/TSRM -I/usr/lib64/php5.3/include/php/Zend -I/usr/lib64/php5.3/include/php/ext -I/usr/lib64/php5.3/include/php/ext/date/lib -I/usr/lib64/php5.3/include/php/ext/hash  -DHAVE_CONFIG_H  -march=core2 -O2 -pipe -fomit-frame-pointer   -c /var/tmp/portage/dev-php5/pecl-http-1.7.1/work/php5.3/http_cache_api.c -o http_cache_api.lo 
/var/tmp/portage/dev-php5/pecl-http-1.7.1/work/php5.3/http_api.c: In function '_http_exit_ex':
/var/tmp/portage/dev-php5/pecl-http-1.7.1/work/php5.3/http_api.c:256: error: too few arguments to function 'php_ob_handler_used'
/var/tmp/portage/dev-php5/pecl-http-1.7.1/work/php5.3/http_api.c:256: error: too few arguments to function 'php_ob_handler_used'
libtool: compile:  cc -I. -I/var/tmp/portage/dev-php5/pecl-http-1.7.1/work/php5.3 -DPHP_ATOM_INC -I/var/tmp/portage/dev-php5/pecl-http-1.7.1/work/php5.3/include -I/var/tmp/portage/dev-php5/pecl-http-1.7.1/work/php5.3/main -I/var/tmp/portage/dev-php5/pecl-http-1.7.1/work/php5.3 -I/usr/lib64/php5.3/include/php -I/usr/lib64/php5.3/include/php/main -I/usr/lib64/php5.3/include/php/TSRM -I/usr/lib64/php5.3/include/php/Zend -I/usr/lib64/php5.3/include/php/ext -I/usr/lib64/php5.3/include/php/ext/date/lib -I/usr/lib64/php5.3/include/php/ext/hash -DHAVE_CONFIG_H -march=core2 -O2 -pipe -fomit-frame-pointer -c /var/tmp/portage/dev-php5/pecl-http-1.7.1/work/php5.3/http_cache_api.c  -fPIC -DPIC -o .libs/http_cache_api.o
make: *** [http_api.lo] Error 1
make: *** Waiting for unfinished jobs....
Comment 9 Ole Markus With (RETIRED) gentoo-dev 2011-07-22 18:07:33 UTC
Thank you. I will also keep an eye out for that upstream bug report.
Comment 10 Brian Evans (RETIRED) gentoo-dev 2012-01-24 19:54:10 UTC
Affects me too.

Update to stable in bug 397001 flagged me.

Seems like USE=threads on dev-lang/php is triggering it.
Comment 11 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2012-01-28 08:43:22 UTC
(In reply to comment #10)
> Seems like USE=threads on dev-lang/php is triggering it.

I can reproduce here, and also happen to have php with USE="threads".

dev-lang/php-5.3.9 was built with the following:
USE="apache2 berkdb bzip2 cli crypt ctype doc exif fileinfo filter gd gdbm hash iconv json nls phar posix readline session simplexml snmp spell sqlite ssl test threads tokenizer truetype unicode xml zlib -bcmath -calendar -cdb -cgi -cjk -curl -curlwrappers -debug -embed -enchant -firebird -flatfile -fpm -frontbase -ftp -gmp -imap -inifile -intl -iodbc -ipv6 -kerberos -kolab -ldap -ldap-sasl -libedit -mhash -mssql -mysql -mysqli -mysqlnd -oci8-instant-client -odbc -pcntl -pdo -pic -postgres -qdbm -recode -sharedmem -soap -sockets -sqlite3 -suhosin -sybase-ct -sysvipc -tidy -wddx -xmlreader -xmlrpc -xmlwriter -xpm -xsl -zip"
Comment 12 Ole Markus With (RETIRED) gentoo-dev 2012-02-21 13:59:25 UTC
I have blocked php[threads] for 1.7.1 since it does not compile. 1.7.0 compiles fine here with threads.