Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 4913 - php4.2.1-r3 fails to build
Summary: php4.2.1-r3 fails to build
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: High critical (vote)
Assignee: Roman Weber
URL: http://www.skullboxhouse.co.uk/php.txt
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-07-12 04:27 UTC by stephen smithstone
Modified: 2003-02-04 19:42 UTC (History)
0 users

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 stephen smithstone 2002-07-12 04:27:15 UTC
when doing emerge dev-lang/php the build gets to the zend section and then fails
on the error src_compile line 163 ive uploaded the error message to 
www.skullboxhouse.co.uk/php.txt
Comment 1 Roman Weber 2002-07-12 04:33:43 UTC
Can you send me:
- /var/tmp/portage/php-4.2.1-r3/work/php-4.2.1/config.log
- Your USE flags
- Used Compiler
- Used CPU
- Used CFLAGS
- Used CXXFLAGS

Tnx Roman
Comment 2 stephen smithstone 2002-07-12 04:48:49 UTC
Ive uploaded the config.log and make.conf to ww.skullboxhouse.co.uk/gentoo/
Comment 3 stephen smithstone 2002-07-12 04:51:30 UTC
oops sorry im using gcc 2.95.3 on an AMD 1G and gentoo 1.2
Comment 4 Roman Weber 2002-07-12 05:32:39 UTC
Weird...thats to search a needle in a haystack.....

Can you add /var/tmp/portage/php-4.2.1-r3/work/php-4.2.1/main/php_config.h
to www.skullboxhouse.co.uk/gentoo/?

I think php_config.h was faulty written, but why....
Comment 5 stephen smithstone 2002-07-12 05:35:24 UTC
ok ive uploaded the php_config.h to the same place
Comment 6 Roman Weber 2002-07-12 05:48:23 UTC
Interesting.....Look at line 2077 in php_config.h

/* uname -a output */
#define PHP_UNAME "Linux LnxServ.skullboxhouse 2.4.19-gentoo-r7 #3 Thu Jul 11
18:39:39 GMT 2002 i686 6 

The " is missing....

How does your full 'uname -a' look like?
Comment 7 stephen smithstone 2002-07-12 05:51:39 UTC
Linux LnxServ.skullboxhouse 2.4.19-gentoo-r7 #3 Thu Jul 11 18:39:39 GMT 2002 i686 6
model    :
Comment 8 Roman Weber 2002-07-12 06:28:00 UTC
Ok, I reproduced the bug now.....

your 'uname -a' gives "Linux LnxServ.skullboxhouse 2.4.19-gentoo-r7 #3 Thu Jul
11 18:39:39 GMT 2002 i686 6\nmodel" back....

And the Linebreak (\n) breaks the script. I will file a bugreport to bugs.php.net.
I'll hope they have a good solution...;-)

It should then be fixed in php-4.2.1-r4 which will be on portage today or tomorrow.

Sorry. Roman
Comment 9 stephen smithstone 2002-07-12 06:28:44 UTC
Thanks for the quick response :-) 

Gentoo rocks
Comment 10 Roman Weber 2002-07-12 07:05:46 UTC
Thanks....;-)

BTW you can find the bug now under http://bugs.php.net/bug.php?id=18308

Roman
Comment 11 stephen smithstone 2002-07-12 07:15:58 UTC
Do u have any idea btw why im getting this weird uname -a responce ??
Comment 12 stephen smithstone 2002-07-12 07:21:24 UTC
Im compliing a new kernel to see if i can a proper response to the uname -a as i
know now whats the problem with this if it works i will let u know
Comment 13 stephen smithstone 2002-07-12 09:40:46 UTC
seem to have fixed its seems i had a bad sh-utils and now ive got a good one so
its ok now php is working
Comment 14 stephen smithstone 2002-07-12 09:45:45 UTC
Cancel that please its not working yet :-/

Sorry about this

just doing a emerge --clean rsync to test
Comment 15 stephen smithstone 2002-07-12 09:58:47 UTC
ok got it installed now seems also it dont like xml in the use flags cos it fails

all sorted now u can close the bug :-)
Comment 16 Roman Weber 2002-07-12 23:15:26 UTC
The xml bug will be fixed as soon as Bug #4908 and Bug #4909 are in the tree.

Roman
Comment 17 Ryan Phillips (RETIRED) gentoo-dev 2002-07-15 22:58:39 UTC
committed