Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#33600 closed defect (fixed)

xfig: configure fails with clang: error: empty character constant

Reported by: amdurbin@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.0.4
Keywords: clang Cc: ryandesign (Ryan Carsten Schmidt)
Port: xfig

Description (last modified by mf2k (Frank Schima))

Hi- xfig is not installing. I need this as it is a dependency for another program I want to use. I am using Mac OS X 10.7.3, intel processors. Thanks!

--->  Computing dependencies for xfig
--->  Configuring xfig
Error: Target org.macports.configure returned: xmkmf failure: shell command failed (see log for details)
Log for xfig is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_xfig/xfig/main.log
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>

Attachments (1)

main.log (71.5 KB) - added by amdurbin@… 13 years ago.
updated log as requested

Download all attachments as: .zip

Change History (8)

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

Cc: adurbin@… removed
Description: modified (diff)
Keywords: xfig xmkmf shell command failure removed
Milestone: MacPorts 2.0.5
Port: xfig added
Priority: HighNormal

Please attach the log mentioned so we can see what the problem is.

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

Cc: ryandesign@… added
Keywords: clang added
Summary: Error: Failed to install xfigxfig: configure fails with clang: error: empty character constant

The log is incomplete; running "sudo port clean xfig" and trying again would generate a complete log.

But it looks like the same imake/xmkmf problem we've seen in several other ports with clang (see e.g. #33165 and #31504):

/opt/local/lib/X11/config/Imake.rules:1674:27: error: empty character constant

This has been fixed in MacPorts base. I'll see if I can get the fix included in MacPorts 2.0.5, whenever that's released.

Changed 13 years ago by amdurbin@…

Attachment: main.log added

updated log as requested

comment:3 Changed 13 years ago by amdurbin@…

So I assume i installed 2.0.4; is this not MacPorts 'base'? If so what version do I have to install to have the clang issue fixed? thanks.

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

"base" means the core MacPorts software, as distinct from the individual portfiles; I meant this is not a problem specific to the xfig port. A version of MacPorts containing the fixed base code has not yet been released; I am hoping to include this fix in 2.0.5.

comment:5 Changed 13 years ago by amdurbin@…

Are there any other workarounds?

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

Resolution: fixed
Status: newclosed

According to comment:ticket:33165:14 I was mistaken, and the problem I was referring to was in fact already fixed in MacPorts 2.0.4. All that remains is to apply a small change to the xfig port, which I've done in r90711, per the advice in comment:ticket:33165:16. Please wait 30 minutes, then "sudo port selfupdate", "sudo port clean xfig", and try again. Does that work?

comment:7 Changed 13 years ago by amdurbin@…

Hi- yes this is fixed. Thanks for your help.

Note: See TracTickets for help on using tickets.