Package Details: openmodelica-git 1.20.0.dev.r320.g9cbaf6232e-1

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)

Required by (0)

Sources (10)

Latest Comments

« First ‹ Previous 1 .. 4 5 6 7 8 9 10 11 12 13 14 .. 16 Next › Last »

ElMastro commented on 2019-12-11 21:36 (UTC)

I commented it on PKGBUILD. My version seems to compile it even with something missing (I added a comment on the forum. I don't remember my ssystem writing all this warning. As soon as I have enough time I'll investigate it in detail.

Xwang commented on 2019-12-06 17:58 (UTC)

@ElMastro

I've tried to comment out the specific lines regarding OMOptim compilation and to add the --with-omniORB=/usr configuration parameters and in such a why the compilation detect a CORBA providing tool and tries to compile OMOptim too, but it gives an error as you can see in this thread:

https://openmodelica.org/forum/default-topic/2826-errors-building-from-git

where they say that they do not compile OMOptim because it is not maintained, so I think that it is better to comment out the lines in the PKGBUILD and avoid to compile and install OMOptim.

Do you agree?

ElMastro commented on 2019-12-06 15:22 (UTC)

@Xwang, thank you for your pacience, it has been fixed. Now it should build OMOptim, I hope it works, mine still gives a segfault..... As soon as I have time enough I will try to understand why even with git module sync it doesn't compile build and install OMOptim

Xwang commented on 2019-12-05 13:02 (UTC) (edited on 2019-12-05 13:02 (UTC) by Xwang)

@ElMastro

in order to solve the OMOptim installation issue you have to add the following two lines:

cd OMOptim

make install DESTDIR=${pkgdir}

at the end of the package() function (after the 6 "install ..." lines)

PS I do not know if it is possible to force the makefile in "$srcdir/$pkgname" to configure, make and install OMOptim too without the need of this second configuration, building and installation process specifically for OMOptim.

Xwang commented on 2019-12-05 11:49 (UTC) (edited on 2019-12-05 11:57 (UTC) by Xwang)

@ElMastro

I've compiled the newer package and I see that:

1) These are the last lines of make: make[2]: uscita dalla directory "/home/andreak/tmp/AUR/openmodelica/src/openmodelica-git/OMOptim/OMOptim/build" make[1]: uscita dalla directory "/home/andreak/tmp/AUR/openmodelica/src/openmodelica-git/OMOptim/OMOptim/build" cp -a OMOptim/bin/OMOptim /home/andreak/tmp/AUR/openmodelica/src/openmodelica-git/OMOptim/build/bin ==> Entro nell'ambiente fakeroot... ==> Avvio di package() in corso...

2) in the openmodelica/src/openmodelica-git/OMOptim/OMOptim/bin/ folder there is this situation: drwxr-xr-x 2 andreak andreak 4096 5 dic 10.17 . drwxr-xr-x 8 andreak andreak 4096 5 dic 10.14 .. -rw-r--r-- 1 andreak andreak 10447150 5 dic 10.17 libOMOptim.a -rwxr-xr-x 1 andreak andreak 4377104 5 dic 10.17 OMOptim

3) no additional executable is added to the package

So it seems that OMOptim is correctly built, but not correctly added to the package Do you have the same result?

ElMastro commented on 2019-12-04 22:34 (UTC)

I'm sorry about that, I corrected it. @steinbuch, I don't understand what happened, it seems that could be a configuration of your compiler...Did openmodelica-git compile right before? If so maybe we should change the CXX flag on the OMOptim part

Xwang commented on 2019-12-04 18:00 (UTC)

I have seen that the OMOptim is only configured but no make command is present after the Omoptim (and at least in my case no binary is built). Except for that the compilation has worked correctly in my case.

steinbuch commented on 2019-12-04 17:57 (UTC)

fmilib compiles fine for me, but the general build fails:

checking for inttypes.h... /usr/bin/ld: Error_omc.boot.o: relocation R_X86_64_PC32 against symbol `errorext_once_create_key' can not be used when making a shared object; recompile with -fPIC

ElMastro commented on 2019-12-02 22:21 (UTC)

PKGBUILD has been corrected with right dependencies. Now OMOptim compiles and the binary is built, but doesn't seem to work. If this is confirmed I'll open a discussion on openmodelica forum

ElMastro commented on 2019-11-29 22:05 (UTC) (edited on 2019-12-02 22:19 (UTC) by ElMastro)

@Xwang, I confirmed it works with your dependencies. I'm experiencing some difficulties with the fmilib dependency, as soon as I solve it I'm making a clean PKGBUILD