maintainer-feedback requested: [Bug 257414] math/PDL - build fails as "hdf.h" could not be found (science/hdf has already been installed)

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 25 Jul 2021 17:05:11 +0000
Bugzilla Automation <bugzilla_at_FreeBSD.org> has asked freebsd-perl (Nobody)
<perl_at_FreeBSD.org> for maintainer-feedback:
Bug 257414: math/PDL - build fails as "hdf.h" could not be found (science/hdf
has already been installed)
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=257414



--- Description ---
Build of devel/PDL 2.019_5 fails ...

...
gmake[3]: Entering directory
'/src-build/ports-build/src-build/ports/math/PDL/work/PDL-2.019/IO/HDF'
gmake[4]: Entering directory
'/src-build/ports-build/src-build/ports/math/PDL/work/PDL-2.019/IO/HDF/SD'
"/root2/system-local/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' --
SD.bs ../../../blib/arch/auto/PDL/IO/HDF/SD/SD.bs 644
cc -c
"-I/src-build/ports-build/src-build/ports/math/PDL/work/PDL-2.019/Basic/Core"
-I 
"-I/src-build/ports-build/src-build/ports/math/PDL/work/PDL-2.019/Basic/Core"
-I -O2 -pipe -fno-omit-frame-pointer -march=nocona  -fstack-protector-strong
-fno-strict-aliasing  -g   -DVERSION=\"\" -DXS_VERSION=\"\" -DPIC -fPIC
"-I/usr/local/lib/perl5/5.32/mach/CORE" -DSWAP -DNDEBUG -DHDF -DBIG_LONGS
-DIA64 -D_BSD_SOURCE -DLINUX -DGCC32   SD.c
SD.xs:38:10: fatal error: 'hdf.h' file not found
#include <hdf.h>
	 ^~~~~~~
1 error generated.
gmake[4]: *** [Makefile:324: SD.o] Error 1
gmake[4]: Leaving directory
'/src-build/ports-build/src-build/ports/math/PDL/work/PDL-2.019/IO/HDF/SD'
gmake[3]: *** [Makefile:485: subdirs] Error 2
gmake[3]: Leaving directory
'/src-build/ports-build/src-build/ports/math/PDL/work/PDL-2.019/IO/HDF'
gmake[2]: *** [Makefile:496: subdirs] Error 2
gmake[2]: Leaving directory
'/src-build/ports-build/src-build/ports/math/PDL/work/PDL-2.019/IO'
gmake[1]: *** [Makefile:552: subdirs] Error 2
gmake[1]: Leaving directory
'/src-build/ports-build/src-build/ports/math/PDL/work/PDL-2.019'
*** Error code 1

Stop.
make: stopped in /src-build/ports/math/PDL


science/hdf 4.2.15,1 has already been installed.


# make showconfig  # for math/PDL.
===> The following configuration options are available for PDL-2.019_5:
     F77=on: Enable PDL::Minuit and PDL::Slatec
     FFTW=on: Enable PDL::FFTW
     GD=on: Enable PDL::IO::GD
     GSL=off: Enable PDL::GSL interface
     HDF=off: Enable PDL::IO::HDF interface
     OPENGL=off: Enable PDL::Graphics::TriD and OpenGL
     PGPLOT=on: Enable PDL::Graphics::PGPLOT
     PLPLOT=off: Enable PDL::Graphics::PLplot
     PROJ=off: Enable PDL::GIS::Proj interface
     READLINE=on: Use GNU readline
     SINK=off: Include PDL kitchen sink
===> Use 'make config' to modify these settings
Received on Sun Jul 25 2021 - 17:05:11 UTC

Original text of this message