Summary: | app-text/pinfo-0.6.10-r5: SIGSEGV through strip_info_suffix caused by pinfo-0.6.10-libc-basename.patch | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Kamil Dudka <xdudka00> |
Component: | Current packages | Assignee: | Jeroen Roovers (RETIRED) <jer> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | CC: | vapier |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
pinfo-build.log.gz
cave-info.gz |
Description
Kamil Dudka
2016-04-13 11:43:59 UTC
string.h in glibc has provided a basename prototype for more than a decade, and that header is included by the source already. i can't say why your system isn't working as you haven't provided any details about it: all bug reports really need emerge info and a full build log attached to them. Created attachment 430860 [details] pinfo-build.log.gz (In reply to SpanKY from comment #1) > string.h in glibc has provided a basename prototype for more than a decade, > and that header is included by the source already. It could be caused by using gcc-5.3.0 for build I guess. > i can't say why your system isn't working My system works as documented but pinfo does not. See the basename(3) man page. > as you haven't provided any details about it: all bug > reports really need emerge info and a full build log attached to them. I am attaching the build log. emerge info would be confusing because I do not use emerge for build so its configuration could differ. (In reply to Kamil Dudka from comment #2) i'm using gcc-5.3 and it works fine. your system is *not* working as documented. the glibc manual shows that string.h is sufficient: https://www.gnu.org/software/libc/manual/html_node/Finding-Tokens-in-a-String.html basename() is provided by string.h. if it isn't on your system, something is broken. if you aren't using emerge then you know well enough that every PM has an equiv to `emerge --info` -- so provide it. your build.log shows some misbehavior: checking if ncurses supports extended chars... yes, with -D_XOPEN_SOURCE_EXTENDED checking for wcwidth... with -D_XOPEN_SOURCE=600 those defines shouldn't be there. Created attachment 430912 [details]
cave-info.gz
I am attaching the output of 'cave info pinfo'. Note that the -ggdb flag was added by me while attempting to debug it. The crash occurred without that flag, too.
|