Package: dokuwiki
Version: 0.0.20180422.a-1
Severity: serious
Justification: missing (not strict enough) dependency 

dokuwiki depends unversioned on php-phpseclib which can currently be
fulfilled by either php-phpseclib/2.0.11-1 or by php-seclib/1.0.11-1
(which provides php-phpseclib).

But if only php-seclib/1.0.11-1 is installed, the webserver returns a
500 for dokuwiki with these messages in the error.log:

[Fri Sep 21 00:54:00.639686 2018] [php7:warn] [pid 2332] [client 
127.0.0.1:48614] PHP Warning:  require(/usr/share/php/phpseclib/bootstrap.php): 
failed to open stream: No such file or directory in 
/usr/share/dokuwiki/vendor/composer/autoload_real.php on line 66
[Fri Sep 21 00:54:00.639724 2018] [php7:error] [pid 2332] [client 
127.0.0.1:48614] PHP Fatal error:  require(): Failed opening required 
'/usr/share/php/phpseclib/bootstrap.php' (include_path='.:/usr/share/php') in 
/usr/share/dokuwiki/vendor/composer/autoload_real.php on line 66

The file /usr/share/php/phpseclib/bootstrap.php is only in
php-phpseclib.

As far as I can see this can be solved by depending versioned on
php-phpseclib, e.g. on "php-phpseclib (>= 2)".

(System information below is from after I've replaced php-seclib with
php-phpseclib.)

-- System Information:
Debian Release: buster/sid
  APT prefers testing-debug
  APT policy: (500, 'testing-debug'), (500, 'testing'), (300, 'unstable'), 
(299, 'unstable-debug'), (210, 'experimental'), (209, 'experimental-debug'), 
(110, 'buildd-unstable'), (105, 'buildd-experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 4.14.0-3-amd64 (SMP w/1 CPU core)
Locale: LANG=en_DK.UTF-8, LC_CTYPE=en_DK.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_DK.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)
LSM: AppArmor: enabled

Versions of packages dokuwiki depends on:
ii  debconf [debconf-2.0]  1.5.69
ii  javascript-common      11
ii  libjs-jquery           3.2.1-1
ii  libjs-jquery-cookie    12-1
ii  libjs-jquery-ui        1.12.1+dfsg-5
ii  libphp-simplepie       1.3.1+dfsg-3.1
ii  php                    1:7.2+62
ii  php-geshi              1.0.8.11-3
ii  php-phpseclib          2.0.11-1
ii  php-random-compat      2.0.17-1
ii  php-xml                1:7.2+62
ii  php7.2 [php]           7.2.9-1
ii  php7.2-xml [php-xml]   7.2.9-1
ii  ucf                    3.0038

Versions of packages dokuwiki recommends:
ii  imagemagick                       8:6.9.10.8+dfsg-1
ii  imagemagick-6.q16 [imagemagick]   8:6.9.10.8+dfsg-1
ii  php-gd                            1:7.2+62
pn  php-ldap | php-mysql | php-pgsql  <none>
ii  php7.2-cli [php-cli]              7.2.9-1
ii  php7.2-gd [php-gd]                7.2.9-1
ii  wget                              1.19.5-1

Versions of packages dokuwiki suggests:
ii  libapache2-mod-xsendfile  0.12-2

-- debconf information:
* dokuwiki/wiki/policy: public
* dokuwiki/wiki/superuser: admin
* dokuwiki/system/purgepages: false
* dokuwiki/wiki/title: Swiss Mechanical Keyboard Enthusiasts Community
* dokuwiki/system/restart-webserver: false
  dokuwiki/system/localnet: 10.0.0.0/24
* dokuwiki/wiki/fullname: DokuWiki Administrator
* dokuwiki/system/accessible: global
* dokuwiki/system/documentroot: /dokuwiki
* dokuwiki/wiki/email: abe+dokuwiki-some...@deuxchevaux.org
* dokuwiki/wiki/license: cc-by-sa
* dokuwiki/system/configure-webserver: apache2
* dokuwiki/system/writeplugins: false
* dokuwiki/wiki/acl: true
* dokuwiki/system/writeconf: true
  dokuwiki/wiki/failpass:

Reply via email to