Bug 1794427 - gmsh-4.5.1-1.fc32: FTBFS with gcc 10: mesh.h:411: multiple definition of `MMG_movevertex'
Summary: gmsh-4.5.1-1.fc32: FTBFS with gcc 10: mesh.h:411: multiple definition of `MMG...
Alias: None
Product: Fedora
Classification: Fedora
Component: gmsh
Version: rawhide
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
Assignee: Sandro Mani
QA Contact: Fedora Extras Quality Assurance
URL: https://koschei.fedoraproject.org/pac...
Depends On:
Blocks: F32FTBFS GCC10
TreeView+ depends on / blocked
Reported: 2020-01-23 15:04 UTC by Jitka Plesnikova
Modified: 2020-01-30 20:22 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed: 2020-01-30 20:22:10 UTC
Type: Bug

Attachments (Terms of Use)

Description Jitka Plesnikova 2020-01-23 15:04:10 UTC
gmsh-4.5.1-1.fc32 fails to build in F32: 

/usr/bin/ld: CMakeFiles/shared.dir/contrib/mmg3d/build/sources/inout.c.o:/builddir/build/BUILD/gmsh-4.5.1-source/contrib/mmg3d/build/sources/mesh.h:411: multiple definition of `MMG_movevertex'; CMakeFiles/shared.dir/contrib/mmg3d/build/sources/mmg3d.c.o:/builddir/build/BUILD/gmsh-4.5.1-source/contrib/mmg3d/build/sources/mesh.h:411: first defined here
/usr/bin/ld: CMakeFiles/shared.dir/contrib/mmg3d/build/sources/inout.c.o:/builddir/build/BUILD/gmsh-4.5.1-source/contrib/mmg3d/build/sources/mesh.h:410: multiple definition of `MMG_optlentet'; CMakeFiles/shared.dir/contrib/mmg3d/build/sources/mmg3d.c.o:/builddir/build/BUILD/gmsh-4.5.1-source/contrib/mmg3d/build/sources/mesh.h:410: first defined here
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/shared.dir/build.make:8883: libgmsh.so.4.5.1] Error 1
make[2]: Leaving directory '/builddir/build/BUILD/gmsh-4.5.1-source/build-serial'
make[1]: *** [CMakeFiles/Makefile2:1194: CMakeFiles/shared.dir/all] Error 2

A difference between passing and failing build root is at 
This is probably triggered with an upgrade of gcc from 9.2.1-1.fc32.3 to 10.0.1-0.3.fc32.

Additional info:
This package is tracked by Koschei. See:

Comment 1 Richard Shaw 2020-01-30 20:22:10 UTC
Latest 4.5.1 build succeeded and I just built 4.5.2 which also succeeded. Closing.

Note You need to log in before you can comment on or make changes to this bug.