[med-svn] [Git][med-team/socketplusplus][master] 7 commits: Use strsignal() instead of sys_siglist to fix FTBFS with glibc 2.32 (Closes: #979680)

Nilesh Patra gitlab at salsa.debian.org
Sun Jan 10 07:07:54 GMT 2021



Nilesh Patra pushed to branch master at Debian Med / socketplusplus


Commits:
69200ce7 by Nilesh Patra at 2021-01-10T12:34:51+05:30
Use strsignal() instead of sys_siglist to fix FTBFS with glibc 2.32 (Closes: #979680)

- - - - -
d11e61ce by Nilesh Patra at 2021-01-10T12:35:26+05:30
routine-update: Standards-Version: 4.5.1

- - - - -
c3900db3 by Nilesh Patra at 2021-01-10T12:35:26+05:30
routine-update: debhelper-compat 13

- - - - -
fc7f32fe by Nilesh Patra at 2021-01-10T12:35:29+05:30
routine-update: Add salsa-ci file

- - - - -
1fac82e6 by Nilesh Patra at 2021-01-10T12:35:29+05:30
routine-update: Rules-Requires-Root: no

- - - - -
406792df by Nilesh Patra at 2021-01-10T12:35:30+05:30
Trim trailing whitespace.

Changes-By: lintian-brush
Fixes: lintian: trailing-whitespace
See-also: https://lintian.debian.org/tags/trailing-whitespace.html

- - - - -
169e7c09 by Nilesh Patra at 2021-01-10T12:35:36+05:30
Set upstream metadata fields: Repository, Repository-Browse.

Changes-By: lintian-brush
Fixes: lintian: upstream-metadata-file-is-missing
See-also: https://lintian.debian.org/tags/upstream-metadata-file-is-missing.html
Fixes: lintian: upstream-metadata-missing-repository
See-also: https://lintian.debian.org/tags/upstream-metadata-missing-repository.html

- - - - -


8 changed files:

- debian/changelog
- − debian/compat
- debian/control
- + debian/patches/glibc-2.32.patch
- debian/patches/series
- debian/rules
- + debian/salsa-ci.yml
- + debian/upstream/metadata


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,16 @@
+socket++ (1.12.13-11) UNRELEASED; urgency=medium
+
+  * Use strsignal() instead of sys_siglist to fix
+    FTBFS with glibc 2.32 (Closes: #979680)
+  * Standards-Version: 4.5.1 (routine-update)
+  * debhelper-compat 13 (routine-update)
+  * Add salsa-ci file (routine-update)
+  * Rules-Requires-Root: no (routine-update)
+  * Trim trailing whitespace.
+  * Set upstream metadata fields: Repository, Repository-Browse.
+
+ -- Nilesh Patra <npatra974 at gmail.com>  Sun, 10 Jan 2021 12:34:10 +0530
+
 socket++ (1.12.13-10) unstable; urgency=medium
 
   * cme fix dpkg-control


=====================================
debian/compat deleted
=====================================
@@ -1 +0,0 @@
-11


=====================================
debian/control
=====================================
@@ -3,13 +3,14 @@ Maintainer: Debian Med Packaging Team <debian-med-packaging at lists.alioth.debian.
 Uploaders: Andreas Tille <tille at debian.org>
 Section: libs
 Priority: optional
-Build-Depends: debhelper (>= 11~),
+Build-Depends: debhelper-compat (= 13),
                texinfo,
                install-info
-Standards-Version: 4.3.0
+Standards-Version: 4.5.1
 Vcs-Browser: https://salsa.debian.org/med-team/socketplusplus
 Vcs-Git: https://salsa.debian.org/med-team/socketplusplus.git
 Homepage: https://github.com/malaterre/socketxx-1
+Rules-Requires-Root: no
 
 Package: libsocket++1
 Architecture: any


=====================================
debian/patches/glibc-2.32.patch
=====================================
@@ -0,0 +1,22 @@
+Description: Use strsignal() instead of sys_siglist to fix FTBFS with glibc 2.32.
+Author: Logan Rosen <logan at ubuntu.com>
+Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=979680
+Last-Update: 2021-01-10
+--- a/socket++/fork.cpp
++++ b/socket++/fork.cpp
+@@ -122,13 +122,13 @@
+ 
+   if (WIFSTOPPED (status))
+     cerr << "process " << pid << " gets "
+-      << SYS_SIGLIST [WSTOPSIG (status)] << endl;
++      << strsignal (WSTOPSIG (status)) << endl;
+   else if (WIFEXITED (status))
+     cerr << "process " << pid << " exited with status "
+       << WEXITSTATUS (status) << endl;
+   else if (WIFSIGNALED (status))
+     cerr << "process " << pid << " got "
+-      << SYS_SIGLIST [WTERMSIG (status)] << endl;
++      << strsignal (WTERMSIG (status)) << endl;
+ }
+ 
+ void Fork::ForkProcess::reaper_nohang (int signo)


=====================================
debian/patches/series
=====================================
@@ -4,3 +4,4 @@ hurd3.patch
 hurd4.patch
 hurd5.patch
 sys_errlist.patch
+glibc-2.32.patch


=====================================
debian/rules
=====================================
@@ -24,4 +24,3 @@ override_dh_install:
 	dh_install -p$(pkg_dev) debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/lib*.so usr/lib/$(DEB_HOST_MULTIARCH)
 	dh_install -p$(pkg_dev) --autodest debian/tmp/usr/include/socket++/*
 	dh_install -p$(pkg_dev) --autodest usr/share/info/socket++.info
-


=====================================
debian/salsa-ci.yml
=====================================
@@ -0,0 +1,4 @@
+---
+include:
+  - https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/salsa-ci.yml
+  - https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/pipeline-jobs.yml


=====================================
debian/upstream/metadata
=====================================
@@ -0,0 +1,3 @@
+---
+Repository: https://github.com/malaterre/socketxx-1.git
+Repository-Browse: https://github.com/malaterre/socketxx-1



View it on GitLab: https://salsa.debian.org/med-team/socketplusplus/-/compare/c72a4b6b3f39ac4a2e0469fdfd96ebfd5d4a0877...169e7c097e8115bd6e7f9e0aa002986960776fd9

-- 
View it on GitLab: https://salsa.debian.org/med-team/socketplusplus/-/compare/c72a4b6b3f39ac4a2e0469fdfd96ebfd5d4a0877...169e7c097e8115bd6e7f9e0aa002986960776fd9
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20210110/2fcf9c18/attachment-0001.html>


More information about the debian-med-commit mailing list