Bug #71655 [Opn->Nab]: Fails when compiling Zip Modules
| From: | nikic@php.net | Date: | Tue, 23 Feb 2016 20:58:55 +0000 |
| Subject: | Bug #71655 [Opn->Nab]: Fails when compiling Zip Modules | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-199433@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=71655&edit=1
ID: 71655
Updated by: nikic@php.net
Reported by: aj at andrews-enterprise dot co dot uk
Summary: Fails when compiling Zip Modules
-Status: Open
+Status: Not a bug
Type: Bug
Package: Compile Failure
Operating System: Ubuntu 14 Trusty
PHP Version: master-Git-2016-02-23 (Git)
Block user comment: N
Private report: N
New Comment:
You need to rerun ./buildconf before ./config.nice. The bundled libzip has been updated and includes
a new file.
Previous Comments:
------------------------------------------------------------------------
[2016-02-23 20:50:21] aj at andrews-enterprise dot co dot uk
Description:
------------
Cleaned up environment, grabbed latest code and tried compiling the same way as always. Running
Ubuntu 14 Trusty all up to date.
Commands executed in order in test scripts section.
Test script:
---------------
apt-get clean && apt-get autoclean
apt-get update && apt-get -y upgrade && apt-get -y dist-upgrade && apt-get
-y --purge autoremove && do-release-upgrade
reboot
cd /usr/src/php-src
make clean
git pull
./config.nice
make -j2
Actual result:
--------------
ext/zip/lib/.libs/zip_delete.o: In function `zip_delete':
/usr/src/php-src/ext/zip/lib/zip_delete.c:57: undefined reference to `_zip_hash_delete'
ext/zip/lib/.libs/zip_discard.o: In function `zip_discard':
/usr/src/php-src/ext/zip/lib/zip_discard.c:61: undefined reference to `_zip_hash_free'
ext/zip/lib/.libs/zip_name_locate.o: In function `_zip_name_locate':
/usr/src/php-src/ext/zip/lib/zip_name_locate.c:92: undefined reference to `_zip_hash_lookup'
ext/zip/lib/.libs/zip_new.o: In function `_zip_new':
/usr/src/php-src/ext/zip/lib/zip_new.c:55: undefined reference to `_zip_hash_new'
ext/zip/lib/.libs/zip_open.o: In function `_zip_open':
/usr/src/php-src/ext/zip/lib/zip_open.c:237: undefined reference to `_zip_hash_add'
ext/zip/lib/.libs/zip_set_name.o: In function `_zip_set_name':
/usr/src/php-src/ext/zip/lib/zip_set_name.c:124: undefined reference to `_zip_hash_add'
/usr/src/php-src/ext/zip/lib/zip_set_name.c:129: undefined reference to `_zip_hash_delete'
/usr/src/php-src/ext/zip/lib/zip_set_name.c:124: undefined reference to `_zip_hash_add'
ext/zip/lib/.libs/zip_unchange.o: In function `_zip_unchange':
/usr/src/php-src/ext/zip/lib/zip_unchange.c:79: undefined reference to `_zip_hash_add'
/usr/src/php-src/ext/zip/lib/zip_unchange.c:83: undefined reference to `_zip_hash_delete'
/usr/src/php-src/ext/zip/lib/zip_unchange.c:84: undefined reference to `_zip_hash_delete'
ext/zip/lib/.libs/zip_unchange_all.o: In function `zip_unchange_all':
/usr/src/php-src/ext/zip/lib/zip_unchange_all.c:46: undefined reference to `_zip_hash_revert'
collect2: error: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1
make: *** Waiting for unfinished jobs....
ext/zip/lib/.libs/zip_delete.o: In function `zip_delete':
/usr/src/php-src/ext/zip/lib/zip_delete.c:57: undefined reference to `_zip_hash_delete'
ext/zip/lib/.libs/zip_discard.o: In function `zip_discard':
/usr/src/php-src/ext/zip/lib/zip_discard.c:61: undefined reference to `_zip_hash_free'
ext/zip/lib/.libs/zip_name_locate.o: In function `_zip_name_locate':
/usr/src/php-src/ext/zip/lib/zip_name_locate.c:92: undefined reference to `_zip_hash_lookup'
ext/zip/lib/.libs/zip_new.o: In function `_zip_new':
/usr/src/php-src/ext/zip/lib/zip_new.c:55: undefined reference to `_zip_hash_new'
ext/zip/lib/.libs/zip_open.o: In function `_zip_open':
/usr/src/php-src/ext/zip/lib/zip_open.c:237: undefined reference to `_zip_hash_add'
ext/zip/lib/.libs/zip_set_name.o: In function `_zip_set_name':
/usr/src/php-src/ext/zip/lib/zip_set_name.c:124: undefined reference to `_zip_hash_add'
/usr/src/php-src/ext/zip/lib/zip_set_name.c:129: undefined reference to `_zip_hash_delete'
/usr/src/php-src/ext/zip/lib/zip_set_name.c:124: undefined reference to `_zip_hash_add'
ext/zip/lib/.libs/zip_unchange.o: In function `_zip_unchange':
/usr/src/php-src/ext/zip/lib/zip_unchange.c:79: undefined reference to `_zip_hash_add'
/usr/src/php-src/ext/zip/lib/zip_unchange.c:83: undefined reference to `_zip_hash_delete'
/usr/src/php-src/ext/zip/lib/zip_unchange.c:84: undefined reference to `_zip_hash_delete'
ext/zip/lib/.libs/zip_unchange_all.o: In function `zip_unchange_all':
/usr/src/php-src/ext/zip/lib/zip_unchange_all.c:46: undefined reference to `_zip_hash_revert'
collect2: error: ld returned 1 exit status
make: *** [sapi/fpm/php-fpm] Error 1
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=71655&edit=1