Package: release.debian.org Severity: normal User: release.debian....@packages.debian.org Usertags: unblock
Please unblock package nexus The package fixes #861736 in a patch provided by Gilles Filippini (thanks for this Gilles). I did another admittedly questionable change. I moved the package to Debian Science team (so some d/control information was changed) which is probably fine even under freeze policy. I also added a watch file to make sure a signal is raised that there is also a new upstream version so the package is definitely better than before (even if I admit that I would have applied more changes outside freeze policy). The questionable part is that I intentionally left out a human beeing as Uploader. To compensate this I'm CCing Debian Science team as well as the contributors to this bug report who are known members of Debian Science team. I'm hereby explicitly asking you to consider adding your name as Uploader in Git[1] to make sure we will add a responsible person as soon as possible. If it turns out that nobody else would volunteer I would consider adding myself to follow policy - but I have a really bad feeling to do so since I feel totally incompetent to maintain this package and while beeing sure that I could do better than annonymous QA member it will be far from what I consider "properly". So thanks for considering to add yourself as Uploader. Kind regards Andreas. [1] https://anonscm.debian.org/git/debian-science/packages/nexus.git unblock nexus/4.3.2-svn1921-5 -- System Information: Debian Release: 8.8 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 3.16.0-4-amd64 (SMP w/1 CPU core) Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system)
diff -Nru nexus-4.3.2-svn1921/debian/changelog nexus-4.3.2-svn1921/debian/changelog --- nexus-4.3.2-svn1921/debian/changelog 2016-07-22 23:05:27.000000000 +0200 +++ nexus-4.3.2-svn1921/debian/changelog 2017-05-11 09:23:17.000000000 +0200 @@ -1,3 +1,19 @@ +nexus (4.3.2-svn1921-5) unstable; urgency=medium + + * Team upload. + + [ Andreas Tille ] + * Take over package into Debian Science team + * Fix wrong Priority: extra -> optional + * Add watch file + * Add Homepage field + + [ Gilles Filippini ] + * New patch hdf5-1.10-support.patch to fix incorrect type for HDF5 + handles: should be hid_t instead of int (closes: #861736) + + -- Andreas Tille <ti...@debian.org> Thu, 11 May 2017 09:23:17 +0200 + nexus (4.3.2-svn1921-4) unstable; urgency=medium * QA upload. diff -Nru nexus-4.3.2-svn1921/debian/control nexus-4.3.2-svn1921/debian/control --- nexus-4.3.2-svn1921/debian/control 2015-12-13 23:47:48.000000000 +0100 +++ nexus-4.3.2-svn1921/debian/control 2017-05-11 09:23:17.000000000 +0200 @@ -1,6 +1,6 @@ Source: nexus -Priority: extra -Maintainer: Debian QA Group <packa...@qa.debian.org> +Priority: optional +Maintainer: Debian Science Team <debian-science-maintain...@lists.alioth.debian.org> Build-Depends: ant, autoconf, automake, @@ -18,6 +18,9 @@ python-numpy Standards-Version: 3.9.6 Section: libs +Vcs-Browser: https://anonscm.debian.org/cgit/debian-science/packages/nexus.git +Vcs-Git: https://anonscm.debian.org/git/debian-science/packages/nexus.git +Homepage: https://github.com/nexusformat/code Package: libnexus0v5 Section: libs diff -Nru nexus-4.3.2-svn1921/debian/patches/hdf5-1.10-support.patch nexus-4.3.2-svn1921/debian/patches/hdf5-1.10-support.patch --- nexus-4.3.2-svn1921/debian/patches/hdf5-1.10-support.patch 1970-01-01 01:00:00.000000000 +0100 +++ nexus-4.3.2-svn1921/debian/patches/hdf5-1.10-support.patch 2017-05-11 09:23:17.000000000 +0200 @@ -0,0 +1,111 @@ +Description: HDF5 1.10.x uses 64 bit handles. They're not int anymore. +Author: Gilles Filippini <p...@debian.org> +Bug-Debian: https://bugs.debian.org/861736 +Index: nexus-4.3.2-svn1921/src/napi5.c +=================================================================== +--- nexus-4.3.2-svn1921.orig/src/napi5.c ++++ nexus-4.3.2-svn1921/src/napi5.c +@@ -54,12 +54,12 @@ extern void *NXpData; + hsize_t iCurrentIDX; + } iStack5[NXMAXSTACK]; + struct iStack5 iAtt5; +- int iFID; +- int iCurrentG; +- int iCurrentD; +- int iCurrentS; +- int iCurrentT; +- int iCurrentA; ++ hid_t iFID; ++ hid_t iCurrentG; ++ hid_t iCurrentD; ++ hid_t iCurrentS; ++ hid_t iCurrentT; ++ hid_t iCurrentA; + int iNX; + int iNXID; + int iStackPtr; +@@ -434,7 +434,7 @@ NXstatus NX5open(CONSTCHAR *filename, N + NXstatus NX5makegroup (NXhandle fid, CONSTCHAR *name, CONSTCHAR *nxclass) + { + pNexusFile5 pFile; +- herr_t iRet; ++ hid_t iRet; + hid_t iVID; + hid_t attr1,aid1, aid2; + char pBuffer[1024] = ""; +@@ -487,7 +487,7 @@ NXstatus NX5open(CONSTCHAR *filename, N + + pNexusFile5 pFile; + hid_t attr1, atype; +- herr_t iRet; ++ hid_t iRet; + char pBuffer[1024]; + char data[128]; + +@@ -654,7 +654,7 @@ static hid_t nxToHDF5Type(int datatype) + int compress_type, int64_t chunk_size[]) + { + hid_t datatype1, dataspace, iNew; +- herr_t iRet; ++ hid_t iRet; + hid_t type, cparms = -1; + pNexusFile5 pFile; + char pBuffer[256]; +@@ -992,8 +992,8 @@ static hid_t nxToHDF5Type(int datatype) + return NX_OK; + } + /*------------------------------------------------------------------*/ +-static int getAttVID(pNexusFile5 pFile){ +- int vid; ++static hid_t getAttVID(pNexusFile5 pFile){ ++ hid_t vid; + if(pFile->iCurrentG == 0 && pFile->iCurrentD == 0){ + /* global attribute */ + vid = H5Gopen(pFile->iFID,"/", H5P_DEFAULT); +@@ -1007,7 +1007,7 @@ static int getAttVID(pNexusFile5 pFile){ + return vid; + } + /*---------------------------------------------------------------*/ +-static void killAttVID(pNexusFile5 pFile, int vid){ ++static void killAttVID(pNexusFile5 pFile, hid_t vid){ + if(pFile->iCurrentG == 0 && pFile->iCurrentD == 0){ + H5Gclose(vid); + } +@@ -1021,8 +1021,8 @@ static void killAttVID(pNexusFile5 pFile + pNexusFile5 pFile; + hid_t attr1, aid1, aid2; + hid_t type; +- herr_t iRet; +- int vid; ++ hid_t iRet; ++ hid_t vid; + + pFile = NXI5assert (fid); + +@@ -2028,7 +2028,7 @@ static int countObjectsInGroup(hid_t loc + int iPType,rank; + char *iname = NULL, *vlen_str = NULL; + hsize_t idx, intern_idx=-1; +- int vid; ++ hid_t vid; + H5O_info_t oinfo; + + pFile = NXI5assert (fileid); +@@ -2105,7 +2105,7 @@ static int countObjectsInGroup(hid_t loc + void *data, int* datalen, int* iType) + { + pNexusFile5 pFile; +- int iNew, vid; ++ hid_t iNew, vid; + herr_t iRet; + hid_t type, atype = -1; + char pBuffer[256]; +@@ -2157,7 +2157,7 @@ static int countObjectsInGroup(hid_t loc + { + pNexusFile5 pFile; + hid_t idx; +- int vid; ++ hid_t vid; + H5O_info_t oinfo; + + pFile = NXI5assert (fid); diff -Nru nexus-4.3.2-svn1921/debian/patches/series nexus-4.3.2-svn1921/debian/patches/series --- nexus-4.3.2-svn1921/debian/patches/series 2016-07-22 23:05:27.000000000 +0200 +++ nexus-4.3.2-svn1921/debian/patches/series 2017-05-11 09:23:17.000000000 +0200 @@ -1,2 +1,3 @@ 0001-these-days-nexus-without-hdf5-is-considered-broken.patch fix-hdf5-1-10-detection.patch +hdf5-1.10-support.patch diff -Nru nexus-4.3.2-svn1921/debian/watch nexus-4.3.2-svn1921/debian/watch --- nexus-4.3.2-svn1921/debian/watch 1970-01-01 01:00:00.000000000 +0100 +++ nexus-4.3.2-svn1921/debian/watch 2017-05-11 09:23:17.000000000 +0200 @@ -0,0 +1,3 @@ +version=4 + +https://github.com/nexusformat/code/releases .*/archive/v(\d[\d.-]+)\.(?:tar(?:\.gz|\.bz2)?|tgz)