Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 751592 - net-analyzer/greenbone-security-assistant fails to compile
Summary: net-analyzer/greenbone-security-assistant fails to compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: jonas.licht
URL:
Whiteboard:
Keywords: PATCH, PullRequest
Depends on:
Blocks: glibc-2.32
  Show dependency tree
 
Reported: 2020-10-28 13:52 UTC by Cyrius
Modified: 2021-01-22 04:19 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Build Log (build.log,28.05 KB, text/x-log)
2020-10-28 13:52 UTC, Cyrius
Details
Simple User patch if you can't wait next release (gsad_glibc232.patch,686 bytes, patch)
2020-10-28 13:58 UTC, Cyrius
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Cyrius 2020-10-28 13:52:08 UTC
Created attachment 668975 [details]
Build Log

Same issue as https://bugs.gentoo.org/740558

Log :

In file included from /usr/include/glib-2.0/glib.h:62,
                 from /var/tmp/portage/net-analyzer/greenbone-security-assistant-9.0.1/work/gsa-9.0.1/gsad/src/gsad.c:51:
/var/tmp/portage/net-analyzer/greenbone-security-assistant-9.0.1/work/gsa-9.0.1/gsad/src/gsad.c: In function ‘main’:
/var/tmp/portage/net-analyzer/greenbone-security-assistant-9.0.1/work/gsa-9.0.1/gsad/src/gsad.c:3321:45: error: ‘sys_siglist’ undeclared (first use in this function)
 3321 |           g_debug ("Received %s signal.\n", sys_siglist[termination_signal]);



Solution :


From the release notes of glibc 2.32, https://sourceware.org/pipermail/libc-announce/2020/000029.html

The deprecated arrays sys_siglist, _sys_siglist, and sys_sigabbrev
are no longer available to newly linked binaries, and their declarations
have been removed from <string.h>. They are exported solely as
compatibility symbols to support old binaries. All programs should use
strsignal instead.

(ref : greenbone/gvmd#1279)
Comment 1 Cyrius 2020-10-28 13:58:41 UTC
Created attachment 668978 [details, diff]
Simple User patch if you can't wait next release
Comment 2 Larry the Git Cow gentoo-dev 2021-01-21 07:14:52 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=783b1340e4d8f2f82960e52a1d001c6329612427

commit 783b1340e4d8f2f82960e52a1d001c6329612427
Author:     Jonas Licht <jonas.licht@fem.tu-ilmenau.de>
AuthorDate: 2021-01-07 17:08:25 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2021-01-21 07:08:30 +0000

    net-analyzer/greenbone-security-assistant: add glibc patch in 9.0.1
    
    Bug: https://bugs.gentoo.org/751592
    Package-Manager: Portage-3.0.12, Repoman-3.0.2
    Signed-off-by: Jonas Licht <jonas.licht@fem.tu-ilmenau.de>
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 .../greenbone-security-assistant-9.0.1-glibc_siglist.patch | 14 ++++++++++++++
 .../greenbone-security-assistant-9.0.1.ebuild              |  4 +++-
 2 files changed, 17 insertions(+), 1 deletion(-)