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

2023-10-16 Thread Sebastiaan Couwenberg

Control: tags -1 pending

This is fixed in git, but note that php-geos is not well maintained 
upstream. It has test failures with GEOS 3.12, for example. You're 
better off looking for an alternative or getting involved upstream.


Kind Regards,

Bas

--
 GPG Key ID: 4096R/6750F10AE88D4AF1
Fingerprint: 8182 DE41 7056 408D 6146  50D1 6750 F10A E88D 4AF1



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

2023-10-16 Thread Edward Nash
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  libc62.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