Your message dated Sun, 31 Mar 2024 15:49:34 +0000
with message-id <e1rqxr8-0068rz...@fasolo.debian.org>
and subject line Bug#1068102: fixed in debputy 0.1.24
has caused the Debian Bug report #1068102,
regarding FileNotFoundError in process_manpages()
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.)


-- 
1068102: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1068102
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: dh-debputy
Version: 0.1.23
Severity: normal

I've tried to convert the cpuid package to dh-sequence-zz-debputy, when
building it I got:

   dh_debputy
debputy: info: Loaded plugin debputy
debputy: info: The following directories are considered search dirs (in order):
debputy: info:  * debian/tmp  (skipped; absent)
debputy: info:  * .
debputy: info: The following directories are considered for "not-installed"
paths;
debputy: info:  * debian/tmp (skipped; absent)
debputy: info: Looking up build-ids via: file -00 -N
/<<PKGBUILDDIR>>/debian/.debhelper/_debputy/scratch-dir/_pb-615671/generated-
fs-content/no-package/tmpqr8svzjr__cpuid
debputy: info: Removing unnecessary ELF debug info via: strip --remove-
section=.comment --remove-section=.note
/<<PKGBUILDDIR>>/debian/.debhelper/_debputy/scratch-dir/_pb-615671/generated-
fs-content/no-package/tmpqr8svzjr__cpuid
debputy: info: Ensuring manpages have utf-8 encoding via: man-recode --to-code
UTF-8 --suffix .encoded /<<PKGBUILDDIR>>/debian/.debhelper/_debputy/scratch-
dir/_pb-615671/generated-fs-content/no-package/tmp7zgxlblf__cpuid.1.gz
/<<PKGBUILDDIR>>/debian/.debhelper/_debputy/scratch-dir/_pb-615671/generated-
fs-content/no-package/tmp8zbqi23u__cpuinfo2cpuid.1.gz
debputy: warning: Unhandled exception (Re-run with --debug to see the raw stack
trace)
debputy: warning:   ----- 8< ---- BEGIN STACK TRACE ---- 8< -----
Traceback (most recent call last):
  File "/usr/share/dh-debputy/debputy/commands/debputy_cmd/__main__.py", line
1459, in main
    ROOT_COMMAND(cmd_arg)
  File "/usr/share/dh-debputy/debputy/commands/debputy_cmd/context.py", line
609, in __call__
    self._aliases[v](command_arg)
  File "/usr/share/dh-debputy/debputy/commands/debputy_cmd/context.py", line
609, in __call__
    self._aliases[v](command_arg)
  File "/usr/share/dh-debputy/debputy/commands/debputy_cmd/context.py", line
442, in __call__
    return self._handler(context)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/share/dh-debputy/debputy/commands/debputy_cmd/__main__.py", line
749, in _dh_integration_generate_debs
    run_package_processors(manifest, package_metadata_context, fs_root)
  File "/usr/share/dh-debputy/debputy/deb_packaging_support.py", line 826, in
run_package_processors
    pppp.run_package_processor(fs_root, None, package_metadata_context)
  File "/usr/share/dh-debputy/debputy/plugin/api/impl_types.py", line 788, in
run_package_processor
    self.package_processor(fs_root, unused, context)
  File "/usr/share/dh-debputy/debputy/plugin/debputy/package_processors.py",
line 120, in process_manpages
    os.rename(f"{manpage}.encoded", manpage)
FileNotFoundError: [Errno 2] No such file or directory:
'/<<PKGBUILDDIR>>/debian/.debhelper/_debputy/scratch-dir/_pb-615671/generated-
fs-content/no-package/tmp7zgxlblf__cpuid.1.gz.encoded' ->
'/<<PKGBUILDDIR>>/debian/.debhelper/_debputy/scratch-dir/_pb-615671/generated-
fs-content/no-package/tmp7zgxlblf__cpuid.1.gz'


Note that cpuid.1 is not mentioned in the packaging. It's installed to
debian/cpuid/usr/share/man/man1/cpuid.1.gz at the moment of the error.

All changes:

diff --git a/debian/control b/debian/control
index bc4f9ac..83f15f5 100644
--- a/debian/control
+++ b/debian/control
@@ -2,7 +2,7 @@ Source: cpuid
 Section: admin
 Priority: optional
 Maintainer: Andrey Rahmatullin <w...@debian.org>
-Build-Depends: debhelper-compat (= 13)
+Build-Depends: debhelper-compat (= 13), dh-sequence-zz-debputy
 Standards-Version: 4.6.1
 Vcs-Git: https://salsa.debian.org/debian/cpuid.git
 Vcs-Browser: https://salsa.debian.org/debian/cpuid
@@ -11,7 +11,6 @@ Rules-Requires-Root: no

 Package: cpuid
 Architecture: any-i386 any-amd64
-Depends: ${shlibs:Depends}, ${perl:Depends}, ${misc:Depends}
 Description: tool to dump x86 CPUID information about the CPU(s)
  cpuid dumps detailed information about the CPU(s) gathered from the
  CPUID instruction, and also determines the exact model of CPU(s). It
diff --git a/debian/debputy.manifest b/debian/debputy.manifest
new file mode 100644
index 0000000..669437f
--- /dev/null
+++ b/debian/debputy.manifest
@@ -0,0 +1,4 @@
+manifest-version: '0.1'
+installations:
+- install-docs:
+    source: FUTURE
diff --git a/debian/docs b/debian/docs
deleted file mode 100644
index 3cb5077..0000000
--- a/debian/docs
+++ /dev/null
@@ -1 +0,0 @@
-FUTURE


-- System Information:
Debian Release: trixie/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'testing-debug'), (500, 
'unstable'), (500, 'testing'), (101, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.7.9-amd64 (SMP w/4 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.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

Versions of packages dh-debputy depends on:
ii  debhelper             13.15.3
ii  man-db                2.12.0-3+b1
ii  perl                  5.38.2-3.2
ii  python3               3.11.8-1
ii  python3-colored       2.2.3-1
ii  python3-colorlog      6.8.2-1
ii  python3-debian        0.1.49
ii  python3-ruamel.yaml   0.17.21-1
ii  strip-nondeterminism  1.13.1-1

Versions of packages dh-debputy recommends:
ii  python3-argcomplete  3.1.4-1

Versions of packages dh-debputy suggests:
pn  hunspell-en-us      <none>
pn  python3-hunspell    <none>
pn  python3-lsprotocol  <none>
pn  python3-pygls       <none>

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: debputy
Source-Version: 0.1.24
Done: Niels Thykier <ni...@thykier.net>

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

Debian distribution maintenance software
pp.
Niels Thykier <ni...@thykier.net> (supplier of updated debputy 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, 31 Mar 2024 17:31:02 +0200
Source: debputy
Architecture: source
Version: 0.1.24
Distribution: unstable
Urgency: medium
Maintainer: Debputy Maintainers <debp...@packages.debian.org>
Changed-By: Niels Thykier <ni...@thykier.net>
Closes: 1068102
Changes:
 debputy (0.1.24) unstable; urgency=medium
 .
   * Manifest:
     - Add new keyword `services` under `packages.foo`, where the
       packager can specify whether a given service or (systemd) unit
       should be enabled/started on installation and how upgrades
       should be managed. With this, more packages using
       `dh_installsystemd` and `dh_installinit` can hopefully now use
       `debputy`. Note user services is mentioned in the manifest
       feature, but `debputy` does not actually detect any user
       services.
 .
   * Plugin API:
     - Detect duplicate service registrations and error out when
       detected. The API is private, so it will not affect any
       plugins outside `debputy`.
 .
   * debputy: Service maintscript snippets are now run in "service" order
   * autopkgtests: Run `debputy lint` with the linter exit code
   * debputy: Fix crash on re-encoding compressed manpages.
     Thanks to Andrey Rakhmatullin <w...@debian.org> (Closes: #1068102)
   * debputy: Fix bug in -dbgsym generation that triggered lintian warnings.
     Thanks to Chris Hofstaedtler <z...@debian.org> (Closes: debputy#80)
   * debputy: Fix crash bug on showing a pluggable-manifest-rule with
     certain mutual exclusive attributes
   * debputy: Fix `plugin show p-m-r` to show mutual exclusive optional 
attributes
   * debputy: Avoid using `try-restart` as `deb-systemd-invoke` does not
     support it. Replace it with regular `restart`.
   * The getting started guide now features a section on migrating
     `dh_installsystemd` and `dh_installinit` overrides.
Checksums-Sha1:
 44dbaa5442475643db776889c33376afbd4f732a 1696 debputy_0.1.24.dsc
 5b78c58d2c2a75a7a5c62ef3490e88be0e2cac78 377236 debputy_0.1.24.tar.xz
 2f844ae1620a60c45e17e629f40f94a49445c2bc 6839 debputy_0.1.24_source.buildinfo
Checksums-Sha256:
 0c84ac3b14ab20accb3a4ef9120e3558979daedbc7de9ad7b05feacdb79f2b4a 1696 
debputy_0.1.24.dsc
 9f946c678a4be939c3355cafb4e660d98b93c322da624a617bb495ab9503f2f1 377236 
debputy_0.1.24.tar.xz
 d692f521c336cf36384a7db680c75ea76a79f631304b8b63971bfba1de3d9fb8 6839 
debputy_0.1.24_source.buildinfo
Files:
 b76eadfd5d6143958e9cf1a3eae8bc11 1696 devel optional debputy_0.1.24.dsc
 88c2201af19f454287ee670caebb4ede 377236 devel optional debputy_0.1.24.tar.xz
 822a084e304802bda3691ef6af09ac62 6839 devel optional 
debputy_0.1.24_source.buildinfo

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

iQEzBAEBCgAdFiEE9ecZmu9eXGflVYc/dA1oiINl0okFAmYJhIQACgkQdA1oiINl
0onMGwgAgrOamZCMohiqXUqHKei0qAqkUKp6ITf+rZ0lIVoV27EhD7vuZS6sWvJq
k1YtzBM/l7jMH8BZIHJWpr10QNaH1W9HyaGwg/QpFbSy3n3pVSh5eX7NZQGlrzkJ
tHGuGktqt0LwLNAXNiarZAp0Lyypj3JIg2Dz4KMvzRpjBANUAQb2pHDJyF7fuzps
/PiH3KK2C4MkHHnwKLDWR4999boMveTBr2PgR7XOUSMLGqV3jfNxqTHvD313zA+Q
4rqFrTuJSHVptgByC6I9lGM6D178QFKcfqiq/GXsOzswb1GqmZdQ5cWOmN5qmWIZ
GWVBY15V8swhJG0Ew+5Bc1a4/2zdNw==
=kESi
-----END PGP SIGNATURE-----

Attachment: pgpBnU9Et5lGn.pgp
Description: PGP signature


--- End Message ---

Reply via email to