Opened 13 years ago

Closed 12 years ago

#30244 closed defect (worksforme)

groff will not install

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

Description (last modified by ryandesign (Ryan Carsten Schmidt))

This is apparently a different issue than #24922 and #22566 because I have tried installing texinfo first, and I have also tried installing groff from a fresh macports install (therefore no migration) and the port still fails to install.

Steps to reproduce:

  1. Install Macports 1.9.2
  2. port selfupdate
  3. port install texinfo (per #24922)
  4. port install groff

Here is what I see in the log:

:info:build elapsed time: 9 seconds
:info:build Tue Jul 19 14:49:53 PDT 2011 ***
:info:build listing font `ZCMI'...
:info:build listing font `ZD'...
:info:build listing font `ZDR'...
:info:build elapsed time: 10 seconds
:info:build Tue Jul 19 14:49:54 PDT 2011 ***
:info:build make: *** [all] Error 2
:info:build shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_groff/work/groff-1.21" && /usr/bin/make -j16 all " returned error 2
:error:build Target org.macports.build returned: shell command failed (see log for details)
:debug:build Backtrace: shell command failed (see log for details)
    while executing
"command_exec build"
    (procedure "portbuild::build_main" line 8)
    invoked from within
"$procedure $targetname"
:info:build Warning: the following items did not execute (for groff): org.macports.activate org.macports.build org.macports.destroot org.macports.install
:notice:build Log for groff is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_groff/main.log

I can execute that make command manually and it seems to proceed, but the build then fails after this. The error for that subsequent attempt looks nearly identical to #24922, but as specified in that ticket, installing texinfo doesn't help.

Attachments (1)

main.log (479.3 KB) - added by mlitteken@… 12 years ago.
main.log for groff failure

Download all attachments as: .zip

Change History (7)

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

Description: modified (diff)

Please clean groff and try again, and if it fails again, attach the entire main.log file.

sudo port clean groff
sudo port install groff

comment:2 Changed 13 years ago by internetdetritus@…

That worked!

bash-3.2# port clean groff
--->  Cleaning groff
bash-3.2# port install groff
--->  Computing dependencies for groff
--->  Fetching groff
--->  Verifying checksum(s) for groff
--->  Extracting groff
--->  Applying patches to groff
--->  Configuring groff
--->  Building groff
--->  Staging groff into destroot
--->  Installing groff @1.21_1
--->  Activating groff @1.21_1
--->  Cleaning groff

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

Cc: ryandesign@… added
Resolution: worksforme
Status: newclosed

Ok great.

"Clean and try again" is probably the first thing you should try anytime any port fails.

Changed 12 years ago by mlitteken@…

Attachment: main.log added

main.log for groff failure

comment:4 Changed 12 years ago by mlitteken@…

Resolution: worksforme
Status: closedreopened

I'm seeing this issue also. 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>

comment:5 Changed 12 years ago by mlitteken@…

Apologies if I should have opened a new bug. If I should, I most certainly can.

comment:6 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: mlitteken@… added
Resolution: worksforme
Status: reopenedclosed

This ticket was opened for a problem experienced in the build phase which resolved itself when cleaning and trying again. mlitteken, your problem is in the destroot phase, and does not resolve itself when cleaning. So it is not the same problem, so please file a new ticket.

Note: See TracTickets for help on using tickets.