Your message dated Sun, 20 Feb 2022 18:49:06 +0000
with message-id <[email protected]>
and subject line Bug#1006028: fixed in php-crypt-gpg 1.6.7-2
has caused the Debian Bug report #1006028,
regarding php-crypt-gpg: FTBFS: PHPUnit\Framework\Exception: PHP Fatal error: 
Uncaught Crypt_GPG_BadPassphraseException: Cannot export private key. Incorrect 
passphrase provided for keys: "First Keypair Test Key (do not encrypt important 
data with this key) <[email protected]>", 
"F27FB97E211A40BDD61FAD75E7493277280054C4", "First Keypair Test Key (do not 
encrypt important data with this key) <[email protected]>". in 
/<<PKGBUILDDIR>>/Crypt_GPG-1.6.7/Crypt/GPG/ProcessHandler.php on line 634
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.)


-- 
1006028: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1006028
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: php-crypt-gpg
Version: 1.6.7-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> # without --process-isolation there is a weird race condition
> # causing the tests to fails GnuPG when can't use /run/user/ID as
> # socket directory (for instance because it's not there) and uses
> # its homedir as fallback -- removing the GNUPGHOME between each
> # test seems to cause problems when it contains the agent socket
> phpunit --include-path Crypt_GPG-*/ Crypt_GPG-*/tests \
>       --process-isolation --exclude-group write
> PHPUnit 9.5.13 by Sebastian Bergmann and contributors.
> 
> ........................................................S......  63 / 295 ( 
> 21%)
> ...........................................E................... 126 / 295 ( 
> 42%)
> ..............................SSSSSSSS......................... 189 / 295 ( 
> 64%)
> ............................................................... 252 / 295 ( 
> 85%)
> ...........................................                     295 / 295 
> (100%)
> 
> Time: 01:40.173, Memory: 8.00 MB
> 
> There was 1 error:
> 
> 1) ExportPrivateKeyTest::testExportPrivateKey_with_bad_pass
> PHPUnit\Framework\Exception: PHP Fatal error:  Uncaught 
> Crypt_GPG_BadPassphraseException: Cannot export private key. Incorrect 
> passphrase provided for keys: "First Keypair Test Key (do not encrypt 
> important data with this key) <[email protected]>", 
> "F27FB97E211A40BDD61FAD75E7493277280054C4", "First Keypair Test Key (do not 
> encrypt important data with this key) <[email protected]>". in 
> /<<PKGBUILDDIR>>/Crypt_GPG-1.6.7/Crypt/GPG/ProcessHandler.php on line 634
> #0 /<<PKGBUILDDIR>>/Crypt_GPG-1.6.7/Crypt/GPG/ProcessHandler.php(634): 
> Crypt_GPG_ProcessHandler->badPassException()
> #1 /<<PKGBUILDDIR>>/Crypt_GPG-1.6.7/Crypt/GPG/Engine.php(1741): 
> Crypt_GPG_ProcessHandler->throwException()
> #2 /<<PKGBUILDDIR>>/Crypt_GPG-1.6.7/Crypt/GPG/Engine.php(655): 
> Crypt_GPG_Engine->_closeSubprocess()
> #3 [internal function]: Crypt_GPG_Engine->__destruct()
> #4 {main}
>   thrown in /<<PKGBUILDDIR>>/Crypt_GPG-1.6.7/Crypt/GPG/ProcessHandler.php on 
> line 858
> Fatal error: Uncaught Crypt_GPG_BadPassphraseException: Cannot export private 
> key. Incorrect passphrase provided for keys: "First Keypair Test Key (do not 
> encrypt important data with this key) <[email protected]>", 
> "F27FB97E211A40BDD61FAD75E7493277280054C4", "First Keypair Test Key (do not 
> encrypt important data with this key) <[email protected]>". in 
> /<<PKGBUILDDIR>>/Crypt_GPG-1.6.7/Crypt/GPG/ProcessHandler.php on line 634
> #0 /<<PKGBUILDDIR>>/Crypt_GPG-1.6.7/Crypt/GPG/ProcessHandler.php(634): 
> Crypt_GPG_ProcessHandler->badPassException()
> #1 /<<PKGBUILDDIR>>/Crypt_GPG-1.6.7/Crypt/GPG/Engine.php(1741): 
> Crypt_GPG_ProcessHandler->throwException()
> #2 /<<PKGBUILDDIR>>/Crypt_GPG-1.6.7/Crypt/GPG/Engine.php(655): 
> Crypt_GPG_Engine->_closeSubprocess()
> #3 [internal function]: Crypt_GPG_Engine->__destruct()
> #4 {main}
>   thrown in /<<PKGBUILDDIR>>/Crypt_GPG-1.6.7/Crypt/GPG/ProcessHandler.php on 
> line 858
> 
> ERRORS!
> Tests: 295, Assertions: 934, Errors: 1, Skipped: 9.
> make[1]: *** [debian/rules:11: override_dh_auto_test] Error 2


The full build log is available from:
http://qa-logs.debian.net/2022/02/18/php-crypt-gpg_1.6.7-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 mine
so that we can identify if something relevant changed in the meantime.

--- End Message ---
--- Begin Message ---
Source: php-crypt-gpg
Source-Version: 1.6.7-2
Done: Guilhem Moulin <[email protected]>

We believe that the bug you reported is fixed in the latest version of
php-crypt-gpg, 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.
Guilhem Moulin <[email protected]> (supplier of updated php-crypt-gpg 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: SHA512

Format: 1.8
Date: Sun, 20 Feb 2022 19:06:11 +0100
Source: php-crypt-gpg
Architecture: source
Version: 1.6.7-2
Distribution: unstable
Urgency: medium
Maintainer: Debian PHP PEAR Maintainers <[email protected]>
Changed-By: Guilhem Moulin <[email protected]>
Closes: 1006028
Changes:
 php-crypt-gpg (1.6.7-2) unstable; urgency=medium
 .
   * Add 'Crypt_GPG-*/tests/debug.log' to d/clean.
   * testExportPrivateKey_with_bad_pass(): Ignore E_NOTICE reporting.  fwrite()
     calls might fail with EPIPE when gpg(1) terminates early, and PHPUnit
     converts the notice into an exception thereby making the test flaky.
     (Closes: #1006028)
Checksums-Sha1:
 15e012361cd00c3f350259729fb7fb2fdbf4d018 2244 php-crypt-gpg_1.6.7-2.dsc
 e019b90a44ca8a80fdd1c392591a8fdc18b2a404 7068 
php-crypt-gpg_1.6.7-2.debian.tar.xz
 534f792eb6d30d938cfe767ac985687c6eefcac8 8041 
php-crypt-gpg_1.6.7-2_amd64.buildinfo
Checksums-Sha256:
 46ccf38ad1072362e92c7efc7bc5d3b44788a6a81fd97069e010d4a9b37df7c3 2244 
php-crypt-gpg_1.6.7-2.dsc
 60bab408da7e75cfcc1d512cabf4758a7da169bf9da7eb1c81d45d68ba0571a1 7068 
php-crypt-gpg_1.6.7-2.debian.tar.xz
 365e6f27be765418b66629b94c85d6abb19d3286e225ec438d6d8100f69910d4 8041 
php-crypt-gpg_1.6.7-2_amd64.buildinfo
Files:
 3016f6a881fa9bc6f1c3385a5bc8c01e 2244 php optional php-crypt-gpg_1.6.7-2.dsc
 cdcfa6daa9121ea8b69f15ecc22a8232 7068 php optional 
php-crypt-gpg_1.6.7-2.debian.tar.xz
 3847550e7a2beac9899ec72cf258853b 8041 php optional 
php-crypt-gpg_1.6.7-2_amd64.buildinfo

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

iQIzBAEBCgAdFiEERpy6p3b9sfzUdbME05pJnDwhpVIFAmISiLMACgkQ05pJnDwh
pVL5LA/8DDjFQ5Z9CLFAGSBb2xScMftC7WCaqNqn8Xes0gmQ3a07HWClDWf/YcBC
B5ALGtEhAISbwkHcLJ0N5dz+ejwF31t9ZnNx3g3aHcanFD3yERGBaSUaAaGQQOjG
WIzhxnh9MjC9y9Ot1HuU2sZAwBoVzKeo+/Ra33Gpd+g0EJvaGc+ImEC2+J/dWqhG
TjpFgZc04CcDZbEcyQFys48Ai86J4hOohRN0JkfpOUI79c/osMzgXryIsjodYUqV
oZKpncLvs42vlL5IddtoiTAcEb6wbfG2byMCI4+SxbFjHbH79RR3aLxGlxsHivsX
PdgZV86LIQGjQowHhDGQ2Qw3s0kKMwGgA8XQei2BqgPdUyZPhYBexJkowX6/zHOZ
I7bCdSJOHdSZG0XKg6Zq7Brtl9SoB+VOstehf52z4fiCL/MC2NHYFtgZOOdHYsDn
nX+5P+v1cABruooa5n9lmk5lvLrOTV5Y1pnKD4tB7Z6b88jc+1oJaup0IjTWbldm
Es9lgY6XWaK23ZxK8WCj3leI9D9o6P0Lz9uM+sOWVI0BDoBZhznhKICVeA51+uAV
ka35Rb2OpwRlPzOo8F012JMZmQgU7r9G3yfSTMQBFFOx/3RcjlgYsgL3yQ1o56NY
dj1PUek2MxJxcyP61qz66beiLPJJvIeyI7eAOqnADoH2ZYNgh3I=
=sg2n
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to