Opened 14 years ago

Closed 13 years ago

Last modified 13 years ago

#24922 closed defect (fixed)

groff missing dependencies

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

Description

groff@1.20.1 is giving build errors on 10.6.3, i figured it out though, thought I would report it.

The command was

sudo port install groff

SOLUTION: As referenced here http://trac.macports.org/ticket/22566#comment:4

Installing texinfo will in fact work (at least in this case)

I posted the debug log separately because its a different issue then the one I'm linking too.

I didn't include all of the debug text but the last bit is included below

test -d /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_groff/work/destroot/opt/local/share/groff/1.20.1/tmac || /bin/sh /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_groff/work/groff-1.20.1/mkinstalldirs /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_groff/work/destroot/opt/local/share/groff/1.20.1/tmac
for f in pdfmark.tmac spdf.tmac; do \
	  rm -f /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_groff/work/destroot/opt/local/share/groff/1.20.1/tmac/$f; \
	  /usr/bin/install -c -m 644 ./$f /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_groff/work/destroot/opt/local/share/groff/1.20.1/tmac/$f; \
	done
test -d /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_groff/work/destroot/opt/local/share/man || /bin/sh /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_groff/work/groff-1.20.1/mkinstalldirs /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_groff/work/destroot/opt/local/share/man
test -d /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_groff/work/destroot/opt/local/share/man/man1 || /bin/sh /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_groff/work/groff-1.20.1/mkinstalldirs /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_groff/work/destroot/opt/local/share/man/man1
/usr/bin/install -c -m 644 gdiffmk.n /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_groff/work/destroot/opt/local/share/man/man1/gdiffmk.1
test -d /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_groff/work/destroot/opt/local/share/man/man5 || /bin/sh /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_groff/work/groff-1.20.1/mkinstalldirs /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_groff/work/destroot/opt/local/share/man/man5
test -d /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_groff/work/destroot/opt/local/share/man/man7 || /bin/sh /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_groff/work/groff-1.20.1/mkinstalldirs /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_groff/work/destroot/opt/local/share/man/man7
test -d /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_groff/work/destroot/opt/local/bin  ||  /bin/sh /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_groff/work/groff-1.20.1/mkinstalldirs /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_groff/work/destroot/opt/local/bin
rm -f /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_groff/work/destroot/opt/local/bin/gdiffmk
/usr/bin/install -c gdiffmk /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_groff/work/destroot/opt/local/bin/gdiffmk
test -d /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_groff/work/destroot/opt/local/share/groff/site-font \
	  || /bin/sh /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_groff/work/groff-1.20.1/mkinstalldirs /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_groff/work/destroot/opt/local/share/groff/site-font
make: *** [install] Error 2
Error: Target org.macports.destroot returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_groff/work/groff-1.20.1" && /usr/bin/make install DESTDIR=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_groff/work/destroot " returned error 2
DEBUG: Backtrace: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_groff/work/groff-1.20.1" && /usr/bin/make install DESTDIR=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_groff/work/destroot " returned error 2
    while executing
"command_exec destroot"
    (procedure "portdestroot::destroot_main" line 2)
    invoked from within
"$procedure $targetname"
Warning: the following items did not execute (for groff): org.macports.activate org.macports.destroot org.macports.install
Error: Problem while installing groff
To report a bug, see <http://guide.macports.org/#project.tickets>

Change History (6)

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

I can't reproduce this problem. groff builds fine for me on Snow Leopard, even if texinfo is not installed. The few lines of output you supplied don't show seem to show what error occurred. If you are able to reproduce the error still, please clean groff and build again, with the debug switch from the beginning, and attach the full output here so we might get a better idea of what's going on.

comment:2 Changed 14 years ago by gauravk92@…

I doubt I'll be able to at this point, but worth noting that installing texinfo did fix it for some reason. Hopefully that helps out someone else and they can post their full report here.

comment:3 Changed 14 years ago by gauravk92@…

I was able to get the same kind of error while installing fish, it error'd on groff

I then installed texinfo, and afterwards ran the same command as before and it didn't error this time and completed

Here's a debug log of the full history

you can search "gauravk92$" to find the commands entered

http://pastebin.org/316061 - This is the first command that failed and at the end install of texinfo http://cl.ly/07c771c4956fdd792575 - This is the entire Terminal output (1.7mb) with a working install of fish that was debug, but could be helpful to see differences after texinfo is installed

Also this was on a clean install of Snow Leopard/MacPorts (10.6.3)

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

Resolution: fixed
Status: newclosed

Seems to have been fixed by r78081.

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

Keywords: groff snow leopard 10.6 removed

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

Summary: groff build errors on Snow Leopard 10.6.3groff missing dependencies
Note: See TracTickets for help on using tickets.