[Bug 275166] science/spheral: Fails to build with GCC 13: ld: error: unable to find library -lmfem

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 18 Nov 2023 10:42:55 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275166

            Bug ID: 275166
           Summary: science/spheral: Fails to build with GCC 13: ld:
                    error: unable to find library -lmfem
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: yuri@freebsd.org
          Reporter: salvadore@freebsd.org
            Blocks: 273397
          Assignee: yuri@freebsd.org
             Flags: maintainer-feedback?(yuri@freebsd.org)

This bug report blocks the update of GCC_DEFAULT to 13. This webpage can help
finding a fix: https://gcc.gnu.org/gcc-13/porting_to.html

/usr/local/lib/libhdf5.so /usr/local/lib/libhdf5_hl.so
/usr/local/lib/libosdCPU.so /usr/local/lib/libpolytope.so /usr/lib/libz.so
/usr/local/lib/libboost_filesystem.so /usr/local/lib/libboost_system.so
/usr/local/lib/libqhull_r.so /usr/local/lib/libsiloh5.so
/usr/local/lib/libaxom.so /usr/local/lib/libhdf5.so
/usr/local/lib/libhdf5_hl.so /usr/local/lib/libosdCPU.so
/usr/local/lib/libpolytope.so /usr/local/lib/libmpifort.so -lmfem
/usr/local/lib/libconduit_relay_mpi_io.so /usr/local/lib/libconduit_relay.so
-lrt /usr/local/lib/libsiloh5.so -lpthread /usr/local/lib/libhdf5.so.200.2.0
-lm -ldl /usr/local/lib/libconduit_blueprint_mpi.so
/usr/local/lib/libconduit_blueprint.so /usr/local/lib/libconduit_relay_mpi.so
/usr/local/lib/libconduit.so /usr/local/lib/libmpi.so
/usr/local/lib/libmpicxx.so /usr/local/lib/liblua-5.4.so -lgfortran
-lssp_nonshared -lquadmath 
ld: error: unable to find library -lmfem
c++: error: linker command failed with exit code 1 (use -v to see invocation)
*** [lib/libSpheral_CXX.so] Error code 1

make[3]: stopped in /wrkdirs/usr/ports/science/spheral/work/.build
1 error

make[3]: stopped in /wrkdirs/usr/ports/science/spheral/work/.build
*** [src/CMakeFiles/Spheral_CXX.dir/all] Error code 2

make[2]: stopped in /wrkdirs/usr/ports/science/spheral/work/.build
1 error

make[2]: stopped in /wrkdirs/usr/ports/science/spheral/work/.build
*** [all] Error code 2

make[1]: stopped in /wrkdirs/usr/ports/science/spheral/work/.build
1 error

Full log:
https://pkg-status.freebsd.org/package22/data/132amd64-default-foo/2023-11-10_07h48m13s/logs/errors/spheral-2023.06.0.log


Referenced Bugs:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=273397
[Bug 273397] [exp-run] Update GCC_DEFAULT to 13 etc.
-- 
You are receiving this mail because:
You are the assignee for the bug.