Package Details: gmsh 4.13.1-1

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: 62
Popularity: 0.019513
First Submitted: 2006-04-04 23:31 (UTC)
Last Updated: 2024-05-25 16:15 (UTC)

Latest Comments

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

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.

petronny commented on 2023-05-10 07:13 (UTC)

[ 28%] Building CXX object CMakeFiles/gmsh.dir/src/mesh/meshGFacePack.cpp.o
/build/gmsh/src/gmsh-4.11.1-source/src/mesh/meshGFacePack.cpp: In function ‘double p2triangle_alignment_quality_measure(double*, double*, double*, double*, double*, double*, int)’:
/build/gmsh/src/gmsh-4.11.1-source/src/mesh/meshGFacePack.cpp:209:7: error: ‘uint32_t’ was not declared in this scope
  209 |   for(uint32_t j = 0; j < 6; j++) {
      |       ^~~~~~~~
/build/gmsh/src/gmsh-4.11.1-source/src/mesh/meshGFacePack.cpp:16:1: note: ‘uint32_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
   15 | #include "robustPredicates.h"
  +++ |+#include <cstdint>
   16 | 

https://github.com/arch4edu/cactus/actions/runs/4926313004/jobs/8801695301

entshuld commented on 2023-01-27 20:12 (UTC) (edited on 2023-01-27 20:39 (UTC) by entshuld)

@gborzi @billypilgrim Inspired by freecad-git

diff --git a/PKGBUILD b/PKGBUILD
index 3c8f2ea..94abf69 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -61,6 +61,9 @@ package_gmsh() {
    cd "${srcdir}/${pkgname}-${pkgver}-source/build"
    make DESTDIR=${pkgdir} install
    install -D -m644 "${pkgdir}/usr/lib/gmsh.py" "${pkgdir}/usr/share/gmsh/api/python/gmsh.py"
+   PYVER="$(/usr/bin/python3 -c 'import sys; print("{}.{}".format(sys.version_info.major,sys.version_info.minor))')"
+   install -d "${pkgdir}/usr/lib/python${PYVER}/site-packages/"
+   ln -s "${pkgdir}/usr/share/gmsh/api/python/gmsh.py" "${pkgdir}/usr/lib/python${PYVER}/site-packages/"
    install -D -m644 "${pkgdir}/usr/lib/gmsh.jl" "${pkgdir}/usr/share/gmsh/api/julia/gmsh.jl"
    rm -f "${pkgdir}/usr/lib/gmsh.py" "${pkgdir}/usr/lib/gmsh.jl"
    install -d "$pkgdir/etc/profile.d"

gborzi commented on 2022-11-09 11:34 (UTC)

@billypilgrim The problem is that as soon as python 3 is upgraded to 3.11 it won't work anymore.