Search Criteria
Package Details: openmodelica-git 1.20.0.dev.r320.g9cbaf6232e-1
Package Actions
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: | 11 |
Popularity: | 0.000000 |
First Submitted: | 2015-06-20 11:21 (UTC) |
Last Updated: | 2022-10-02 22:56 (UTC) |
Dependencies (19)
- boost-libs
- java-environment (jdk12AUR, jdk10AUR, jdk10-openj9-binAUR, jdk7AUR, amazon-corretto-16AUR, jdk8-graalvm-binAUR, jdk16-graalvm-binAUR, jdk16-adoptopenjdkAUR, liberica-jre-11-binAUR, jdk11-j9-binAUR, jdk11-jbr-xdgAUR, jdk16-openjdkAUR, jdk14-openjdkAUR, jdk18-openjdkAUR, amazon-corretto-19-binAUR, jdk19-graalvm-binAUR, liberica-jre-11-full-binAUR, jdk19-graalvm-ee-binAUR, jdk13-openjdk-binAUR, liberica-jre-8-full-binAUR, jdk11-graalvm-binAUR, jdk-openj9AUR, jdk11-graalvm-ee-binAUR, jdk12-openjdkAUR, jdk11-dragonwell-standard-binAUR, jdk11-jetbrains-binAUR, jdk20-graalvm-binAUR, jdk17-graalvm-binAUR, jdk8-graalvm-ee-binAUR, jdk20-openj9-binAUR, zulu-13-binAUR, jdk8-dragonwell-extended-binAUR, jdk8-dragonwell-standard-binAUR, jdk11-dragonwell-extended-binAUR, jdk17-dragonwell-standard-binAUR, jdk11AUR, jdk8-j9-binAUR, jdk7-j9-binAUR, jdk7r1-j9-binAUR, jdk8-dragonwell-extendedAUR, jdk13-openjdkAUR, jdk15-openjdkAUR, jdk21-graalvm-binAUR, jdk17-jetbrainsAUR, jdk8-openj9-binAUR, jdk-ltsAUR, microsoft-openjdk-11-binAUR, microsoft-openjdk-17-binAUR, microsoft-openjdk-21-binAUR, liberica-nik-24-full-binAUR, jdk21-jetbrains-gitAUR, zulu-17-binAUR, zulu-11-binAUR, zulu-8-binAUR, mandrel-binAUR, mandrel24-binAUR, liberica-jdk-17-full-binAUR, liberica-jdk-11-lite-binAUR, liberica-jdk-11-full-binAUR, liberica-jdk-11-binAUR, jdk17-graalvm-ee-binAUR, jdk21-graalvm-ee-binAUR, jdk22-graalvm-ee-binAUR, jdk20-graalvm-ee-binAUR, jdk22-graalvm-binAUR, jdk19-openjdkAUR, jdk17-jetbrains-binAUR, zulu-jdk-fx-binAUR, jabba-binAUR, jdk21-jetbrainsAUR, jdk17-zulu-prime-binAUR, zing-21-binAUR, zing-8-binAUR, jdk23-graalvm-ee-binAUR, java-openjdk-binAUR, amazon-corretto-17AUR, amazon-corretto-21-binAUR, jdk21-temurinAUR, amazon-corretto-8AUR, amazon-corretto-11AUR, jdk11-temurinAUR, liberica-jdk-full-binAUR, liberica-jdk-21-full-binAUR, liberica-jdk-8-full-binAUR, jdk17-temurinAUR, jdk8-temurinAUR, zulu-21-binAUR, jdk-temurinAUR, jdk8AUR, zulu-17-fx-binAUR, jdk8-perfAUR, zulu-fx-binAUR, zulu8-fx-binAUR, zulu11-fx-binAUR, zulu17-fx-binAUR, zulu21-fx-binAUR, jdk-openj9-binAUR, jdk11-openj9-binAUR, jre-jetbrainsAUR, jdk-openjdk-wakefieldAUR, jdk21-openj9-binAUR, zulu-23-binAUR, jdkAUR, jdk21-jetbrains-binAUR, jre-zulu-binAUR, jre-zulu-fx-binAUR, jdk21-dragonwell-standard-binAUR, jdk21-dragonwell-extended-binAUR, jdk-android-studioAUR, jdk17-openj9-binAUR, java-openjdk-ea-binAUR, jdk-openjdk, jdk11-openjdk, jdk17-openjdk, jdk21-openjdk, jdk8-openjdk)
- lapack (aocl-libflame-aoccAUR, lapack-gitAUR, atlas-lapackAUR, blas-aocl-gccAUR, blas-aocl-aoccAUR, openblas-lapackAUR, blas-mklAUR, aocl-libflameAUR, blas-openblas)
- qt5-svg (qt5-svg-gitAUR)
- qt5-tools
- qt5-webkitAUR (qt5-webkit-gitAUR)
- qt5-xmlpatterns (qt5-xmlpatterns-gitAUR)
- antlr4-runtime (make)
- boost (boost-gitAUR) (make)
- clang (llvm-rocm-gitAUR, llvm-gitAUR, clang-minimal-gitAUR, clang17-binAUR) (make)
- cmake (cmake-gitAUR) (make)
- expat (expat-gitAUR) (make)
- gcc-fortran (gcc-fortran-gitAUR, gcc11-fortranAUR, gcc-fortran-snapshotAUR) (make)
- git (git-gitAUR, git-glAUR) (make)
- jre-openjdk (jdk16-adoptopenjdkAUR, zulu-jre-fx-binAUR) (make)
- ncurses (ncurses-gitAUR) (make)
- readline (readline-gitAUR) (make)
- sundials (sundials-seqAUR) (optional) – adds more numerical solvers to the simulation runtime
- zip (zip-natspecAUR) (optional) – requested when exporting to FMU
Required by (0)
Sources (10)
- git+https://github.com/OpenModelica/OMCompiler-3rdParty
- git+https://github.com/OpenModelica/OMFMISimulator-3rdParty.git
- git+https://github.com/OpenModelica/OMLibraries.git
- git+https://github.com/OpenModelica/OMOptim.git
- git+https://github.com/OpenModelica/OMSens
- git+https://github.com/OpenModelica/OMSens_Qt.git
- git+https://github.com/OpenModelica/OMSimulator.git
- git+https://github.com/OpenModelica/OMTLMSimulator.git
- git+https://github.com/OpenModelica/OpenModelica-common.git
- openmodelica-git
Latest Comments
« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 11 .. 16 Next › Last »
ElMastro commented on 2020-07-26 22:22 (UTC) (edited on 2020-07-28 10:44 (UTC) by ElMastro)
@Xwang: 1) it appears that coin-or-ipopt is where it gets some problems. It depends most probably on the Fortran GUI. 2) I can't recreate this problem, on my system qwt_plot.h is in the qwt package. 3) Filing a Bug is probably a way; this is another confirmation.
About the icons the problem is in the package part (all the "install -D -m644") so if we understand the script works I can change this part easily. I do believe OMSens should stay in the /usr as implied in the openmodelica settings.
Xwang commented on 2020-07-26 09:55 (UTC) (edited on 2020-07-26 10:55 (UTC) by Xwang)
Moreover I've seen that the build.sh contains --prefix=/opt/OpenModelica, but then the package function copies things in the /usr so I wonder if we want to put OpenModelica in /opt or in /usr
Xwang commented on 2020-07-26 09:10 (UTC) (edited on 2020-07-26 09:11 (UTC) by Xwang)
Today I've tried again building the PKGBUILD taken from the pastebin link date 2020-06-27.
I can confirm that: 1) coin-or-ipopt must be added to the depends list 2) makepkg gives the "PlotWindow.h:35:10: fatal error: qwt_plot.h: No such file or directory" 3) however executing this procedure: a) execute makepkg -o b) then manually compile executing in a bas the same commands which are in the build() function c) execute makepkg -R a package is made. So while this semi manual procedure seems to be able to at least turn around the makepkg build issue, should we open a bug versus makepkg because it is not compiling something which is compilable in a terminal?
Moreover executing namcap:
namcap openmodelica-git-1.16.0.dev.r267.g0c0d97d31-3-x86_64.pkg.tar.xz openmodelica-git E: ELF file ('usr/OMSens/old/fortran/tmp/SystemDynamics.WorldDynamics.World3.Scenario_1') outside of a valid path. ...
I get messages which highlight that a lot of things (icons and OMSens folders) are installed under usr instead that /opt/OpenModelica.
Finally the makepkg -R printed a lot of warning like this:
strip: ./opt/OpenModelica/lib/omlibrary/Buildings latest/Resources/Library/win64/ModelicaBuildingsPython3.6.lib(ModelicaBuildingsPython3.6.dll): recognised but unhandled machine type (0x8664) in Import Library Format archive
Can we avoid building also the windows libraries?
ElMastro commented on 2020-07-13 16:20 (UTC)
@ppenguin: Now I understand. I don't know what to do because I'm pretty sure makepkg shouldn't make that difference.
In particular if 'make' command gives different results inside or outside the makepkg environment, I image it will become difficult to make a working PKGBUILD for everybody.
A way to do it could be to start from the .deb package, but I don't think this could be considered a clean solution. I'm giving it a couple more trying to see why this is happening....
ppenguin commented on 2020-07-12 19:47 (UTC)
@ElMastro
Just to clarify: I had to add the escapes in the
CFLAGS
to make it work within thePKGBUILD
. Outside thePKGBUILD
building has worked for me since I posted the ppenguin git fork the first time.But what surprises me is the regression further down the line which is "escape related" but only occurs within the
PKGBUILD
. It is interesting however, that even so you get somewhat different errors with thePKGBUILD
than I do.But what I really don't understand is that the
PKGBUILD
behaves so much different from a manual compile, even though it "just" executes a fewbash
commands?As for your last observation: indeed I have been (lightly) using the OM version I compiled manually from my fork and it was behaving well.
ElMastro commented on 2020-07-12 18:42 (UTC)
@ppenguin: it appears that the \ escape is valid only on Windows. I found that the error disappear changing
After that I get./configure --prefix=/opt/OpenModelica --without-ipopt --with-omlibrary=all CFLAGS='-I/usr/include/qwt -I/usr/include/coin-or -I/usr/include/coin -L/usr/lib'
I have tried compiling the package outside of the PKGBUILD in the last weeks, and for what I understand it seems to do always what is supposed to do.Error: Class realAlmostEq not found in scope CodegenFMUCommon.baseUnitAttributes.$match scope$.$pattern type scope$ (looking for a function or record)
ppenguin commented on 2020-07-11 18:45 (UTC)
I found a spare minute and checked out the
PKGBUILD
. I also got theqwt_plot.h
error.When cloning manually and executing the two
.sh
build scripts it again compiles successfully, but thePKGBUILD
does not.I noticed preceding the error that the expanded
CFLAGS
were missing spaces:which would be a good explanation for the error. So this is something that happens in the
PKGBUILD
which doesn't happen during manual compile. I'm not sure about the workings ofmakepkg
, but what did the trick for now was putting the contents of the build scripts directly inbuild()
and escape theCFLAGS
:That seems to have taken care of that issue, but now another one pops up, also related to escaping:
This seems quite suspect, since it definitely doesn't happen on a "manual" build on my machine. In what way could
makepkg
mess up with escaping???While at it: the
lib32
deps don't appear to be necessary, and I removed thejdk8
dep as well (I suppose it needs some jdk, but I se a more modern one which works as well...).ElMastro commented on 2020-06-27 21:54 (UTC) (edited on 2020-06-27 21:56 (UTC) by ElMastro)
@Xwang, qwt installs qwt_plot.h in /usr/include/qwt/qwt_plot.h. Probably there is something wrong there. About the errors mine is different, seems to be implied in the Models, as it says
So i suppose OMC compilation here worksXwang commented on 2020-06-27 17:51 (UTC)
After addin the coni-or-ipopt dependencies, I've tried again and it give this error:
... but qwt is already a dependency.
Xwang commented on 2020-06-27 15:54 (UTC) (edited on 2020-06-27 17:07 (UTC) by Xwang)
I've tried ant I've got the following error:
Did you get the same error? It seems it is looking for a file provided by the coin-or-ipopt package which is not in the dependencies list.
« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 11 .. 16 Next › Last »