Summary: | sci-geosciences/gmt-5.4.4 : /.../common_sighandler.c: error: sys_siglist undeclared (first use in this function) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
Component: | Current packages | Assignee: | Sci-geo Project <sci-geosciences> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | kingjon3377, sam, u.scholz83 |
Priority: | Normal | Keywords: | PATCH |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 736174 | ||
Attachments: |
emerge-info.txt
emerge-history.txt environment etc.portage.tbz2 logs.tbz2 sci-geosciences:gmt-5.4.4:20200820-135003.log temp.tbz2 Patching common_sighandler.c |
Description
Toralf Förster
2020-08-20 15:49:39 UTC
Created attachment 655744 [details]
emerge-info.txt
Created attachment 655746 [details]
emerge-history.txt
Created attachment 655748 [details]
environment
Created attachment 655750 [details]
etc.portage.tbz2
Created attachment 655752 [details]
logs.tbz2
Created attachment 655754 [details]
sci-geosciences:gmt-5.4.4:20200820-135003.log
Created attachment 655756 [details]
temp.tbz2
I can confirm this issue, I ran into the same today. According to the project's website, version 6.1.1 is available already. Can we maybe get the updated version in portage to overcome the current build issue here? Can be fixed by replacing the affected line: fprintf (stderr, "ERROR: Caught signal number %d (%s) at\n", sig_num, sys_siglist[sig_num]); by fprintf (stderr, "ERROR: Caught signal number %d (%s) at\n", sig_num, strsignal(sig_num)); IIRC line 190 in .../gmt-5.4.4/src/common_sighandler.c, too lazy to make a patch from that. Created attachment 680995 [details, diff]
Patching common_sighandler.c
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=581973a7c1aff3201ff85b07b7004f53156ce7d0 commit 581973a7c1aff3201ff85b07b7004f53156ce7d0 Author: Jakov Smolic <jakov.smolic@sartura.hr> AuthorDate: 2021-03-02 20:08:06 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2021-03-03 16:51:47 +0000 sci-geosciences/gmt: Apply gcc-10 workaround * Fix undeclared sys_siglist issue. Thanks to hangglider@gmx.de for providing the patch. Thanks-to: hangglider@gmx.de Closes: https://bugs.gentoo.org/738224 Closes: https://bugs.gentoo.org/710088 Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr> Signed-off-by: Sam James <sam@gentoo.org> sci-geosciences/gmt/files/gmt-5.4.4-sighandler.patch | 14 ++++++++++++++ sci-geosciences/gmt/gmt-5.4.4.ebuild | 7 ++++++- 2 files changed, 20 insertions(+), 1 deletion(-) |