Opened 9 years ago

Closed 6 years ago

#3312 closed defect (worksforme)

Macport OM Install on upgrade fails

Reported by: dersh 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 dersh 9 years ago.

Change History (6)

Changed 9 years ago by dersh

comment:1 Changed 9 years ago by dersh

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 Changed 9 years ago by dersh

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 Changed 9 years ago by Benjamin Häfele <ben.haefele@…>

Same error here (openmodelica-devel @25914).

comment:5 Changed 6 years ago by sjoelund.se

  • Milestone Future deleted
  • Resolution set to worksforme
  • Status changed from new to closed

This should now be working...

Note: See TracTickets for help on using tickets.