I tired to rebuild the latest PHP RPM (php-4.3.9-3.29.src.rpm) on an
up-to-date RHEL5 system.  (My plan is to build a modified version, but
this is the original RHEL RPM.)  The build runs for quite a while, but
eventually fails.  The last part of the console log is below.

        + for f in '$RPM_BUILD_ROOT/usr/share/pear/.registry/*.reg'
        + build-cgi/sapi/cli/php -n /home/mjs/src/SOURCES/relocate.php 
/home/mjs/src/tmp/php-root/usr/share/pear/.registry/xml_parser.reg 
/home/mjs/src/tmp/php-root
        + mv 
/home/mjs/src/tmp/php-root/usr/share/pear/.registry/xml_parser.reg.new 
/home/mjs/src/tmp/php-root/usr/share/pear/.registry/xml_parser.reg
        + for f in '$RPM_BUILD_ROOT/usr/share/pear/.registry/*.reg'
        + build-cgi/sapi/cli/php -n /home/mjs/src/SOURCES/relocate.php 
/home/mjs/src/tmp/php-root/usr/share/pear/.registry/xml_rpc.reg 
/home/mjs/src/tmp/php-root
        + mv 
/home/mjs/src/tmp/php-root/usr/share/pear/.registry/xml_rpc.reg.new 
/home/mjs/src/tmp/php-root/usr/share/pear/.registry/xml_rpc.reg
        + rm -rf /home/mjs/src/tmp/php-root/usr/share/pear/tests
        + rm -f /home/mjs/src/tmp/php-root/usr/lib/php4/domxml.a 
/home/mjs/src/tmp/php-root/usr/lib/php4/gd.a 
/home/mjs/src/tmp/php-root/usr/lib/php4/imap.a 
/home/mjs/src/tmp/php-root/usr/lib/php4/ldap.a 
/home/mjs/src/tmp/php-root/usr/lib/php4/mbstring.a 
/home/mjs/src/tmp/php-root/usr/lib/php4/mysql.a 
/home/mjs/src/tmp/php-root/usr/lib/php4/ncurses.a 
/home/mjs/src/tmp/php-root/usr/lib/php4/odbc.a 
/home/mjs/src/tmp/php-root/usr/lib/php4/pgsql.a 
/home/mjs/src/tmp/php-root/usr/lib/php4/snmp.a 
/home/mjs/src/tmp/php-root/usr/lib/php4/xmlrpc.a 
/home/mjs/src/tmp/php-root/usr/bin/phptar 
/home/mjs/src/tmp/php-root/usr/bin/pearize
        + rm -f README.Zeus README.QNX README.CVS-RULES
        + /usr/lib/rpm/find-debuginfo.sh /home/mjs/src/BUILD/php-4.3.9
        extracting debug info from /home/mjs/src/tmp/php-root/usr/bin/php
        extracting debug info from 
/home/mjs/src/tmp/php-root/usr/lib/httpd/modules/libphp4.so
        extracting debug info from 
/home/mjs/src/tmp/php-root/usr/lib/php4/imap.so
        extracting debug info from 
/home/mjs/src/tmp/php-root/usr/lib/php4/ldap.so
        extracting debug info from 
/home/mjs/src/tmp/php-root/usr/lib/php4/odbc.so
        extracting debug info from /home/mjs/src/tmp/php-root/usr/lib/php4/gd.so
        extracting debug info from 
/home/mjs/src/tmp/php-root/usr/lib/php4/snmp.so
        extracting debug info from 
/home/mjs/src/tmp/php-root/usr/lib/php4/ncurses.so
        extracting debug info from 
/home/mjs/src/tmp/php-root/usr/lib/php4/xmlrpc.so
        extracting debug info from 
/home/mjs/src/tmp/php-root/usr/lib/php4/pgsql.so
        extracting debug info from 
/home/mjs/src/tmp/php-root/usr/lib/php4/domxml.so
        extracting debug info from 
/home/mjs/src/tmp/php-root/usr/lib/php4/mysql.so
        extracting debug info from 
/home/mjs/src/tmp/php-root/usr/lib/php4/mbstring.so
        cpio: php-4.3.9/ext/standard/<stdout>: No such file or directory
        18608 blocks
        + /usr/lib/rpm/check-rpaths /usr/lib/rpm/check-buildroot
        /home/mjs/src/tmp/rpm-tmp.61048: line 125: /usr/lib/rpm/check-rpaths: 
No such file or directory
        error: Bad exit status from /home/mjs/src/tmp/rpm-tmp.61048 (%install)
        
        
        RPM build errors:
            Bad exit status from /home/mjs/src/tmp/rpm-tmp.61048 (%install)

Has anyone else tried this and seen the same thing, or succeeded?  Is
there something obvious that I'm missing that has to be installed before
it will work?  There must be something, or Red Hat wouldn't be able to
build it either!

I have the rest of the log if needed, but it's about 1MByte and 3000
lines.

TIA.
-- 
                Matthew Saltzman

Clemson University Math Sciences
mjs AT clemson DOT edu
http://www.math.clemson.edu/~mjs

_______________________________________________
rhelv5-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/rhelv5-list

Reply via email to