From: olemarkus Operating system: PHP version: 5.4.12 Package: Compile Failure Bug Type: Bug Bug description:PHP fails building openssl ext when using pkgconfig 0.28
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 bug report at https://bugs.php.net/bug.php?id=64293&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=64293&r=trysnapshot54 Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=64293&r=trysnapshot53 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=64293&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=64293&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=64293&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=64293&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=64293&r=needscript Try newer version: https://bugs.php.net/fix.php?id=64293&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=64293&r=support Expected behavior: https://bugs.php.net/fix.php?id=64293&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=64293&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=64293&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=64293&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=64293&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=64293&r=dst IIS Stability: https://bugs.php.net/fix.php?id=64293&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=64293&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=64293&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=64293&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=64293&r=mysqlcfg