Ticket #22566 (closed defect: worksforme)
Can't install groff 1.20.1 on Snow Leopard 10.6.2
| Reported by: | dreamcat4@… | Owned by: | macports-tickets@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | |
| Keywords: | Cc: | ||
| Port: | groff |
Description (last modified by snc@…) (diff)
Hi, For my system, there is missing install-info files:
Error:
install-info --info-dir=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_groff/work/destroot/opt/local/share/info \ /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_groff/work/destroot/opt/local/share/info/groff.info * Groff: (groff). The GNU troff document formatting system. install-info(/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_groff/work/destroot/opt/local/share/info/groff.info): no backup file /var/backups/infodir.bak available. install-info(/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_groff/work/destroot/opt/local/share/info/groff.info): no default file /usr/share/base-files/info.dir available, giving up. make[2]: *** [install_data] Error 1 make[2]: Target `do_install' not remade because of errors. make[1]: *** [doc] Error 2
I suspect its do do with snow leopard because the last time we saw the issue was back on macs with older Power PC architectures (also not having this directory).
The error is not specific to groff and it can break any ports which use the install-info make variable. For example readline might break also.
Possible solutions are discussed here:
http://dev.openbossa.org/trac/mamona/ticket/139
http://www.mail-archive.com/fink-users@lists.sourceforge.net/msg26496.html
Change History
comment:2 Changed 4 years ago by snc@…
- Version 1.8.1 deleted
- Description modified (diff)
- Port set to groff
comment:3 Changed 3 years ago by ryandesign@…
groff installs fine for me on Leopard and Snow Leopard. Don't understand why it doesn't work for you.
comment:4 Changed 3 years ago by steve@…
I was doing a "sudo port upgrade --force installed" following a Snow Leopard upgrade, and ran into the same groff issue. Reinstalling Texinfo solved it for me:
sudo port upgrade --force texinfo
I was then able to successfully upgrade my installed gems.


Here is a quick fix, although it doesn't solve the wider problem
edit the file:
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_groff/work/groff-1.20.1/Makefile
And delete all those lines which reference 'info' in some way.
Then:
That's a terrible hack.