Package Details: openmodelica 1.22.4-1

Git Clone URL: https://aur.archlinux.org/openmodelica.git (read-only, click to copy)
Package Base: openmodelica
Description: Open-source Modelica-based modeling and simulation environment
Upstream URL: https://www.openmodelica.org
Licenses: OSMC-PL
Submitter: hobbypunk
Maintainer: kyak (xantares)
Last Packager: xantares
Votes: 8
Popularity: 0.000315
First Submitted: 2017-10-02 19:23 (UTC)
Last Updated: 2024-05-22 06:48 (UTC)

Dependencies (12)

Required by (0)

Sources (1)

Latest Comments

1 2 3 Next › Last »

beralt commented on 2024-05-21 14:58 (UTC)

It doesn't build anymore. Seems like the problem is with xerces/RangeToken.cpp:

[ 23%] Building CXX object OMSimulator/3rdParty/xerces/src/CMakeFiles/xerces-c.dir/xercesc/util/regx/RangeToken.cpp.o
[ 23%] Built target omsensplugin_autogen_timestamp_deps
In file included from /usr/include/unicode/uset.h:36,
                 from /home/beralt/.cache/yay/openmodelica/src/openmodelica/OMSimulator/3rdParty/xerces/src/xercesc/util/regx/RangeToken.cpp:40:
/usr/include/unicode/localpointer.h:561:26: error: ‘auto’ parameter not permitted in this context
  561 | template <typename Type, auto closeFunction>
      |                          ^~~~
/usr/include/unicode/localpointer.h:573:76: error: template argument 2 is invalid
  573 |     explicit LocalOpenPointer(std::unique_ptr<Type, decltype(closeFunction)> &&p)
      |                                                                            ^
/usr/include/unicode/localpointer.h:583:78: error: template argument 2 is invalid
  583 |     LocalOpenPointer &operator=(std::unique_ptr<Type, decltype(closeFunction)> &&p) {
      |                                                                              ^
/usr/include/unicode/localpointer.h:599:59: error: template argument 2 is invalid
  599 |     operator std::unique_ptr<Type, decltype(closeFunction)> () && {
      |                                                           ^
/usr/include/unicode/uset.h:358:1: note: invalid template non-type parameter
  358 | U_DEFINE_LOCAL_OPEN_POINTER(LocalUSetPointer, USet, uset_close);
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
[ 23%] Building C object OMSimulator/3rdParty/Lua/lua-5.4.6/CMakeFiles/lua_static.dir/src/ldo.c.o
/home/beralt/.cache/yay/openmodelica/src/openmodelica/OMSimulator/3rdParty/xerces/src/xercesc/util/regx/RangeToken.cpp: In member function ‘virtual void xercesc_3_2::RangeToken::mergeRanges(const xercesc_3_2::Token*)’:
/home/beralt/.cache/yay/openmodelica/src/openmodelica/OMSimulator/3rdParty/xerces/src/xercesc/util/regx/RangeToken.cpp:494:28: warning: cast from type ‘const xercesc_3_2::Token* const’ to type ‘xercesc_3_2::RangeToken*’ casts away qualifiers [-Wcast-qual]
  494 |     RangeToken* rangeTok = (RangeToken *) tok;
      |                            ^~~~~~~~~~~~~~~~~~
make[2]: *** [OMSimulator/3rdParty/xerces/src/CMakeFiles/xerces-c.dir/build.make:468: OMSimulator/3rdParty/xerces/src/CMakeFiles/xerces-c.dir/xercesc/util/regx/RangeToken.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:7943: OMSimulator/3rdParty/xerces/src/CMakeFiles/xerces-c.dir/all] Error 2

a.spi commented on 2024-04-14 14:37 (UTC)

Compilation fails at OMSimulatorLib_static on Arch Linux.

TJP1997 commented on 2024-04-09 23:08 (UTC)

The compilation fails

lucas.mior commented on 2024-02-25 19:11 (UTC)

The issue is that for some reason, -Werror is enabled by default, making compilation fail. How to disable it?

lucas.mior commented on 2024-02-14 12:44 (UTC) (edited on 2024-02-14 12:45 (UTC) by lucas.mior)

Build is failing:

...
make[2]: Saindo do diretório 'yay/openmodelica/src/openmodelica/OMCompiler/Compiler'

test ! `uname` = Darwin || ( ! otool -L "yay/openmodelica/src/openmodelica/build/lib/x86_64-linux-gnu/omc"/*.dylib | egrep "yay/openmodelica/src/openmodelica/build|`pwd`" | grep -v : || ( echo All dylibs should be linked using @rpath ; false ) )
make[1]: Saindo do diretório 'yay/openmodelica/src/openmodelica/OMCompiler'

==> ERRO: Uma falha ocorreu em build().
    Abortando...
 -> erro ao construir: openmodelica-exit status 4
 -> Falha ao instalar os seguintes pacotes. É necessária a intervenção manual:
openmodelica - exit status 4

mantielero commented on 2023-11-26 08:51 (UTC)

In my system, in order to make it work, I had to install icu72. In my opinion, it should be added to the dependencies. But I don't know if this is an OpenModelica dependency or QT5.

Basique commented on 2023-11-23 10:41 (UTC)

I had to add the following line before autoreconf -fi in build() to make it compile:

sed -i '/If we find other systems/ a \\tcp -vpPR OMSimulator/install/lib/* @OMBUILDDIR@/lib/@host_short@/omc/ || \\' Makefile.in

kyak commented on 2022-07-22 05:52 (UTC)

@xantares ping?

kyak commented on 2022-07-16 08:19 (UTC)

@xantares lapack-static is missing from AUR. Why did you push this change?

https://aur.archlinux.org/cgit/aur.git/commit/?h=openmodelica&id=f16677eb81a0ce2b963344a9ba9e86f0fa94d48b

Also, why it depends on both lapack and lapack-static?

kyak commented on 2022-07-08 07:45 (UTC)

@xantares done