Package Details: gmsh 4.13.1-2

Git Clone URL: https://aur.archlinux.org/gmsh.git (read-only, click to copy)
Package Base: gmsh
Description: An automatic 3D finite element mesh generator with pre and post-processing facilities
Upstream URL: https://gmsh.info
Licenses: GPL-2.0-or-later
Submitter: S1G1
Maintainer: gborzi (carlosal1015, gpettinello)
Last Packager: carlosal1015
Votes: 63
Popularity: 0.22
First Submitted: 2006-04-04 23:31 (UTC)
Last Updated: 2025-03-01 15:08 (UTC)

Latest Comments

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

opamp22 commented on 2025-04-26 14:03 (UTC)

There is Cmake error when building gmsh.

==> Making package: gmsh 4.13.1-2 (Sat 26 Apr 2025 23:26:30)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Starting build()...
CMake Error at CMakeLists.txt:6 (cmake_minimum_required):
  Compatibility with CMake < 3.5 has been removed from CMake.

  Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
  to tell CMake that the project requires at least <min> but has been updated
  to work with policies introduced by <max> or earlier.

  Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway.

carlosal1015 commented on 2025-03-01 14:24 (UTC)

Hi @xtlc, see https://gitlab.onelab.info/gmsh/gmsh/-/issues/3158

xtlc commented on 2025-02-25 18:34 (UTC) (edited on 2025-02-25 18:35 (UTC) by xtlc)

This fails miserably :(


[  8%] Building CXX object CMakeFiles/shared.dir/src/geo/GModelIO_OCC.cpp.o
[  8%] Building CXX object CMakeFiles/shared.dir/src/geo/GModelIO_MSH.cpp.o
[  8%] Building CXX object CMakeFiles/shared.dir/src/geo/GModelIO_MSH2.cpp.o
[  8%] Building CXX object CMakeFiles/shared.dir/src/geo/GModelIO_MSH3.cpp.o
[  8%] Building CXX object CMakeFiles/shared.dir/src/geo/GModelIO_MSH4.cpp.o
[  8%] Building CXX object CMakeFiles/shared.dir/src/geo/GModelIO_VTK.cpp.o
[  8%] Building CXX object CMakeFiles/shared.dir/src/geo/GModelIO_CGNS.cpp.o
In file included from /tmp/packerbuild-1000/gmsh/gmsh/src/gmsh-4.13.1-source/src/geo/CGNSCommon.h:16,
                 from /tmp/packerbuild-1000/gmsh/gmsh/src/gmsh-4.13.1-source/src/geo/GModelIO_CGNS.cpp:9:
/usr/include/cgnslib.h:632:23: error: ‘Pair’ redeclared as different kind of entity
  632 |   CGNS_ENUMV( Pair ) =7,
      |                       ^
In file included from /tmp/packerbuild-1000/gmsh/gmsh/src/gmsh-4.13.1-source/src/geo/GFace.h:19,
                 from /tmp/packerbuild-1000/gmsh/gmsh/src/gmsh-4.13.1-source/src/geo/GModel.h:18,
                 from /tmp/packerbuild-1000/gmsh/gmsh/src/gmsh-4.13.1-source/src/geo/GModelIO_CGNS.cpp:8:
/tmp/packerbuild-1000/gmsh/gmsh/src/gmsh-4.13.1-source/src/geo/Pair.h:10:35: note: previous declaration ‘template<class L, class R> class Pair’
   10 | template <class L, class R> class Pair {
      |                                   ^~~~
make[2]: *** [CMakeFiles/shared.dir/build.make:1675: CMakeFiles/shared.dir/src/geo/GModelIO_CGNS.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:794: CMakeFiles/shared.dir/all] Error 2
make: *** [Makefile:166: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
The build failed.

I do not even have an idea where to start here :)

carlosal1015 commented on 2024-09-30 14:21 (UTC)

@TheBigBadBoy no issue from my side, please try again.

TheBigBadBoy commented on 2024-09-29 10:43 (UTC)

[100%] Built target shared
[100%] Built target gmsh
make: *** No rule to make target 'doc'.  Stop.
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: gmsh-exit status 4

petrov.vlad commented on 2024-05-10 10:58 (UTC)

version 4.13.1 - unstable. gmsh-4.13.1-source.tgz has been updated again and sha256sum is incorrect. Stable version 4.13.0.

baptiste commented on 2024-05-08 21:10 (UTC)

The sha256sum is incorrect for the 4.13.1 version.

Should be 73c40af3014090a568560f0d2c9f5a1b449cc9e7d409250a3dc95d78b3b38a7e but is d164e78b5b0f0f6b739ebe61317cea02bdecda8f74fd057221098677ca4b28e4

carlosal1015 commented on 2023-12-20 18:02 (UTC) (edited on 2023-12-21 18:02 (UTC) by carlosal1015)

It is true, the warning will be skipped if we append in the beginning /usr in libpath identifier https://gitlab.com/-/snippets/3633445

Edited: If we apply this patch will show the path that we are looking, but not reach /usr/lib. Meantime, I will open an issue later.

Warning: could not find Gmsh shared library libgmsh.so.4.11
Searched at all this locations: ['/usr/share/gmsh/api/python/libgmsh.so.4.11', '/usr/share/gmsh/api/python/lib/libgmsh.so.4.11', '/usr/share/gmsh/api/python/Lib/libgmsh.so.4.11', '/usr/share/gmsh/api/libgmsh.so.4.11', '/usr/share/gmsh/api/lib/libgmsh.so.4.11', '/usr/share/gmsh/api/Lib/libgmsh.so.4.11', '/usr/share/gmsh/libgmsh.so.4.11', '/usr/share/gmsh/lib/libgmsh.so.4.11', '/usr/share/gmsh/Lib/libgmsh.so.4.11']

Related issue: https://gitlab.onelab.info/gmsh/gmsh/-/issues/2750

MartinDiehl commented on 2023-12-10 22:29 (UTC)

When using the Python binding, I get the error `Warning: could not find Gmsh shared library libgmsh.so.4.11'

It seems that the search in https://gitlab.onelab.info/gmsh/gmsh/-/blob/master/api/gmsh.py?ref_type=heads#L45 does not work. Is patching gmsh.py an option?

carlosal1015 commented on 2023-05-10 20:14 (UTC)

Thanks @petronny for the report. The patch is fixed upstream. Now the package should compile fine.