Opened 10 years ago

Closed 7 years ago

#3312 closed defect (worksforme)

Macport OM Install on upgrade fails

Reported by: Adam Dershowitz Owned by:
Priority: high Milestone:
Component: Build Environment Version: trunk
Keywords: Cc:

Description

Mac upgrade from 25866 to 25908 builds, but then fails to install.
It looks like it can't find a file that it is trying to copy:
:info:destroot cp: ././build/include/omc/x86_64-darwin14.3.0/omc/antlr3: No such file or directory

I will also attach the full log file.

Attachments (1)

main.log (4.8 MB ) - added by Adam Dershowitz 10 years ago.

Change History (6)

by Adam Dershowitz, 10 years ago

Attachment: main.log added

comment:1 by Adam Dershowitz, 10 years ago

It looks like it is just a path issue. Because, I do see these two files on my machine:

/opt/local/var/macports/build/_opt_local_var_macports_sources_build.openmodelica.org_macports_lang_openmodelica-devel/openmodelica-devel/work/destroot/opt/local/include/x86_64-darwin14.3.0/omc/antlr3
/opt/local/var/macports/build/_opt_local_var_macports_sources_build.openmodelica.org_macports_lang_openmodelica-devel/openmodelica-devel/work/openmodelica_25908/build/include/x86_64-darwin14.3.0/omc/antlr3

So the script is just looking in the wrong source location for antlr3

comment:3 by Adam Dershowitz, 10 years ago

As a work around, after the build failed, making a link to the install directory does allow it to install.

So, the install tries to copy antlr3 from here (note the extra "omc" in the path)
build/include/omc/x86_64-darwin14.3.0/omc/antlr3

But, it actually first installs antlr3 here:
build/include/x86_64-darwin14.3.0/omc/antlr3

So there is a build directory variable somewhere that includes an extra "omc" in the path.

comment:4 by Benjamin Häfele <ben.haefele@…>, 10 years ago

Same error here (openmodelica-devel @25914).

comment:5 by Martin Sjölund, 7 years ago

Milestone: Future
Resolution: worksforme
Status: newclosed

This should now be working...

Note: See TracTickets for help on using tickets.