Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 205716 - [php-testing overlay] dev-php5/pecl-runkit-0.9-r1 patch typo causes compile failure
Summary: [php-testing overlay] dev-php5/pecl-runkit-0.9-r1 patch typo causes compile f...
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: High normal with 1 vote (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
: 213720 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-01-13 23:05 UTC by Austen Dicken
Modified: 2008-03-17 21:33 UTC (History)
1 user (show)

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


Attachments
modified patch for dev-php5/pecl-runkit-0.9-r1 (pecl-runkit-0.9-r1-buildfixes.patch,1.52 KB, patch)
2008-01-13 23:08 UTC, Austen Dicken
Details | Diff
emerge log (dev-php5:pecl-runkit-0.9-r1:20080317-212833.log,24.88 KB, text/plain)
2008-03-17 21:33 UTC, Jakub Moc (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Austen Dicken 2008-01-13 23:05:42 UTC
Due to incompatibilities between gcc3 and gcc4, runkit will not compile unless patched.  The patch is currently included, however the portion of the patch that affects the runkit_sandbox.c file has a typo that causes the compile to fail anyway.  The line that is being placed in:

ZVAL_BOOL(retval, objval->name);

Needs to have a trailing backslash ('\') on the end of the line or else the patched file will cause a compiler error complaining about unexpected syntax.

Reproducible: Always

Steps to Reproduce:
1.  Attempt to install dev-php5/pecl-runkit-0.9-r1 from the php-testing overlay

Actual Results:  
/var/tmp/portage/dev-php5/pecl-runkit-0.9-r1/work/runkit-0.9/runkit_sandbox.c:1471: error: expected '=', ',', ';', 'asm' or '__attribute__' before '->' token
/var/tmp/portage/dev-php5/pecl-runkit-0.9-r1/work/runkit-0.9/runkit_sandbox.c:1471: error: expected '=', ',', ';', 'asm' or '__attribute__' before '->' token
/var/tmp/portage/dev-php5/pecl-runkit-0.9-r1/work/runkit-0.9/runkit_sandbox.c:1471: error: expected identifier or '(' before 'return'
/var/tmp/portage/dev-php5/pecl-runkit-0.9-r1/work/runkit-0.9/runkit_sandbox.c:1471: error: expected identifier or '(' before '}' token
/var/tmp/portage/dev-php5/pecl-runkit-0.9-r1/work/runkit-0.9/runkit_sandbox.c: In function 'php_runkit_sandbox_active_getter':
/var/tmp/portage/dev-php5/pecl-runkit-0.9-r1/work/runkit-0.9/runkit_sandbox.c:1557: error: invalid storage class for function 'php_runkit_sandbox_parent_access_setter'
/var/tmp/portage/dev-php5/pecl-runkit-0.9-r1/work/runkit-0.9/runkit_sandbox.c:1557: error: invalid storage class for function 'php_runkit_sandbox_parent_access_getter'
/var/tmp/portage/dev-php5/pecl-runkit-0.9-r1/work/runkit-0.9/runkit_sandbox.c: In function 'php_runkit_sandbox_parent_access_getter':
/var/tmp/portage/dev-php5/pecl-runkit-0.9-r1/work/runkit-0.9/runkit_sandbox.c:1558: error: invalid storage class for function 'php_runkit_sandbox_parent_read_setter'
/var/tmp/portage/dev-php5/pecl-runkit-0.9-r1/work/runkit-0.9/runkit_sandbox.c:1558: error: invalid storage class for function 'php_runkit_sandbox_parent_read_getter'
/var/tmp/portage/dev-php5/pecl-runkit-0.9-r1/work/runkit-0.9/runkit_sandbox.c: In function 'php_runkit_sandbox_parent_read_getter':
/var/tmp/portage/dev-php5/pecl-runkit-0.9-r1/work/runkit-0.9/runkit_sandbox.c:1559: error: invalid storage class for function 'php_runkit_sandbox_parent_write_setter'
/var/tmp/portage/dev-php5/pecl-runkit-0.9-r1/work/runkit-0.9/runkit_sandbox.c:1559: error: invalid storage class for function 'php_runkit_sandbox_parent_write_getter'
/var/tmp/portage/dev-php5/pecl-runkit-0.9-r1/work/runkit-0.9/runkit_sandbox.c: In function 'php_runkit_sandbox_parent_write_getter':
/var/tmp/portage/dev-php5/pecl-runkit-0.9-r1/work/runkit-0.9/runkit_sandbox.c:1560: error: invalid storage class for function 'php_runkit_sandbox_parent_eval_setter'
/var/tmp/portage/dev-php5/pecl-runkit-0.9-r1/work/runkit-0.9/runkit_sandbox.c:1560: error: invalid storage class for function 'php_runkit_sandbox_parent_eval_getter'
/var/tmp/portage/dev-php5/pecl-runkit-0.9-r1/work/runkit-0.9/runkit_sandbox.c: In function 'php_runkit_sandbox_parent_eval_getter':
/var/tmp/portage/dev-php5/pecl-runkit-0.9-r1/work/runkit-0.9/runkit_sandbox.c:1561: error: invalid storage class for function 'php_runkit_sandbox_parent_include_setter'
/var/tmp/portage/dev-php5/pecl-runkit-0.9-r1/work/runkit-0.9/runkit_sandbox.c:1561: error: invalid storage class for function 'php_runkit_sandbox_parent_include_getter'
/var/tmp/portage/dev-php5/pecl-runkit-0.9-r1/work/runkit-0.9/runkit_sandbox.c: In function 'php_runkit_sandbox_parent_include_getter':
/var/tmp/portage/dev-php5/pecl-runkit-0.9-r1/work/runkit-0.9/runkit_sandbox.c:1562: error: invalid storage class for function 'php_runkit_sandbox_parent_echo_setter'
/var/tmp/portage/dev-php5/pecl-runkit-0.9-r1/work/runkit-0.9/runkit_sandbox.c:1562: error: invalid storage class for function 'php_runkit_sandbox_parent_echo_getter'
/var/tmp/portage/dev-php5/pecl-runkit-0.9-r1/work/runkit-0.9/runkit_sandbox.c: In function 'php_runkit_sandbox_parent_echo_getter':
/var/tmp/portage/dev-php5/pecl-runkit-0.9-r1/work/runkit-0.9/runkit_sandbox.c:1563: error: invalid storage class for function 'php_runkit_sandbox_parent_call_setter'
/var/tmp/portage/dev-php5/pecl-runkit-0.9-r1/work/runkit-0.9/runkit_sandbox.c:1563: error: invalid storage class for function 'php_runkit_sandbox_parent_call_getter'
/var/tmp/portage/dev-php5/pecl-runkit-0.9-r1/work/runkit-0.9/runkit_sandbox.c: In function 'php_runkit_sandbox_parent_call_getter':
/var/tmp/portage/dev-php5/pecl-runkit-0.9-r1/work/runkit-0.9/runkit_sandbox.c:1564: error: invalid storage class for function 'php_runkit_sandbox_parent_die_setter'
/var/tmp/portage/dev-php5/pecl-runkit-0.9-r1/work/runkit-0.9/runkit_sandbox.c:1564: error: invalid storage class for function 'php_runkit_sandbox_parent_die_getter'
/var/tmp/portage/dev-php5/pecl-runkit-0.9-r1/work/runkit-0.9/runkit_sandbox.c: In function 'php_runkit_sandbox_parent_die_getter':
/var/tmp/portage/dev-php5/pecl-runkit-0.9-r1/work/runkit-0.9/runkit_sandbox.c:1574: warning: initialization from incompatible pointer type
/var/tmp/portage/dev-php5/pecl-runkit-0.9-r1/work/runkit-0.9/runkit_sandbox.c:1577: warning: initialization from incompatible pointer type
/var/tmp/portage/dev-php5/pecl-runkit-0.9-r1/work/runkit-0.9/runkit_sandbox.c:1578: warning: initialization from incompatible pointer type
/var/tmp/portage/dev-php5/pecl-runkit-0.9-r1/work/runkit-0.9/runkit_sandbox.c:1579: warning: initialization from incompatible pointer type
/var/tmp/portage/dev-php5/pecl-runkit-0.9-r1/work/runkit-0.9/runkit_sandbox.c:1580: warning: initialization from incompatible pointer type
/var/tmp/portage/dev-php5/pecl-runkit-0.9-r1/work/runkit-0.9/runkit_sandbox.c:1581: warning: initialization from incompatible pointer type
/var/tmp/portage/dev-php5/pecl-runkit-0.9-r1/work/runkit-0.9/runkit_sandbox.c:1582: warning: initialization from incompatible pointer type
/var/tmp/portage/dev-php5/pecl-runkit-0.9-r1/work/runkit-0.9/runkit_sandbox.c:1583: warning: initialization from incompatible pointer type
/var/tmp/portage/dev-php5/pecl-runkit-0.9-r1/work/runkit-0.9/runkit_sandbox.c:1584: warning: initialization from incompatible pointer type
/var/tmp/portage/dev-php5/pecl-runkit-0.9-r1/work/runkit-0.9/runkit_sandbox.c:1585: warning: initialization from incompatible pointer type
/var/tmp/portage/dev-php5/pecl-runkit-0.9-r1/work/runkit-0.9/runkit_sandbox.c:1589: error: invalid storage class for function 'php_runkit_sandbox_setting_lookup'
/var/tmp/portage/dev-php5/pecl-runkit-0.9-r1/work/runkit-0.9/runkit_sandbox.c:1606: error: invalid storage class for function 'php_runkit_sandbox_read_dimension'
/var/tmp/portage/dev-php5/pecl-runkit-0.9-r1/work/runkit-0.9/runkit_sandbox.c:1642: error: invalid storage class for function 'php_runkit_sandbox_write_dimension'
/var/tmp/portage/dev-php5/pecl-runkit-0.9-r1/work/runkit-0.9/runkit_sandbox.c:1678: error: invalid storage class for function 'php_runkit_sandbox_has_dimension'
/var/tmp/portage/dev-php5/pecl-runkit-0.9-r1/work/runkit-0.9/runkit_sandbox.c:1739: error: invalid storage class for function 'php_runkit_sandbox_dtor'
/var/tmp/portage/dev-php5/pecl-runkit-0.9-r1/work/runkit-0.9/runkit_sandbox.c:1775: error: invalid storage class for function 'php_runkit_sandbox_ctor'
/var/tmp/portage/dev-php5/pecl-runkit-0.9-r1/work/runkit-0.9/runkit_sandbox.c:1866: error: invalid storage class for function 'php_runkit_lint_compile'
/var/tmp/portage/dev-php5/pecl-runkit-0.9-r1/work/runkit-0.9/runkit_sandbox.c:1928: error: expected declaration or statement at end of input
/var/tmp/portage/dev-php5/pecl-runkit-0.9-r1/work/runkit-0.9/runkit_sandbox.c: In function 'php_runkit_sandbox_parent_call_getter':
/var/tmp/portage/dev-php5/pecl-runkit-0.9-r1/work/runkit-0.9/runkit_sandbox.c:1928: error: expected declaration or statement at end of input
/var/tmp/portage/dev-php5/pecl-runkit-0.9-r1/work/runkit-0.9/runkit_sandbox.c: In function 'php_runkit_sandbox_parent_echo_getter':
/var/tmp/portage/dev-php5/pecl-runkit-0.9-r1/work/runkit-0.9/runkit_sandbox.c:1928: error: expected declaration or statement at end of input
/var/tmp/portage/dev-php5/pecl-runkit-0.9-r1/work/runkit-0.9/runkit_sandbox.c: In function 'php_runkit_sandbox_parent_include_getter':
/var/tmp/portage/dev-php5/pecl-runkit-0.9-r1/work/runkit-0.9/runkit_sandbox.c:1928: error: expected declaration or statement at end of input
/var/tmp/portage/dev-php5/pecl-runkit-0.9-r1/work/runkit-0.9/runkit_sandbox.c: In function 'php_runkit_sandbox_parent_eval_getter':
/var/tmp/portage/dev-php5/pecl-runkit-0.9-r1/work/runkit-0.9/runkit_sandbox.c:1928: error: expected declaration or statement at end of input
/var/tmp/portage/dev-php5/pecl-runkit-0.9-r1/work/runkit-0.9/runkit_sandbox.c: In function 'php_runkit_sandbox_parent_write_getter':
/var/tmp/portage/dev-php5/pecl-runkit-0.9-r1/work/runkit-0.9/runkit_sandbox.c:1928: error: expected declaration or statement at end of input
/var/tmp/portage/dev-php5/pecl-runkit-0.9-r1/work/runkit-0.9/runkit_sandbox.c: In function 'php_runkit_sandbox_parent_read_getter':
/var/tmp/portage/dev-php5/pecl-runkit-0.9-r1/work/runkit-0.9/runkit_sandbox.c:1928: error: expected declaration or statement at end of input
/var/tmp/portage/dev-php5/pecl-runkit-0.9-r1/work/runkit-0.9/runkit_sandbox.c: In function 'php_runkit_sandbox_parent_access_getter':
/var/tmp/portage/dev-php5/pecl-runkit-0.9-r1/work/runkit-0.9/runkit_sandbox.c:1928: error: expected declaration or statement at end of input
/var/tmp/portage/dev-php5/pecl-runkit-0.9-r1/work/runkit-0.9/runkit_sandbox.c: In function 'php_runkit_sandbox_active_getter':
/var/tmp/portage/dev-php5/pecl-runkit-0.9-r1/work/runkit-0.9/runkit_sandbox.c:1928: error: expected declaration or statement at end of input
make: *** [runkit_sandbox.lo] Error 1
make: *** Waiting for unfinished jobs....
 i686-pc-linux-gnu-gcc -I. -I/var/tmp/portage/dev-php5/pecl-runkit-0.9-r1/work/runkit-0.9 -DPHP_ATOM_INC -I/var/tmp/portage/dev-php5/pecl-runkit-0.9-r1/work/runkit-0.9/include -I/var/tmp/portage/dev-php5/pecl-runkit-0.9-r1/work/runkit-0.9/main -I/var/tmp/portage/dev-php5/pecl-runkit-0.9-r1/work/runkit-0.9 -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 -O2 -march=pentium3 -pipe -c /var/tmp/portage/dev-php5/pecl-runkit-0.9-r1/work/runkit-0.9/runkit_props.c  -fPIC -DPIC -o .libs/runkit_props.o
 * 
 * ERROR: dev-php5/pecl-runkit-0.9-r1 failed.
 * Call stack:
 *                  ebuild.sh, line 1701:  Called dyn_compile
 *                  ebuild.sh, line 1039:  Called qa_call 'src_compile'
 *                  ebuild.sh, line   44:  Called src_compile
 *                  ebuild.sh, line 1383:  Called php-ext-pecl-r1_src_compile
 *     php-ext-pecl-r1.eclass, line   66:  Called php-ext-source-r1_src_compile
 *   php-ext-source-r1.eclass, line   71:  Called die
 * The specific snippet of code:
 *      emake || die "Unable to make code"
 *  The die message:
 *   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/log/portage/dev-php5:pecl-runkit-0.9-r1:20080113-230339.log'.
 * 

 * Messages for package dev-php5/pecl-runkit-0.9-r1:

 * 
 * ERROR: dev-php5/pecl-runkit-0.9-r1 failed.
 * Call stack:
 *                  ebuild.sh, line 1701:  Called dyn_compile
 *                  ebuild.sh, line 1039:  Called qa_call 'src_compile'
 *                  ebuild.sh, line   44:  Called src_compile
 *                  ebuild.sh, line 1383:  Called php-ext-pecl-r1_src_compile
 *     php-ext-pecl-r1.eclass, line   66:  Called php-ext-source-r1_src_compile
 *   php-ext-source-r1.eclass, line   71:  Called die
 * The specific snippet of code:
 *      emake || die "Unable to make code"
 *  The die message:
 *   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/log/portage/dev-php5:pecl-runkit-0.9-r1:20080113-230339.log'.
 * 


Expected Results:  
It should have successfully installed the new extension.
Comment 1 Austen Dicken 2008-01-13 23:08:51 UTC
Created attachment 140901 [details, diff]
modified patch for dev-php5/pecl-runkit-0.9-r1

I have modified the patch file and uploaded it here.  The only change to the original was the addition of the backslash ('\') for the runkit_sandbox.c patch.
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2008-01-13 23:15:58 UTC
Could you tell me how I reproduce your issue? Because it compiles perfectly fine with the current patch.

>>> Source compiled.
>>> Test phase [not enabled]: dev-php5/pecl-runkit-0.9-r1

>>> Install pecl-runkit-0.9-r1 into /var/tmp/portage/dev-php5/pecl-runkit-0.9-r1/image/ category dev-php5
 * Extension added to /etc/php/cli-php5/ext/runkit.ini
 * Extension added to /etc/php/cgi-php5/ext/runkit.ini
>>> Completed installing pecl-runkit-0.9-r1 into /var/tmp/portage/dev-php5/pecl-runkit-0.9-r1/image/
Comment 3 Austen Dicken 2008-01-14 00:13:45 UTC
Method I used to reproduce the issue was to simply:

emerge -av =dev-php5/pecl-runkit-0.9-r1

However, I looked it up on the pecl-runkit website and the error I'm receiving is due to an incompatibility with GCC4.  The information from the runkit bug tracker is at http://pecl.php.net/bugs/bug.php?id=8849.

I am compiling it against dev-lang/php-5.2.5-r1 with GCC i686-pc-linux-gnu-4.1.2

Here is my emerge --info as well in case it helps:

Portage 2.1.3.19 (default-linux/x86/2007.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.23-gentoo-r3 i686)
=================================================================
System uname: 2.6.23-gentoo-r3 i686 Intel(R) Celeron(R) M processor 1.50GHz
Timestamp of tree: Sun, 13 Jan 2008 08:46:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.1.3
dev-lang/python:     2.3.6-r3, 2.4.4-r6
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.10-r5
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
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.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium3 -pipe"
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/config /var/qmail/alias /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=pentium3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.cites.uiuc.edu/pub/gentoo/ ftp://mirror.datapipe.net/gentoo http://gentoo.mirrors.pair.com/ ftp://gentoo.cites.uiuc.edu/pub/gentoo/ http://www.gtlib.gatech.edu/pub/gentoo http://open-systems.ufl.edu/mirrors/gentoo http://prometheus.cs.wmich.edu/gentoo http://gentoo.osuosl.org/ http://gentoo.mirrors.tds.net/gentoo"
LANG="C"
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/php-testing /usr/portage/local/layman/webapps-experimental /usr/portage/local/layman/java-overlay /usr/portage/local/layman/enlightenment /usr/portage/local/layman/eclipse /usr/portage/local/layman/java-gcj-overlay /usr/portage/local/layman/sunrise /usr/portage/local/layman/mozilla /usr/portage/local/layman/liquidx /usr/portage/local/layman/dev-zero /usr/portage/local/layman/wschlich /usr/portage/local/layman/wrobel /usr/portage/local/layman/nx /usr/portage/local/layman/cell /usr/portage/local/layman/vps /usr/portage/local/layman/voip /usr/portage/local/layman/marineam-xen /usr/portage/local/layman/lila-theme /usr/portage/local/layman/jokey /usr/portage/local/layman/genstef /usr/portage/local/layman/efika /usr/portage/local/layman/dertobi123 /usr/portage/local/layman/bangert /usr/portage/local/layman/chtekk-apps /usr/portage/local/layman/chtekk-syscp /usr/portage/local/layman/php-experimental /usr/portage/local/layman/toolchain /usr/portage/local/layman/trapni /usr/portage/local/layman/zugaina /usr/portage/local/layman/xeffects /usr/portage/local/layman/armagetron /usr/portage/local/layman/xen /usr/portage/local/layman/rox /usr/portage/local/layman/pd-overlay /usr/portage/local/layman/mpd /usr/portage/local/layman/d /usr/portage/local/layman/secondlife /usr/portage/local/layman/vmware /usr/portage/local/layman/halcy0n /usr/portage/local/layman/je_fro /usr/portage/local/layman/verlihub /usr/portage/local/layman/graaff /usr/portage/local/layman/wschlich-testing /usr/portage/local/layman/catalystframework /usr/portage/local/layman/lapis /usr/portage/local/layman/iwlwifi /usr/portage/local/layman/sipx /usr/portage/local/layman/xfce /usr/portage/local/layman/masterdriverz /usr/portage/local/layman/berkano /usr/portage/local/layman/hollow /usr/portage/local/layman/n4g-experimental /usr/portage/local/layman/n4g /usr/portage/local/layman/vdr-1.5 /usr/portage/local/layman/deathwing00 /usr/portage/local/layman/seemant /usr/portage/local/layman/vdr-experimental /usr/portage/local/layman/pythonhead /usr/portage/local/layman/initng /usr/portage/local/layman/plan9 /usr/portage/local/layman/freevo /usr/portage/local/layman/mysql-experimental /usr/portage/local/layman/xemacs /usr/portage/local/layman/philantrop /usr/portage/local/layman/mysql-testing /usr/portage/local/layman/gnustep /usr/portage/local/layman/swegener /usr/portage/local/layman/custom-kernels /usr/portage/local/layman/trauma /usr/portage/local/layman/gentopia /usr/portage/local/layman/science /usr/portage/local/custom"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acc acl acpi admin alsa ansi apache2 apm arts asf aspnet2 avi bcmath berkdb bidi bitmap-fonts blender-game branding bzip2 c++ cairo calendar cdb cdda cddb cdparanoia cdr cdrdao cjk cli console corba cracklib crypt css ctype cups curl d dbase dbus dell dga dia directfb disk-partition dlopen dri dts dvb dvd dvdnav dvdr dvdread eds emerald encode esd exif expat fastcgi fbcon fdftk ffmpeg ffmpg filter firefox flac flash foomaticdb fortran fpx ftp gcj gd-external gdbm gif gimpprint glade glib glitz glut gmp gnome gnome-print gnutls gpm graphviz gs gstreamer gtk gtkhtml hal hash hinotify httpd iconv icu id3 ieee1394 imagemagick imap imlib inifile inkjar iodbc ipv6 isdnlog java java5 jbig jmpeg jpeg jpeg2k json kde kqemu lame lcms ldap ldap-sasl libcaca libg++ libwww live logrotate lua mad mailwrapper matroska mcve md5sum mhash midi mikmod mjpeg mmx mng mono motif mozdevelop mozdom mozsha1 mp3 mp4live mpeg mpeg2 mplayer msn mudflap musepack mysql mysqli nas ncurses nfs nfsexport nls nptl nptlonly nsplugin objc objc++ objc-gc odbc ogg oggvorbis openal openexr opengl openmp openntpd oss overlays pam pcmcia pcntl pcre pdf pdflib pdo-external perl php pic png postgres postgresql ppds pppd python qmail qt qt3 qt3support qt4 quicktime quotas rar readline real reflection rtsp ruby samba sasl sdl sdl-image seamonkey servletapi session shout simplexml skins sndfile snmp soap sockets socks5 sound sourceview speex spell spl sql sqlite sqlite3 ssl ssmtp stream subtitles subversion svg svga tcl tcpd theora threads tidy tiff timidity tk tokenizer truetype truetype-fonts type1-fonts unicode usb v4l v4l2 vcd verse vhosts vidix vlm vorbis wavpack wddx webdav win32codecs wine wma wmf wmv wxwindows x264 x86 xattr xforms xine xinerama xml xml2 xmlreader xmlrpc xmlwriter xorg xscreensaver xsl xv xvid yaz 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" 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="fglrx i810 tga tdfx vga vesa via"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2008-01-14 00:16:24 UTC
(In reply to comment #3)
> However, I looked it up on the pecl-runkit website and the error I'm receiving
> is due to an incompatibility with GCC4.  The information from the runkit bug
> tracker is at http://pecl.php.net/bugs/bug.php?id=8849.

Well that really doesn't get us anywhere close, I'm using gcc-4.2.2
Comment 5 Austen Dicken 2008-01-14 00:29:44 UTC
(In reply to comment #4)
> 
> Well that really doesn't get us anywhere close, I'm using gcc-4.2.2
> 

If you still have a copy of gcc-4.1* installed you could try gcc-config'ing to that and attempting an install, as it may be an incompatibility with 4.0/4.1 that was resolved when 4.2 was released.  As such I don't have any other idea why the issue would be appearing on my PC and not yours.  I unmasked 4.2 and am installing it now to test if it works thusly, but that will take some time.
Comment 6 Austen Dicken 2008-01-14 05:54:28 UTC
I tried it with gcc-4.2.2 and it still failed on my machine.  You should check the patch file on your computer and see if it has the trailing slash.  I am curious because it seems so odd that it would even compile without it on any machine.
Comment 7 Nick P 2008-02-05 05:30:45 UTC
(In reply to comment #2)
> Could you tell me how I reproduce your issue? Because it compiles perfectly
> fine with the current patch.
> 

Like the others here have voiced, I too had to manually patch the sources to add the trailing slash as originally specified at http://pecl.php.net/bugs/bug.php?id=8849 .  The current patch would not compile until the trailing backslash was added.  This was the case on two machines I tried it on, one running GCC 3.4.6, the other GCC 4.1.2.

Comment 8 Jakub Moc (RETIRED) gentoo-dev 2008-03-17 20:49:54 UTC
*** Bug 213720 has been marked as a duplicate of this bug. ***
Comment 9 Jakub Moc (RETIRED) gentoo-dev 2008-03-17 21:33:12 UTC
Created attachment 146408 [details]
emerge log

Folks, get this sorted out upstream; it works for me (TM).