Opened 14 years ago

Closed 13 years ago

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

comment:1 Changed 14 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 14 years ago by nerdling (Jeremy Lavergne)

Description: modified (diff)
Port: groff added
Version: 1.8.1

comment:3 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

groff installs fine for me on Leopard and Snow Leopard. Don't understand why it doesn't work for you.

comment:4 Changed 14 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.

comment:5 Changed 14 years ago by steve@…

Gah. I meant ports, not gems.

comment:6 Changed 14 years ago by lord@…

I also had this problem. I did not have 'texinfo' installed, but installing it solved the problem. Thanks!

comment:7 Changed 13 years ago by jmroot (Joshua Root)

Resolution: worksforme
Status: newclosed

Closing as this appears to be a Migration issue.

Note: See TracTickets for help on using tickets.