Opened 12 years ago

Closed 11 years ago

Last modified 11 years ago

#32043 closed defect (fixed)

osxutils can't compile with clang (invalid C)

Reported by: dave@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.0.3
Keywords: clang Cc: nonstop.server@…, cooljeanius (Eric Gallager)
Port: osxutils

Description

See attached log

Attachments (1)

main.log (8.9 KB) - added by dave@… 12 years ago.

Download all attachments as: .zip

Change History (8)

Changed 12 years ago by dave@…

Attachment: main.log added

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

Keywords: clang added

The log is not complete but I see you're using clang. Have you tried compiling with llvm-gcc-4.2 or apple-gcc-4.2 instead?

comment:2 Changed 12 years ago by abarnert@…

I found two problems;

  • Some of the projects explicitly specify the 10.4u SDK.
  • The geticon project can't build with clang.

I worked around both of this as follows: sudo port install osxutils -universal xcode.build.settings='-sdk macosx10.7' configure.compiler=llvm-gcc-4.2

Everything built and installed properly. Some of the tools work fine, others report errors (e.g., setfcomment always gets "Error 5 setting MacOS 9 comment"), others crash (e.g., lsmac lists the first entry then crashes with "Abort trap: 6").

I tried downloading and building the source manually, but they're so out of date that that's easier said than done.

Considering that the last upstream release was in 2005, I'm guessing this isn't going to be trivial to fix.

comment:3 Changed 12 years ago by nonstop.server@…

Cc: nonstop.server@… added

Cc Me!

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

Owner: changed from macports-tickets@… to waqar@…
Summary: osxutils not building on Lionosxutils can't compile with clang (invalid C)

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

Owner: changed from waqar@… to macports-tickets@…

waqar has retired.

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

Resolution: fixed
Status: newclosed

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

Cc: egall@… added

Cc Me!

Note: See TracTickets for help on using tickets.