[MacPorts] #26824: w3m @0.5.2 Build failure

MacPorts noreply at macports.org
Fri Nov 5 06:05:46 PDT 2010


#26824: w3m @0.5.2 Build failure
-----------------------------------+----------------------------------------
 Reporter:  macports@…             |       Owner:  macports-tickets@…                   
     Type:  defect                 |      Status:  new                                  
 Priority:  Normal                 |   Milestone:                                       
Component:  ports                  |     Version:  1.9.1                                
 Keywords:                         |        Port:  w3m                                  
-----------------------------------+----------------------------------------
Changes (by ryandesign@…):

 * cc: ryandesign@… (added)


Comment:

 Hm. Well your log looks basically the same as mine, up to the point where
 you get the error and mine continues building. (You are not using
 configure pipes and I am, and you are using nawk and I am using gawk, but
 I confirmed that neither of those changes causes a problem on my system.)

 So let's look at the error message. It says:

 {{{
 main.c:846: error: void value not ignored as it ought to be
 }}}

 This means a void function is being called in a manner that expects it to
 have a non-void return type.

 Line 846 of main.cpp reads:

 {{{
     orig_GC_warn_proc = GC_set_warn_proc(wrap_GC_warn_proc);
 }}}

 GC_set_warn_proc is part of boehmgc, and as far as I can tell from reading
 boehmgc's source, GC_set_warn_proc is meant to have a non-void return
 type, so this error should not be happening.

 Perhaps an earlier version of boehmgc defined GC_set_warn_proc as a void
 function, and you have that older version of boehmgc installed in a
 location where it would be found, like /usr/local? Do you have anything in
 /usr/local? If so, rename /usr/local (e.g. to /usr/local-off), clean w3m,
 and try again.

-- 
Ticket URL: <https://trac.macports.org/ticket/26824#comment:9>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list