Bug #64293 [Opn->Csd]: PHP fails building openssl ext when using pkgconfig 0.28

From: Date: Mon, 06 May 2013 07:07:29 +0000
Subject: Bug #64293 [Opn->Csd]: PHP fails building openssl ext when using pkgconfig 0.28
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-178807@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=64293&edit=1

 ID:                 64293
 Updated by:         pajoye@php.net
 Reported by:        olemarkus@php.net
 Summary:            PHP fails building openssl ext when using pkgconfig
                     0.28
-Status:             Open
+Status:             Closed
 Type:               Bug
 Package:            Compile Failure
 PHP Version:        5.4.12
-Assigned To:        
+Assigned To:        pajoye
 Block user comment: N
 Private report:     N

 New Comment:

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.




Previous Comments:
------------------------------------------------------------------------
[2013-05-06 03:38:20] 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-02-25 07:59:39] 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/


------------------------------------------------------------------------



-- 
Edit this bug report at https://bugs.php.net/bug.php?id=64293&edit=1


Thread (3 messages)

« previous php.bugs (#178807) next »