can't create rpm for php with src.rpm

Alex at Avantel ahv at avantel.ca
Mon May 2 17:56:51 UTC 2005


A recent yum update has (again) broken my php and this time I can't even 
recreate the vanilla php rpm from the src rpm.  Am I the only one who has 
trouble or did I miss something in my review of the archives.

Here's the tail end of the output from the 'rpmbuild -bb php.spec' command:

=====================================================================
FAILED TEST SUMMARY
---------------------------------------------------------------------
Bug #26938 (exec does not read consecutive long lines correctly) 
[ext/standard/tests/file/bug26938.phpt]
proc_open() regression test 1 (proc_open() leak) 
[ext/standard/tests/file/proc_open01.phpt]
=====================================================================
make: *** [test] Error 1
+ set +x
TEST FAILURE: ../ext/standard/tests/file/bug26938.diff --
001- md5(line 0)= e86410fa2d6e2634fd8ac5f4b3afe7f3 (length 10)
001+ PHP Warning:  Unknown(): Unable to load dynamic library 
'/usr/lib/php4/snmp.so' - /usr/lib/php4/snmp.so: undefined symbol: 
usmAES192PrivProtocol in Unknown on line 0
002- md5(line 1)= e84debf3a1d132871d7fe45c1c04c566 (length 20000)
002+ md5(line 0)= e86410fa2d6e2634fd8ac5f4b3afe7f3 (length 10)
003- md5(line 2)= c33b4d2f86908eea5d75ee5a61fd81f4 (length 10000)
003+ md5(line 1)= e84debf3a1d132871d7fe45c1c04c566 (length 20000)
004- md5(line 3)= 2ecdde3959051d913f61b14579ea136d (length 5)
004+ md5(line 2)= c33b4d2f86908eea5d75ee5a61fd81f4 (length 10000)
005- md5(line 4)= c33b4d2f86908eea5d75ee5a61fd81f4 (length 10000)
005+ md5(line 3)= 2ecdde3959051d913f61b14579ea136d (length 5)
006- md5(line 5)= 902fbdd2b1df0c4f70b4a5d23525e932 (length 3)
006+ md5(line 4)= c33b4d2f86908eea5d75ee5a61fd81f4 (length 10000)
007+ md5(line 5)= 902fbdd2b1df0c4f70b4a5d23525e932 (length 3)
-- ../ext/standard/tests/file/bug26938.diff result ends.
TEST FAILURE: ../ext/standard/tests/file/proc_open01.diff --
003-   resource(%d) of type (stream)
003+   resource(4) of type (stream)
005-   resource(%d) of type (stream)
005+   resource(5) of type (stream)
007- string(5) "yay!
007+ PHP Warning:  Unknown(): Unable to load dynamic library 
'/usr/lib/php4/snmp.so' - /usr/lib/php4/snmp.so: undefined symbol: 
usmAES192PrivProtocol in Unknown on line 0
008- "
008+ string(5) "yay!
009- array(3) {
009+ "
010-   [0]=>
010+ array(3) {
011-   int(1)
011+   [0]=>
012-   [1]=>
012+   int(1)
013-   int(2)
013+   [1]=>
014-   [2]=>
014+   int(2)
015-   int(3)
015+   [2]=>
016- }
016+   int(3)
017+ }
-- ../ext/standard/tests/file/proc_open01.diff result ends.
error: Bad exit status from /var/tmp/rpm-tmp.1640 (%check)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.1640 (%check)
[root at meech SPECS]#


Any suggestions appreciated

Alex V.
Avantel Systems
=============



-- 
This message has been scanned for viruses and
dangerous content, and is believed to be clean.




More information about the users mailing list