🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.dist
Article #2801

Bug#1152692: php-snuffleupagus: Compatibility with PHP 8.6

#2801
From: David Prévot
Date: Sat, 31 Oct 2026 10:20
72 lines
4777 bytes
--OJdFk7B+FMT7PqMr
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Source: snuffleupagus
Version: 0.13.0+ds-1
Severity: important
Tags: upstream
X-Debbugs-Cc: Debian PHP PECL Maintainers <team+php-pecl@tracker.debian.org>
Control: block 1149581 by -1

Hi,

Looking at the last (failed) run of the autopkgtest of snuffleupagus
with php8.6 from experimental [1], there seems to be at least an
incompatibility with the php_hash_bin2hex function.

  1: https://ci.debian.net/packages/s/snuffleupagus/unstable/armhf/77230434/

[=E2=80=A6]
>  libtool: compile:  cc -I. -I/tmp/autopkgtest.4bZMVh/build.mQw/src/src -I=
/usr/include/php/20260924 -I/usr/include/php/20260924/main -I/usr/include/p=
hp/20260924/TSRM -I/usr/include/php/20260924/Zend -I/usr/include/php/202609=
24/ext -I/usr/include/php/20260924/ext/date/lib -D_LARGEFILE_SOURCE -D_FILE=
_OFFSET_BITS=3D64 -DHAVE_CONFIG_H -g -O2 -Wall -Wextra -Wno-unused-paramete=
r -Wformat=3D2 -Wformat-security -D_FORTIFY_SOURCE=3D2 -fstack-protector-st=
rong -Wmissing-format-attribute -Wmissing-noreturn -Wpointer-arith -Wstrict=
-prototypes -Wunused -Wwrite-strings -D_GNU_SOURCE -DZEND_COMPILE_DL_EXT=3D=
1 -c /tmp/autopkgtest.4bZMVh/build.mQw/src/src/sp_unserialize.c -MMD -MF sp=
_unserialize.dep -MT sp_unserialize.lo  -fPIC -DPIC -o .libs/sp_unserialize=
=2Eo
>  /tmp/autopkgtest.4bZMVh/build.mQw/src/src/sp_unserialize.c: In function =
'sp_do_hash_hmac_sha256':
>  /tmp/autopkgtest.4bZMVh/build.mQw/src/src/sp_unserialize.c:47:3: error: =
implicit declaration of function 'php_hash_bin2hex' [-Wimplicit-function-de=
claration]
>     47 |   php_hash_bin2hex(ZSTR_VAL(hex_digest), (unsigned char *) ZSTR_=
VAL(digest), ops->digest_size);
>        |   ^~~~~~~~~~~~~~~~
>  make[1]: *** [Makefile:230: sp_unserialize.lo] Error 1
>  make[1]: Leaving directory '/tmp/autopkgtest.4bZMVh/build.mQw/src/src'
>  make: *** [Makefile:14: release] Error 2

There is a new upstream release available that may address the issue.
Also, the package may need a rebuild with the new PHP version anyway.

Please note that the binary package name does not look in line with the
usual extensions names (php-snuffleupagus instead of
php8.4-snuffleupagus), and that the package is not maintained inside the
Debian PHP PECL Maintainers team, you may wish to address that too.

Regards,

taffit

--OJdFk7B+FMT7PqMr
Content-Type: application/pgp-signature; name=signature.asc

-----BEGIN PGP SIGNATURE-----

iQEzBAABCAAdFiEEeHVNB7wJXHRI941mBYwc+UT2vTwFAmrlvhsACgkQBYwc+UT2
vTwYAwf+K2DRGIZ1DAd0ltTg1s02jtqV1LBOov7fYnY5rSZSMIzB6jJkVfwWxEEe
kewuRcNa/jBL3T20edlRkQ7Na6Bw/LPYwXfFuEL5mzH4oCNtpwy/t0WdqKFf2nio
0jcRFKa8NhVg+U8a6paBHxgNCL3wUVDRr98vQoPlAky/T4eFs8AkfXGWWjn6vrj5
vRpvXvxJUItZ/ZSTGbtIpbbHqfLcdXGlsgTBmkZW9zPL/JGmxatQs+UA7pPZ9a92
jZGXnKzHlMA+n88Vd0R62sjkxmQb1JPqnS0YPPAAj0bvPfm24Gm66C6AWwh3SP8B
3BFccscNcl/VaORjnwoH7HWpnY9nJw==
=Nn7v
-----END PGP SIGNATURE-----

--OJdFk7B+FMT7PqMr--
Technical Details
Message-ID: <NUelP-8Zjv-7@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.szaf.org!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.szaf.org!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From: David Prévot <taffit@debian.org>
Newsgroups: linux.debian.bugs.dist
Subject: Bug#1152692: php-snuffleupagus: Compatibility with PHP 8.6
Date: Sat, 31 Oct 2026 11:20:02 +0100
Message-ID: <NUelP-8Zjv-7@gated-at.bofh.it>
X-Original-To: Debian Bug Tracking System <submit@bugs.debian.org>
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Sat Oct 31 10:11:08 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.7
Reply-To: David Prévot <taffit@debian.org>, 1152692@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: team+php-pecl@tracker.debian.org, cgzones@googlemail.com
X-Debian-Pr-Message: report 1152692
X-Debian-Pr-Package: src:snuffleupagus
X-Debian-Pr-Keywords: upstream
X-Debian-Pr-Source: snuffleupagus
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha256;
	protocol="application/pgp-signature"; boundary="OJdFk7B+FMT7PqMr"
Content-Disposition: inline
X-Reportbug-Version: 13.2.0+nmu1
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/1999910
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 72
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Sat, 31 Oct 2026 11:08:27 +0100
X-Original-Message-ID: <auW-GmGGNHkEPtjj@brocoli.tilapin.org>