Bug 110274 - php source rpm doesn't compile
Summary: php source rpm doesn't compile
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: php
Version: 1
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Joe Orton
QA Contact: David Lawrence
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2003-11-17 19:50 UTC by Nathan G. Grennan
Modified: 2007-11-30 22:10 UTC (History)
0 users

Fixed In Version: 4.3.4-2
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2003-12-05 14:10:20 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
patch against php-4.3.3-6 spec file (996 bytes, patch)
2003-11-28 13:35 UTC, Jan Visser
no flags Details | Diff

Description Nathan G. Grennan 2003-11-17 19:50:23 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5)
Gecko/20031016 Galeon/1.3.10

Description of problem:
The php source doesn't compile.

Not enough of /Zend gets copied into /build-cgi/Zend and
/build-apache/Zend

Below is an example of /build-cgi/Zend:

/bin/sh /usr/src/redhat/BUILD/php-4.3.4/build-cgi/libtool --silent
--preserve-dup-deps --mode=compile gcc  -IZend/
-I/usr/src/redhat/BUILD/php-4.3.4/Zend/ -DPHP_ATOM_INC
-I/usr/src/redhat/BUILD/php-4.3.4/build-cgi/include
-I/usr/src/redhat/BUILD/php-4.3.4/build-cgi/main
-I/usr/src/redhat/BUILD/php-4.3.4
-I/usr/src/redhat/BUILD/php-4.3.4/build-cgi/Zend
-I/usr/kerberos/include -I/usr/include/libxml2
-I/usr/include/freetype2 -I/usr/include/imap
-I/usr/src/redhat/BUILD/php-4.3.4/ext/mbstring/mbregex
-I/usr/src/redhat/BUILD/php-4.3.4/ext/mbstring/libmbfl
-I/usr/src/redhat/BUILD/php-4.3.4/ext/mbstring/libmbfl/mbfl
-I/usr/include/mysql -I/usr/include/pspell
-I/usr/src/redhat/BUILD/php-4.3.4/main
-I/usr/src/redhat/BUILD/php-4.3.4/Zend
-I/usr/src/redhat/BUILD/php-4.3.4/TSRM 
-I/usr/src/redhat/BUILD/php-4.3.4/build-cgi/TSRM  -O2 -g -pipe
-march=i386 -mcpu=i686 -Wall -fno-strict-aliasing
-I/usr/kerberos/include  -prefer-non-pic -c
Zend/zend_language_scanner.c -o Zend/zend_language_scanner.o
gcc: Zend/zend_language_scanner.c: No such file or directory
gcc: no input files
make: *** [Zend/zend_language_scanner.lo] Error 1


Version-Release number of selected component (if applicable):
php-4.3.4-1.1

How reproducible:
Always

Steps to Reproduce:
1. rpm -i php-4.3.4-1.1.src.rpm
2. cd /usr/src/redhat/SPECS
3. rpmbuild -bb php.spec
    

Actual Results:  Doesn't finish compiling

Expected Results:  For it to finish compiling

Additional info:

Same problem with php-4.3.3-6.

Comment 1 Joe Orton 2003-11-18 10:46:21 UTC
I can't reproduce this here on an FC1 system.  What versions of
autoconf and libtool are you running?

Comment 2 Nathan G. Grennan 2003-11-18 15:18:46 UTC
libtool-1.5-8
autoconf-2.57-3

Both built by Red Hat. I do note that autoconf doesn't seem to have
been upgraded since the version is the exact same from RH9, and the
Build date is Fri 24 Jan 2003 02:01:48 PM PST.

Comment 3 Jan Visser 2003-11-28 13:33:27 UTC
The fix to this problem is attached.

The problem was found in the workaround for the bug in bison-1.875-2

It does not copy the zend *scanner* files.

Comment 4 Jan Visser 2003-11-28 13:35:07 UTC
Created attachment 96235 [details]
patch against php-4.3.3-6 spec file

Comment 5 Joe Orton 2003-12-01 11:22:45 UTC
Thanks for the patch Jan! I've added this for 4.3.4-2 in Raw Hide.


Note You need to log in before you can comment on or make changes to this bug.