[MacPorts] #61288: Manpage symlink to symlink doesn't get recreated to compressed version (was: graphviz-devel has faulty man entry)

MacPorts noreply at macports.org
Thu Oct 8 05:31:28 UTC 2020


#61288: Manpage symlink to symlink doesn't get recreated to compressed version
-----------------------------+------------------------
  Reporter:  ballapete       |      Owner:  ryandesign
      Type:  defect          |     Status:  assigned
  Priority:  Normal          |  Milestone:
 Component:  base            |    Version:  2.6.3
Resolution:                  |   Keywords:
      Port:  graphviz-devel  |
-----------------------------+------------------------
Changes (by ryandesign):

 * component:  ports => base


Old description:

> {{{
> pete 311 /\ apropos something
> makewhatis: /opt/local/share/man/man1/dot2gxl.1: No such file or
> directory
> something: nothing appropriate
> }}}
>
> {{{
> pete 314 /\ l /opt/local/share/man/man1/{dot,gv}*
> -r--r--r--  1 root  wheel   9794  6 Sep 11:59
> /opt/local/share/man/man1/dot.1.gz
> lrwxr-xr-x  1 root  wheel      8  6 Sep 11:59
> /opt/local/share/man/man1/dot2gxl.1 -> gv2gxl.1        <====
> lrwxr-xr-x  1 root  wheel     11 10 Jul 22:04
> /opt/local/share/man/man1/dot2gxl.1.gz -> gv2gxl.1.gz  <====
> -r--r--r--  1 root  wheel    772  6 Sep 11:59
> /opt/local/share/man/man1/dotty.1.gz
> lrwxr-xr-x  1 root  wheel     11  6 Sep 12:00
> /opt/local/share/man/man1/gv2gml.1.gz -> gml2gv.1.gz
> lrwxr-xr-x  1 root  wheel     11  6 Sep 12:00
> /opt/local/share/man/man1/gv2gxl.1.gz -> gxl2gv.1.gz
> -r--r--r--  1 root  wheel   1113  6 Sep 11:59
> /opt/local/share/man/man1/gvcolor.1.gz
> -r--r--r--  1 root  admin   3252  6 Mär  2020
> /opt/local/share/man/man1/gvdir.1.gz
> -r--r--r--  1 root  wheel   1528  6 Sep 11:59
> /opt/local/share/man/man1/gvgen.1.gz
> -r--r--r--  1 root  wheel   2376  6 Sep 11:59
> /opt/local/share/man/man1/gvmap.1.gz
> -r--r--r--  1 root  wheel   1209  6 Sep 11:59
> /opt/local/share/man/man1/gvmap.sh.1.gz
> -r--r--r--  1 root  wheel   1795  6 Sep 11:59
> /opt/local/share/man/man1/gvpack.1.gz
> -r--r--r--  1 root  wheel  12664  6 Sep 11:59
> /opt/local/share/man/man1/gvpr.1.gz
> }}
>
> The manual entry obviously has become a compressed file now. Seems to be
> a mistake in the package itself and not in `Portfile`.

New description:

 {{{
 pete 311 /\ apropos something
 makewhatis: /opt/local/share/man/man1/dot2gxl.1: No such file or directory
 something: nothing appropriate
 }}}

 {{{
 pete 314 /\ l /opt/local/share/man/man1/{dot,gv}*
 -r--r--r--  1 root  wheel   9794  6 Sep 11:59
 /opt/local/share/man/man1/dot.1.gz
 lrwxr-xr-x  1 root  wheel      8  6 Sep 11:59
 /opt/local/share/man/man1/dot2gxl.1 -> gv2gxl.1        <====
 lrwxr-xr-x  1 root  wheel     11 10 Jul 22:04
 /opt/local/share/man/man1/dot2gxl.1.gz -> gv2gxl.1.gz  <====
 -r--r--r--  1 root  wheel    772  6 Sep 11:59
 /opt/local/share/man/man1/dotty.1.gz
 lrwxr-xr-x  1 root  wheel     11  6 Sep 12:00
 /opt/local/share/man/man1/gv2gml.1.gz -> gml2gv.1.gz
 lrwxr-xr-x  1 root  wheel     11  6 Sep 12:00
 /opt/local/share/man/man1/gv2gxl.1.gz -> gxl2gv.1.gz
 -r--r--r--  1 root  wheel   1113  6 Sep 11:59
 /opt/local/share/man/man1/gvcolor.1.gz
 -r--r--r--  1 root  admin   3252  6 Mär  2020
 /opt/local/share/man/man1/gvdir.1.gz
 -r--r--r--  1 root  wheel   1528  6 Sep 11:59
 /opt/local/share/man/man1/gvgen.1.gz
 -r--r--r--  1 root  wheel   2376  6 Sep 11:59
 /opt/local/share/man/man1/gvmap.1.gz
 -r--r--r--  1 root  wheel   1209  6 Sep 11:59
 /opt/local/share/man/man1/gvmap.sh.1.gz
 -r--r--r--  1 root  wheel   1795  6 Sep 11:59
 /opt/local/share/man/man1/gvpack.1.gz
 -r--r--r--  1 root  wheel  12664  6 Sep 11:59
 /opt/local/share/man/man1/gvpr.1.gz
 }}}

 The manual entry obviously has become a compressed file now. Seems to be a
 mistake in the package itself and not in `Portfile`.

--

Comment:

 MacPorts base automatically compresses all ports' manpages after the
 destroot phase. It is also supposed to handle repointing symlinks to the
 compressed version as needed. In this specific case, that seems not to
 have happened, possibly because the symlink in question points to another
 symlink.

 Replying to [ticket:61288 ballapete]:
 > {{{
 > lrwxr-xr-x  1 root  wheel      8  6 Sep 11:59
 /opt/local/share/man/man1/dot2gxl.1 -> gv2gxl.1        <====
 > }}}

 This symlink was created by the port and now points nowhere because
 MacPorts base changed gv2gxl.1 to gv2gxl.1.gz.

 > {{{
 > lrwxr-xr-x  1 root  wheel     11 10 Jul 22:04
 /opt/local/share/man/man1/dot2gxl.1.gz -> gv2gxl.1.gz  <====
 > }}}

 Based on the different timestamp and the fact that I don't see this in the
 package, I assume you created this symlink. This is the symlink MacPorts
 base should have created.

-- 
Ticket URL: <https://trac.macports.org/ticket/61288#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list