PHP 5.2.6-2ubuntu1 FTBFS missing readline.h

Bug #249800 reported by Philipp Wollermann
2
Affects Status Importance Assigned to Milestone
php5 (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: php5

I just tried to backport the newest PHP5 using prevu (building from intrepid, on a hardy box) as usual, and got the following compile error:

i486-linux-gnu-gcc -Isapi/cli/ -I/var/cache/prevu/src/15190/php5-5.2.6/sapi/cli/ -DPHP_ATOM_INC -I/var/cache/prevu/src/15190/php5-5.2.6/cli-build/include -I/var/cache/prevu/src/15190/php5-5.2.6/cli-build/main -I/var/cache/prevu/src/15190/php5-5.2.6 -I/usr/include/libxml2 -I/var/cache/prevu/src/15190/php5-5.2.6/cli-build/ext/date/lib -I/var/cache/prevu/src/15190/php5-5.2.6/ext/date/lib -I/var/cache/prevu/src/15190/php5-5.2.6/ext/mbstring/oniguruma -I/var/cache/prevu/src/15190/php5-5.2.6/cli-build/ext/mbstring/oniguruma -I/var/cache/prevu/src/15190/php5-5.2.6/ext/mbstring/libmbfl -I/var/cache/prevu/src/15190/php5-5.2.6/cli-build/ext/mbstring/libmbfl -I/var/cache/prevu/src/15190/php5-5.2.6/ext/mbstring/libmbfl/mbfl -I/var/cache/prevu/src/15190/php5-5.2.6/cli-build/ext/mbstring/libmbfl/mbfl -I/var/cache/prevu/src/15190/php5-5.2.6/cli-build/TSRM -I/var/cache/prevu/src/15190/php5-5.2.6/cli-build/Zend -I/var/cache/prevu/src/15190/php5-5.2.6/main -I/var/cache/prevu/src/15190/php5-5.2.6/Zend -I/var/cache/prevu/src/15190/php5-5.2.6/TSRM -I/var/cache/prevu/src/15190/php5-5.2.6/cli-build/ -I/usr/include -O2 -Wall -fsigned-char -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -gstabs -c /var/cache/prevu/src/15190/php5-5.2.6/sapi/cli/php_cli.c -fPIC -DPIC -o sapi/cli/php_cli.o
/var/cache/prevu/src/15190/php5-5.2.6/sapi/cli/php_cli.c:79:31: error: readline/readline.h: No such file or directory
/var/cache/prevu/src/15190/php5-5.2.6/sapi/cli/php_cli.c: In function 'main':
/var/cache/prevu/src/15190/php5-5.2.6/sapi/cli/php_cli.c:1089: warning: implicit declaration of function 'tilde_expand'
/var/cache/prevu/src/15190/php5-5.2.6/sapi/cli/php_cli.c:1089: warning: assignment makes pointer from integer without a cast
/var/cache/prevu/src/15190/php5-5.2.6/sapi/cli/php_cli.c:1090: error: 'rl_attempted_completion_function' undeclared (first use in this function)
/var/cache/prevu/src/15190/php5-5.2.6/sapi/cli/php_cli.c:1090: error: (Each undeclared identifier is reported only once
/var/cache/prevu/src/15190/php5-5.2.6/sapi/cli/php_cli.c:1090: error: for each function it appears in.)
/var/cache/prevu/src/15190/php5-5.2.6/sapi/cli/php_cli.c:1091: error: 'rl_special_prefixes' undeclared (first use in this function)
/var/cache/prevu/src/15190/php5-5.2.6/sapi/cli/php_cli.c:1092: warning: implicit declaration of function 'read_history'
/var/cache/prevu/src/15190/php5-5.2.6/sapi/cli/php_cli.c:1095: warning: implicit declaration of function 'readline'
/var/cache/prevu/src/15190/php5-5.2.6/sapi/cli/php_cli.c:1095: warning: assignment makes pointer from integer without a cast
/var/cache/prevu/src/15190/php5-5.2.6/sapi/cli/php_cli.c:1117: warning: implicit declaration of function 'add_history'
/var/cache/prevu/src/15190/php5-5.2.6/sapi/cli/php_cli.c:1139: warning: implicit declaration of function 'write_history'
make[1]: *** [sapi/cli/php_cli.lo] Error 1
make[1]: Leaving directory `/var/cache/prevu/src/15190/php5-5.2.6/cli-build'
make: *** [build-cli-stamp] Error 2
dpkg-buildpackage: failure: debian/rules build gave error exit status 2
Copying back the cached apt archive contents
 -> new cache content apache2-utils_2.2.8-1ubuntu0.3_i386.deb added
 -> new cache content apache2.2-common_2.2.8-1ubuntu0.3_i386.deb added
 -> new cache content apache2-prefork-dev_2.2.8-1ubuntu0.3_i386.deb added
 -> new cache content libglib2.0-0_2.16.3-1ubuntu3_i386.deb added
 -> new cache content libpcre3_7.4-1ubuntu2.1_i386.deb added
 -> new cache content libpcrecpp0_7.4-1ubuntu2.1_i386.deb added
 -> new cache content libldap2-dev_2.4.9-0ubuntu0.8.04_i386.deb added
 -> new cache content libssl-dev_0.9.8g-4ubuntu3.3_i386.deb added
 -> new cache content x11-common_1%3a7.3+10ubuntu10.2_i386.deb added
 -> new cache content openssl_0.9.8g-4ubuntu3.3_i386.deb added
 -> new cache content libpcre3-dev_7.4-1ubuntu2.1_i386.deb added
 -> unmounting /var/cache/prevu/src/15190 filesystem
 -> unmounting /var/cache/prevu/hardy-debs filesystem
 -> unmounting dev/pts filesystem
 -> unmounting proc filesystem
 -> cleaning the build env
    -> removing directory /var/cache/prevu/builds/15289 and its subdirectories
========================
Prevu Error: Build failed.
Prevu encountered an error performing your build. The actual
error message may be further up in the scrollback before pbuilder
exited. Please look for a failed dependency or compile error in
the full output.

Revision history for this message
Chuck Short (zulcss) wrote :

This should be fixed now, thanks.

chuck

Changed in php5:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.