php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #64293 PHP fails building openssl ext when using pkgconfig 0.28
Submitted: 2013-02-25 07:59 UTC Modified: 2013-05-06 07:07 UTC
Votes:2
Avg. Score:3.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:0 (0.0%)
From: olemarkus@php.net Assigned: pajoye (profile)
Status: Closed Package: Compile Failure
PHP Version: 5.4.12 OS:
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: olemarkus@php.net
New email:
PHP Version: OS:

 

 [2013-02-25 07:59 UTC] olemarkus@php.net
Description:
------------
The problem is because of a change in pgkconfig 0.28 that trims the output of 
pkg-config --cflags-only-I openssl.

This cause the 'if test -n "$OPENSSL_LIBS" && test -n "$OPENSSL_INCS"; then' to 
fail and -lssl is no longer passed to the build.

Test script:
---------------
./configure --prefix=/usr --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --prefix=/usr/lib/php5.4 --mandir=/usr/lib/php5.4/man --infodir=/usr/lib/php5.4/info --libdir=/usr/lib/php5.4/lib --with-libdir=lib --without-pear --disable-maintainer-zts --disable-bcmath --without-bz2 --disable-calendar --disable-ctype --without-curl --without-curlwrappers --disable-dom --without-enchant --disable-exif --disable-fileinfo --disable-filter --disable-ftp --without-gettext --without-gmp --disable-hash --without-mhash --without-iconv --disable-intl --disable-ipv6 --disable-json --without-kerberos --disable-libxml --disable-mbstring --without-mcrypt --without-mssql --without-onig --with-openssl --with-openssl-dir=/usr --disable-pcntl --disable-phar --disable-pdo --without-pgsql --disable-posix --without-pspell --without-recode --disable-simplexml --disable-shmop --without-snmp --disable-soap --disable-sockets --without-sqlite3 --without-sybase-ct --disable-sysvmsg --disable-sysvsem --disable-sysvshm --without-tidy --disable-tokenizer --disable-wddx --disable-xml --disable-xmlreader --disable-xmlwriter --without-xmlrpc --without-xsl --disable-zip --without-zlib --disable-debug --without-cdb --without-db4 --disable-flatfile --without-gdbm --disable-inifile --without-qdbm --without-freetype-dir --without-t1lib --disable-gd-jis-conv --without-jpeg-dir --without-png-dir --without-xpm-dir --without-gd --without-mysqli --without-readline --without-libedit --disable-session --with-pcre-regex=/usr --with-pcre-dir=/usr --with-config-file-path=/etc/php/cli-php5.4 --with-config-file-scan-dir=/etc/php/cli-php5.4/ext-active --disable-embed --enable-cli --disable-cgi --disable-fpm --without-apxs2

make 

Expected result:
----------------
Compile success

Actual result:
--------------
http://bpaste.net/show/79578/

Patches

Pull Requests

Pull requests:

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2013-05-06 03:38 UTC] justin at justincarmony dot com
I checked out the pull request and it appears this bug has already been fixed and 
merged in by remi:

http://git.php.net/?p=php-
src.git;a=commitdiff;h=640e72ce91d8e591b92cd93c18d1bfe3befe3424

So this ticket should be marked as closed, figure I'd point it out before anyone 
dug further into this bug. :)
 [2013-05-06 07:07 UTC] pajoye@php.net
The fix for this bug has been committed.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.

 For Windows:

http://windows.php.net/snapshots/
 
Thank you for the report, and for helping us make PHP better.


 [2013-05-06 07:07 UTC] pajoye@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: pajoye
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Tue Jul 01 19:01:37 2025 UTC