🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Bug#1155811: snuffleupagus: FTBFS: FAIL SESSION crypt/decrypt valid [tests/session_encryption/crypt_session_read_uncr...

#6757
From: Santiago Vila
Date: Sun, 29 Nov 2026 17:10
207 lines
15291 bytes
Package: src:snuffleupagus
Version: 0.13.0+ds-1
Severity: serious
Tags: ftbfs forky sid

Dear maintainer:

During a rebuild of all packages in unstable, this package failed to build.

Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:

https://people.debian.org/~sanvila/build-logs/202611/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:snuffleupagus, so that this is still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
TEST 316/370 [tests/session_encryption/crypt_session_invalid.phpt]
PASS SESSION crypt and bad decrypt [tests/session_encryption/crypt_session_invalid.phpt] 
TEST 317/370 [tests/session_encryption/crypt_session_invalid_simul.phpt]
PASS SESSION crypt and bad decrypt [tests/session_encryption/crypt_session_invalid_simul.phpt] 
TEST 318/370 [tests/session_encryption/crypt_session_read_uncrypt.phpt]
FAIL SESSION crypt/decrypt valid [tests/session_encryption/crypt_session_read_uncrypt.phpt] 
TEST 319/370 [tests/session_encryption/crypt_session_valid.phpt]
PASS SESSION crypt/decrypt valid [tests/session_encryption/crypt_session_valid.phpt] 
TEST 320/370 [tests/session_encryption/crypt_session_valid_simul.phpt]
PASS SESSION crypt/decrypt valid [tests/session_encryption/crypt_session_valid_simul.phpt] 
TEST 321/370 [tests/session_encryption/set_custom_session_handler.phpt]
SKIP Set a custom session handler [tests/session_encryption/set_custom_session_handler.phpt] 
TEST 322/370 [tests/session_encryption/set_custom_session_handler2.phpt]
PASS Set a custom session handler, twice [tests/session_encryption/set_custom_session_handler2.phpt] 
TEST 323/370 [tests/session_encryption/set_custom_session_handler_ini.phpt]
PASS Set a custom session handler [tests/session_encryption/set_custom_session_handler_ini.phpt] 
TEST 324/370 [tests/shipped_configuration.phpt]
PASS Shipped configuration [tests/shipped_configuration.phpt] 
TEST 325/370 [tests/sid_too_long.phpt]
PASS SESSION ID too long [tests/sid_too_long.phpt] 
TEST 326/370 [tests/sid_too_short.phpt]
PASS SESSION ID too short [tests/sid_too_short.phpt] 
TEST 327/370 [tests/sloppy_comparison/sloppy_comparison.phpt]
PASS Sloppy comparison [tests/sloppy_comparison/sloppy_comparison.phpt] 
TEST 328/370 [tests/sloppy_comparison/sloppy_comparison_array.phpt]
PASS Sloppy comparison in_array [tests/sloppy_comparison/sloppy_comparison_array.phpt] 
TEST 329/370 [tests/sloppy_comparison/sloppy_comparison_array_disabled.phpt]
SKIP Sloppy comparison in_array disabled [tests/sloppy_comparison/sloppy_comparison_array_disabled.phpt] 
TEST 330/370 [tests/sloppy_comparison/sloppy_comparison_array_keys.phpt]
PASS Sloppy comparison array_keys [tests/sloppy_comparison/sloppy_comparison_array_keys.phpt] 
TEST 331/370 [tests/sloppy_comparison/sloppy_comparison_array_keys_disabled.phpt]
SKIP Sloppy comparison array_keys disabled [tests/sloppy_comparison/sloppy_comparison_array_keys_disabled.phpt] 
TEST 332/370 [tests/sloppy_comparison/sloppy_comparison_array_search.phpt]
PASS Sloppy comparison array_search [tests/sloppy_comparison/sloppy_comparison_array_search.phpt] 
TEST 333/370 [tests/sloppy_comparison/sloppy_comparison_array_search_disabled.phpt]
SKIP Sloppy comparison array_search disabled [tests/sloppy_comparison/sloppy_comparison_array_search_disabled.phpt] 
TEST 334/370 [tests/sloppy_comparison/sloppy_comparison_array_search_keys.phpt]
PASS Sloppy comparison array_search with keys [tests/sloppy_comparison/sloppy_comparison_array_search_keys.phpt] 
TEST 335/370 [tests/sloppy_comparison/sloppy_comparison_disable.phpt]
SKIP Sloppy comparison [tests/sloppy_comparison/sloppy_comparison_disable.phpt] 
TEST 336/370 [tests/stream_wrapper/stream_wrapper.phpt]
PASS Stream wrapper [tests/stream_wrapper/stream_wrapper.phpt] 
TEST 337/370 [tests/stream_wrapper/stream_wrapper_php.phpt]
PASS Stream wrapper (php) [tests/stream_wrapper/stream_wrapper_php.phpt] 
TEST 338/370 [tests/stream_wrapper/stream_wrapper_register.phpt]
SKIP Stream wrapper [tests/stream_wrapper/stream_wrapper_register.phpt] 
TEST 339/370 [tests/stream_wrapper/stream_wrapper_register_php82.phpt]
PASS Stream wrapper on PHP8.2+ [tests/stream_wrapper/stream_wrapper_register_php82.phpt] 
TEST 340/370 [tests/stream_wrapper/stream_wrapper_restore.phpt]
SKIP Stream wrapper [tests/stream_wrapper/stream_wrapper_restore.phpt] 
TEST 341/370 [tests/stream_wrapper/stream_wrapper_without_openssl.phpt]
PASS Stream wrapper, without a dependency on openssl [tests/stream_wrapper/stream_wrapper_without_openssl.phpt] 
TEST 342/370 [tests/strict_mode/strict_mode_disabled.phpt]
PASS Strict mode disabled [tests/strict_mode/strict_mode_disabled.phpt] 
TEST 343/370 [tests/strict_mode/strict_mode_enabled.phpt]
PASS Strict mode enabled [tests/strict_mode/strict_mode_enabled.phpt] 
TEST 344/370 [tests/syslog.phpt]
PASS Check the syslog output [tests/syslog.phpt] 
TEST 345/370 [tests/syslog_simulation.phpt]
PASS Check the syslog output, in simulation mode. [tests/syslog_simulation.phpt] 
SKIP Dump unserialize [tests/unserialize/dump_unserialize.phpt] reason: CGI not available
TEST 347/370 [tests/unserialize/serialize.phpt]
PASS Test serialize hmac [tests/unserialize/serialize.phpt] 
TEST 348/370 [tests/unserialize/unserialize.phpt]
PASS Unserialize ok [tests/unserialize/unserialize.phpt] 
TEST 349/370 [tests/unserialize/unserialize_fail.phpt]
PASS Unserialize fail [tests/unserialize/unserialize_fail.phpt] 
TEST 350/370 [tests/unserialize/unserialize_noclass_forced.phpt]
SKIP Unserialize with noclass forced [tests/unserialize/unserialize_noclass_forced.phpt] 
TEST 351/370 [tests/unserialize/unserialize_sim.phpt]
PASS Unserialize ok [tests/unserialize/unserialize_sim.phpt] 
TEST 352/370 [tests/unserialize/unserialize_wrong_call.phpt]
SKIP Unserialize ok, but called with the wrong number of arguments [tests/unserialize/unserialize_wrong_call.phpt] 
TEST 353/370 [tests/unserialize_php8/unserialize_noclass_forced.phpt]
PASS Unserialize with noclass forced [tests/unserialize_php8/unserialize_noclass_forced.phpt] 
TEST 354/370 [tests/unserialize_php8/unserialize_noclass_forced_disabled.phpt]
PASS Unserialize with noclass forced disabled [tests/unserialize_php8/unserialize_noclass_forced_disabled.phpt] 
TEST 355/370 [tests/unserialize_php8/unserialize_wrong_call.phpt]
PASS Unserialize ok, but called with the wrong number of arguments [tests/unserialize_php8/unserialize_wrong_call.phpt] 
SKIP Upload a file, validation ok, no simulation [tests/upload_validation/upload_validation.phpt] reason: CGI not available
SKIP Upload a file, invalid validation script [tests/upload_validation/upload_validation_invalid.phpt] reason: CGI not available
SKIP Upload a file, validation ko, no simulation [tests/upload_validation/upload_validation_ko.phpt] reason: CGI not available
SKIP Upload a file, validation ko, simulation [tests/upload_validation/upload_validation_ko_simulation.phpt] reason: CGI not available
SKIP Upload a file, validation script not executable [tests/upload_validation/upload_validation_no_exec.phpt] reason: CGI not available
TEST 361/370 [tests/upload_validation/upload_validation_nocrash.phpt]
PASS Upload validation isn't crashing [tests/upload_validation/upload_validation_nocrash.phpt] 
SKIP Upload a file, validation ok, no simulation [tests/upload_validation/upload_validation_ok.phpt] reason: CGI not available
SKIP Upload a file, validation ok, with our real script, using vld [tests/upload_validation/upload_validation_real.phpt] reason: CGI not available
TEST 364/370 [tests/windows_eol.phpt]
PASS Windows EOL in configuration file [tests/windows_eol.phpt] 
TEST 365/370 [tests/xxe/disable_xxe_dom_disabled.phpt]
SKIP Disable XXE (feature enabled) [tests/xxe/disable_xxe_dom_disabled.phpt] reason: Required extension missing: dom
TEST 366/370 [tests/xxe/disable_xxe_dom_disabled_php8.phpt]
SKIP Disable XXE (feature disabled) [tests/xxe/disable_xxe_dom_disabled_php8.phpt] reason: Required extension missing: dom
TEST 367/370 [tests/xxe/disable_xxe_dom_php8.phpt]
SKIP Disable XXE (feature enabled) [tests/xxe/disable_xxe_dom_php8.phpt] reason: Required extension missing: dom
TEST 368/370 [tests/xxe/disable_xxe_simplexml.phpt]
SKIP Disable XXE [tests/xxe/disable_xxe_simplexml.phpt] reason: Required extension missing: simplexml
TEST 369/370 [tests/xxe/disable_xxe_simplexml_oop.phpt]
SKIP Disable XXE [tests/xxe/disable_xxe_simplexml_oop.phpt] reason: Required extension missing: simplexml
TEST 370/370 [tests/xxe/disable_xxe_xml_parse.phpt]
SKIP Disable XXE in xml_parse [tests/xxe/disable_xxe_xml_parse.phpt] reason: Required extension missing: xml
=====================================================================
TIME END 2026-11-29 15:09:31

=====================================================================
TEST RESULT SUMMARY
---------------------------------------------------------------------
Exts skipped    :     0
Exts tested     :    17
---------------------------------------------------------------------

Number of tests :   370               297
Tests skipped   :    73 ( 19.7%) --------
Tests warned    :     0 (  0.0%) (  0.0%)
Tests failed    :     1 (  0.3%) (  0.3%)
Expected fail   :     2 (  0.5%) (  0.7%)
Tests passed    :   294 ( 79.5%) ( 99.0%)
---------------------------------------------------------------------
Time taken      : 2.814 seconds
=====================================================================

=====================================================================
FAILED TEST SUMMARY
---------------------------------------------------------------------
SESSION crypt/decrypt valid [tests/session_encryption/crypt_session_read_uncrypt.phpt]
=====================================================================
make[2]: *** [Makefile:133: test] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>/src'
dh_auto_test: error: cd src && make -j2 test TESTSUITEFLAGS="-j2 --verbose" VERBOSE=1 returned exit code 2
src/tests/disable_function/disabled_functions_die.log

---- EXPECTED OUTPUT
Fatal error: [snuffleupagus][0.0.0.0][disabled_function][drop] Aborted execution on call of the function 'die' in %a/disabled_function_echo.php on line 3
---- ACTUAL OUTPUT
OMG
---- FAILED
src/tests/disable_function/disabled_functions_exit.log

---- EXPECTED OUTPUT
Fatal error: [snuffleupagus][0.0.0.0][disabled_function][drop] Aborted execution on call of the function 'exit' in %a/disabled_function_echo.php on line 3
---- ACTUAL OUTPUT
Fatal error: [snuffleupagus][0.0.0.0][disabled_function][drop] Aborted execution on call of the function 'exit' in /<<PKGBUILDDIR>>/src/tests/disable_function/disabled_functions_exit.php on line 2
---- FAILED
src/tests/disable_function/disabled_functions_exit.diff
001- Fatal error: [snuffleupagus][0.0.0.0][disabled_function][drop] Aborted execution on call of the function 'exit' in %a/disabled_function_echo.php on line 3
001+ Fatal error: [snuffleupagus][0.0.0.0][disabled_function][drop] Aborted execution on call of the function 'exit' in /<<PKGBUILDDIR>>/src/tests/disable_function/disabled_functions_exit.php on line 2
src/tests/disable_function/disabled_functions_die.diff
001- Fatal error: [snuffleupagus][0.0.0.0][disabled_function][drop] Aborted execution on call of the function 'die' in %a/disabled_function_echo.php on line 3
001+ OMG
src/tests/session_encryption/crypt_session_read_uncrypt.log

---- EXPECTED OUTPUT
array(1) {
  ["toto"]=>
  string(4) "tata"
}
OK
%aPHP Warning:  [snuffleupagus][127.0.0.1][cookie_encryption][simulation] Buffer underflow tentative detected in cookie encryption handling for the session. Using the cookie 'as is' instead of decrypting it in %a/crypt_session_read_uncrypt.php on line 9
---- ACTUAL OUTPUT
array(0) {
}
OK
---- FAILED
src/tests/session_encryption/crypt_session_read_uncrypt.diff
001- array(1) {
002-   ["toto"]=>
003-   string(4) "tata"
001+ array(0) {
     }
     OK
006- %aPHP Warning:  [snuffleupagus][127.0.0.1][cookie_encryption][simulation] Buffer underflow tentative detected in cookie encryption handling for the session. Using the cookie 'as is' instead of decrypting it in %a/crypt_session_read_uncrypt.php on line 9
make[1]: *** [debian/rules:24: override_dh_auto_test] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:14: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------
Technical Details
Message-ID: <O4Qzw-eVqm-17@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!newsfeed.bofh.team!usenet.goja.nl.eu.org!2.eu.feeder.erje.net!feeder.erje.net!fu-berlin.de!bofh.it!news.nic.it!robomod

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!newsfeed.bofh.team!usenet.goja.nl.eu.org!2.eu.feeder.erje.net!feeder.erje.net!fu-berlin.de!bofh.it!news.nic.it!robomod
From: Santiago Vila <sanvila@debian.org>
Newsgroups: linux.debian.bugs.dist
Subject: Bug#1155811: snuffleupagus: FTBFS: FAIL SESSION crypt/decrypt valid [tests/session_encryption/crypt_session_read_uncrypt.phpt]
Date: Sun, 29 Nov 2026 18:10:02 +0100
Message-ID: <O4Qzw-eVqm-17@gated-at.bofh.it>
X-Original-To: Debian BTS <submit@bugs.debian.org>
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Sun Nov 29 17:00:19 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.7
Reply-To: Santiago Vila <sanvila@debian.org>, 1155811@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: sanvila@debian.org, cgzones@googlemail.com
X-Debian-Pr-Message: report 1155811
X-Debian-Pr-Package: src:snuffleupagus
X-Debian-Pr-Keywords: forky ftbfs sid
X-Debian-Pr-Source: snuffleupagus
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2005918
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 207
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Sun, 29 Nov 2026 16:41:33 +0000
X-Original-Message-ID: <E1xXhy1-00CqOs-2W@paradis.debian.org>