Your message dated Sat, 04 Nov 2023 17:35:25 +0000
with message-id <e1qzkyp-002wp5...@fasolo.debian.org>
and subject line Bug#1055238: fixed in pinentry 1.2.1-2
has caused the Debian Bug report #1055238,
regarding pinentry: Please add bootstrapping profile
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.)


-- 
1055238: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1055238
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: pinentry
Severity: normal
Tags: patch

Hello,

When bootstrapping a new port, buildds needs to use gnupg to sign
packages, which depends on gpg-agent, which depends on pinentry. But
pinentry build-deps on qt, gtk etc. which we don't really want to
bootstrap by hand. The attached patch adds build profiles that can be
used to easily build pinentry-tty, then install buildds, and let them
build the rest.

(I had to switch the no-secret/secret configuration, otherwise the
pinentry.info file doesn't get found in the nogtk profile)

Samuel

-- System Information:
Debian Release: trixie/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable-debug'), (500, 
'testing-debug'), (500, 'stable-security'), (500, 'stable-debug'), (500, 
'oldstable-proposed-updates-debug'), (500, 'oldstable-proposed-updates'), (500, 
'oldoldstable-proposed-updates'), (500, 'oldoldstable'), (500, 
'buildd-unstable'), (500, 'unstable'), (500, 'stable'), (500, 'oldstable'), (1, 
'experimental-debug'), (1, 'buildd-experimental'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386, arm64

Kernel: Linux 6.5.0-1-amd64 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

-- 
Samuel
---
Pour une évaluation indépendante, transparente et rigoureuse !
Je soutiens la Commission d'Évaluation de l'Inria.
--- debian/control.original     2023-11-02 18:12:13.454799542 +0100
+++ debian/control      2023-11-02 18:12:30.682864897 +0100
@@ -7,18 +7,18 @@
 Build-Depends:
  debhelper-compat (= 13),
  libassuan-dev (>= 2.1.0),
- libfltk1.3-dev,
- libgcr-3-dev,
- libglib2.0-dev (>= 2.15.5),
+ libfltk1.3-dev <!pkg.pinentry.nofltk>,
+ libgcr-3-dev <!pkg.pinentry.nogtk>,
+ libglib2.0-dev (>= 2.15.5) <!pkg.pinentry.nogtk>,
  libgpg-error-dev (>= 1.16),
- libgtk2.0-dev (>= 2.4.0),
- libncurses5-dev,
- libncursesw5-dev,
- libqt5waylandclient5-dev,
- libsecret-1-dev,
+ libgtk2.0-dev (>= 2.4.0) <!pkg.pinentry.nogtk>,
+ libncurses5-dev <!pkg.pinentry.nocurses>,
+ libncursesw5-dev <!pkg.pinentry.nocurses>,
+ libqt5waylandclient5-dev <!pkg.pinentry.noqt>,
+ libsecret-1-dev <!pkg.pinentry.nogtk>,
  m4,
  pkg-config,
- qtbase5-dev,
+ qtbase5-dev <!pkg.pinentry.noqt>,
  texinfo,
 Standards-Version: 4.6.1
 Homepage: https://www.gnupg.org/related_software/pinentry/
@@ -29,6 +29,7 @@
 Package: pinentry-curses
 Architecture: any
 Multi-Arch: foreign
+Build-Profiles: <!pkg.pinentry.nocurses>
 Depends:
  ${misc:Depends},
  ${shlibs:Depends},
@@ -87,6 +88,7 @@
 Package: pinentry-qt
 Architecture: any
 Multi-Arch: foreign
+Build-Profiles: <!pkg.pinentry.noqt>
 Depends:
  ${misc:Depends},
  ${shlibs:Depends},
@@ -111,6 +113,7 @@
 
 Package: pinentry-gtk2
 Architecture: any
+Build-Profiles: <!pkg.pinentry.nogtk>
 Depends:
  ${misc:Depends},
  ${shlibs:Depends},
@@ -139,6 +142,7 @@
 Package: pinentry-fltk
 Architecture: any
 Multi-Arch: foreign
+Build-Profiles: <!pkg.pinentry.nofltk>
 Depends:
  ${misc:Depends},
  ${shlibs:Depends},
@@ -167,6 +171,7 @@
 Package: pinentry-gnome3
 Architecture: any
 Multi-Arch: foreign
+Build-Profiles: <!pkg.pinentry.nogtk>
 Depends:
  gcr,
  ${misc:Depends},
--- debian/rules.original       2023-11-02 18:12:18.838819816 +0100
+++ debian/rules        2023-11-02 18:14:39.283391832 +0100
@@ -2,34 +2,60 @@
 
 QT_SELECT = qt5
 export QT_SELECT
-SHARED_CONFIGS = --disable-rpath --without-libcap --disable-pinentry-emacs 
--disable-inside-emacs --enable-fallback-curses --disable-pinentry-tqt 
--disable-pinentry-efl
+SHARED_CONFIGS = --disable-rpath --without-libcap --disable-pinentry-emacs 
--disable-inside-emacs --disable-pinentry-tqt --disable-pinentry-efl
 export DEB_BUILD_MAINT_OPTIONS = hardening=+bindnow
 
+ifeq (,$(filter pkg.pinentry.nocurses,$(DEB_BUILD_PROFILES)))
+ENABLE_CURSES = --enable-pinentry-curses
+FALLBACK_CURSES = --enable-fallback-curses 
+else
+ENABLE_CURSES = --disable-pinentry-curses
+FALLBACK_CURSES = --disable-fallback-curses 
+endif
+
+ifeq (,$(filter pkg.pinentry.noqt,$(DEB_BUILD_PROFILES)))
+ENABLE_QT = --enable-pinentry-qt
+else
+ENABLE_QT = --disable-pinentry-qt
+endif
+
+ifeq (,$(filter pkg.pinentry.nofltk,$(DEB_BUILD_PROFILES)))
+ENABLE_FLTK = --enable-pinentry-fltk
+else
+ENABLE_FLTK = --disable-pinentry-fltk
+endif
+
 %:
        dh $@
 
 override_dh_auto_configure:
-       dh_auto_configure --builddirectory=build-no-libsecret -- \
+       dh_auto_configure -- \
                $(SHARED_CONFIGS) --disable-libsecret \
                --enable-pinentry-tty \
-               --enable-pinentry-curses \
-               --enable-pinentry-qt \
+               $(ENABLE_CURSES) \
+               $(FALLBACK_CURSES) \
+               $(ENABLE_QT) \
                --disable-pinentry-qt4 \
-               --enable-pinentry-fltk \
+               $(ENABLE_FLTK) \
                --disable-pinentry-gtk2 \
                --disable-pinentry-gnome3
-       dh_auto_configure -- $(SHARED_CONFIGS) \
+ifeq (,$(filter pkg.pinentry.nogtk,$(DEB_BUILD_PROFILES)))
+       dh_auto_configure --builddirectory=build-libsecret -- $(SHARED_CONFIGS) 
\
                --disable-pinentry-tty \
                --disable-pinentry-curses \
+               $(FALLBACK_CURSES) \
                --disable-pinentry-qt \
                --disable-pinentry-qt4 \
                --disable-pinentry-fltk \
                --enable-pinentry-gtk2 \
                --enable-pinentry-gnome3
+endif
 
 override_dh_auto_build:
-       dh_auto_build --builddirectory=build-no-libsecret
        dh_auto_build
+ifeq (,$(filter pkg.pinentry.nogtk,$(DEB_BUILD_PROFILES)))
+       dh_auto_build --builddirectory=build-libsecret
+endif
 
 override_dh_installdocs:
        dh_installdocs -A NEWS AUTHORS
--- debian/pinentry-curses.install.original     2023-11-02 18:18:17.988832606 
+0100
+++ debian/pinentry-curses.install      2023-11-02 18:18:25.948884041 +0100
@@ -1 +1 @@
-build-no-libsecret/curses/pinentry-curses usr/bin
+usr/bin/pinentry-curses
--- debian/pinentry-fltk.install.original       2023-11-02 18:18:17.992832632 
+0100
+++ debian/pinentry-fltk.install        2023-11-02 18:18:30.556913691 +0100
@@ -1 +1 @@
-build-no-libsecret/fltk/pinentry-fltk usr/bin
+usr/bin/pinentry-fltk
--- debian/pinentry-gnome3.install.original     2023-11-02 18:18:17.992832632 
+0100
+++ debian/pinentry-gnome3.install      2023-11-02 18:19:09.157158690 +0100
@@ -1 +1 @@
-usr/bin/pinentry-gnome3
+build-libsecret/gnome3/pinentry-gnome3 usr/bin
--- debian/pinentry-gtk2.install.original       2023-11-02 18:18:17.992832632 
+0100
+++ debian/pinentry-gtk2.install        2023-11-02 18:19:26.781268698 +0100
@@ -1 +1 @@
-usr/bin/pinentry-gtk-2
+build-libsecret/gtk+-2/pinentry-gtk-2 usr/bin
--- debian/pinentry-qt.install.original 2023-11-02 18:18:17.996832658 +0100
+++ debian/pinentry-qt.install  2023-11-02 18:19:34.613317242 +0100
@@ -1 +1 @@
-build-no-libsecret/qt/pinentry-qt usr/bin
+usr/bin/pinentry-qt
--- debian/pinentry-tty.install.original        2023-11-02 18:18:17.996832658 
+0100
+++ debian/pinentry-tty.install 2023-11-02 18:19:39.333346400 +0100
@@ -1 +1 @@
-build-no-libsecret/tty/pinentry-tty usr/bin/
+usr/bin/pinentry-tty

--- End Message ---
--- Begin Message ---
Source: pinentry
Source-Version: 1.2.1-2
Done: Andreas Metzler <ametz...@debian.org>

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

Debian distribution maintenance software
pp.
Andreas Metzler <ametz...@debian.org> (supplier of updated pinentry 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: Sat, 04 Nov 2023 18:10:26 +0100
Source: pinentry
Architecture: source
Version: 1.2.1-2
Distribution: experimental
Urgency: medium
Maintainer: Debian GnuPG Maintainers <pkg-gnupg-ma...@lists.alioth.debian.org>
Changed-By: Andreas Metzler <ametz...@debian.org>
Closes: 1055238
Changes:
 pinentry (1.2.1-2) experimental; urgency=medium
 .
   * Team upload.
   * Add pkg.pinentry.onlytty Build-Profile to ease bootstrapping.
     Closes: #1055238
   * [lintian] Build-Depend on libncurses-dev instead of transition packages
     libncurses(w)5-dev.
Checksums-Sha1: 
 07313fbcc2f61c41ee9f64d152af9195dd2d9735 3170 pinentry_1.2.1-2.dsc
 863a0fe4ff033e5f56ed8134851da2e5392ac4a1 18828 pinentry_1.2.1-2.debian.tar.xz
Checksums-Sha256: 
 accec480f41e4015d6b0d1381c2bb5a86650a242ba3b4974730b727e986653a3 3170 
pinentry_1.2.1-2.dsc
 3251735a5758ced1a88f865222ed87dff23e5eb84dba4eb62cb28b608ef6c014 18828 
pinentry_1.2.1-2.debian.tar.xz
Files: 
 a6fdbe84c978b6abed040fa574a1a01a 3170 utils optional pinentry_1.2.1-2.dsc
 d8970f9ca0e4aff095d5b648ecdfa9ac 18828 utils optional 
pinentry_1.2.1-2.debian.tar.xz

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

iQIzBAEBCgAdFiEE0uCSA5741Jbt9PpepU8BhUOCFIQFAmVGfGEACgkQpU8BhUOC
FIRCeA//fgFRicNfIwrbEc3l3bWszEbi/zLOa1oLfBWkqEHZ5rYffijCi32zZQhE
ZyQU8jEY5B/01cEsyXCDV/DdRd83fio5ysVcc1J1d4iR2jZ5V5eS2NC+RHs6qy8N
zcz+rv2KXJFckGPsyPalfIDrzLfpuf4C7HHiPqrEn/wU1s7Fcj36ePT+FcUwWrKT
N0AdMLz0LXZOocURYWeKfnDmLagxCOQQYp3R7k0/s9d393bMQQe0voz5GB4LjnGd
j2/5xV772YKPRvwixEMwo3I+nvcwSt0m6JXxuDwnch934gqY7SpCvRKizZaDqVLx
HD/bVvQCql++cyhZ87AAJ4NlCGOOkHD76DYjC4nlDOLF6/RXA8cIXZ0nlJDbHj7I
do3ml9kPMgmhJrfVwQYp5E2yWXL8I4VK9mNxPbHWeoMTdendnoHTTu4sVs/zb0EK
VIGXNbtf2qU1LArDJR5ESaScJZ/MLHMLJtKYGV8Gs1cTtWjwvfw2jxzDYWzDWwxd
cQ8MLmtsVb/dLdE2zUtMkbyTKq8JI7RPVBJ9R32b79FH6rSKdcOGIcQmJhUW5x0l
/zixj1RQCbMhtyFFU03EiBncukqn4fxAGpRjtwLZQeEtnFmSpojcCsHcxUA4iD/F
Q76l2gTlH4VUMkj2gm0xrIzYiNz2r93xeZfn8uwodERtwmnhmK8=
=6A9X
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to