Opened 8 years ago

Closed 8 years ago

#4201 closed defect (fixed)

Mac openmodelica won't build

Reported by: Adam Dershowitz Owned by: somebody
Priority: high Milestone: Future
Component: *unknown* Version:
Keywords: Cc:

Description

I am trying to get OM onto a new machine and the build is failing. I have not attached details because Hudson is also failing:
https://test.openmodelica.org/hudson/view/Mac/job/OpenModelica_OSX_NIGHTLY_BUILD/

I am attempting to install on Mac OS 10.12.
I can provide more details as necessary.

Change History (6)

comment:1 by Adrian Pop, 8 years ago

Totally weird, we get: f951: Fatal Error: Reading module 'dmumps_ooc' at line 1518 column 22: Unexpected EOF but this file has not changed since forever as is part of 3rdParty/Ipopt/ThirdParty/Mumps. Has the fortran compiler on Mac changed?

comment:2 by Adam Dershowitz, 8 years ago

Not that I know of. I'll try to upgrade on the older machine (still OS 10.11 and xcode 7) and report back if that seems to work. That machine did work to build 1.12.0~dev-163-g022a9a6_0 so worked until recently.

comment:3 by Adam Dershowitz, 8 years ago

FYI, I see that same error as you mentioned on the new machine (OS 10.12.2 and Xcode 8.2.1) that I am trying to get it installed on.
The old one is going to still take a bit more time until I can give you results.

comment:4 by Adam Dershowitz, 8 years ago

Even weirder...it does still build on the older machine!
Both machines use gcc5.4.0 to provide gfortran-mp-5 and macports on both machines is up to date.
So, the main difference between the two machines is the version of Xcode and the OS version. But, it is very odd that either should make a difference when compiling with gcc5 and gfortran.

comment:5 by Adam Dershowitz, 8 years ago

This appears to be fixed. I can now build it, and Hudson seems to building it fine as well.
I don't know what the change was, but it worked.
Thanks,

comment:6 by Adam Dershowitz, 8 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.