Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 737640 - dev-php/PEAR-Crypt_GPG-1.6.4 fails tests
Summary: dev-php/PEAR-Crypt_GPG-1.6.4 fails tests
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: PHP Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-08-17 11:58 UTC by Agostino Sarubbo
Modified: 2020-08-18 22:44 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,6.60 KB, text/plain)
2020-08-17 11:58 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2020-08-17 11:58:44 UTC
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.
Comment 1 Agostino Sarubbo gentoo-dev 2020-08-17 11:58:47 UTC
Created attachment 655080 [details]
build.log

build log and emerge --info
Comment 2 Michael Orlitzky gentoo-dev 2020-08-18 17:51:49 UTC

*** This bug has been marked as a duplicate of bug 734882 ***
Comment 3 Larry the Git Cow gentoo-dev 2020-08-18 22:43:21 UTC
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(-)
Comment 4 Thomas Deutschmann (RETIRED) gentoo-dev 2020-08-18 22:44:40 UTC
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
>