Skip to content

buildModelFMU fails on Fedora 43 #14821

@caliandro-arturo

Description

@caliandro-arturo

Description

As mentioned in a comment under #14814, omc tries to copy some files from the /opt/openmodelica-nightly directory, but fails because they are owned by root with permission number 700, thus not accessible by normal users:

cp -a \"/opt/openmodelica-nightly/bin/../share/omc/runtime/c/fmi/buildproject/\"* 332.fmutmp/sources
cp: cannot open '/opt/openmodelica-nightly/bin/../share/omc/runtime/c/fmi/buildproject/config.guess' for reading: Permission denied
cp: cannot open '/opt/openmodelica-nightly/bin/../share/omc/runtime/c/fmi/buildproject/config.sub' for reading: Permission denied

This occurs on my machine running Fedora 43, but not inside a container based on Debian 13.

Steps to Reproduce

Version and OS

  • OpenModelica Version: OpenModelica 1.27.0~dev-8-gf6de017
  • OS: Fedora 43

Metadata

Metadata

Labels

COMP/Build SystemIssue and pull request related to the build systemsCOMP/FMIIssue and pull request related to FMI export

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions