Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 462652 - dev-lang/php-5.5.0_beta1 failed to compile with USE="threads"
Summary: dev-lang/php-5.5.0_beta1 failed to compile with USE="threads"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: PHP Bugs
URL: https://bugs.php.net/bug.php?id=64461
Whiteboard:
Keywords:
: 462708 462770 462878 463254 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-03-22 06:35 UTC by bdouxx
Modified: 2013-03-27 12:21 UTC (History)
10 users (show)

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


Attachments
build.log (build.log,767.64 KB, text/plain)
2013-03-22 06:36 UTC, bdouxx
Details
emerge --info php (emerge_info.log,6.83 KB, text/plain)
2013-03-22 06:37 UTC, bdouxx
Details

Note You need to log in before you can comment on or make changes to this bug.
Description bdouxx 2013-03-22 06:35:28 UTC
/home/portage/portage/dev-lang/php-5.5.0_beta1/work/sapis-build/embed/ext/standard/browscap.c: In function 'zm_startup_browscap':
/home/portage/portage/dev-lang/php-5.5.0_beta1/work/sapis-build/embed/ext/standard/browscap.c:339:3: warning: passing argument 3 of 'ts_allocate_id' from incompatible pointer type [enabled by default]
/home/portage/portage/dev-lang/php-5.5.0_beta1/work/sapis-build/embed/Zend/../TSRM/TSRM.h:111:21: note: expected 'ts_allocate_ctor' but argument is of type 'void (*)(struct zend_browscap_globals *, void ***)'
In file included from /home/portage/portage/dev-lang/php-5.5.0_beta1/work/sapis-build/embed/ext/standard/basic_functions.c:48:0:
/home/portage/portage/dev-lang/php-5.5.0_beta1/work/sapis-build/embed/Zend/zend_language_parser.h:331:5: error: conflicting types for 'zendparse'
/home/portage/portage/dev-lang/php-5.5.0_beta1/work/sapis-build/embed/Zend/zend_globals_macros.h:35:5: note: previous declaration of 'zendparse' was here
/bin/sh /home/portage/portage/dev-lang/php-5.5.0_beta1/work/sapis-build/embed/libtool --silent --preserve-dup-deps --mode=compile /home/portage/portage/dev-lang/php-5.5.0_beta1/work/sapis-build/embed/meta_ccld  -Iext/standard/ -I/home/portage/portage/dev-lang/php-5.5.0_beta1/work/sapis-build/embed/ext/standard/ -DPHP_ATOM_INC -I/home/portage/portage/dev-lang/php-5.5.0_beta1/work/sapis-build/embed/include -I/home/portage/portage/dev-lang/php-5.5.0_beta1/work/sapis-build/embed/main -I/home/portage/portage/dev-lang/php-5.5.0_beta1/work/sapis-build/embed -I/home/portage/portage/dev-lang/php-5.5.0_beta1/work/sapis-build/embed/ext/date/lib -I/home/portage/portage/dev-lang/php-5.5.0_beta1/work/sapis-build/embed/ext/ereg/regex -I/usr/include/libxml2 -I/usr/include/freetype2 -I/usr/include/imap -I/home/portage/portage/dev-lang/php-5.5.0_beta1/work/sapis-build/embed/ext/mbstring/libmbfl -I/home/portage/portage/dev-lang/php-5.5.0_beta1/work/sapis-build/embed/ext/mbstring/libmbfl/mbfl -I/usr/include/mysql -I/usr/include/
pspell -I/home/portage/portage/dev-lang/php-5.5.0_beta1/work/sapis-build/embed/TSRM -I/home/portage/portage/dev-lang/php-5.5.0_beta1/work/sapis-build/embed/Zend  -D_REENTRANT  -I/usr/include -O2 -march=native -pipe -pthread -DZTS  -prefer-pic -c /home/portage/portage/dev-lang/php-5.5.0_beta1/work/sapis-build/embed/ext/standard/crypt.c -o ext/standard/crypt.lo 
/bin/sh /home/portage/portage/dev-lang/php-5.5.0_beta1/work/sapis-build/embed/libtool --silent --preserve-dup-deps --mode=compile /home/portage/portage/dev-lang/php-5.5.0_beta1/work/sapis-build/embed/meta_ccld  -Iext/standard/ -I/home/portage/portage/dev-lang/php-5.5.0_beta1/work/sapis-build/embed/ext/standard/ -DPHP_ATOM_INC -I/home/portage/portage/dev-lang/php-5.5.0_beta1/work/sapis-build/embed/include -I/home/portage/portage/dev-lang/php-5.5.0_beta1/work/sapis-build/embed/main -I/home/portage/portage/dev-lang/php-5.5.0_beta1/work/sapis-build/embed -I/home/portage/portage/dev-lang/php-5.5.0_beta1/work/sapis-build/embed/ext/date/lib -I/home/portage/portage/dev-lang/php-5.5.0_beta1/work/sapis-build/embed/ext/ereg/regex -I/usr/include/libxml2 -I/usr/include/freetype2 -I/usr/include/imap -I/home/portage/portage/dev-lang/php-5.5.0_beta1/work/sapis-build/embed/ext/mbstring/libmbfl -I/home/portage/portage/dev-lang/php-5.5.0_beta1/work/sapis-build/embed/ext/mbstring/libmbfl/mbfl -I/usr/include/mysql -I/usr/include/
pspell -I/home/portage/portage/dev-lang/php-5.5.0_beta1/work/sapis-build/embed/TSRM -I/home/portage/portage/dev-lang/php-5.5.0_beta1/work/sapis-build/embed/Zend  -D_REENTRANT  -I/usr/include -O2 -march=native -pipe -pthread -DZTS  -prefer-pic -c /home/portage/portage/dev-lang/php-5.5.0_beta1/work/sapis-build/embed/ext/standard/cyr_convert.c -o ext/standard/cyr_convert.lo 
make: *** [ext/standard/basic_functions.lo] Erreur 1
make: *** Attente des tâches non terminées....
 * ERROR: dev-lang/php-5.5.0_beta1 failed (compile phase):


Reproducible: Always
Comment 1 bdouxx 2013-03-22 06:36:59 UTC
Created attachment 342878 [details]
build.log
Comment 2 bdouxx 2013-03-22 06:37:43 UTC
Created attachment 342880 [details]
emerge --info php
Comment 3 megabaks 2013-03-22 09:58:14 UTC
same error on ~x86
upstream bug https://bugs.php.net/bug.php?id=64373&thanks=6
Comment 4 Ole Markus With (RETIRED) gentoo-dev 2013-03-22 15:29:32 UTC
There is more activity in this upstream bug:
https://bugs.php.net/bug.php?id=64461

It seems to be a general problem with the packaging of the beta1. I suppose it will be fixed in the next beta. Anyways, it is in the hands of upstream.
Comment 5 Ole Markus With (RETIRED) gentoo-dev 2013-03-23 06:48:00 UTC
*** Bug 462708 has been marked as a duplicate of this bug. ***
Comment 6 Ole Markus With (RETIRED) gentoo-dev 2013-03-23 12:14:50 UTC
*** Bug 462770 has been marked as a duplicate of this bug. ***
Comment 7 Ole Markus With (RETIRED) gentoo-dev 2013-03-24 22:31:02 UTC
*** Bug 462878 has been marked as a duplicate of this bug. ***
Comment 8 Ole Markus With (RETIRED) gentoo-dev 2013-03-25 20:03:52 UTC
*** Bug 463254 has been marked as a duplicate of this bug. ***
Comment 9 Ole Markus With (RETIRED) gentoo-dev 2013-03-25 20:10:29 UTC
This is what has happened:

Language parser for the betas was built using bison-2.6.1 which did not really work that well (previous versions were build using 2.4). 

A patch for that has been created, but since some m4 macro is preventing ./configure to complete if it detects and "unknown" version of bison, such as 2.6.5 and 2.7, I cannot make the ebuild automatically rebuild the parser automatically.
Comment 10 Ole Markus With (RETIRED) gentoo-dev 2013-03-25 20:46:20 UTC
Okay. Revbump that patches out the bison version check and possibly fixes this issue committed to CVS.