Opened 13 years ago

Closed 13 years ago

#32769 closed defect (fixed)

Groff won't install

Reported by: mlitteken@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.0.3
Keywords: Cc: ryandesign (Ryan Carsten Schmidt)
Port: groff

Description

On lion, when installing graphviz, port fails on installing groff. (MacPorts 2.0.3, GNU bash, version 3.2.48(1)-release (x86_64-apple-darwin11)). I've attached the main.log from the failure. This happens even when groff is cleaned immediately beforehand.

sudo port install groff
--->  Computing dependencies for groff
--->  Fetching archive for groff
--->  Attempting to fetch groff-1.21_1.darwin_11.x86_64.tbz2 from http://packages.macports.org/groff
--->  Fetching groff
--->  Verifying checksum(s) for groff
--->  Extracting groff
--->  Applying patches to groff
--->  Configuring groff
--->  Building groff
--->  Staging groff into destroot
Error: Target org.macports.destroot returned: shell command failed (see log for details)
Log for groff is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_groff/groff/main.log
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>

Attachments (1)

main.log (479.3 KB) - added by mlitteken@… 13 years ago.
groff main.log after error

Download all attachments as: .zip

Change History (5)

Changed 13 years ago by mlitteken@…

Attachment: main.log added

groff main.log after error

comment:1 Changed 13 years ago by mf2k (Frank Schima)

Keywords: groff removed

comment:2 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added

Comparing your output to mine, I see the last command was:

:info:destroot install-info --info-dir=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_groff/groff/work/destroot/opt/local/share/info \
:info:destroot 	  /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_groff/groff/work/destroot/opt/local/share/info/groff.info

On my system this produces no output, indicating success, but on yours we see:

:info:destroot install-info(/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_groff/groff/work/destroot/opt/local/share/info/groff.info): no backup file /var/backups/infodir.bak available.
:info:destroot install-info(/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_groff/groff/work/destroot/opt/local/share/info/groff.info): no default file /usr/share/base-files/info.dir available, giving up.
:info:destroot * Groff: (groff). The GNU troff document formatting system.
:info:destroot make[2]: *** [install_data] Error 1
:info:destroot make[2]: Target `do_install' not remade because of errors.
:info:destroot make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_groff/groff/work/groff-1.21/doc'
:info:destroot make[1]: *** [doc] Error 2

On my system I don't have any files /var/backups/infodir.bak or /usr/share/base-files/info.dir either, so that doesn't appear to be the problem.

The install-info program is part of the texinfo port, which I have installed, but which is not listed as a dependency of groff, so you might not have it, in which case on your system it would be using the install-info that's part of OS X. On my Snow Leopard system this still works, but maybe the version on Lion is different.

Try installing the texinfo port, cleaning groff and trying again. If that works we can add the texinfo dependency to the port.

comment:3 Changed 13 years ago by mlitteken@…

Yes, that resolved it. groff installed fine after texinfo was in place. Thanks so much!

comment:4 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.