Opened 12 years ago

Closed 12 years ago

#32162 closed defect (fixed)

compare @1.16_2 fails to build

Reported by: nonstop.server@… Owned by: mww@…
Priority: Normal Milestone:
Component: ports Version: 2.0.3
Keywords: lion Cc: ryandesign (Ryan Carsten Schmidt)
Port: compare

Description

Port compare @1.16, Revision 2 fails to build.
I have tried compiling with clang, llvm-gcc-4.2, and apple-gcc-4.2, but no joy.
Please see the respective log files for error messages during the different builds.

Attachments (6)

main_clang.log (53.5 KB) - added by nonstop.server@… 12 years ago.
macports_compare_clang.log (44.5 KB) - added by nonstop.server@… 12 years ago.
main_llvm-gcc-4.2.log (54.5 KB) - added by nonstop.server@… 12 years ago.
macports_compare_llvm-gcc-4.2.log (71.8 KB) - added by nonstop.server@… 12 years ago.
main_apple-gcc-4.2.log (53.5 KB) - added by nonstop.server@… 12 years ago.
macports_compare_apple-gcc-4.2.log (44.5 KB) - added by nonstop.server@… 12 years ago.

Download all attachments as: .zip

Change History (10)

Changed 12 years ago by nonstop.server@…

Attachment: main_clang.log added

Changed 12 years ago by nonstop.server@…

Attachment: macports_compare_clang.log added

Changed 12 years ago by nonstop.server@…

Attachment: main_llvm-gcc-4.2.log added

Changed 12 years ago by nonstop.server@…

Changed 12 years ago by nonstop.server@…

Attachment: main_apple-gcc-4.2.log added

Changed 12 years ago by nonstop.server@…

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

Version Information:

Mac OS Version:
Darwin 11.2.0 Darwin Kernel Version 11.2.0: Tue Aug  9 20:54:00 PDT 2011; root:xnu-1699.24.8~1/RELEASE_X86_64 x86_64

Xcode Version:
Xcode 4.2
Build version 4D199

Macports Version:
Version: 2.0.3

comment:2 Changed 12 years ago by mf2k (Frank Schima)

Cc: mww@… removed
Keywords: sysutils removed
Owner: changed from macports-tickets@… to mww@…

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

Keywords: lion added

Yes, this is not a compiler-related problem. The error in the log is:

error: conflicting types for "getline"

Lion includes a definition for getline, whereas previous versions of OS X did not. Software like apparently compare that assumes OS X does not define getline will need to be fixed.

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

Cc: ryandesign@… added
Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.