Opened 15 years ago

Last modified 14 years ago

#22566 closed defect

Can't install groff 1.20.1 on Snow Leopard 10.6.2 — at Version 2

Reported by: dreamcat4@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: groff

Description (last modified by nerdling (Jeremy Lavergne))

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 (2)

comment:1 Changed 15 years ago by dreamcat4@…

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:

sudo port install -d groff
sudo mkdir -p /opt/local/var/macports/software/groff/1.20.1_1

That's a terrible hack.

comment:2 Changed 15 years ago by nerdling (Jeremy Lavergne)

Description: modified (diff)
Port: groff added
Version: 1.8.1
Note: See TracTickets for help on using tickets.