Bug#1139600: fixed in gmtsar 6.6+ds-2
Sebastiaan Couwenberg
sebastic at xs4all.nl
Fri Aug 7 12:51:43 BST 2026
Control: tags -1 pending
On 8/7/26 9:54 AM, Sebastiaan Couwenberg via Pkg-grass-devel wrote:
> On 6/22/26 10:27 AM, Pini wrote:
>> Unfortunately my patch wasn't robust enough, and it doesn't work with this new release of the package.
>>
>> Please find attached an improved one.
>
> Now that hdf5 transition started we see that the patch does resolve the FTBFS.
>
> x86_64-linux-gnu-gcc -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gmtsar-6.7+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -z muldefs -g -O2 -Wall -fPIC -fno-strict-aliasing -std=gnu99 -Wl,-z,relro -Wl,-z,now -z muldefs -g -s -o make_slc_csk make_slc_csk.o -L../../../gmtsar -lgmtsar -L../lib -lxmlC -L/usr/lib/x86_64-linux-gnu -lgmt -laec -lsz -lz -ldl -lm -lhdf5_serial_hl -lhdf5 -lhdf5_cpp -lm
> /usr/bin/x86_64-linux-gnu-ld.bfd: cannot find -lhdf5: No such file or directory
> /usr/bin/x86_64-linux-gnu-ld.bfd: cannot find -lhdf5_cpp: No such file or directory
> collect2: error: ld returned 1 exit status
>
> Looks like only the first library correctly contains $HDF5_INFIX, whereas the other two do not.
The patch in git has been updated to include pini's latest changes and a further change from me that I noticed while troubleshooting this issue.
I'll leave the upload to Antonio.
Kind Regards,
Bas
--
PGP Key ID: 4096R/6750F10AE88D4AF1
Fingerprint: 8182 DE41 7056 408D 6146 50D1 6750 F10A E88D 4AF1
More information about the Pkg-grass-devel
mailing list