Your message dated Sun, 10 Mar 2024 19:49:49 +0000
with message-id <e1rjpb7-00b4xh...@fasolo.debian.org>
and subject line Bug#1065648: fixed in dpkg 1.22.6
has caused the Debian Bug report #1065648,
regarding dpkg: FTBFS when gpg is installed
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 ow...@bugs.debian.org
immediately.)


-- 
1065648: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1065648
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: dpkg
Version: 1.22.5
Severity: normal
Tags: ftbfs
X-Debbugs-Cc: sweetyf...@deepin.org

Hi,

When building dpkg in some environment with gpg installed or lintian
installed (lintian depends on gpg), dh_auto_test failed in Dpkg_OpenPGP.t.
But when gnupg is installed, dpkg builds successfully.

In those circumstances, Dpkg_OpenPGP.t should skip subtests instead of fail.

Best regards,
Tianyu Chen @ deepin

-- System Information:
Distributor ID: Deepin
Description:    Deepin 23
Release:        23
Codename:       beige
Architecture: x86_64

Kernel: Linux 6.6.7-amd64-desktop-hwe (SMP w/16 CPU threads; PREEMPT)
Locale: LANG=zh_CN.UTF-8, LC_CTYPE=zh_CN.UTF-8 (charmap=UTF-8), LANGUAGE=zh_CN
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
../../scripts/t/Dpkg_Path.t ................ ok
../../scripts/t/Dpkg_Control_Tests.t ....... ok
../../scripts/t/Dpkg_Source_Functions.t .... ok

#   Failed test '(auto:auto) dearmoring OpenPGP ASCII Armored certificate'
#   at ../../scripts/t/Dpkg_OpenPGP.t line 67.

#   Failed test '(auto:auto) armoring OpenPGP binary certificate'
#   at ../../scripts/t/Dpkg_OpenPGP.t line 69.
diff: t.tmp/Dpkg_OpenPGP/dpkg-test-pub.asc: No such file or directory

#   Failed test '(auto:auto) OpenPGP certificate dearmor/armor round-trip 
correctly (../../scripts/t/Dpkg_OpenPGP/dpkg-test-pub.asc vs 
t.tmp/Dpkg_OpenPGP/dpkg-test-pub.asc)'
#   at ../../scripts/t/Dpkg_OpenPGP.t line 54.

#   Failed test '(auto:auto) armoring OpenPGP binary signature succeeded'
#   at ../../scripts/t/Dpkg_OpenPGP.t line 74.

#   Failed test '(auto:auto) armoring OpenPGP armored signature succeeded'
#   at ../../scripts/t/Dpkg_OpenPGP.t line 78.
diff: t.tmp/Dpkg_OpenPGP/sign-file-rearmor.asc: No such file or directory

#   Failed test '(auto:auto) rearmoring OpenPGP ASCII Armor changed the file 
(../../scripts/t/Dpkg_OpenPGP/sign-file.asc vs 
t.tmp/Dpkg_OpenPGP/sign-file-rearmor.asc)'
#   at ../../scripts/t/Dpkg_OpenPGP.t line 54.

#   Failed test '(auto:auto) dearmoring OpenPGP armored signature succeeded'
#   at ../../scripts/t/Dpkg_OpenPGP.t line 83.
diff: t.tmp/Dpkg_OpenPGP/sign-file.sig: No such file or directory
../../scripts/t/Dpkg_Deps.t ................ ok
../../scripts/t/Dpkg_Control.t ............. ok

#   Failed test '(auto:auto) dearmored OpenPGP ASCII Armor signature matches 
(../../scripts/t/Dpkg_OpenPGP/sign-file.sig vs 
t.tmp/Dpkg_OpenPGP/sign-file.sig)'
#   at ../../scripts/t/Dpkg_OpenPGP.t line 54.

#   Failed test '(auto:auto) verify OpenPGP ASCII Armor inline signature'
#   at ../../scripts/t/Dpkg_OpenPGP.t line 90.

#   Failed test '(auto:auto) verify OpenPGP binary inline signature'
#   at ../../scripts/t/Dpkg_OpenPGP.t line 92.

#   Failed test '(auto:auto) verify OpenPGP ASCII Armor detached signature'
#   at ../../scripts/t/Dpkg_OpenPGP.t line 95.

#   Failed test '(auto:auto) verify OpenPGP binary detached signature'
#   at ../../scripts/t/Dpkg_OpenPGP.t line 97.
../../scripts/t/Dpkg_Substvars.t ........... ok
../../scripts/t/Dpkg_Source_Format.t ....... ok
../../scripts/t/Dpkg_Changelog.t ........... ok
../../scripts/t/Dpkg_Source_Patch.t ........ ok
../../scripts/t/Dpkg_Changelog_Ubuntu.t .... ok
# Looks like you failed 12 tests of 32.
../../scripts/t/Dpkg_OpenPGP.t ............. 
not ok 3 - (auto:auto) dearmoring OpenPGP ASCII Armored certificate
not ok 4 - (auto:auto) armoring OpenPGP binary certificate
not ok 5 - (auto:auto) OpenPGP certificate dearmor/armor round-trip correctly 
(../../scripts/t/Dpkg_OpenPGP/dpkg-test-pub.asc vs 
t.tmp/Dpkg_OpenPGP/dpkg-test-pub.asc)
not ok 6 - (auto:auto) armoring OpenPGP binary signature succeeded
not ok 8 - (auto:auto) armoring OpenPGP armored signature succeeded
not ok 9 - (auto:auto) rearmoring OpenPGP ASCII Armor changed the file 
(../../scripts/t/Dpkg_OpenPGP/sign-file.asc vs 
t.tmp/Dpkg_OpenPGP/sign-file-rearmor.asc)
not ok 10 - (auto:auto) dearmoring OpenPGP armored signature succeeded
not ok 11 - (auto:auto) dearmored OpenPGP ASCII Armor signature matches 
(../../scripts/t/Dpkg_OpenPGP/sign-file.sig vs t.tmp/Dpkg_OpenPGP/sign-file.sig)
not ok 12 - (auto:auto) verify OpenPGP ASCII Armor inline signature
not ok 13 - (auto:auto) verify OpenPGP binary inline signature
not ok 14 - (auto:auto) verify OpenPGP ASCII Armor detached signature
not ok 15 - (auto:auto) verify OpenPGP binary detached signature
Dubious, test returned 12 (wstat 3072, 0xc00)
Failed 12/32 subtests 
        (less 4 skipped subtests: 16 okay)
../../scripts/t/Dpkg_Compression.t ......... ok
../../scripts/t/Dpkg_Source_Quilt.t ........ ok
../../scripts/t/Dpkg_Dist_Files.t .......... ok
../../scripts/t/Dpkg_Source_Archive.t ...... ok
../../scripts/t/Dpkg_Source_Package.t ...... ok
../../scripts/t/Dpkg_Control_Fields.t ...... ok
../../scripts/t/dpkg_mergechangelogs.t ..... ok
../../scripts/t/Dpkg_Arch.t ................ ok
../../scripts/t/Dpkg_IPC.t ................. ok
../../scripts/t/dpkg_source.t .............. ok
../../scripts/t/Dpkg_Shlibs.t .............. ok
../../scripts/t/Dpkg_Version.t ............. ok
../../scripts/t/mk.t ....................... ok
../../scripts/t/dpkg_buildpackage.t ........ ok

Test Summary Report
-------------------
../../scripts/t/Dpkg_OpenPGP.t           (Wstat: 3072 (exited 12) Tests: 32 
Failed: 12)
  Failed tests:  3-6, 8-15
  Non-zero exit status: 12
Files=48, Tests=12737,  7 wallclock secs ( 1.43 usr  0.19 sys + 20.16 cusr  
7.47 csys = 29.25 CPU)
Result: FAIL
FAIL: test suite has errors
make[5]: *** [Makefile:1462: tap-check] Error 255
make[5]: Leaving directory '/<<PKGBUILDDIR>>/build-tree/scripts'
make[4]: *** [Makefile:1221: check-am] Error 2
make[4]: Leaving directory '/<<PKGBUILDDIR>>/build-tree/scripts'
make[3]: *** [Makefile:1071: check-recursive] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/build-tree/scripts'
make[2]: *** [Makefile:757: check-recursive] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>/build-tree'
dh_auto_test: error: cd build-tree && make -j16 check "TESTSUITEFLAGS=-j16 
--verbose" VERBOSE=1 TESTSUITEFLAGS=--verbose -j16 TEST_PARALLEL=16 returned 
exit code 2
make[1]: *** [debian/rules:70: override_dh_auto_test] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:49: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
Build finished at 2024-03-08T06:12:44Z

--- End Message ---
--- Begin Message ---
Source: dpkg
Source-Version: 1.22.6
Done: Guillem Jover <guil...@debian.org>

We believe that the bug you reported is fixed in the latest version of
dpkg, 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 1065...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Guillem Jover <guil...@debian.org> (supplier of updated dpkg 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 ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sun, 10 Mar 2024 20:21:24 +0100
Source: dpkg
Architecture: source
Version: 1.22.6
Distribution: unstable
Urgency: medium
Maintainer: Dpkg Developers <debian-d...@lists.debian.org>
Changed-By: Guillem Jover <guil...@debian.org>
Closes: 1065371 1065401 1065518 1065575 1065648 1065672
Changes:
 dpkg (1.22.6) unstable; urgency=medium
 .
   [ Guillem Jover ]
   * dpkg-deb: Fix up compressor parameters for default legacy format.
   * Perl modules:
     - Dpkg::Vendor::Debian: Make it possible to disable qa=-bug-implicit-func.
       Closes: #1065371
     - Dpkg::Vendor::Debian: Unconditionally set qa bug-implicit-func.
       See #1065371.
   * Documentation:
     - man: Document dpkg versions supporting SOURCE_DATE_EPOCH for various
       tools.
   * Code internals:
     - libdpkg: Use array access instead of pointer arithmetic for meminfo
       parser.
     - libdpkg: Use a macro to define the zstd default compression level.
   * Build system:
     - Test with minimal library dependencies in CI.
     - Add gen-release script.
   * Packaging:
     - Fix typo in man page reference in changelog.
   * Test suite:
     - Refactor OpenPGP backend and commands list.
     - Refactor certfile and keyfile filenames for OpenPGP test.
     - Skip OpenPGP tests if the backend does not have a verify command.
       Closes: #1065648
   * Localization:
     - Fix typos in Swedish man pages translations.
       Thanks to Andreas Rönnquist <gus...@debian.org>. Closes: #1065672
     - Fix typos in Swedish man pages translations. Closes: #1065575
     - Update Dutch man pages translations.
       Thanks to Frans Spiesschaert <frans.spiesscha...@yucom.be>.
       Closes: #1065518
     - Update Portuguese man pages translations.
       Thanks to Américo Monteiro <a_monte...@gmx.com>. Closes: #1065401
 .
   [ Helge Kreutzmann ]
   * Localization:
     - Update German man pages translation.
Checksums-Sha1:
 161792567c1eb418ebd26b38b1d7a010ee6ae5b0 3041 dpkg_1.22.6.dsc
 9d36edfd0205e707bbbe3061a6d7085686cea83d 5630704 dpkg_1.22.6.tar.xz
 f34358af85508d51f1d52e73eecd0d4dc6a54f97 8089 dpkg_1.22.6_amd64.buildinfo
Checksums-Sha256:
 9e109e78ee459a132813c7f21a67a7845e26e3e203d5d51ea4ee81dd5abb3443 3041 
dpkg_1.22.6.dsc
 4379123466cf1804f82aaac7fbea7133c58aefa178dfbf7029cdc61a8d220655 5630704 
dpkg_1.22.6.tar.xz
 89b90bf33b90bea0bb78a26dc5d7101834af639a094f4b0b4ab8e0d5c5ea9c74 8089 
dpkg_1.22.6_amd64.buildinfo
Files:
 40176b6fc5fe66fc1590692eb5c3d0db 3041 admin required dpkg_1.22.6.dsc
 595ba2badfa81bb2915b7bca08a5c245 5630704 admin required dpkg_1.22.6.tar.xz
 1244a302899b30dee7de07fb20166ca3 8089 admin required 
dpkg_1.22.6_amd64.buildinfo

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

iQIzBAEBCgAdFiEETz509DYFDBD1aWV0uXK/PqSuV6MFAmXuC6UACgkQuXK/PqSu
V6MXHA//Y3m9lE81Ot5S3JRWCVACS2XDVGPOXF/ls+LK3kvAaI1EHJNsn7J263CJ
DYi2we4W75p5klElMSeciur4kWQ7QhFHW4S60EUJfsIVH3bCWuMg+sSvI91v6JY1
Hze4/fIyWJyaZWTEice/PUTRxk89OmsCmHqQP9jJ57/PubTHLI0PSBG09JR8TAiu
Rfy9FAwa8hszU6oTyPrIozFhdJyitXwt4uTLOej5mupEnGHrA1Hf7qCuyZmBNzyq
ixkDyAN4F3mVwrqdeDv1bkKCUGBbiruGLKZADF2pqkRd+bg1A6KMuJWW3jJdUc5v
KXW+czCCPjMmCI1SzyN/iT6NFMouaUHipYxGYzP1fHKFeGV0UxPinOUgF52Mk4Q8
Jbr1yUn+V3S2pqmsJWZ6Hr2gG8BT1f/g0SnIkEDknq9FCTgKkgrHDJTDg4qY24g9
1wHMOEUTOh9eEhOuhMWSQ9GaNgZ+coSPvVuRJYadryweEHrJFFiRBySuH2np+tHW
BeKrfQU4QBktD9PKSK/cDEZPOOwi/NmBevUx0/zPEK/Tgg4EytdRpcNxrWCYp3QQ
m6yu/9CZPZ+9Pvb5k460X/K2c4269PmGFEQhkUOEc3xS9ObSZGeLZF/ROOHvg8ZQ
HhwHceyP/jn6586n21KfSYcYivpE8f8Z+osnvbOA9GvwOTKxD3I=
=ItrH
-----END PGP SIGNATURE-----

Attachment: pgpcDzEnysaKx.pgp
Description: PGP signature


--- End Message ---

Reply via email to