Opened 5 years ago

Last modified 3 years ago

#5842 reopened defect

When installing OpenModelica under Ubuntu, MSL 3.2.2 is installed

Reported by: casella Owned by: sjoelund.se
Priority: blocker Milestone: 1.19.0
Component: Installation program Version:
Keywords: Cc: adrpo

Description

When installing OpenModelica from scratch on Ubuntu, MSL v. 3.2.2 is installed.

Advanced users have developed various strategies to fix this issue and somehow get MSL 3.2.3 going on their system. However, we can't expect beginners to do so. If I ship someone a library with

annotation(uses(Modelica(version="3.2.3")));

I'd expect it to work out of the box as expected. Why shouldn't it?

Can we please fix this in all our currently released versions?

Attachments (1)

install-example.txt (2.0 KB) - added by anonymous 5 years ago.

Download all attachments as: .zip

Change History (22)

Changed 5 years ago by anonymous

comment:1 Changed 5 years ago by sjoelund.se

  • Milestone changed from 1.14.2 to 1.16.0
  • Resolution set to fixed
  • Status changed from new to closed

comment:2 Changed 5 years ago by casella

  • Resolution fixed deleted
  • Status changed from closed to reopened

Thank you @sjoelund.se!

Would you mind pushing this also to the 1.14.1 and 1.15.0 maintenance branches? I guess we shouldn't wait until July 2020 to release OMEdit on Linux with MSL 3.2.3 :)

comment:3 Changed 5 years ago by casella

  • Milestone changed from 1.16.0 to 1.14.2

comment:4 follow-up: Changed 5 years ago by sjoelund.se

You should never change dependencies on released packages. 1.15 branch could be fixed though.

comment:6 in reply to: ↑ 4 Changed 5 years ago by casella

Replying to sjoelund.se:

You should never change dependencies on released packages.

That goes without saying.

The point of porting this fix to maintenance/v.14 is to have this update in a possible future 1.14.2 (which is not released yet) if 1.15.0 is delayed by more than I few weeks, which I cannot definitely rule out.

@sjoelund.se, do you agree?

comment:7 Changed 4 years ago by casella

  • Milestone changed from 1.14.2 to 1.16.0
  • Resolution set to fixed
  • Status changed from reopened to closed

Since 1.14.2 and 1.15.0 will not be released, this will automatically be fixed in 1.16.0

comment:8 Changed 4 years ago by casella

  • Cc alberto.leva@… federico.terraneo@… AndreaBartolini removed
  • Resolution fixed deleted
  • Status changed from closed to reopened

If I understood it correctly today, we somehow have the same problem yet because of the APT server being stuck to omlib modelica 3.2.2. So, when you make a fresh install on a Linux machine for the first time, you get 3.2.2, not 3.2.3.

This should be fixed in 1.16.2

comment:9 Changed 4 years ago by casella

  • Milestone changed from 1.16.0 to 1.16.2

comment:10 Changed 4 years ago by casella

1.16.2 was released today. Rescheduled to 1.17.0

comment:11 Changed 4 years ago by casella

  • Milestone changed from 1.16.2 to 1.17.0

comment:12 follow-up: Changed 4 years ago by adrpo

In 1.16.2 this behavior is changed, no libraries are installed by default.
People can then just install what library they want.

comment:13 in reply to: ↑ 12 Changed 4 years ago by casella

Replying to adrpo:

In 1.16.2 this behavior is changed, no libraries are installed by default.
People can then just install what library they want.

OK, but what about the MSL?

comment:14 Changed 4 years ago by adrpo

You need to install that separately via the package manager or:

apt-get install omlib-modelica-3.2.3 omlib-modelicareference

comment:15 Changed 4 years ago by casella

OMG, this means that any user installing OMC on Linux for the first time won't see MLS in OMEdit until he does that?

If that is the case, we have to make it very, very clear!

comment:16 Changed 4 years ago by casella

Is this written somewhere already?

comment:17 Changed 4 years ago by adrpo

Is written in Download-Linux (Installing Modelica libraries) but maybe we should make it more clear:
https://openmodelica.org/download/download-linux

I think we will need a 1.16.3 (as I think I broke OMEdit diagrams, see #6307 & #6310) and I could add a recommended dependency on omc with MSL 3.2.3.

comment:18 Changed 4 years ago by casella

  • Milestone changed from 1.17.0 to 1.18.0

Rescheduled to 1.18.0

comment:19 Changed 4 years ago by adrpo

I think that we can close this ticket as no libraries are installed by default now.
Or we can consider as a duplicate of handling the MSL or the one about the package manager.

comment:20 Changed 3 years ago by casella

  • Milestone 1.18.0 deleted

Ticket retargeted after milestone closed

comment:21 Changed 3 years ago by casella

  • Milestone set to 1.19.0

1.18.0 blocker tickets moved to 1.19.0

Note: See TracTickets for help on using tickets.