Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 751592

Summary: net-analyzer/greenbone-security-assistant fails to compile
Product: Gentoo Linux Reporter: Cyrius <cyrius>
Component: Current packagesAssignee: jonas.licht
Status: RESOLVED FIXED    
Severity: normal CC: ago, cyrius, proxy-maint
Priority: Normal Keywords: PATCH, PullRequest
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/18984
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 736174    
Attachments: Build Log
Simple User patch if you can't wait next release

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(-)