Bug#835592: php-crypt-gpg: FTBFS: Tests: 286, Assertions: 514, Errors: 77, Failures: 8, Skipped: 8

Daniel Kahn Gillmor dkg at fifthhorseman.net
Tue Aug 30 08:55:33 UTC 2016


Control: affects 835592 src:gnupg2

Hi php maintainers--

over on https://bugs.debian.org/835592 , Chris Lamb wrote:
> Source: php-crypt-gpg
> Version: 1.4.1-1
> Severity: serious
> Justification: fails to build from source
> User: reproducible-builds at lists.alioth.debian.org
> Usertags: ftbfs
> X-Debbugs-Cc: reproducible-builds at lists.alioth.debian.org
>
> Dear Maintainer,
>
> php-crypt-gpg fails to build from source in unstable/amd64:
>
>   [..]
>
>   +                '_hasPrivate' => false
>   
>   @@ @@
>                    '_usage' => 1
>   -                '_hasPrivate' => true
>   +                '_hasPrivate' => false
>                    '_isRevoked' => false
>                )
>            )
>        )
>    )
>   
>   /home/lamby/temp/cdt.20160827100527.NHNbg5FUA3.db.php-crypt-gpg/php-crypt-gpg-1.4.1/Crypt_GPG-1.4.1/tests/GetKeysTest.php:297
>   
>   7) KeyGeneratorTestCase::testSetExpirationDate_string
>   Setting expiration date by string failed.
>   Failed asserting that 1999996400 matches expected 2000000000.
>   
>   /home/lamby/temp/cdt.20160827100527.NHNbg5FUA3.db.php-crypt-gpg/php-crypt-gpg-1.4.1/Crypt_GPG-1.4.1/tests/KeyGeneratorTest.php:240
>   
>   8) SubKeyTestCase::testParseCreationDateIso
>   Failed asserting that two objects are equal.
>   --- Expected
>   +++ Actual
>   @@ @@
>    Crypt_GPG_SubKey Object (
>        '_id' => '8C37DBD2A01B7976'
>        '_algorithm' => 16
>        '_fingerprint' => ''
>        '_length' => 2048
>   -    '_creationDate' => 1221442255
>   +    '_creationDate' => 1221438655
>        '_expirationDate' => 0
>        '_usage' => 1
>        '_hasPrivate' => false
>        '_isRevoked' => false
>    )
>   
>   /home/lamby/temp/cdt.20160827100527.NHNbg5FUA3.db.php-crypt-gpg/php-crypt-gpg-1.4.1/Crypt_GPG-1.4.1/tests/SubKeyTest.php:209
>   
>   ERRORS!
>   Tests: 286, Assertions: 514, Errors: 77, Failures: 8, Skipped: 8.
>   debian/rules:7: recipe for target 'override_dh_auto_test' failed
>   make[1]: *** [override_dh_auto_test] Error 2
>   make[1]: Leaving directory '/home/lamby/temp/cdt.20160827100527.NHNbg5FUA3.db.php-crypt-gpg/php-crypt-gpg-1.4.1'
>   debian/rules:3: recipe for target 'build' failed
>   make: *** [build] Error 2
>
>   [..]

I suspect that many of these 77 failures are the result of php-crypt-gpg
not working properly with gnupg 2.1.x. (though some of them do appear to
be timestamp variations that might be worth unravelling separately)

I'll be releasing a new version of gnupg shortly that will explicitly
declare that it Breaks: php-crypt-gpg (<= 1.4.1-1).

Ideally, the next version of php-crypt-gpg can have this bug fixed and
it will work cleanly with the modern version of gnupg.

However, if your next upload of php-crypt-gpg can't be built or run
against modern versions of GnuPG, then you probably need to state this
package's dependency on gnupg as gnupg (<= 2.1).

Regards,

        --dkg
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 930 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/reproducible-builds/attachments/20160830/476c85bd/attachment.sig>


More information about the Reproducible-builds mailing list