GNU bug report logs - #62710
Man page of loginctl is invalid troff.

Previous Next

Package: guix;

Reported by: Martin Castillo <castilma <at> uni-bremen.de>

Date: Fri, 7 Apr 2023 12:08:02 UTC

Severity: normal

Done: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#62710: closed (Man page of loginctl is invalid troff.)
Date: Wed, 12 Apr 2023 02:00:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Tue, 11 Apr 2023 21:59:46 -0400
with message-id <87pm89kgh9.fsf <at> gmail.com>
and subject line Re: bug#62710: Man page of loginctl is invalid troff.
has caused the debbugs.gnu.org bug report #62710,
regarding Man page of loginctl is invalid troff.
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
62710: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=62710
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Martin Castillo <castilma <at> uni-bremen.de>
To: bug-guix <at> gnu.org
Subject: Man page of loginctl is invalid troff.
Date: Fri, 7 Apr 2023 14:08:34 +0200
Hi,

man loginctl prints stuff like

  .SH "NAME" loginctl - Control the elogind login manager

  .SH "SYNOPSIS"

    .HP 216u

      loginctl
       [OPTIONS...]
       {COMMAND}
       [NAME...]

    .PP /lib/elogind/system-shutdown

Indeed zcat /run/current-system/profile/share/man/man1/loginctl.1.gz
shows
[...]
  .SH "NAME"
loginctl \- Control the elogind login manager


  .SH "SYNOPSIS"

    .HP \w'\fBloginctl\fR\ 'u

      \fBloginctl\fR
       [OPTIONS...]
       {COMMAND}
       [NAME...]



    .PP
/lib/elogind/system\-shutdown

[...]

i.e. .SH etc. are not at line beginnings and are not recognized by man.

I'm using elogind-246.10:
/gnu/store/7sq4qp09fl1pn72jw828ndm13nbpknhv-elogind-246.10/share/man/man1/loginctl.1.gz

Martin


[Message part 3 (message/rfc822, inline)]
From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: Martin Castillo <castilma <at> uni-bremen.de>
Cc: 62710-done <at> debbugs.gnu.org
Subject: Re: bug#62710: Man page of loginctl is invalid troff.
Date: Tue, 11 Apr 2023 21:59:46 -0400
Hi,

Martin Castillo <castilma <at> uni-bremen.de> writes:

> Hi,
>
> man loginctl prints stuff like
>
>   .SH "NAME" loginctl - Control the elogind login manager
>
>   .SH "SYNOPSIS"
>
>     .HP 216u
>
>       loginctl
>        [OPTIONS...]
>        {COMMAND}
>        [NAME...]
>
>     .PP /lib/elogind/system-shutdown
>
> Indeed zcat /run/current-system/profile/share/man/man1/loginctl.1.gz
> shows
> [...]
>   .SH "NAME"
> loginctl \- Control the elogind login manager
>
>
>   .SH "SYNOPSIS"
>
>     .HP \w'\fBloginctl\fR\ 'u
>
>       \fBloginctl\fR
>        [OPTIONS...]
>        {COMMAND}
>        [NAME...]
>
>
>
>     .PP
> /lib/elogind/system\-shutdown
>
> [...]
>
> i.e. .SH etc. are not at line beginnings and are not recognized by man.
>
> I'm using elogind-246.10:
> /gnu/store/7sq4qp09fl1pn72jw828ndm13nbpknhv-elogind-246.10/share/man/man1/loginctl.1.gz

That's due to a bug in the last release of docbook-xsl
(https://github.com/docbook/xslt10-stylesheets/issues/109).  It's fixed
on the core-updates branch by using an unreleased snapshot.  Since
elogind has 2953 dependents, we'll have to wait until this branch is
merged, which should be soon!

Closing.

-- 
Thanks,
Maxim


This bug report was last modified 2 years and 102 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.