#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)
Change History (8)
Changed 13 years ago by dave@…
comment:1 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Keywords: | clang added |
---|
comment:2 Changed 13 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:4 Changed 12 years ago by jmroot (Joshua Root)
Owner: | changed from macports-tickets@… to waqar@… |
---|---|
Summary: | osxutils not building on Lion → osxutils 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: | new → closed |
Note: See
TracTickets for help on using
tickets.
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?