Opened 13 years ago

Closed 12 years ago

#33407 closed defect (fixed)

Package 'OMake' does not compile on OS X 10.7.3, MacPorts 2.0.3 / 2.0.4

Reported by: horasio (Samuel Hornus) Owned by: erickt@…
Priority: Normal Milestone:
Component: ports Version: 2.0.4
Keywords: Cc: mww@…, george@…
Port: omake

Description (last modified by ryandesign (Ryan Carsten Schmidt))

The build error report n undefined symbols for architecture x86_64:

:info:build "_rl_on_new_line", referenced from: :info:build _do_readline in clib.a(readline.o) [...]

I attach the full log file.

Also:

port installed readline
readline @6.2.000_0 (active)

Attachments (3)

main.log (48.1 KB) - added by horasio (Samuel Hornus) 13 years ago.
main-llvm-gcc-4.2.log (7.9 KB) - added by horasio (Samuel Hornus) 13 years ago.
main-after-clean.log (46.8 KB) - added by horasio (Samuel Hornus) 13 years ago.

Download all attachments as: .zip

Change History (11)

Changed 13 years ago by horasio (Samuel Hornus)

Attachment: main.log added

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

Description: modified (diff)
Owner: changed from macports-tickets@… to erickt@…

comment:2 Changed 13 years ago by neverpanic (Clemens Lang)

This looks like http://clang.llvm.org/compatibility.html#inline. Try port clean OMake and port install OMake configure.compiler=llvm-gcc-4.2. If this works, the port should be patched to be compatible with C99's definition of inline.

comment:3 Changed 13 years ago by horasio (Samuel Hornus)

Alas, the same problem appears. See new log file.

Note that the error seems to appear in the link phase of ocamlopt, and I don't know if it does the linking itself or calls the system linker. That may be a reason why you proposed fix doe snot work. Maybe I should recompile deadline with llvm-gcc-4.2 ? Or maybe file a bug report to ocamlopt ?

Changed 13 years ago by horasio (Samuel Hornus)

Attachment: main-llvm-gcc-4.2.log added

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

The log you attached is not from a clean build attempt. Please "sudo port clean omake" and try again.

comment:5 Changed 13 years ago by horasio (Samuel Hornus)

Ok. Here is the build log after a 'port clean make; port install OMake configure.compiler=llvm-gcc-4.2'.

See attached file.

Changed 13 years ago by horasio (Samuel Hornus)

Attachment: main-after-clean.log added

comment:6 Changed 13 years ago by george@…

Cc: george@… added

Cc Me!

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

That doesn't work of course, because omake doesn't use configure, and the portfile doesn't take any steps to make the build system use ${configure.cc}.

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

Cc: mww@… added
Resolution: fixed
Status: newclosed

Apparently fixed in r95965.

Note: See TracTickets for help on using tickets.