Community Packages

Please read this before reporting a bug:

Do NOT report bugs when a package is just outdated, or it is in Unsupported. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!

FS#68068 - [grml-zsh-config] [txt2tags] Blank manual pages

Attached to Project: Community Packages
Opened by Zhao4 She4 (zhs) - Thursday, 01 October 2020, 15:26 GMT
Last edited by Doug Newgard (Scimmia) - Friday, 02 October 2020, 04:51 GMT
Task Type Bug Report
Category Packages
Status Assigned
Assigned To Pierre Schmitz (Pierre)
Connor Behan (connorbehan)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 1
Private No



Current package as shipped by Arch Extra is missing the manual pages supposed to be generated in build() function. The file is there but it is empty. This is likely due to missing txt2tags in the build environment, even if the PKGBUILD correctly requires it in makedepends. Invoking 'make' in the 'doc' directory with missing txt2tags generates nominal .html and .5 files but both are empty.

A rebuild in the correct environment should fix this.

Additional info:
* 0.17.4

Steps to reproduce:

Install grml-zsh-config using pacman. Run 'man grmlzshrc.' A blank page is displayed.
This task depends upon

Comment by loqs (loqs) - Thursday, 01 October 2020, 16:54 GMT
TXT2TAGS grmlzshrc.t2t > grmlzshrc.5
TXT2TAGS grmlzshrc.t2t > grmlzshrc.html
Traceback (most recent call last):
File "/usr/bin/txt2tags", line 6, in <module>
from pkg_resources import load_entry_point
ModuleNotFoundError: No module named 'pkg_resources'

txt2tags lists python-setuptools in makedepends instead of depends.
qgis is not affected as it has python-setuptools in its makedepends.
Comment by Connor Behan (connorbehan) - Wednesday, 14 October 2020, 20:38 GMT
Thanks for diagnosing the problem. I uploaded a version bump of txt2tags which includes python-setuptools as a dependency this time. It indeed results in a proper man page when grml-zsh-config is rebuilt. That will have to be done by someone with access to [extra].