[MacPorts] #72433: libbind 6.0: missing dependency on groff
MacPorts
noreply at macports.org
Fri May 2 14:50:02 UTC 2025
#72433: libbind 6.0: missing dependency on groff
---------------------+---------------------
Reporter: bictorv | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.10.6
Keywords: | Port: libbind
---------------------+---------------------
In macOS 15.4.1, the installation of libbind fails when generating the
documentation, at the stage "Staging libbind into destroot". with the
message {{{Error: Failed to destroot libbind: command execution failed}}}.
Checking the log file, I find
{{{
:info:destroot gethostbyname.man3 -> gethostbyname.cat3
:info:destroot /bin/sh: -c: line 0: syntax error near unexpected token `|'
:info:destroot /bin/sh: -c: line 0: `( | -mandoc ) <gethostbyname.man3
>gethostbyname.cat3'
:info:destroot make[1]: *** [gethostbyname.cat3] Error 2
}}}
and checking the libbind/work/libbind-6.0/doc/Makefile, the value of TBL
is empty.
**Diagnosis**:
There is no `tbl` in $PATH, so the configuration phase (for libbind)
doesn't find it and leaves it blank.
**Fix**:
`port install groff` (since groff contains `tbl`) followed by `port clean
libbind` and `port install libbind`.
**Proper fix**:
make `groff` a dependency of `libbind` so it's automatically installed.
--
Ticket URL: <https://trac.macports.org/ticket/72433>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list