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

2016-08-30 Thread Axel Beckert
Hi Daniel,

Daniel Kahn Gillmor wrote:
> On Tue 2016-08-30 06:49:30 -0400, Axel Beckert wrote:
> > Daniel Kahn Gillmor wrote:
> >> 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).
> >
> > Shouldn't "gnupg1" be used then nowadays?
> 
> that would involve a fix of forcing php-crypt-gpg to use and look for
> /usr/bin/gpg1.

Correct.

> that would make me sad, because it would mean that the users of
> php-crypt-gpg would be unable to benefit from the work happening on
> GnuPG's modern branch.

Well, I consider that to be a temporary workaround, not a permanent
solution. Like with libgnupg-interface-perl or python-gnupg.

> So yeah, it's possible to do it that way but i really hope it doesn't
> come to that.

Well, if you (build-)depend on "gnupg (<= 2.1)" and upload to
unstable, the package will no more be installable on Unstable nor
buildable on Unstable due to unsatisfiable (build-)dependencies as the
gnupg package in Unstable is already at a version >> 2.1.

So I don't see how depending on "gnupg (<= 2.1)" could be considered a
solution at all.

Regards, Axel
-- 
 ,''`.  |  Axel Beckert , http://people.debian.org/~abe/
: :' :  |  Debian Developer, ftp.ch.debian.org Admin
`. `'   |  4096R: 2517 B724 C5F6 CA99 5329  6E61 2FF9 CD59 6126 16B5
  `-|  1024D: F067 EA27 26B9 C3FC 1486  202E C09E 1D89 9593 0EDE

___
Reproducible-builds mailing list
Reproducible-builds@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds


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

2016-08-30 Thread Daniel Kahn Gillmor
On Tue 2016-08-30 06:49:30 -0400, Axel Beckert wrote:
> Daniel Kahn Gillmor wrote:
>> 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).
>
> Shouldn't "gnupg1" be used then nowadays?

that would involve a fix of forcing php-crypt-gpg to use and look for
/usr/bin/gpg1.  that would make me sad, because it would mean that the
users of php-crypt-gpg would be unable to benefit from the work
happening on GnuPG's modern branch. and the fixes available in gcrypt
itself.

So yeah, it's possible to do it that way but i really hope it doesn't
come to that.

  --dkg


signature.asc
Description: PGP signature
___
Reproducible-builds mailing list
Reproducible-builds@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds

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

2016-08-30 Thread Axel Beckert
Hi,

Daniel Kahn Gillmor wrote:
> 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).

Shouldn't "gnupg1" be used then nowadays?

Regards, Axel
-- 
 ,''`.  |  Axel Beckert , http://people.debian.org/~abe/
: :' :  |  Debian Developer, ftp.ch.debian.org Admin
`. `'   |  4096R: 2517 B724 C5F6 CA99 5329  6E61 2FF9 CD59 6126 16B5
  `-|  1024D: F067 EA27 26B9 C3FC 1486  202E C09E 1D89 9593 0EDE

___
Reproducible-builds mailing list
Reproducible-builds@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds


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

2016-08-30 Thread Daniel Kahn Gillmor
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@lists.alioth.debian.org
> Usertags: ftbfs
> X-Debbugs-Cc: reproducible-builds@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 196400 matches expected 20.
>   
>   
> /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


signature.asc
Description: PGP signature
___
Reproducible-builds mailing list
Reproducible-builds@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds

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

2016-08-27 Thread Chris Lamb
Source: php-crypt-gpg
Version: 1.4.1-1
Severity: serious
Justification: fails to build from source
User: reproducible-builds@lists.alioth.debian.org
Usertags: ftbfs
X-Debbugs-Cc: reproducible-builds@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 196400 matches expected 20.
  
  
/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

  [..]

The full build log is attached.


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-


php-crypt-gpg.1.4.1-1.unstable.amd64.log.txt.gz
Description: Binary data
___
Reproducible-builds mailing list
Reproducible-builds@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds