Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 372753 - dev-lang/php-5.3.6-r1 crashes in config phase with USE=ldap and net-nds/openldap-2.4.24
Summary: dev-lang/php-5.3.6-r1 crashes in config phase with USE=ldap and net-nds/openl...
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: PHP Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-24 02:44 UTC by Trevor Bowen
Modified: 2011-09-07 11:55 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
php-5.3.6-r1 build log (build.log,28.00 KB, text/plain)
2011-06-24 02:45 UTC, Trevor Bowen
Details
emerge --info results (emerge_info.txt,5.68 KB, text/plain)
2011-06-24 02:46 UTC, Trevor Bowen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Trevor Bowen 2011-06-24 02:44:17 UTC
A recent change broke my php installation.  Recompiling php-5.3.6-r1 with the ldap use flag yields these errors:

$ emerge -pvt php

These are the packages that would be merged, in reverse order:

Calculating dependencies... done!
[ebuild   R   ~] dev-lang/php-5.3.6-r1  USE="apache2 bcmath berkdb bzip2 cgi cli crypt ctype exif fileinfo filter gd gdbm hash iconv imap ipv6 json kerberos ldap* mssql mysql mysqli nls odbc phar posix readline session simplexml snmp spell ssl threads tidy tokenizer truetype unicode xml xmlrpc xpm zlib (-adabas) (-birdstep) -calendar -cdb -cjk -curl -curlwrappers -db2 (-dbmaker) -debug -doc -embed (-empress) (-empress-bcs) -enchant (-esoob) -firebird -flatfile -fpm (-frontbase) -ftp -gd-external -gmp -inifile -interbase -intl -iodbc -kolab -ldap-sasl -libedit -mhash -mysqlnd -oci8 -oci8-instant-client -pcntl -pdo -pic -postgres -qdbm -recode -sapdb -sharedext -sharedmem -soap -sockets (-solid) -sqlite -sqlite3 (-sybase-ct) -sysvipc -wddx -xmlreader -xmlwriter -xsl -zip" 0 kB

$ emerge php
Calculating dependencies... done!

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) dev-lang/php-5.3.6-r1
 * php-5.3.6.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                                           [ ok ]
 * php-patchset-5.3.6-r0.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                               [ ok ]
 * Package:    dev-lang/php-5.3.6-r1
 * Repository: gentoo
 * Maintainer: php-bugs@gentoo.org
 * USE:        amd64 apache2 bcmath berkdb bzip2 cgi cli crypt ctype elibc_glibc exif fileinfo filter gd gdbm hash iconv imap ipv6 json kerberos kernel_linux ldap mssql multilib mysql mysqli nls odbc phar posix readline session simplexml snmp spell ssl threads tidy tokenizer truetype unicode userland_GNU xml xmlrpc xpm zlib
 * FEATURES:   preserve-libs sandbox
>>> Unpacking source...
>>> Unpacking php-5.3.6.tar.bz2 to /var/tmp/portage/dev-lang/php-5.3.6-r1/work
>>> Unpacking php-patchset-5.3.6-r0.tar.bz2 to /var/tmp/portage/dev-lang/php-5.3.6-r1/work
>>> Source unpacked in /var/tmp/portage/dev-lang/php-5.3.6-r1/work
>>> Preparing source in /var/tmp/portage/dev-lang/php-5.3.6-r1/work/php-5.3.6 ...
...
checking for ANSI C header files... (cached) yes
checking for LDAP support... yes
checking for LDAP Cyrus SASL support... no
checking for 3 arg ldap_set_rebind_proc... yes
checking for ldap_parse_result... no
checking for ldap_parse_reference... no
checking for ldap_start_tls_s... no
checking for ldap_bind_s... no
configure: error: LDAP build check failed. Please check config.log for more information.

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/dev-lang/php-5.3.6-r1/work/sapis-build/cli/config.log
 * ERROR: dev-lang/php-5.3.6-r1 failed (configure phase):
 *   econf failed
 * 
 * Call stack:
 *                ebuild.sh, line   56:  Called src_configure
 *              environment, line 4393:  Called eblit-run 'src_configure' 'v2'
 *              environment, line 1558:  Called eblit-php-src_configure
 *   src_configure-v2.eblit, line  274:  Called econf '--prefix=/usr/lib64/php5.3' '--mandir=/usr/lib64/php5.3/man' '--infodir=/usr/lib64/php5.3/info' '--libdir=/usr/lib64/php5.3/lib' '--with-libdir=lib64' '--without-pear' '--enable-maintainer-zts' '--enable-bcmath' '--with-bz2' '--disable-calendar' '--without-curl' '--without-curlwrappers' '--without-enchant' '--enable-exif' '--disable-ftp' '--with-gettext' '--without-gmp' '--without-mhash' '--disable-intl' '--with-kerberos=/usr' '--enable-mbstring' '--with-mcrypt' '--with-mssql' '--with-onig=/usr' '--with-openssl' '--with-openssl-dir=/usr' '--disable-pcntl' '--disable-pdo' '--without-pgsql' '--with-pspell' '--without-recode' '--disable-shmop' '--with-snmp' '--disable-soap' '--disable-sockets' '--without-sqlite3' '--without-sybase-ct' '--disable-sysvmsg' '--disable-sysvsem' '--disable-sysvshm' '--with-tidy' '--disable-wddx' '--disable-xmlreader' '--disable-xmlwriter' '--with-xmlrpc' '--without-xsl' '--disable-zip' '--with-zlib' '--disable-debug' '--enable-dba' '--without-cdb' '--with-db4' '--disable-flatfile' '--with-gdbm' '--disable-inifile' '--without-qdbm' '--with-freetype-dir=/usr' '--with-t1lib=/usr' '--disable-gd-jis-conv' '--with-jpeg-dir=/usr' '--with-png-dir=/usr' '--with-xpm-dir=/usr' '--with-gd' '--with-imap' '--with-imap-ssl' '--with-ldap' '--without-ldap-sasl' '--with-mysql=/usr' '--with-mysql-sock=/var/run/mysqld/mysqld.sock' '--with-mysqli=/usr/bin/mysql_config' '--with-unixODBC=/usr' '--without-adabas' '--without-birdstep' '--without-dbmaker' '--without-empress' '--without-esoob' '--without-ibm-db2' '--without-sapdb' '--without-solid' '--without-oci8' '--with-readline' '--without-libedit' '--without-mm' '--without-sqlite' '--with-pcre-regex=/usr' '--with-pcre-dir=/usr' '--with-config-file-path=/etc/php/cli-php5.3' '--with-config-file-scan-dir=/etc/php/cli-php5.3/ext-active' '--disable-embed' '--enable-cli' '--disable-cgi' '--disable-fpm' '--without-apxs2'
 *                ebuild.sh, line  557:  Called die
 * The specific snippet of code:
 *                      die "econf failed"
 * 
 * If you need support, post the output of 'emerge --info =dev-lang/php-5.3.6-r1',
 * the complete build log and the output of 'emerge -pqv =dev-lang/php-5.3.6-r1'.
 * The complete build log is located at '/var/tmp/portage/dev-lang/php-5.3.6-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-lang/php-5.3.6-r1/temp/environment'.
 * S: '/var/tmp/portage/dev-lang/php-5.3.6-r1/work/php-5.3.6'

>>> Failed to emerge dev-lang/php-5.3.6-r1, Log file:

Setting USE=-ldap allows php to emerge successfully.

Reproducible: Always
Comment 1 Trevor Bowen 2011-06-24 02:45:27 UTC
Created attachment 277957 [details]
php-5.3.6-r1 build log
Comment 2 Trevor Bowen 2011-06-24 02:46:23 UTC
Created attachment 277959 [details]
emerge --info results
Comment 3 Ole Markus With (RETIRED) gentoo-dev 2011-07-22 12:41:58 UTC
Hm. I cannot reproduce this. My config works fine and shows something like this around where yours fail:
checking for LDAP support... yes
checking for LDAP Cyrus SASL support... no
checking for 3 arg ldap_set_rebind_proc... yes
checking for ldap_parse_result... yes
checking for ldap_parse_reference... yes
checking for ldap_start_tls_s... yes
checking for ldap_bind_s... yes
Comment 4 Ole Markus With (RETIRED) gentoo-dev 2011-09-07 11:26:13 UTC
Closing this as needinfo. If you still encounter this problem please test with latest stable and post more info on how to reproduce.

Cheers,
Ole Markus
Comment 5 Trevor Bowen 2011-09-07 11:55:55 UTC
please see bug 372755 for resolution.