[php-maint] Bug#720565: All tests fail with dpkg-buildpackage

Florian Kaiser bugreports at florian-kaiser.net
Fri Aug 23 12:12:57 UTC 2013

Package: php5-cgi
Version: 5.4.4-14+deb7u3
Severity: serious
Justification: fails to build from source (but built successfully in the past)

I cannot build PHP from apt-get source on a fresh debian wheezy installation since ALL tests will fail during the build process!

I get the following errors during the testing phase

Warning: PHP Startup: Unable to load dynamic library '/tmp/php5-5.4.4/apache2-build/modules/curl.so' - /tmp/php5-5.4.4/apache2-build/modules/curl.so: undefined symbol: core_globals_id in Unknown on line 0

Warning: PHP Startup: enchant: Unable to initialize module
Module compiled with build ID=API20100525,TS
PHP    compiled with build ID=API20100525,NTS
These options need to match
 in Unknown on line 0

I'm getting them for ANY given module php tries to load during the testing phase.

Steps to reproduce:

apt-get source php5
dpkg-buildpackage -us -uc

Expected result: Compilation & Tests succeed,

Actual result: Compilation succeeds, but all tests fail.

-- System Information:
Debian Release: 7.1
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-4-amd64 (SMP w/7 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages php5-cgi depends on:
ii  libbz2-1.0        1.0.6-4
ii  libc6             2.13-38
ii  libcomerr2        1.42.5-1.1
ii  libdb5.1          5.1.29-5
ii  libgssapi-krb5-2  1.10.1+dfsg-5+deb7u1
ii  libk5crypto3      1.10.1+dfsg-5+deb7u1
ii  libkrb5-3         1.10.1+dfsg-5+deb7u1
ii  libmagic1         5.11-2
ii  libonig2          5.9.1-1
ii  libpcre3          1:8.30-5
ii  libqdbm14         1.8.78-2
ii  libssl1.0.0       1.0.1e-2
ii  libxml2           2.8.0+dfsg1-7+nmu1
ii  mime-support      3.52-1
ii  php5-common       5.4.4-14+deb7u3
ii  tzdata            2013c-0wheezy1
ii  ucf               3.0025+nmu3
ii  zlib1g            1:1.2.7.dfsg-13

php5-cgi recommends no packages.

Versions of packages php5-cgi suggests:
pn  php-pear  <none>

-- no debconf information

More information about the pkg-php-maint mailing list