Ondřej Surý:
> Hi Chris,
> 
> thanks for taking care of this.
> 
> You can either try to backport PHP portion of 3.7.0-alpha0 to 3.6.2[*],
> or check with upstream if they can finish 3.7.0 before stretch freeze
> and if they can make it package 3.7.0-alpha0 right away.
> 
> * - or ask upstream to include this update in 3.6.X

The reason I'm involved here is that mumble depends on zeroc-ice and is
going to removed with it if this bug isn't handled.

I looked at a 'diff -U 1' (1 line of context) of the PHP code between 3.5.1
and 3.7.0-alpha0 and it's ~10k lines; this is not something that would be
reasonable as a patch in an NMU.  I don't think uploading a new version of
the software as an NMU is in this case either -- someone would have to be
familiar with using the software before they'd be comfortable sponsoring an
NMU upload and this is a package with niche use.

Instead the best plan I know of at the moment is removing any PHP
dependencies from the package for now -- meaning commenting out php5-dev +
php-zeroc-ice dependencies and the entire php-zeroc-ice section in
debian/control and not shipping the php-zeroc-ice binary package for now.
There are no packages that depend on php-zeroc-ice in Debian, so this
shouldn't cause any known breakage.  It's not normally what I'd do but I
don't see a better option.

A debdiff of this is attached.

   -- Chris

-- 
Chris Knadle
chris.kna...@coredump.us
diff -Nru zeroc-ice-3.5.1/debian/changelog zeroc-ice-3.5.1/debian/changelog
--- zeroc-ice-3.5.1/debian/changelog    2016-03-04 23:17:37.000000000 -0500
+++ zeroc-ice-3.5.1/debian/changelog    2016-05-09 07:28:11.000000000 -0400
@@ -1,3 +1,26 @@
+zeroc-ice (3.5.1-6.5) unstable; urgency=medium
+
+  * Non-maintainer upload.
+    - Temporarily remove PHP support and the php-zeroc-ice package, as
+      PHP 5 is being removed from Debian and the current zeroc-ice package
+      as well as the available upstream zeroc-ice release tarballs are
+      not compatible with PHP 7.  Upstream git tag v3.7.0-alpha0 seems
+      to be the first version that supports PHP 7.
+      (Closes: #821723, #821639)
+
+  [ Christopher Knadle ]
+  * debian/changelog summary
+  * debian/NEWS:
+    - Add entry explaining the necessity of removing PHP support
+
+  [ Gregor Herrmann ]
+  * debian/control:
+    - Comment out php-dev dependency and php-zeroc-ice package
+  * debian/rules:
+    - Comment out PHP references to keep PHP code from being built
+
+ -- Christopher Knadle <chris.kna...@coredump.us>  Sun, 08 May 2016 04:53:21 
-0400
+
 zeroc-ice (3.5.1-6.4) unstable; urgency=medium
 
   * Non-maintainer upload.
diff -Nru zeroc-ice-3.5.1/debian/control zeroc-ice-3.5.1/debian/control
--- zeroc-ice-3.5.1/debian/control      2016-03-04 21:59:26.000000000 -0500
+++ zeroc-ice-3.5.1/debian/control      2016-05-08 21:50:18.000000000 -0400
@@ -13,7 +13,7 @@
               zlib1g-dev | libz-dev,
               python-all-dev (>= 2.3.5-11),
               python3-all-dev,
-              php5-dev (>= 5.4.0~rc6),
+#             php5-dev (>= 5.4.0~rc6),
               ruby-dev,
               ruby,
               libqt4-dev,
@@ -44,7 +44,7 @@
         libzeroc-ice3.5-cil (>= ${binary:Version}),
         python-zeroc-ice (>= ${binary:Version}),
         python3-zeroc-ice (>= ${binary:Version}),
-        php-zeroc-ice (>= ${binary:Version}),
+#       php-zeroc-ice (>= ${binary:Version}),
         libzeroc-ice3.5-java (>= ${binary:Version}),
         ${misc:Depends}
 Recommends: libzeroc-ice35-dbg (>= ${binary:Version})
@@ -492,7 +492,7 @@
         ice35-translators (= ${binary:Version}),
         python-zeroc-ice (= ${binary:Version}),
         python3-zeroc-ice (= ${binary:Version}),
-        php-zeroc-ice (= ${binary:Version}),
+#       php-zeroc-ice (= ${binary:Version}),
         ruby-zeroc-ice (= ${binary:Version}),
         icebox (= ${binary:Version}),
         ${misc:Depends}
@@ -554,26 +554,26 @@
  information in the ZeroC home page (http://www.zeroc.com/ice.html)
  and in the non-free package zeroc-ice-manual.
 
-Package: php-zeroc-ice
-Architecture: any
-Section: php
-Depends: php5-cli (>= 5.4.0~rc6-1) | php5 (>= 5.4.0~rc6-1),
-        ${shlibs:Depends}, ${misc:Depends}, ${php:Depends}
-Recommends: ice35-slice | ice-slice
-Description: Ice for PHP extension
- Ice, the Internet Communications Engine, is a middleware for the
- practical programmer developed by ZeroC Inc. A high-performance
- Internet communications platform, Ice includes a wealth of layered
- services and plug-ins.
- .
- Ice is built on concepts which will be familiar to CORBA programmers,
- and supports a wide variety of programming languages and runtime
- platforms.
- .
- This package contains the PHP extension module required to
- run/develop applications with Ice for PHP.  You will find further
- information in the ZeroC home page (http://www.zeroc.com/ice.html)
- and in the non-free package zeroc-ice-manual.
+#Package: php-zeroc-ice
+#Architecture: any
+#Section: php
+#Depends: php5-cli (>= 5.4.0~rc6-1) | php5 (>= 5.4.0~rc6-1),
+#       ${shlibs:Depends}, ${misc:Depends}, ${php:Depends}
+#Recommends: ice35-slice | ice-slice
+#Description: Ice for PHP extension
+# Ice, the Internet Communications Engine, is a middleware for the
+# practical programmer developed by ZeroC Inc. A high-performance
+# Internet communications platform, Ice includes a wealth of layered
+# services and plug-ins.
+# .
+# Ice is built on concepts which will be familiar to CORBA programmers,
+# and supports a wide variety of programming languages and runtime
+# platforms.
+# .
+# This package contains the PHP extension module required to
+# run/develop applications with Ice for PHP.  You will find further
+# information in the ZeroC home page (http://www.zeroc.com/ice.html)
+# and in the non-free package zeroc-ice-manual.
 
 Package: libzeroc-ice3.5-cil
 Architecture: all
diff -Nru zeroc-ice-3.5.1/debian/NEWS zeroc-ice-3.5.1/debian/NEWS
--- zeroc-ice-3.5.1/debian/NEWS 1969-12-31 19:00:00.000000000 -0500
+++ zeroc-ice-3.5.1/debian/NEWS 2016-05-08 21:41:26.000000000 -0400
@@ -0,0 +1,14 @@
+zeroc-ice (3.5.1-6.5) unstable; urgency=medium
+
+  This upload temporarily removes any PHP support because PHP 5 is being
+  removed from Debian and none of the zeroc-ice release tarballs upstream
+  (up to 3.6.2) currently support PHP 7.  The upstream git repoisotiry tag
+  v3.7.0-alpha0 seems to be the first version that supports PHP 7, so PHP
+  support could be re-enabled when a 3.7.0 package version is uploaded.
+  (Closes: #821723, #821639)
+
+  In the meantime in order to keep zeroc-ice from being removed from Testing
+  the php-zeroc-ice binary package, which currently doesn't seem to be a
+  dependency for any other Debian package, will not be built or released.
+
+ -- Christopher Knadle <chris.kna...@coredump.us>  Sun, 08 May 2016 04:53:21 
-0400
diff -Nru zeroc-ice-3.5.1/debian/rules zeroc-ice-3.5.1/debian/rules
--- zeroc-ice-3.5.1/debian/rules        2016-03-03 16:49:42.000000000 -0500
+++ zeroc-ice-3.5.1/debian/rules        2016-05-08 18:47:37.000000000 -0400
@@ -47,14 +47,15 @@
        $(NJOBS)
 MAKE_INVOKE := make $(MAKE_COMMON_FLAGS)
 
-LANGS_ARCH:=cpp py rb php
+#LANGS_ARCH:=cpp py rb php
+LANGS_ARCH:=cpp py rb
 LANGS_INDEP:=java cs
 LANGS:=$(LANGS_ARCH) $(LANGS_INDEP)
 
 include debian/rules-cpp.mk
 include debian/rules-py.mk
 include debian/rules-rb.mk
-include debian/rules-php.mk
+#include debian/rules-php.mk
 include debian/rules-java.mk
 include debian/rules-cs.mk
 

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to