Can't rebuild php-4.3.9-3.29 RPM on RHEL 4
Matthew Saltzman
mjs at clemson.edu
Fri Apr 2 14:50:01 UTC 2010
I tried rebuilding the php-4.3.9-3.29 RPM from source, but it fails
during the self-test. Summary appears below. Anyone have any idea what
the problem is? (I want eventually to build with Sablotron and js, so I
have those devel packages installed, but this build is the plain vanilla
Red Hat RPM.)
Thanks for any suggestions.
=====================================================================
FAILED TEST SUMMARY
---------------------------------------------------------------------
shmop extension test [ext/shmop/tests/001.phpt]
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]
General semaphore and shared memory test [ext/sysvsem/tests/sysv.phpt]
=====================================================================
make: *** [test] Error 1
+ set +x
>> TEST FAILURE: ../ext/shmop/tests/001.diff --
001- shm open for create: ok
001+ shm open for create:
002- shm size is: 1024
002+ Warning: shmop_open(): unable to attach or create shared memory segment in /home/mjs/src/BUILD/php-4.3.9/ext/shmop/tests/001.php on line 7
003- shm write test #1: ok
003+ failed
004- data in memory is: test #1 of the shmop() extension
005- shm open for read only: ok
006- data in memory is: test #1 of the shmop() extension
007- trying to write to a read only segment
008- shm open for read only: ok
009- shm write test #1: ok
010- data in memory is: test #1 of the shmop() extensiontest #2 append data to shared memory segment
011- deletion of shm segment: ok
<< ../ext/shmop/tests/001.diff result ends.
>> TEST FAILURE: ../ext/standard/tests/file/bug26938.diff --
001- md5(line 0)= e86410fa2d6e2634fd8ac5f4b3afe7f3 (length 10)
001+ PHP Warning: Function registration failed - duplicate name - dbase_open in Unknown on line 0
002- md5(line 1)= e84debf3a1d132871d7fe45c1c04c566 (length 20000)
002+ PHP Warning: Function registration failed - duplicate name - dbase_create in Unknown on line 0
003- md5(line 2)= c33b4d2f86908eea5d75ee5a61fd81f4 (length 10000)
003+ PHP Warning: Function registration failed - duplicate name - dbase_close in Unknown on line 0
004- md5(line 3)= 2ecdde3959051d913f61b14579ea136d (length 5)
004+ PHP Warning: Function registration failed - duplicate name - dbase_numrecords in Unknown on line 0
005- md5(line 4)= c33b4d2f86908eea5d75ee5a61fd81f4 (length 10000)
005+ PHP Warning: Function registration failed - duplicate name - dbase_numfields in Unknown on line 0
006- md5(line 5)= 902fbdd2b1df0c4f70b4a5d23525e932 (length 3)
006+ PHP Warning: Function registration failed - duplicate name - dbase_add_record in Unknown on line 0
007+ PHP Warning: Function registration failed - duplicate name - dbase_replace_record in Unknown on line 0
008+ PHP Warning: Function registration failed - duplicate name - dbase_get_record in Unknown on line 0
009+ PHP Warning: Function registration failed - duplicate name - dbase_get_record_with_names in Unknown on line 0
010+ PHP Warning: Function registration failed - duplicate name - dbase_delete_record in Unknown on line 0
011+ PHP Warning: Function registration failed - duplicate name - dbase_pack in Unknown on line 0
012+ PHP Warning: dbase: Unable to register functions, unable to load in Unknown on line 0
013+ md5(line 0)= e86410fa2d6e2634fd8ac5f4b3afe7f3 (length 10)
014+ md5(line 1)= e84debf3a1d132871d7fe45c1c04c566 (length 20000)
015+ md5(line 2)= c33b4d2f86908eea5d75ee5a61fd81f4 (length 10000)
016+ md5(line 3)= 2ecdde3959051d913f61b14579ea136d (length 5)
017+ md5(line 4)= c33b4d2f86908eea5d75ee5a61fd81f4 (length 10000)
018+ 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: Function registration failed - duplicate name - dbase_open in Unknown on line 0
008- "
008+ PHP Warning: Function registration failed - duplicate name - dbase_create in Unknown on line 0
009- array(3) {
009+ PHP Warning: Function registration failed - duplicate name - dbase_close in Unknown on line 0
010- [0]=>
010+ PHP Warning: Function registration failed - duplicate name - dbase_numrecords in Unknown on line 0
011- int(1)
011+ PHP Warning: Function registration failed - duplicate name - dbase_numfields in Unknown on line 0
012- [1]=>
012+ PHP Warning: Function registration failed - duplicate name - dbase_add_record in Unknown on line 0
013- int(2)
013+ PHP Warning: Function registration failed - duplicate name - dbase_replace_record in Unknown on line 0
014- [2]=>
014+ PHP Warning: Function registration failed - duplicate name - dbase_get_record in Unknown on line 0
015- int(3)
015+ PHP Warning: Function registration failed - duplicate name - dbase_get_record_with_names in Unknown on line 0
016- }
016+ PHP Warning: Function registration failed - duplicate name - dbase_delete_record in Unknown on line 0
017+ PHP Warning: Function registration failed - duplicate name - dbase_pack in Unknown on line 0
018+ PHP Warning: dbase: Unable to register functions, unable to load in Unknown on line 0
019+ string(5) "yay!
020+ "
021+ array(3) {
022+ [0]=>
023+ int(1)
024+ [1]=>
025+ int(2)
026+ [2]=>
027+ int(3)
028+ }
<< ../ext/standard/tests/file/proc_open01.diff result ends.
>> TEST FAILURE: ../ext/sysvsem/tests/sysv.diff --
002- Got semaphore Resource id #%i.
002+ Got semaphore Resource id #4.
003- Success aquire semaphore Resource id #%i.
003+ Success aquire semaphore Resource id #4.
004- Success to attach shared memory : %i.
004+
005- Write var1 to shared memory.
005+ Warning: shmget() failed for key 0x2: Invalid argument in /home/mjs/src/BUILD/php-4.3.9/ext/sysvsem/tests/sysv.php on line 23
006- Write var2 to shared memory.
006+ Fail to attach shared memory.
007- Read var1=Variable 1.
008- Read var2=Variable 2.
009- Semaphore Resource id #%i released.
010- Shared memory successfully removed from SysV.
011- semaphore removed successfully from SysV.
012- End.
<< ../ext/sysvsem/tests/sysv.diff result ends.
error: Bad exit status from /home/mjs/src/tmp/rpm-tmp.59622 (%check)
RPM build errors:
Bad exit status from /home/mjs/src/tmp/rpm-tmp.59622 (%check)
--
Matthew Saltzman
Clemson University Math Sciences
mjs AT clemson DOT edu
http://www.math.clemson.edu/~mjs
More information about the redhat-list
mailing list