[MacPorts] #56354: docbook-xsl @1.79.2: broken man page output

MacPorts noreply at macports.org
Wed Apr 25 21:15:36 UTC 2018


#56354: docbook-xsl @1.79.2: broken man page output
--------------------------+------------------------
  Reporter:  mouse07410   |      Owner:  ryandesign
      Type:  defect       |     Status:  closed
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:
Resolution:  fixed        |   Keywords:
      Port:  docbook-xsl  |
--------------------------+------------------------

Comment (by raimue):

 1. Get all ports updated between the two commits:
 {{{
 git diff --name-only 04e6959f23bb6b1bd40f40f4d1a3ee2fb43e0714
 9230324e4b2d6596870129656c34dc4764ef3e3e | grep 'Portfile$' | awk -F/
 '{print $2}' | tee ports.txt
 }}}

 2. Only keep ports with a dependency on docbook-xsl somewhere:
 {{{
 while read port; do port -q rdeps $port | grep -q docbook-xsl && echo
 $port; done < ports.txt | tee ports-dep-dbxsl.txt
 }}}

 3. Get the archive for each of these ports and check whether it contains
 at least one page:
 {{{
 while read port; do sudo port archivefetch $port >/dev/null;
 a=/opt/local/var/macports/incoming/verified/$port*; tar -q -tf $a
 opt/local/share/man/ >/dev/null 2>&1 && echo $port; done < ports-dep-
 dbxsl.txt | tee ports-manpages.txt
 }}}

 I did not run these commands to completion as they take time and
 resources. Maybe it would even be faster to swap steps 2. and 3., as
 getting all dependencies is so slow compared to just checking a archive
 for a man page.

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


More information about the macports-tickets mailing list