Opened 2 years ago

Last modified 2 years ago

#64242 assigned defect

gforth is looking for clang-mp-3.7 which doesn't seem to exist

Reported by: leeeoooooo Owned by: ctreleaven (Craig Treleaven)
Priority: Normal Milestone:
Component: ports Version: 2.7.1
Keywords: Cc: larryv (Lawrence Velázquez), michaelld (Michael Dickens)
Port: gforth, libtool

Description

gforth is looking for clang-mp-3.7 which doesn't seem to exist 'port search' shows clang-3.7 but no clang-mp-3.7

Attachments (1)

gforth_main.log.zip (14.1 KB) - added by leeeoooooo 2 years ago.

Download all attachments as: .zip

Change History (5)

Changed 2 years ago by leeeoooooo

Attachment: gforth_main.log.zip added

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

Keywords: gforth clang-mp-3.7 removed

The clang-3.7 port provides the clang-mp-3.7 executable, among other things.

I don't see anything in the gforth portfile that requests a specific compiler.

What specific error message are you encountering, and what command did you enter to elicit that error?

comment:2 Changed 2 years ago by leeeoooooo

I entered 'sudo port install gforth' Never anything more complicated than that unless there are multiple versions offered.

:info:build /opt/local/bin/glibtool: line 10550: /opt/local/bin/clang-mp-3.7: No such file or directory
:info:build in file included from *OS command line*:-1
:info:build libffi.fs:159: libtool link failed
:info:build >>>end-c-library<<<
Last edited 2 years ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:3 Changed 2 years ago by leeeoooooo

I re-installed clang-3.7 That fixed the problem. All better now.

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

Cc: larryv michaelld added
Owner: set to ctreleaven
Port: libtool added
Status: newassigned

That may be, but there's still at least one bug to be resolved here, maybe two.

Seems like on your system (which I see from the log is 10.6 i386) the libtool port has decided to bake the clang-3.7 compiler path into itself. I can confirm that by looking at the glibtool file in the libtool archive for 10.6 i386. It might be a good idea for us to change that to /usr/bin/cc, since that's a compiler guaranteed to exist. We've already made a similar change to the perl5 ports.

The second bug is that the gforth build allowed the compiler baked into libtool to be used rather than using the compiler MacPorts told it to use, which per your log was clang-9.0.

Note: See TracTickets for help on using tickets.