Your message dated Sun, 31 Oct 2021 13:03:23 +0000
with message-id <e1mhaud-000cqp...@fasolo.debian.org>
and subject line Bug#998114: fixed in asciidoc 10.0.1-3
has caused the Debian Bug report #998114,
regarding Missing egg info directory prevents asciidoc cli tools from running
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.)


-- 
998114: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=998114
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: asciidoc
Version: 10.0.1-1
Severity: grave
Justification: Causes builds of packages using asciidoc to build documentation 
to fail
Tags: patch
X-Debbugs-Cc: su...@debian.org

/usr/bin/asciidoc and /usr/bin/a2x rely on python distribution info to
locate the entry point. These files are deleted by d/rules, however, so
the CLI tools are unable to run:

$ asciidoc
Traceback (most recent call last):
  File "/usr/bin/asciidoc", line 33, in <module>
    sys.exit(load_entry_point('asciidoc==10.0.1', 'console_scripts', 
'asciidoc')())
  File "/usr/bin/asciidoc", line 22, in importlib_load_entry_point
    for entry_point in distribution(dist_name).entry_points
  File "/usr/lib/python3.9/importlib/metadata.py", line 524, in distribution
    return Distribution.from_name(distribution_name)
  File "/usr/lib/python3.9/importlib/metadata.py", line 187, in from_name
    raise PackageNotFoundError(name)
importlib.metadata.PackageNotFoundError: asciidoc

I did a local rebuild with the attached patch applied which resulted in
a working asciidoc CLI tool.

Given the package-contains-python-dot-directory lintian tag it results
in, I am unsure if that's the correct fix as I'm no python expert.

-- 
ceterum censeo microsoftem esse delendam.
diff -Nru asciidoc-10.0.1/debian/rules asciidoc-10.0.1/debian/rules
--- asciidoc-10.0.1/debian/rules	2021-10-29 16:29:00.000000000 +0000
+++ asciidoc-10.0.1/debian/rules	2021-10-30 13:00:52.000000000 +0000
@@ -11,7 +11,6 @@
 	mv debian/asciidoc-tests/usr/bin/testasciidoc.py debian/asciidoc-tests/usr/bin/testasciidoc
 	find debian -type d -name __pycache__ -prune -exec rm -rf {} \;
 	rm -rf debian/asciidoc-base/usr/lib/python*/dist-packages/asciidoc/resources
-	rm -rf debian/asciidoc-base/usr/lib/python*/dist-packages/asciidoc-*.egg-info
 	rm -rf debian/asciidoc-common/etc/asciidoc/dblatex
 	rm -rf debian/asciidoc-common/etc/asciidoc/icons
 	rm -rf debian/asciidoc-common/etc/asciidoc/javascripts

Attachment: pgpsNdfvIsiWo.pgp
Description: OpenPGP digital signature


--- End Message ---
--- Begin Message ---
Source: asciidoc
Source-Version: 10.0.1-3
Done: Leon Marz <m...@lmarz.org>

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

Debian distribution maintenance software
pp.
Leon Marz <m...@lmarz.org> (supplier of updated asciidoc 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, 30 Oct 2021 17:56:56 +0200
Source: asciidoc
Architecture: source
Version: 10.0.1-3
Distribution: unstable
Urgency: medium
Maintainer: Leon Marz <m...@lmarz.org>
Changed-By: Leon Marz <m...@lmarz.org>
Closes: 998114
Changes:
 asciidoc (10.0.1-3) unstable; urgency=medium
 .
   [ Bastian Germann ]
   * Use pristine-tar (branch existing)
 .
   [ Leon Marz ]
   * Use custom scripts for usr/bin (Closes: #998114)
Checksums-Sha1:
 4a2c90ef1bc13b1d1c3b4b62a0f395436062ee59 2198 asciidoc_10.0.1-3.dsc
 5f9c69e8d66a836fb21b91ea0c7bd44d38c451ca 13252 asciidoc_10.0.1-3.debian.tar.xz
 5ca615dd4a7bf0799eb64ec6e19cf7b850466285 6068 
asciidoc_10.0.1-3_source.buildinfo
Checksums-Sha256:
 f926a8887569cac5ed2863dcb0a2a86550879515c57b689589369fe66d65b22a 2198 
asciidoc_10.0.1-3.dsc
 77236531845b53bad267de36fa346031a1336707a02c9980fdede3f2c479c512 13252 
asciidoc_10.0.1-3.debian.tar.xz
 a03674667997f61d12367b084d508ef350f5b4b434ea821e87ff58b2d7d73179 6068 
asciidoc_10.0.1-3_source.buildinfo
Files:
 9f72fbd3b665f7f18fd769f7562cdc51 2198 text optional asciidoc_10.0.1-3.dsc
 8b1ccf105e2702b504a7f986116a2f84 13252 text optional 
asciidoc_10.0.1-3.debian.tar.xz
 70babed861be1acca6e9db8e64a16fc1 6068 text optional 
asciidoc_10.0.1-3_source.buildinfo

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

iQIzBAEBCgAdFiEEkjZVexcMh/iCHArDweDZLphvfH4FAmF+jtoACgkQweDZLphv
fH5AjRAA4AkB3AeEGot8LNzI5AGReuDkWqvGKt6vtpPMqRCFhLWx1dtW3s2QaT0n
XSpDFINNUBeXlqMRAZivxFLX/QoLQ9QXTKM+as+1EsP6gAlnAvHIKGGcVYEg3r2f
28o33Ln5Ph5w3lThzcyK4nhGVlkgRaYpSiGGL449EQ+dnkJpfxD1vWVZIpTKEC9A
Knxn9eLlyUUorOMzIBdxF8tR+Oka/9wy62ScyHB/hbrjuYZByk3B82F8aHc1pr4v
iHA2gTiB4q5qoiMfC0l/LaLKmsCrrQKYDJBuvlVNTvp7rVjU0KLozh8bXxBVFCgF
iLDSAPOyl7+KnnqePbVmaLYyxs+LihqqeHblQqv7U0EjSk3pR6En3V4ekl/suBFV
uLuIhQX3n8iUAPQM3p871ZQnUwb/dEv9oYUQOC7DtHIxjXSYEbdzBm0zMvVwe9h2
ZcmaOyOftF07rbDgmoQt5EcfCe0pXAteggJPmLwZ21qb3+JIY/OKlrsVANyABq55
RBz7pXfX44VdZwMI44LuXK/s2DbY8X7s0Z7qYTJlD0nCl0ZyfumMKm1dGJDwmI6N
PgDlHQT5bpL7lffuwZqPWmcZnLv45IrJOkVtgkrCT3alnChxRgmojcDqDeneVIM5
8ozs/tPe0U2qIF8ADZuybpFLKfFOnbrAXsftELLOC+/F6wGRM4k=
=uyHZ
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to