https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: dev-php/PEAR-Crypt_GPG-1.6.4 fails tests. Discovered on: amd64 (internal ref: tinderbox) NOTE: This machine uses a clang/LLVM toolchain. If you think that this issue is strictly related to clang/LLVM please block bug 408963. If you think that this issue is strictly related to the LLD linker, please block bug 731004. This machine uses also GLIBC-2.32. If you think that this issue is strictly related to GLIBC please block bug 736174.
Created attachment 655080 [details] build.log build log and emerge --info
*** This bug has been marked as a duplicate of bug 734882 ***
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=654061cdc733d48dbfa0bbf6aca38835ea90d53f commit 654061cdc733d48dbfa0bbf6aca38835ea90d53f Author: Thomas Deutschmann <whissi@gentoo.org> AuthorDate: 2020-08-18 22:40:51 +0000 Commit: Thomas Deutschmann <whissi@gentoo.org> CommitDate: 2020-08-18 22:40:51 +0000 dev-php/PEAR-Crypt_GPG: Restrict <dev-php/phpunit-6 Bug: https://bugs.gentoo.org/737640 Package-Manager: Portage-3.0.3, Repoman-3.0.0 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org> dev-php/PEAR-Crypt_GPG/PEAR-Crypt_GPG-1.6.2.ebuild | 2 +- dev-php/PEAR-Crypt_GPG/PEAR-Crypt_GPG-1.6.3.ebuild | 2 +- dev-php/PEAR-Crypt_GPG/PEAR-Crypt_GPG-1.6.4.ebuild | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-)
Still 5 errors left: > There were 5 errors: > > 1) DecryptAndVerifyTestCase::testDecryptVerifyFileDual > Crypt_GPG_BadPassphraseException: Cannot decrypt data. Incorrect passphrase provided for keys: "Second Keypair Test Key (do not encrypt important data with this key) <second-keypair@example.com>". No passphrase provided for keys: "First Keypair Test Key (do not encrypt important data with this key) <first-keypair@example.com>". > > /var/tmp/portage/dev-php/PEAR-Crypt_GPG-1.6.4/work/Crypt_GPG-1.6.4/Crypt/GPG/ProcessHandler.php:891 > /var/tmp/portage/dev-php/PEAR-Crypt_GPG-1.6.4/work/Crypt_GPG-1.6.4/Crypt/GPG/ProcessHandler.php:743 > /var/tmp/portage/dev-php/PEAR-Crypt_GPG-1.6.4/work/Crypt_GPG-1.6.4/Crypt/GPG/Engine.php:1801 > /var/tmp/portage/dev-php/PEAR-Crypt_GPG-1.6.4/work/Crypt_GPG-1.6.4/Crypt/GPG/Engine.php:807 > /var/tmp/portage/dev-php/PEAR-Crypt_GPG-1.6.4/work/Crypt_GPG-1.6.4/Crypt/GPG.php:1987 > /var/tmp/portage/dev-php/PEAR-Crypt_GPG-1.6.4/work/Crypt_GPG-1.6.4/Crypt/GPG.php:971 > /var/tmp/portage/dev-php/PEAR-Crypt_GPG-1.6.4/work/Crypt_GPG-1.6.4/tests/DecryptAndVerifyTest.php:1254 > > 2) DecryptTestCase::testDecryptDual > Crypt_GPG_BadPassphraseException: Cannot decrypt data. Incorrect passphrase provided for keys: "Second Keypair Test Key (do not encrypt important data with this key) <second-keypair@example.com>". No passphrase provided for keys: "First Keypair Test Key (do not encrypt important data with this key) <first-keypair@example.com>". > > /var/tmp/portage/dev-php/PEAR-Crypt_GPG-1.6.4/work/Crypt_GPG-1.6.4/Crypt/GPG/ProcessHandler.php:891 > /var/tmp/portage/dev-php/PEAR-Crypt_GPG-1.6.4/work/Crypt_GPG-1.6.4/Crypt/GPG/ProcessHandler.php:743 > /var/tmp/portage/dev-php/PEAR-Crypt_GPG-1.6.4/work/Crypt_GPG-1.6.4/Crypt/GPG/Engine.php:1801 > /var/tmp/portage/dev-php/PEAR-Crypt_GPG-1.6.4/work/Crypt_GPG-1.6.4/Crypt/GPG/Engine.php:807 > /var/tmp/portage/dev-php/PEAR-Crypt_GPG-1.6.4/work/Crypt_GPG-1.6.4/Crypt/GPG.php:1695 > /var/tmp/portage/dev-php/PEAR-Crypt_GPG-1.6.4/work/Crypt_GPG-1.6.4/Crypt/GPG.php:833 > /var/tmp/portage/dev-php/PEAR-Crypt_GPG-1.6.4/work/Crypt_GPG-1.6.4/tests/DecryptTest.php:338 > > 3) DeletePublicKeyTestCase::testDeletePublicKey_privExists > unlink(/var/tmp/portage/dev-php/PEAR-Crypt_GPG-1.6.4/work/Crypt_GPG-1.6.4/tests/test-keychain/S.gpg-agent.ssh): No such file or directory > > /var/tmp/portage/dev-php/PEAR-Crypt_GPG-1.6.4/work/Crypt_GPG-1.6.4/tests/TestCase.php:610 > /var/tmp/portage/dev-php/PEAR-Crypt_GPG-1.6.4/work/Crypt_GPG-1.6.4/tests/TestCase.php:574 > > 4) EncryptTestCase::testEncryptFileDual > Crypt_GPG_BadPassphraseException: Cannot decrypt data. Incorrect passphrase provided for keys: "Second Keypair Test Key (do not encrypt important data with this key) <second-keypair@example.com>". No passphrase provided for keys: "First Keypair Test Key (do not encrypt important data with this key) <first-keypair@example.com>". > > /var/tmp/portage/dev-php/PEAR-Crypt_GPG-1.6.4/work/Crypt_GPG-1.6.4/Crypt/GPG/ProcessHandler.php:891 > /var/tmp/portage/dev-php/PEAR-Crypt_GPG-1.6.4/work/Crypt_GPG-1.6.4/Crypt/GPG/ProcessHandler.php:743 > /var/tmp/portage/dev-php/PEAR-Crypt_GPG-1.6.4/work/Crypt_GPG-1.6.4/Crypt/GPG/Engine.php:1801 > /var/tmp/portage/dev-php/PEAR-Crypt_GPG-1.6.4/work/Crypt_GPG-1.6.4/Crypt/GPG/Engine.php:807 > /var/tmp/portage/dev-php/PEAR-Crypt_GPG-1.6.4/work/Crypt_GPG-1.6.4/Crypt/GPG.php:1695 > /var/tmp/portage/dev-php/PEAR-Crypt_GPG-1.6.4/work/Crypt_GPG-1.6.4/Crypt/GPG.php:876 > /var/tmp/portage/dev-php/PEAR-Crypt_GPG-1.6.4/work/Crypt_GPG-1.6.4/tests/EncryptTest.php:213 > > 5) ExportPrivateKeyTestCase::testExportPrivateKey_with_bad_pass > fwrite(): write of 5 bytes failed with errno=32 Broken pipe > > /var/tmp/portage/dev-php/PEAR-Crypt_GPG-1.6.4/work/Crypt_GPG-1.6.4/Crypt/GPG/Engine.php:1447 > /var/tmp/portage/dev-php/PEAR-Crypt_GPG-1.6.4/work/Crypt_GPG-1.6.4/Crypt/GPG/Engine.php:806 > /var/tmp/portage/dev-php/PEAR-Crypt_GPG-1.6.4/work/Crypt_GPG-1.6.4/Crypt/GPG.php:1594 > /var/tmp/portage/dev-php/PEAR-Crypt_GPG-1.6.4/work/Crypt_GPG-1.6.4/Crypt/GPG.php:376 > /var/tmp/portage/dev-php/PEAR-Crypt_GPG-1.6.4/work/Crypt_GPG-1.6.4/tests/ExportPrivateKeyTest.php:123 > > ERRORS! > Tests: 294, Assertions: 912, Errors: 5, Skipped: 9. > 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) <first-keypair@example.com>", "F27FB97E211A40BDD61FAD75E7493277280054C4", "First Keypair Test Key (do not encrypt important data with this key) <first-keypair@example.com>". in /var/tmp/portage/dev-php/PEAR-Crypt_GPG-1.6.4/work/Crypt_GPG-1.6.4/Crypt/GPG/ProcessHandler.php on line 655 > #0 /var/tmp/portage/dev-php/PEAR-Crypt_GPG-1.6.4/work/Crypt_GPG-1.6.4/Crypt/GPG/ProcessHandler.php(655): Crypt_GPG_ProcessHandler->badPassException() > #1 /var/tmp/portage/dev-php/PEAR-Crypt_GPG-1.6.4/work/Crypt_GPG-1.6.4/Crypt/GPG/Engine.php(1801): Crypt_GPG_ProcessHandler->throwException() > #2 /var/tmp/portage/dev-php/PEAR-Crypt_GPG-1.6.4/work/Crypt_GPG-1.6.4/Crypt/GPG/Engine.php(670): Crypt_GPG_Engine->_closeSubprocess() > #3 [internal function]: Crypt_GPG_Engine->__destruct() > #4 {main} > thrown in /var/tmp/portage/dev-php/PEAR-Crypt_GPG-1.6.4/work/Crypt_GPG-1.6.4/Crypt/GPG/ProcessHandler.php on line 891 >
This test suite is unrunnable now because dev-php/phpunit was removed.