Bug#1054036: php-geos: Triggers PHP Warning on every PHP call

Edward Nash e.nash at dvz-mv.de
Mon Oct 16 14:10:36 BST 2023


Package: php-geos
Version: 1.0.0-7+b1
Severity: important
Tags: patch

Dear Maintainer,

   * What led up to the situation?

Install php-geos and run e.g. php -i on the CLI or run any PHP script. A PHP warning is triggered:
PHP Warning:  GEOSGeometry::__toString() implemented without string return type in Unknown on line 0

The only way to prevent this and retain php-geos is to suppress reporting of PHP Warnings, which is
undesirable.

   * What exactly did you do (or not do) that was effective (or
     ineffective)?

This problem is fixed in upstream with commit ee5ca8f373 (https://git.osgeo.org/gitea/geos/php-geos/commit/ee5ca8f3739a4e3c1cdeb0abf4f1a47d9ca751a5).

Please incorporate this patch in the Debian package of php-geos and also consider releasing it as a
bugfix for Debian stable, as the usability of php-geos is in my opinion strongly affected by this bug.

Many thanks in advance for your consideration!

Best regards,

Edward Nash

-- System Information:
Debian Release: 12.1
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.10.102.1-microsoft-standard-WSL2 (SMP w/8 CPU threads)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: unable to detect

Versions of packages php-geos depends on:
ii  libc6                            2.36-9+deb12u3
ii  libgeos-c1v5                     3.11.1-1
ii  php-common                       2:93
ii  php8.2-cli [phpapi-20220829]     8.2.7-1~deb12u1
ii  php8.2-fpm [phpapi-20220829]     8.2.7-1~deb12u1
ii  php8.2-phpdbg [phpapi-20220829]  8.2.7-1~deb12u1

php-geos recommends no packages.

php-geos suggests no packages.

-- no debconf information



More information about the Pkg-grass-devel mailing list