Opened 11 years ago

Closed 10 years ago

#40793 closed defect (fixed)

netpbm 10.64.01 causes groff configure to hang

Reported by: benjamin.weaver@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.2.0
Keywords: Cc: mndavidoff (Monte Davidoff), PerMildner, ryandesign (Ryan Carsten Schmidt), skymoo (Adam Mercer), veedeehjay@…
Port: netpbm

Description

I am trying to upgrade groff @1.22.2_1 from Lion to Mountain Lion. During the configuration stage, the configure command hangs when it reaches this line (line number 10445) of the configure file:

    if echo P2 2 2 255 0 1 2 0 | pnmtops -nosetpage > /dev/null 2>&1 ; then

OS: 10.8.5/Mountain Lion Xcode: 5.0 (5A1413)

When I download the groff tarball and run configure manually, it does not hang on this line.

Change History (11)

comment:1 Changed 11 years ago by benjamin.weaver@…

I tried moving the command out of the if clause like this:

#    if echo P2 2 2 255 0 1 2 0 | pnmtops -nosetpage > /dev/null 2>&1 ; then
    echo P2 2 2 255 0 1 2 0 | pnmtops -nosetpage > /dev/null 2>&1
    if test $? = 0 ; then

but it still stalled when it hit the pipe. Finally I just did this:

#    if echo P2 2 2 255 0 1 2 0 | pnmtops -nosetpage > /dev/null 2>&1 ; then
#    echo P2 2 2 255 0 1 2 0 | pnmtops -nosetpage > /dev/null 2>&1
    if /usr/bin/true ; then

and the port configured and compiled successfully.

comment:2 Changed 11 years ago by cooljeanius (Eric Gallager)

#40797 says that this happens on Mavericks, too.

comment:3 Changed 11 years ago by mndavidoff (Monte Davidoff)

Groff configure hangs for me in the same way on Mac OS X 10.6.8. The problem appeared to start after the upgrade of netpbm to 10.64.01; groff configure did not hang with netpbm 10.62.09.

comment:4 Changed 11 years ago by mndavidoff (Monte Davidoff)

Cc: md14-macports@… added

Cc Me!

comment:5 Changed 11 years ago by larryv (Lawrence Velázquez)

Cc: Per.Mildner@… ryandesign@… added
Summary: groff @1.22.2_1 configuration hangs on Mountain Liongroff @1.22.2_1: configure hangs with netpbm 10.64.01

Has duplicate #40797.

comment:6 Changed 11 years ago by skymoo (Adam Mercer)

Cc: ram@… added

Cc Me!

comment:7 Changed 11 years ago by skymoo (Adam Mercer)

The fix mentioned in #40797 allows me to build groff successfully.

comment:8 Changed 11 years ago by veedeehjay@…

Cc: veedeehjay@… added

Cc Me!

comment:9 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

I've emailed the developer of netpbm to ask if he understands why pnmtops is hanging here.

Last edited 11 years ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:10 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Pending a proper fix, removed the test for now in r112336, since we know what version of netpbm is in MacPorts and whether or not its pnmtops supports -nosetpage (it does).

Last edited 11 years ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:11 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Port: netpbm added; groff removed
Resolution: fixed
Status: newclosed
Summary: groff @1.22.2_1: configure hangs with netpbm 10.64.01netpbm 10.64.01 causes groff configure to hang

The developer of netpbm identified and fixed the problem in version 10.64.02 to which I updated our port in r113202 so I reverted the workaround from the groff port in r113203.

Note: See TracTickets for help on using tickets.