[MacPorts] #66846: gawk @5.2.1_2 does not install (register) all its texinfo file in dir file

MacPorts noreply at macports.org
Mon Feb 6 15:07:56 UTC 2023


#66846: gawk @5.2.1_2 does not install (register) all its texinfo file in dir file
------------------------+-------------------------------------------------
  Reporter:  ballapete  |      Owner:  Marius Schamschula <mschamschula@…>
      Type:  defect     |     Status:  closed
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.8.1
Resolution:  fixed      |   Keywords:
      Port:  gawk       |
------------------------+-------------------------------------------------

Comment (by ballapete):

 Right now I have on macOS Monterey, Version 12.6.3:

 {{{
 root 354 /\  port provides /opt/local/share/info/*gawk*info
 /opt/local/share/info/gawk.info is provided by: gawk
 /opt/local/share/info/gawkinet.info is provided by: gawk
 /opt/local/share/info/gawkworkflow.info is provided by: gawk
 /opt/local/share/info/pm-gawk.info is provided by: gawk
 }}}

 {{{
 The following ports are currently installed:
   gawk @5.2.1_3+mpfr (active)
 }}}

 From the last two days I have:

 {{{
 root 359 /\  grep -n gawk /opt/local/share/info/dir
 140:* awk: (gawk)Invoking Gawk.                     Text scanning and
 processing.
 397:* Gawk: (gawk).                 A text scanning and processing
 language.
 400:* pm-gawk: (pm-gawk).           Persistent memory version of gawk.
 }}}

 I performed a minute ago:

 {{{
 root 360 /\  port uninstall gawk
 Note: It is not recommended to uninstall/deactivate a port that has
 dependents as it breaks the dependents.
 The following ports will break: p5.34-config-autoconf @0.320.0_0
 Continue? [y/N]: y
 Warning: Uninstall forced.  Proceeding despite dependencies.
 --->  Deactivating gawk @5.2.1_3+mpfr
 --->  Cleaning gawk
 --->  Uninstalling gawk @5.2.1_3+mpfr
 --->  Cleaning gawk
 root 361 /\  grep -n gawk /opt/local/share/info/dir
 398:* pm-gawk: (pm-gawk).           Persistent memory version of gawk.
 }}}

 and then I used to tidy up the dir file and removed the entry for pm-
 gawk.info:

 {{{
 root 362 /\  vi dir
 root 363 /\  grep -n gawk /opt/local/share/info/dir
 }}}

 I launched GNU Emacs (GNU Emacs 28.2 (build 2, x86_64-apple-darwin21.6.0,
 X toolkit, cairo version 1.17.4, Xaw3d scroll bars) of 2023-02-06) in
 Terminal to perform `port -vd install gawk +mpfr`. It succeeded. On the
 *compile* buffer I could apply the shell command "grep /dir". Its output
 is:

 {{{
 DEBUG: Deleting stray share/info/dir file.
 DEBUG: Registering GNU info file /opt/local/share/info/gawk.info in
 /opt/local/share/info/dir using /opt/local/bin/install-info
 DEBUG: system: /opt/local/bin/install-info /opt/local/share/info/gawk.info
 /opt/local/share/info/dir
 }}}

 GNU Emacs is parked in the background and I have:

 {{{
 root 365 /\  emacs -nw

 [1]  + 68701 Suspended                     emacs -nw
 root 366 /\  grep -n gawk /opt/local/share/info/dir
 140:* awk: (gawk)Invoking Gawk.                     Text scanning and
 processing.
 397:* Gawk: (gawk).                 A text scanning and processing
 language.
 }}}

 Three of four INFO files

 {{{
 root 367 /\  port contents gawk | grep info/
   /opt/local/share/info/gawk.info
   /opt/local/share/info/gawkinet.info
   /opt/local/share/info/gawkworkflow.info
   /opt/local/share/info/pm-gawk.info
 }}}

 are not installed/registered.

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


More information about the macports-tickets mailing list