Bug 43436 - Build PHP7 for UCS 4.2
Build PHP7 for UCS 4.2
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: Upstream packages
UCS 4.2
Other Linux
: P5 enhancement (vote)
: UCS 4.2
Assigned To: Erik Damrose
Philipp Hahn
: interim-3
Depends on: 43406 43441 43488
Blocks:
  Show dependency treegraph
 
Reported: 2017-01-27 15:02 CET by Erik Damrose
Modified: 2017-04-04 18:28 CEST (History)
5 users (show)

See Also:
What kind of report is it?: Feature Request
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Erik Damrose univentionstaff 2017-01-27 15:02:33 CET
PHP 7 is not part of debian jessie. The package has to be build for UCS 4.2.

+++ This bug was initially created as a clone of Bug #42297 +++
Comment 1 Stefan Gohmann univentionstaff 2017-01-31 10:45:56 CET
PHP 7.0.14-2 has been built in our php7 scope. 

No changelog because it is only a rebuild.
Comment 2 Felix Botner univentionstaff 2017-02-01 12:02:54 CET
please also update php-defaults c49 (cherry pick from 4.1-0-php7)
Comment 3 Stefan Gohmann univentionstaff 2017-02-02 06:25:42 CET
(In reply to Felix Botner from comment #2)
> please also update php-defaults c49 (cherry pick from 4.1-0-php7)

done.
Comment 4 Erik Damrose univentionstaff 2017-02-02 11:02:01 CET
Reopen: Sorry about the overlapping, but a new php7.0 version was imported as part of a security update (see bug #43406). The new version should be build for UCS 4.2 as well.
Comment 5 Felix Botner univentionstaff 2017-02-02 11:12:33 CET
please also remove the patch 0004-Disable-extension-tidy-too-old-in-UCS.patch (as in 4.1, tidy-html5 has to be built!)
Comment 6 Stefan Gohmann univentionstaff 2017-02-03 09:59:44 CET
(In reply to Erik Damrose from comment #4)
> Reopen: Sorry about the overlapping, but a new php7.0 version was imported
> as part of a security update (see bug #43406). The new version should be
> build for UCS 4.2 as well.

Done

(In reply to Felix Botner from comment #5)
> please also remove the patch
> 0004-Disable-extension-tidy-too-old-in-UCS.patch (as in 4.1, tidy-html5 has
> to be built!)

Yes, done. I've rebuild libzip and tidy-html5 from stretch because the Jessie packages are too old.
Comment 7 Stefan Gohmann univentionstaff 2017-02-03 10:50:21 CET
As discussed, we have now a first version of PHP 7 for UCS 4.2 and we will do the rest after the UCS 4.1 changes are finished.
Comment 8 Erik Damrose univentionstaff 2017-03-13 11:30:07 CET
I rebuild the packages with '-b .' to have a higher package version in ucs 4.2

php-defaults 1:7.0+49.A~4.2.0.201703131109
tidy-html5 1:5.2.0-2.A~4.2.0.201703131123
libzip 1.1.2-1.1.A~4.2.0.201703131125

php7 was rebuild with -b . at bug #43406
Comment 9 Philipp Hahn univentionstaff 2017-03-13 15:01:02 CET
OK: apt-get install php7.0 # 7.0.15-1.A~4.2.0.201702101204
OK: apt-get install php # 1:7.0+49.A~4.2.0.201703131109
OK: apt-get install php-curl
OK: apt-get install php-zip # 1.1.2-1.1.A~4.2.0.201703131125
OK: apt-get install php-tidy # 1:5.2.0-2.A~4.2.0.201703131123
OK: a2dismod php5 && a2enmod php7.0 && apachectl configtest && apachectl graceful

OK: no changelog
OK: ownCloud-9.1.4
Comment 10 Stefan Gohmann univentionstaff 2017-04-04 18:28:21 CEST
UCS 4.2 has been released:
 https://docs.software-univention.de/release-notes-4.2-0-en.html
 https://docs.software-univention.de/release-notes-4.2-0-de.html

If this error occurs again, please use "Clone This Bug".