armv7 targeting via poudriere-devel: science/cgnslib builds failed for : undefined reference to `H5Pset_coll_metadata_write'

From: Mark Millard <marklmi_at_yahoo.com>
Date: Sat, 04 Jun 2022 08:40:46 UTC
My attempted bulk -a -c targeting armv7 (on a aarch64 machine
that can execute armv7 code) failed for . . .

work/.build/CMakeFiles/CMakeError.log for cgnslib-4.3.0,1. reports:

Linking C executable cmTC_2207b
/usr/local/bin/cmake -E cmake_link_script CMakeFiles/cmTC_2207b.dir/link.txt --verbose=1
/usr/bin/cc -O2 -pipe  -g -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -O2 -pipe  -g -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -Wl,-rpath=/usr/local/lib/gcc12  -L/usr/local/lib/gcc12 -B/usr/local/bin -fstack-protector-strong  CMakeFiles/cmTC_2207b.dir/test_HDF.c.o -o cmTC_2207b  -Wl,-rpath,/usr/local/lib /usr/local/lib/libhdf5.so /usr/local/lib/libsz.so /usr/lib/libz.so /usr/lib/libdl.so /usr/lib/libm.so 
/usr/local/bin/ld: CMakeFiles/cmTC_2207b.dir/test_HDF.c.o: in function `main':
/wrkdirs/usr/ports/science/cgnslib/work/.build/CMakeFiles/CMakeTmp/test_HDF.c:6: undefined reference to `H5Pset_coll_metadata_write'
/usr/local/bin/ld: /wrkdirs/usr/ports/science/cgnslib/work/.build/CMakeFiles/CMakeTmp/test_HDF.c:7: undefined reference to `H5Pset_all_coll_metadata_ops'
cc: error: linker command failed with exit code 1 (use -v to see invocation)
*** Error code 1

===
Mark Millard
marklmi at yahoo.com