#994672 open-isns FTBFS: error: ‘sigrelse’ is deprecated

Package:
src:open-isns
Source:
open-isns
Submitter:
Helmut Grohne
Date:
2022-05-22 13:36:06 UTC
Severity:
serious
Tags:
#994672#5
Date:
2021-09-19 05:39:05 UTC
From:
To:
open-isns fails to build from source in unstable on amd64. A build ends
as follows:

| gcc -Wall -Werror -Wextra -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -I. -Iinclude -I. -I./include -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -c -o server.o server.c
| In file included from server.c:9:
| include/libisns/util.h: In function ‘signals_hold’:
| include/libisns/util.h:43:2: error: ‘sighold’ is deprecated: Use the sigprocmask function instead [-Werror=deprecated-declarations]
|    43 |  sighold(SIGTERM);
|       |  ^~~~~~~
| In file included from include/libisns/util.h:15,
|                  from server.c:9:
| /usr/include/signal.h:341:12: note: declared here
|   341 | extern int sighold (int __sig) __THROW
|       |            ^~~~~~~
| In file included from server.c:9:
| include/libisns/util.h:44:2: error: ‘sighold’ is deprecated: Use the sigprocmask function instead [-Werror=deprecated-declarations]
|    44 |  sighold(SIGINT);
|       |  ^~~~~~~
| In file included from include/libisns/util.h:15,
|                  from server.c:9:
| /usr/include/signal.h:341:12: note: declared here
|   341 | extern int sighold (int __sig) __THROW
|       |            ^~~~~~~
| In file included from server.c:9:
| include/libisns/util.h: In function ‘signals_release’:
| include/libisns/util.h:49:2: error: ‘sigrelse’ is deprecated: Use the sigprocmask function instead [-Werror=deprecated-declarations]
|    49 |  sigrelse(SIGTERM);
|       |  ^~~~~~~~
| In file included from include/libisns/util.h:15,
|                  from server.c:9:
| /usr/include/signal.h:345:12: note: declared here
|   345 | extern int sigrelse (int __sig) __THROW
|       |            ^~~~~~~~
| In file included from server.c:9:
| include/libisns/util.h:50:2: error: ‘sigrelse’ is deprecated: Use the sigprocmask function instead [-Werror=deprecated-declarations]
|    50 |  sigrelse(SIGINT);
|       |  ^~~~~~~~
| In file included from include/libisns/util.h:15,
|                  from server.c:9:
| /usr/include/signal.h:345:12: note: declared here
|   345 | extern int sigrelse (int __sig) __THROW
|       |            ^~~~~~~~
| cc1: all warnings being treated as errors
| make[2]: *** [Makefile:151: server.o] Error 1
| make[2]: Leaving directory '/<<PKGBUILDDIR>>'
| dh_auto_build: error: make -j1 returned exit code 2
| make[1]: *** [debian/rules:17: override_dh_auto_build] Error 25
| make[1]: Leaving directory '/<<PKGBUILDDIR>>'
| make: *** [debian/rules:6: build] Error 2
| dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2

Helmut

#994672#14
Date:
2022-05-17 22:27:02 UTC
From:
To:
Control: tags 994672 + patch
Control: tags 994672 + pending

Dear maintainer,

I've prepared an NMU for open-isns (versioned as 0.101-0.1) and
uploaded it to DELAYED/7. Please feel free to tell me if I
should delay it longer.

Cheers

#994672#23
Date:
2022-05-22 13:34:03 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
open-isns, 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 994672@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Sebastian Ramacher <sramacher@debian.org> (supplier of updated open-isns 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 ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Wed, 18 May 2022 00:25:21 +0200
Source: open-isns
Architecture: source
Version: 0.101-0.1
Distribution: unstable
Urgency: medium
Maintainer: Debian iSCSI Maintainers <open-isns@packages.debian.org>
Changed-By: Sebastian Ramacher <sramacher@debian.org>
Closes: 994672
Changes:
 open-isns (0.101-0.1) unstable; urgency=medium
 .
   * New upstream release
     - Fix build with OpenSSL 3
     - Fix use of deprecated functions (Closes: #994672)
   * debian/patches: Remove patches integrated upstream
Checksums-Sha1:
 ee8f548a34ffaf81b54b25e720593e6dceb81a49 2344 open-isns_0.101-0.1.dsc
 df4c87a162206673049dfc153dcc0e6d24c88e8c 301912 open-isns_0.101.orig.tar.gz
 bd735d831579d082833782513d8fad582d57bf28 14104 open-isns_0.101-0.1.debian.tar.xz
Checksums-Sha256:
 73b5e5df5d742ff971e20b116eba5144584df11f1620851ab5dba51023163865 2344 open-isns_0.101-0.1.dsc
 f672ec86b6c9e984843a7a28d76f07e26393499c486f86034b8b18caa8deb556 301912 open-isns_0.101.orig.tar.gz
 e225af1548cff0a80ff80fa5c948acf688e92fb928586de6826faea7ce71ef09 14104 open-isns_0.101-0.1.debian.tar.xz
Files:
 3096a0bab432c982be4e226ccf9775ac 2344 net optional open-isns_0.101-0.1.dsc
 bd017a07d685b9c87e0da29fc3f899a2 301912 net optional open-isns_0.101.orig.tar.gz
 352a0176087d1ca34299d0d18247cd34 14104 net optional open-isns_0.101-0.1.debian.tar.xz
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEE94y6B4F7sUmhHTOQafL8UW6nGZMFAmKEIT0ACgkQafL8UW6n
GZNqbQ//cE1SCaW3VOS+36dgpKa+HkAp9Mgi9rdjMJ0tzduZZBrnNwQVETT1GFFz
GO5AhHxe32piE4rAD3ovQ9F7EUvUZAB3+Bmln0Gkg6PRwNZZFgAOFDVgISu1esBz
HD1E6tFFUMl9xdTLBvnNpjsqs4dLM8sRDD7MO666Jho4cvmt8vaXbdIpCU3/lPe5
M0GUVJOzZJt7oHOjWjMN4xvYaSswjDcqsTcthVPvFMmdMgEL+D3VwbGQrOcPINY9
HYL51ziwGPe9I9KPVINJbtOlZPTGCGAIBck/Z/81rmMAQh/I+aQcdM0+8PfKmGzz
rJmPAkgkJ8qbg4aBt+ea5tcSFCCLXLBVSbxL869yy9KJ1VARfIgaeN12t4Tkw7xK
OgQjsS7y52CeXZfUnVPS42wQeyJVPpXWFkLATJLJrrVD1Lx+ZqJzjHtDu7ERRpFN
H2JQ3C4mUVU7tMiRx5c1RCyPSLpY5FA578pb1Cl5VoKy0tVC1tfQFz7jwVLbc8j7
3r9H/NoEBslbXZVXEnVbbP+MCiDd8WqM6KJBKizByw8mF/0UH4Y1z0Bk6rZo7Y0V
a0QypVmHnu1DLPbd32dZtf14FAgW9mWt+Gy+61RbkCC1x4Qrr0wh3e3fjB7CX6E5
d1A6iIkr3rw6DXIY96mNkuK4/KJs6g3N8mYYd0uAtViji3ICBgw=
=NgPQ
-----END PGP SIGNATURE-----