Your message dated Fri, 01 Jan 2021 22:19:15 +0000 with message-id <[email protected]> and subject line Bug#978381: fixed in google-recaptcha 1.2.4-2 has caused the Debian Bug report #978381, regarding google-recaptcha: FTBFS: TypeError: Argument 2 passed to PHPUnit\Framework\Assert::assertContains() must be iterable, string given, called in /<<PKGBUILDDIR>>/tests/ReCaptcha/RequestMethod/PostTest.php on line 118 to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected] immediately.) -- 978381: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=978381 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Source: google-recaptcha Version: 1.2.4-1 Severity: serious Justification: FTBFS on amd64 Tags: bullseye sid ftbfs Usertags: ftbfs-20201226 ftbfs-bullseye Hi, During a rebuild of all packages in sid, your package failed to build on amd64. Relevant part (hopefully): > make[1]: Entering directory '/<<PKGBUILDDIR>>' > # keep in sync with debian/tests/phpunit > find tests/ -type f -print0 | xargs -0 sed -i 's/function setUp()/function > setUp(): void/g' > find tests/ -type f -print0 | xargs -0 sed -i 's/function tearDown()/function > tearDown(): void/g' > phpunit --no-coverage > PHPUnit 9.5.0 by Sebastian Bergmann and contributors. > > Runtime: PHP 7.4.11 > Configuration: /<<PKGBUILDDIR>>/phpunit.xml.dist > Warning: Your XML configuration validates against a deprecated schema. > Suggestion: Migrate your XML configuration using "--migrate-configuration"! > > EEEEE.................E............................ 51 / 51 > (100%) > > Time: 00:00.012, Memory: 6.00 MB > > There were 6 errors: > > 1) ReCaptcha\ReCaptchaTest::testExceptionThrownOnInvalidSecret with data set > #0 ('') > RuntimeException: No secret provided > > /<<PKGBUILDDIR>>/src/ReCaptcha/ReCaptcha.php:136 > /<<PKGBUILDDIR>>/tests/ReCaptcha/ReCaptchaTest.php:48 > > 2) ReCaptcha\ReCaptchaTest::testExceptionThrownOnInvalidSecret with data set > #1 (null) > RuntimeException: No secret provided > > /<<PKGBUILDDIR>>/src/ReCaptcha/ReCaptcha.php:136 > /<<PKGBUILDDIR>>/tests/ReCaptcha/ReCaptchaTest.php:48 > > 3) ReCaptcha\ReCaptchaTest::testExceptionThrownOnInvalidSecret with data set > #2 (0) > RuntimeException: No secret provided > > /<<PKGBUILDDIR>>/src/ReCaptcha/ReCaptcha.php:136 > /<<PKGBUILDDIR>>/tests/ReCaptcha/ReCaptchaTest.php:48 > > 4) ReCaptcha\ReCaptchaTest::testExceptionThrownOnInvalidSecret with data set > #3 (stdClass Object ()) > RuntimeException: The provided secret must be a string > > /<<PKGBUILDDIR>>/src/ReCaptcha/ReCaptcha.php:140 > /<<PKGBUILDDIR>>/tests/ReCaptcha/ReCaptchaTest.php:48 > > 5) ReCaptcha\ReCaptchaTest::testExceptionThrownOnInvalidSecret with data set > #4 (array()) > RuntimeException: No secret provided > > /<<PKGBUILDDIR>>/src/ReCaptcha/ReCaptcha.php:136 > /<<PKGBUILDDIR>>/tests/ReCaptcha/ReCaptchaTest.php:48 > > 6) ReCaptcha\RequestMethod\PostTest::testHTTPContextOptions > TypeError: Argument 2 passed to PHPUnit\Framework\Assert::assertContains() > must be iterable, string given, called in > /<<PKGBUILDDIR>>/tests/ReCaptcha/RequestMethod/PostTest.php on line 118 > > /<<PKGBUILDDIR>>/tests/ReCaptcha/RequestMethod/PostTest.php:118 > /<<PKGBUILDDIR>>/tests/ReCaptcha/RequestMethod/PostTest.php:145 > /<<PKGBUILDDIR>>/src/ReCaptcha/RequestMethod/Post.php:80 > /<<PKGBUILDDIR>>/tests/ReCaptcha/RequestMethod/PostTest.php:61 > > ERRORS! > Tests: 51, Assertions: 139, Errors: 6. > make[1]: *** [debian/rules:11: override_dh_auto_test] Error 2 The full build log is available from: http://qa-logs.debian.net/2020/12/26/google-recaptcha_1.2.4-1_unstable.log A list of current common problems and possible solutions is available at http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute! If you reassign this bug to another package, please marking it as 'affects'-ing this package. See https://www.debian.org/Bugs/server-control#affects If you fail to reproduce this, please provide a build log and diff it with me so that we can identify if something relevant changed in the meantime. About the archive rebuild: The rebuild was done on EC2 VM instances from Amazon Web Services, using a clean, minimal and up-to-date chroot. Every failed build was retried once to eliminate random failures.
--- End Message ---
--- Begin Message ---Source: google-recaptcha Source-Version: 1.2.4-2 Done: William Desportes <[email protected]> We believe that the bug you reported is fixed in the latest version of google-recaptcha, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to [email protected], and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. William Desportes <[email protected]> (supplier of updated google-recaptcha package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing [email protected]) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Format: 1.8 Date: Fri, 01 Jan 2021 22:51:16 +0100 Source: google-recaptcha Architecture: source Version: 1.2.4-2 Distribution: unstable Urgency: medium Maintainer: phpMyAdmin Team <[email protected]> Changed-By: William Desportes <[email protected]> Closes: 978381 Changes: google-recaptcha (1.2.4-2) unstable; urgency=medium . [ William Desportes ] * Bump debhelper-compat to 13 * Install examples (lintian: package-does-not-install-examples) * Remove a whitespace (lintian: file-contains-trailing-whitespace) * Set debian branch to debian/latest (DEP-14) * Adapt to recent version of PHPUnit (9) (Closes: #978381) * Run "cme fix dpkg" and "wrap-and-sort" * Update Standards-Version to 4.5.1 * Add myself to the uploaders * Update d/copyright * Add d/examples, d/clean and d/docs * Add autoload generation * Add a patch to fix examples/* autoload paths . [ David Prévot ] * Generate static autoloader inside ReCaptcha/ * Install package in its proper (Class)path Checksums-Sha1: 0c28dc0f1bd8095a89e072eeb72b25569bc43095 1847 google-recaptcha_1.2.4-2.dsc 19a5ff80d31db02759427e5faad45a393b18f577 5128 google-recaptcha_1.2.4-2.debian.tar.xz 1399dacbe374f44e0f283464df44a736de11a1d6 7962 google-recaptcha_1.2.4-2_amd64.buildinfo Checksums-Sha256: e959c32cfc5f7f09eaf1b15ab376a335c993683b4ead7bb61740abe09877c2f5 1847 google-recaptcha_1.2.4-2.dsc 97dd5b7b171ac834fa856e83fa6f6960fa624ac8fdc6f283147db9b46c92b61c 5128 google-recaptcha_1.2.4-2.debian.tar.xz df117190352b6a437dbf2998d1c73b12b4d94b1e1fef1cb071727fe3c219a94e 7962 google-recaptcha_1.2.4-2_amd64.buildinfo Files: b0517c3276384cc18c341e75f9133688 1847 php optional google-recaptcha_1.2.4-2.dsc 5e2b853a1a484547723527df7f6d7b3c 5128 php optional google-recaptcha_1.2.4-2.debian.tar.xz 6e206131d2c1db68072be24a7de48a63 7962 php optional google-recaptcha_1.2.4-2_amd64.buildinfo -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEeHVNB7wJXHRI941mBYwc+UT2vTwFAl/vnRkACgkQBYwc+UT2 vTywIgf+LfNxUgUOWDDm1NrZoGNgYXrJ+GSySevC8e2crVhf7cr9WqHuleY/MxF1 Gh2aCoTIswii3HsFgB7M9L7wpAUUoTBZvfRYO2MGpBDfo0pVHhDW/AO65hjMIhEU viTV78rc1n2wwIBbI+z+Zt3M9RpXbVS9ak7HuAbvP2v99TuC47LhusreIWJCVXNA EV2l9jzXOWxkVv12QBao5d7YiomB2EzBQWyfyQ7mm3PMvkpwtwA4MQWY7BMyGn3G VIL2BcZoZS8OYXl4YqIWY5Tq/B1p7yqb6Fp2qdIeJEnR0NRsFgd1XCAWfR9ClNf8 jcZ86Xxgzp8jepS6+miLvZ+qcCO8bA== =5f/r -----END PGP SIGNATURE-----
--- End Message ---

