[pkg-php-pear] Bug#765899: Composer: Please, support OR-ed versions

Thorsten Glaser tg at mirbsd.de
Wed Nov 20 01:55:48 GMT 2019


Package: pkg-php-tools
Version: 1.38
Followup-For: Bug #765899
Control: affects 765899 src:movim
Control: affects 765899 src:php-nesbot-carbon
Control: affects 765899 src:php-robmorgan-phinx
Control: affects 765899 src:ratchetphp

Please fix this issue some time soon. It causes problems with
each new upgrade of things like Symfony because the other packages
have debian/patches/ like this one…

$ cat debian/patches/pkg-php-tools-deficiency-workaround.diff
# DP: or’d dependencies are not supported (#765899)
# DP: choose the branch currently shipped in Debian

--- a/composer.json
+++ b/composer.json
@@ -22,7 +22,7 @@
     ],
     "require": {
         "php": ">=5.3.9",
-        "symfony/translation": "~2.6 || ~3.0 || ~4.0"
+        "symfony/translation": "~3.0"
     },
     "require-dev": {
         "friendsofphp/php-cs-fixer": "~2",


If pkg-php-tools would generate sensible dependencies, this would
not be necessary, and we’d not have the trouble of being specific
to a release of Symfony (and needing to change the patch in back‐
ports).

-- System Information:
Debian Release: bullseye/sid
  APT prefers buildd-unstable
  APT policy: (500, 'buildd-unstable'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.3.0-1-amd64 (SMP w/2 CPU cores)
Kernel taint flags: TAINT_CRAP
Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE=C (charmap=UTF-8)
Shell: /bin/sh linked to /bin/lksh
Init: sysvinit (via /sbin/init)

Versions of packages pkg-php-tools depends on:
ii  debhelper               12.7.1
ii  php-cli                 2:7.3+69
ii  php-pear                1:1.10.9+submodules+notgz-1
ii  php-xml                 2:7.3+69
ii  php7.3-cli [php-cli]    7.3.10-1+b1
ii  php7.3-json [php-json]  7.3.10-1+b1
ii  php7.3-xml [php-xml]    7.3.10-1+b1

pkg-php-tools recommends no packages.

Versions of packages pkg-php-tools suggests:
pn  dh-make  <none>

-- no debconf information


More information about the pkg-php-pear mailing list