[php-maint] Unable to build sid packages

LaLa dbpalan at hotmail.com
Mon Mar 14 03:50:42 UTC 2011


I found a weird issue that got an error returned when fsockopen() to a SMTP over SSL port. but no error to a HTTPS port.  Since the error only occur in squeeze (php-5.3.3) but no error in lenny (5.2.6), I attempt to backport a sid (5.3.5) package so that I cam confirm this is a 'new bug' and able to submit a bug report to PHP.

I got error message during build in the middle, would I missed any point during backport?  The following is the backport procedure:



=========================

aptitude update

aptitude upgrade

apt-get build-dep php5

apt-get -b source php5


=========================

The following is /etc/apt/sources.list:

=========================

deb http://ftp.hk.debian.org/debian/ squeeze main
deb http://security.debian.org/ squeeze/updates main
deb-src http://ftp.hk.debian.org/debian/ unstable main

 =========================

The following is the error message it got:

=========================

Installing PEAR environment:      /usr/src/php5-5.3.5/pear-build/usr/share/php/
make[2]: Entering directory `/usr/src/php5-5.3.5/cgi-build'
[PEAR] Archive_Tar    - installed: 1.3.7
[PEAR] Console_Getopt - installed: 1.2.3
[PEAR] Structures_Graph- installed: 1.0.3
[PEAR] XML_Util       - installed: 1.2.1
[PEAR] PEAR           - installed: 1.9.1
Wrote PEAR system config file at: /usr/src/php5-5.3.5/pear-build//etc/pear/pear.conf
You may want to add: /usr/share/php to your php.ini include_path
make[2]: Leaving directory `/usr/src/php5-5.3.5/cgi-build'
make[1]: Leaving directory `/usr/src/php5-5.3.5/cgi-build'
sed -i -e 's/-d output_buffering=1 -d open_basedir="" -d safe_mode=0/-d output_buffering=1 -d open_basedir="" -d safe_mode=0 -d memory_limit="-1"/' \
               /usr/src/php5-5.3.5/pear-build/usr/bin/pear && \
        sed -i -e 's/-d output_buffering=1 -d safe_mode=0/-d output_buffering=1 -d open_basedir="" -d safe_mode=0 -d memory_limit="-1"/' \
               /usr/src/php5-5.3.5/pear-build/usr/bin/pecl && \
        sed -i -e 's/-d memory_limit="-1"//' \
               -e 's/-d output_buffering=1 -d open_basedir="" -d safe_mode=0/-d output_buffering=1 -d open_basedir="" -d safe_mode=0 -d memory_limit="-1"/' \
               /usr/src/php5-5.3.5/pear-build/usr/bin/peardev
sed -i -re "s#('PEAR_CONFIG_SYSCONFDIR', PHP_SYSCONFDIR)#\1 . '/pear'#" /usr/src/php5-5.3.5/pear-build/usr/share/php/PEAR/Config.php
touch build-pear-stamp
mkdir -p temp_session_store
# start our own mysql server for the tests
/bin/sh debian/setup-mysql.sh 1025 /usr/src/php5-5.3.5/mysql_db
Timed out waiting for mysql server to be available
kill: 65: No such process

kill: 65: No such process

make: *** [test-results.txt] Error 1
dpkg-buildpackage: error: debian/rules build gave error exit status 2
Build command 'cd php5-5.3.5 && dpkg-buildpackage -b -uc' failed.
E: Child process failed

=========================

Thanks & Regards,

Alan
 		 	   		  


More information about the pkg-php-maint mailing list