Package Details: openmodelica-git 1.16.0.dev.r590.g8f5710f752-2

Git Clone URL: https://aur.archlinux.org/openmodelica-git.git (read-only, click to copy)
Package Base: openmodelica-git
Description: The Open Source Modelica Suite
Upstream URL: https://openmodelica.org
Licenses: OSMC-PL
Conflicts: openmodelica, openmodelica-dev, openmodelica-svn
Provides: openmodelica
Submitter: Xwang
Maintainer: ElMastro
Last Packager: ElMastro
Votes: 10
Popularity: 0.024469
First Submitted: 2015-06-20 11:21
Last Updated: 2021-02-13 23:23

Dependencies (18)

Required by (0)

Sources (10)

Latest Comments

1 2 3 4 5 6 ... Next › Last »

ElMastro commented on 2021-06-06 11:07

@uomorosso, sorry for the late answer, on my system this doesn't seem to work. Unfortunately I believe to have problems of compilation especially with the fortran libraries required.

The PKGBUILD modified is at https://pastebin.com/c1DG9VUU, it would be great if someone could confirm it works before updating it to avoid to have to undo this modification in the future

uomorosso commented on 2021-06-03 07:40

Hi! I've a little suggestion about the dependencies inside the pkgbuild: instead of requiring gcc9-fortran, which makes pacman complain about not finding that package, I would suggest to put a more generic "gcc-fortran" or something like that. I compiled OpenModelica with gcc10-fortran and it works fine.

ElMastro commented on 2021-02-13 23:25

@Vial: Thank you, I introduced it in the optdepends, so it should be ok now

Vial commented on 2021-02-09 22:48

No problem for installation, however 'zip' should be added to the dependancies since the "Export to FMU" function fails with the following error: Error building simulator. Build log: rm -f "Test.fmu" && cd "Test.fmutmp" && zip -r "../Test.fmu" * /bin/sh: line 1: zip: command not found.

  • /usr/share/omc/runtime/c/fmi/buildproject/config.sub and /usr/share/omc/runtime/c/fmi/buildproject/config.guess should have read rights. "Export to FMU" fail otherwise.

ElMastro commented on 2021-01-29 22:34

@krafczyk.n: It's my job (you're welcome);

If no one has anythig to complain and it works for everybody I'l update the PKGBUILD to fix the problem

krafczyk.n commented on 2021-01-29 10:37

That works perfectly for me, thank you very much!

ElMastro commented on 2021-01-28 22:58

@krafczyk.n: I noticed that. A solution should be to add [code]autoreconf -fi[\code] before autoconf, which solves your problem.

Unfortunately, the final result is something like [code][/tmp/openmodelica-git/src/openmodelica-git/OMCompiler/Compiler/NFFrontEnd/NFArrayConnections.mo:623:33-623:33:writable] Error: Missing token: SEMICOLON [/tmp/openmodelica-git/src/openmodelica-git/OMCompiler/Compiler/NFFrontEnd/NFFlatten.mo:1490:36-1490:36:writable] Error: Missing token: SEMICOLON [/tmp/openmodelica-git/src/openmodelica-git/OMCompiler/Compiler/NFFrontEnd/NFInst.mo:246:62-246:62:writable] Error: Missing token: ')' [/tmp/openmodelica-git/src/openmodelica-git/OMCompiler/Compiler/Util/AdjacencyList.mo:68:44-68:44:writable] Error: Missing token: ')' [/tmp/openmodelica-git/src/openmodelica-git/OMCompiler/Compiler/Util/SBPWLinearMap.mo:221:29-221:29:writable] Error: Missing token: SEMICOLON [/tmp/openmodelica-git/src/openmodelica-git/OMCompiler/Compiler/Util/UnorderedMap.mo:79:19-79:19:writable] Error: Missing token: ')' [/tmp/openmodelica-git/src/openmodelica-git/OMCompiler/Compiler/Util/UnorderedSet.mo:89:17-89:17:writable] Error: Missing token: SEMICOLON [\code]

Please try the first option to confirm if it works for you.

krafczyk.n commented on 2021-01-28 11:14

I'm having problems building this.

==> Starting build()...
configure.ac:95: warning: AC_OUTPUT should be used without arguments.
configure.ac:95: You should run autoupdate.
configure: error: cannot find required auxiliary files: config.guess config.sub
==> ERROR: A failure occurred in build().
    Aborting...

Actually running autoupdate removes the first two configure.ac lines but the error remains. Any help would be appreciated.

uomorosso commented on 2020-12-17 11:03

No problem, don't worry. Basically it's due to an oddity in the OpenModelica sources: I came up with that workaround after I tried to compile OpenModelica straight from the official github repository and getting the same error. Then, I played around a little more and I saw that it was due to the build system using the already installed omc to speed up the compilation process which, however, made the compilation to fail.

ElMastro commented on 2020-12-16 17:58

This is interesting. I will try it as soon as possible, and if it so, I will update the PKGBUILD. I am sorry you have experienced these problems