Your message dated Thu, 12 Dec 2024 10:20:35 +0000
with message-id <e1tlgj9-00fhvh...@fasolo.debian.org>
and subject line Bug#1087776: fixed in ncl 6.6.2.dfsg.1-9.1
has caused the Debian Bug report #1087776,
regarding ncl: FTBFS with HDF5 1.14: too few arguments to function 
‘H5Oget_info_by_name3’
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
1087776: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1087776
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: ncl
Version: 6.6.2.dfsg.1-9
Severity: important
Tags: ftbfs patch

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Hi,

Durig a test rebuild against HDF5 1.14 currently in experimental ncl
FTBFS with:

cc -g -O2 -Wno-error=implicit-function-declaration 
-ffile-prefix-map=/build/ncl-rfsutr/ncl-6.6.2.dfsg.1=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection   
-Wno-error=int-conversion -Wno-error=implicit-function-declaration 
-I/usr/include/hdf5/serial -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE   
-I../../../.././include -I/usr/include/freetype2 -I/usr/include/gdal  
-I/usr/include/hdf-eos5 -I/usr/include/hdf -I/usr/include/x86_64-linux-gnu/hdf 
-I/usr/include/mpi  -DLinux -DMAJOR=6 -DUSE_NETCDF4 -DBuildHDFEOS  -DBuildHDF4  
-DBuildHDFEOS5  -DBuildHDF5 -DBuildGRIB2 -D__64BIT__ -DBuildGDAL -DNIO_LIB_ONLY 
 -DENV_DEFS='{"tmp","TMPDIR",NULL,"/tmp",NULL,                   
"fontcap","FONTCAP",NULL,"/usr/share/ncarg/fontcaps",NULL,                      
        "graphcap","GRAPHCAP",NULL,"/usr/share/ncarg/graphcaps",NULL,           
                "root",NULL,NULL,"/usr",NULL,           
"usrresfile",NULL,NULL,"~/.hluresfile",NULL,                    
"gks_output",NULL,NULL,"gmeta",NULL,                            
"bin",NULL,"root","/usr/bin",NULL,                                      
"lib",NULL,NULL,"/usr/lib/x86_64-linux-gnu/ncarg",NULL,                 
"include",NULL,"root","/usr/include/ncarg",NULL,                                
"man",NULL,"root","/usr/share/man",NULL,                                        
"ncarg",NULL,NULL,"/usr/share/ncarg",NULL,                                      
"config",NULL,"ncarg",NULL,NULL,                                
"data",NULL,"ncarg","/usr/share/ncarg/data",NULL,       
"database",NULL,"ncarg","/usr/share/ncarg/database",NULL,                       
        "doc",NULL,"ncarg","/usr/share/doc/libncarg-data",NULL,                 
                "fontcaps",NULL,"ncarg","/usr/share/ncarg/fontcaps",NULL,       
                        
"graphcaps",NULL,"ncarg","/usr/share/ncarg/graphcaps",NULL,                     
        "colormaps",NULL,"ncarg","/usr/share/ncarg/colormaps",NULL,             
                "rangs","NCARG_RANGS","database","/usr/share/rangs",NULL,       
                "udunits","NCARG_UDUNITS",NULL,"/usr/share/xml/udunits",NULL,   
                "psadilookup","PSADILOOKUP_PATH",NULL,NULL,NULL,                
"examples",NULL,"ncarg","/usr/share/doc/libncarg-dev/examples",NULL,            
                "hluex",NULL,"ncarg","/usr/share/ncarg/hluex",NULL,             
                        "nclex",NULL,"ncarg","/usr/share/ncarg/nclex",NULL,     
                                "pynglex",NULL,"ncarg",NULL,NULL,               
                "resfiles",NULL,"ncarg","/usr/share/ncarg/resfiles",NULL,       
                        "tests",NULL,"ncarg","/usr/share/ncarg/tests",NULL,     
                                
"tutorial",NULL,"ncarg","/usr/share/doc/libncarg-dev/tutorial",NULL,            
                "xapp",NULL,"ncarg",NULL,NULL,                                  
"ngwww",NULL,"ncarg","/usr/share/ncarg/ngwww",NULL,             
"ngurl",NULL,"ngwww","/usr/share/ncarg/ngwww/ngurl",NULL,                       
                "sysresfile",NULL,"ncarg","/usr/share/ncarg/sysresfile",NULL,   
                "sysappres",NULL,"ncarg","/usr/share/ncarg/sysappres",NULL,     
                        
"grib2_codetables","NIO_GRIB2_CODETABLES","ncarg","/usr/share/ncarg/grib2_codetables",NULL,
             "ftfonts",NULL,"database","/usr/share/fonts/truetype/ncl",NULL,    
                     NULL}'   -DSYSV -D_POSIX_SOURCE -D_XOPEN_SOURCE 
-DByteSwapped -DNeedFuncProto  -Wdate-time -D_FORTIFY_SOURCE=2    -c -o 
h5reader.o h5reader.c
In file included from /usr/include/hdf5/serial/H5public.h:31,
                 from /usr/include/hdf5/serial/hdf5.h:21,
                 from h5data_struct.h:32,
                 from h5reader.c:1:
h5reader.c: In function ‘_NclHDF5check_obj’:
/usr/include/hdf5/serial/H5version.h:947:31: error: too few arguments to 
function ‘H5Oget_info_by_name3’
  947 |   #define H5Oget_info_by_name H5Oget_info_by_name3
      |                               ^~~~~~~~~~~~~~~~~~~~
h5reader.c:42:14: note: in expansion of macro ‘H5Oget_info_by_name’
   42 |     status = H5Oget_info_by_name(fid, root_name, &oi, H5P_DEFAULT);
      |              ^~~~~~~~~~~~~~~~~~~
In file included from /usr/include/hdf5/serial/H5Apublic.h:21,
                 from /usr/include/hdf5/serial/hdf5.h:22:
/usr/include/hdf5/serial/H5Opublic.h:543:15: note: declared here
  543 | H5_DLL herr_t H5Oget_info_by_name3(hid_t loc_id, const char *name, 
H5O_info2_t *oinfo, unsigned fields,
      |               ^~~~~~~~~~~~~~~~~~~~


Please find attached a patch proposal.

Best,
_g.

- -- System Information:
Debian Release: 12.0
Architecture: amd64 (x86_64)

Kernel: Linux 6.1.0-26-amd64 (SMP w/12 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEEoJObzArDE05WtIyR7+hsbH/+z4MFAmc7X4QACgkQ7+hsbH/+
z4McPgf/X25DFCRBxFe+xM5H6B5NsbkuE9fqlgfZ2kKfEHkKuQcU3HYESeBcbSvO
IYIEhAnVL9tCgj0qQV3Dp0FfhuKDwnc8QZQ6kutHWBw5j3eeZdlmsj6tfTR4wSPV
D24VLTW3Hh3wGYDGblpP4Q2IbTZV8bDLWLZfp+feAieFHfpUrXZZYmihdECSPl91
L0EL7JxNDK7rmtEGVucOx1v4SsgyxSNcz10nAflkQ8lr8DgcGinaKmFUmtE1aMHu
2KXvQG1s5k91DKQEYKpi9M6J69RBYBzRkHrP1f2vooFl07LBRBd7d0S2Ow7IFXl+
boboUp023HqrC7wE4+g6aRYj2Gx1Fw==
=yMQ/
-----END PGP SIGNATURE-----
diff -Nru ncl-6.6.2.dfsg.1/debian/changelog ncl-6.6.2.dfsg.1/debian/changelog
--- ncl-6.6.2.dfsg.1/debian/changelog   2024-11-07 15:45:42.000000000 +0100
+++ ncl-6.6.2.dfsg.1/debian/changelog   2024-11-18 11:26:56.000000000 +0100
@@ -1,3 +1,10 @@
+ncl (6.6.2.dfsg.1-9.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Add -DH5_USE_110_API to CPPFLAGS to support HDF5 1.14
+
+ -- Gilles Filippini <p...@debian.org>  Mon, 18 Nov 2024 11:26:56 +0100
+
 ncl (6.6.2.dfsg.1-9) unstable; urgency=medium
 
   * More work on gcc14.patch; still incomplete
diff -Nru ncl-6.6.2.dfsg.1/debian/rules ncl-6.6.2.dfsg.1/debian/rules
--- ncl-6.6.2.dfsg.1/debian/rules       2024-11-07 15:45:42.000000000 +0100
+++ ncl-6.6.2.dfsg.1/debian/rules       2024-11-18 11:26:56.000000000 +0100
@@ -62,6 +62,9 @@
 
 export 
LD_LIBRARY_PATH=$(CURDIR)/shared:$(LIBDIR)/fortran/$(F77):$(LIBDIR)/libfakeroot
 
+# Force HDF5 1.10 API to support building against HDF5 1.14
+export DEB_CPPFLAGS_MAINT_APPEND = -DH5_USE_110_API
+
 # We built it twice: first shared, to get the shared libraries (with -fpic 
-fPIC)
 # then static, for execution speed.
 

--- End Message ---
--- Begin Message ---
Source: ncl
Source-Version: 6.6.2.dfsg.1-9.1
Done: Gilles Filippini <p...@debian.org>

We believe that the bug you reported is fixed in the latest version of
ncl, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1087...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Gilles Filippini <p...@debian.org> (supplier of updated ncl package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Mon, 18 Nov 2024 11:26:56 +0100
Source: ncl
Architecture: source
Version: 6.6.2.dfsg.1-9.1
Distribution: unstable
Urgency: medium
Maintainer: Debian Science Maintainers 
<debian-science-maintain...@lists.alioth.debian.org>
Changed-By: Gilles Filippini <p...@debian.org>
Closes: 991725 1087776
Changes:
 ncl (6.6.2.dfsg.1-9.1) unstable; urgency=medium
 .
   [ Gilles Filippini ]
   * Add -DH5_USE_110_API to CPPFLAGS to support HDF5 1.14.
     Closes: #1087776
 .
   [ Alastair McKinstry ]
   * Fix dependencies for libncarg-dev and ncarpg.pc. Closes: #991725
Checksums-Sha1:
 1bf5aff96451b6fc01c84d75a9311958aacd3b67 2886 ncl_6.6.2.dfsg.1-9.1.dsc
 d9bed13c6b7541cc2e947796c459692273dd8b87 265820 
ncl_6.6.2.dfsg.1-9.1.debian.tar.xz
Checksums-Sha256:
 91583dfc15adb9fa3c3e00147d0f611fcc20b099a5023a1c2d282a44cc6aaf7d 2886 
ncl_6.6.2.dfsg.1-9.1.dsc
 e92688dcb861f16c95f32b9e6c1f10c26f39aec74eec8dd2fb2c503843fd4f04 265820 
ncl_6.6.2.dfsg.1-9.1.debian.tar.xz
Files:
 bba919365571222ea8ec10f8cde10cf4 2886 science optional ncl_6.6.2.dfsg.1-9.1.dsc
 601544d0e9e2815bf3a2f15790c7aa7b 265820 science optional 
ncl_6.6.2.dfsg.1-9.1.debian.tar.xz

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEgjg86RZbNHx4cIGiy+a7Tl2a06UFAmdatQAACgkQy+a7Tl2a
06XFdg//cEw5QD63RyWqZ+rzo1x4HGLiJLzyFBbK9tA74K67P+5MZDO+eG5QRsF4
sRVE8oL/FrOnlLOlSbHxujVR9oiHacf/UtUvLFuDkAY9LKKLGzDmHRA/LqrSEuBh
QYC0pkMorWccX9vtQUghTgOM8ERUVaSthTwYYM7hW4bVZzSVwZQG0ADM1kDRCaZm
O31ICzeRFDD0RVGkCNO1yaTXKwpxzrwWVwyM/JENSLWXwbZuvry1//0wb36KkloZ
aCaLROskS507NEQmqprYXob0/YSYSxPCieeLsq5d/Dnv92lDRaYqXOhEJWd4370q
VE84NPVylm2WZAy1GWeFUGswEjlHqQ4e+ZMJdxbyPhlz5lBOV8B45LQeHdlwpV2V
4SwUS6KsB/PhAViBrZVUdSz2RgBe6YjboMfAjW7JyDQ9F883U01UF7rBJKQ9qLI0
pfVgTDWfYJQj+jf2VGtKggN3JiU88JL1d0mGhS0rzWvTT1T3JLADFF+HNx8q7EFk
9veMunNHwS5UhySTInP0RN6q+kcxTTb+wFqZPo29xpIKz/X3Yy++MoDA1wZuOl8g
P4uwJMGFDSpscv6cIwMfIjgScrxxDQEQhX3zAa5u3oBFUn0f3/T7aT9idyfXWmoW
3binyZ4xiKSiKD5dmt9WmdGCa7Z2Cc0hA+wvWLFSttCpr+3Grao=
=JoAh
-----END PGP SIGNATURE-----

Attachment: pgpVSAr7_ay2Y.pgp
Description: PGP signature


--- End Message ---

Reply via email to