php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #75196 Master is not buildable with Ubuntu Trusty
Submitted: 2017-09-12 19:28 UTC Modified: 2017-10-08 15:05 UTC
From: hiro+php at travis-ci dot org Assigned: remi (profile)
Status: Closed Package: Zip Related
PHP Version: master-Git-2017-09-12 (Git) OS: Ubuntu
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: hiro+php at travis-ci dot org
New email:
PHP Version: OS:

 

 [2017-09-12 19:28 UTC] hiro+php at travis-ci dot org
Description:
------------
The current master branch requires libzip >= 0.11, which is not available for Ubuntu Trusty.

https://packages.ubuntu.com/trusty/libzip-dev

https://github.com/travis-ci/travis-ci/issues/8406


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2017-09-12 22:50 UTC] cmb@php.net
-Summary: Master is not unbuildable with Ubuntu Trusty +Summary: Master is not buildable with Ubuntu Trusty -Package: *General Issues +Package: Zip Related
 [2017-09-13 22:59 UTC] cmb@php.net
-Status: Open +Status: Feedback -Assigned To: +Assigned To: remi
 [2017-09-13 22:59 UTC] cmb@php.net
Would it work if you'd revert
<http://git.php.net/?p=php-src.git;a=commit;h=8857161>?
 [2017-09-14 04:33 UTC] remi@php.net
This is not a bug.

You can (temporary) build using --without-libzip option.
But this should raise your attention.

You will NOT have all zip feature:
* encryption requires libzip 1.2.0
* bzip2 support requires libzip 1.3.0

But old deprecated bundled library will be removed soon.
 [2017-09-14 04:34 UTC] remi@php.net
-Status: Feedback +Status: Closed
 [2017-09-15 16:53 UTC] hiro+php at travis-ci dot org
Shouldn't there be an option to compile PHP without those nifty features (encryption and bzip2 support)?
 [2017-09-15 17:03 UTC] hiro+php at travis-ci dot org
Meaning, compiling PHP without encryption and bzip2 support, but with all the other libzip features (I don't know enough about the lib to say what these might be).
 [2017-10-06 22:41 UTC] hiro+php at travis-ci dot org
Adding `--without-libzip` generates this warning on the `master` build:

configure: WARNING: Use of bundled libzip is deprecated and will be removed.
configure: WARNING: Some features such as encryption and bzip2 are not available.
configure: WARNING: Use system library and --with-libzip is recommended.

https://travis-ci.org/travis-ci/php-src-builder/jobs/284379751#L843

But, in the end, it does not appear to achieve what you described.
 [2017-10-08 15:05 UTC] remi@php.net
The warning is obviously wanted, as indeed some feature are missing.

https://travis-ci.org/php/php-src/jobs/284678836#L2798

SKIP ZipArchive::setEncryption*() functions [ext/zip/tests/oo_encryption.phpt] reason: encrytion not supported
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed Feb 05 10:01:30 2025 UTC