Package Details: gmsh 4.12.2-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: custom
Submitter: S1G1
Maintainer: gborzi (carlosal1015, gpettinello)
Last Packager: carlosal1015
Votes: 61
Popularity: 0.039885
First Submitted: 2006-04-04 23:31 (UTC)
Last Updated: 2024-01-21 21:19 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 11 12 .. 20 Next › Last »

xantares commented on 2020-05-15 18:14 (UTC) (edited on 2020-05-15 18:27 (UTC) by xantares)

try removing metis (from your system): the package still builds, but metis is not detected and hence it builds the bundled version

for python2 read https://www.archlinux.org/todo/die-python2-die/

gborzi commented on 2020-05-15 17:49 (UTC)

@xantares Why drop python2? It's still in the repos. I disagree that metis, alglib, etc. must be in makedepends for split packages, I can't find such rule in the wiki. But, if you can point me to a relevant wiki article I'll be happy to oblige.

xantares commented on 2020-05-15 16:58 (UTC) (edited on 2020-05-15 17:16 (UTC) by xantares)

oh, metis & alglib have to be listed in makedepends too as it is a split package, and the other compiled dependencies too!

xantares commented on 2020-05-15 16:53 (UTC)

ok, thanks

I think you can drop python2 now :)

gborzi commented on 2020-05-15 16:05 (UTC)

@xantares I've compiled and installed mmg3d, but gmsh compilation fails with the current mmg3d version. The version in contrib is 4.x.y, so for this reason and because it doesn't compile with gcc 10 I'll leave it to the contrib version. So the new PKGBUILD I'll upload will have alglib, metis and voro++ as new dependencies. Actually, voro++ is in makedepends, because it is a static library.

xantares commented on 2020-05-15 15:39 (UTC) (edited on 2020-05-15 15:42 (UTC) by xantares)

yes, adding aur dependencies is totally ok

voro++ and mmg3d are available, though mmg3d does not compile with gcc 10 currently

for gmm it seems they require a different version that the one on aur, so to disable it you can pass GMM_INC=0

gborzi commented on 2020-05-15 15:15 (UTC)

@xantares I've followed your suggestion and recompiled the package with ENABLE_SYSTEM_CONTRIB=ON and adding metis as a dependency. As for the other dependencies, only metis, alglib and gmm are available in the repos. Actually gmm is a collection of include files, so it is irrelevant. Do you suggest to add AUR dependencies as well?

xantares commented on 2020-05-15 14:34 (UTC) (edited on 2020-05-15 14:51 (UTC) by xantares)

gmsh cannot be used anymore against the system metis since the gcc update as it bundles its own copy of metis:

/usr/bin/ld: gk_cur_jbufs: TLS definition in /usr/lib/libgmsh.so section .tdata mismatches non-TLS definition in /usr/lib/libmetis.so section .data

a solution would be to try ENABLE_SYSTEM_CONTRIB=ON and depend on metis from extra:

https://gitlab.onelab.info/gmsh/gmsh/-/blob/master/CMakeLists.txt#L897

https://www.archlinux.org/packages/extra/x86_64/metis/

that would also probably make the package smaller and faster to build

also that would probably be possible for the other dependencies: ann, mmg3d, gmm, voro++, etc

gborzi commented on 2020-05-15 13:24 (UTC)

@xantares Thanks, I've added that CFLAGS to the PKGBUILD.

xantares commented on 2020-05-15 12:55 (UTC)

configuring with CFLAGS="-fcommon" makes it build again