Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build fail on gentoo #53

Open
thunderwolf66102 opened this issue May 9, 2021 · 1 comment
Open

Build fail on gentoo #53

thunderwolf66102 opened this issue May 9, 2021 · 1 comment

Comments

@thunderwolf66102
Copy link

Build fails on gentoo -

libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../src/libpki -I../src -D__LIB_BUILD__ -I/usr/include -O2 -march=native -pipe -fstack-check -maccumulate-outgoing-args -Werror -Wfatal-errors -Wunused-variable -DENABLE_ECDSA=1 -I/usr/include/libxml2 -I/usr/include/mysql -DLINUX -DLINUX -O2 -march=native -pipe -fstack-check -maccumulate-outgoing-args -Werror -Wfatal-errors -MT libpki_la-pki_config.lo -MD -MP -MF .deps/libpki_la-pki_config.Tpo -c pki_config.c -fPIC -DPIC -o .libs/libpki_la-pki_config.o
In file included from /usr/include/string.h:519,
from ./libpki/net/sock.h:32,
from ./libpki/pki.h:312,
from pki_config.c:3:
In function ‘strncpy’,
inlined from ‘_xml_search_namespace_add’ at pki_config.c:86:2,
inlined from ‘PKI_CONFIG_get_element_stack’ at pki_config.c:472:14:
/usr/include/bits/string_fortified.h:91:10: error: ‘__builtin_strncpy’ specified bound depends on the length of the source argument [-Werror=stringop-overflow=]
91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

@dcooper16
Copy link

This appears to be the same as #52, which would be fixed by #46 and #47.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants