Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 827189 Details for
Bug 879645
app-text/lowdown: possible configure breakage with Clang 16
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
clang-14.log
clang-14.log (text/plain), 6.36 KB, created by
Matt Jolly
on 2022-11-04 22:08:06 UTC
(
hide
)
Description:
clang-14.log
Filename:
MIME Type:
Creator:
Matt Jolly
Created:
2022-11-04 22:08:06 UTC
Size:
6.36 KB
patch
obsolete
>tests.c:16:10: error: call to undeclared function 'arc4random'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] > return (arc4random() + 1) ? 0 : 1; > ^ >/usr/bin/x86_64-pc-linux-gnu-ld: /var/tmp/portage/app-text/lowdown-0.11.2/temp/tests-bc02c0.o: in function `main': >tests.c:(.text+0x1c): undefined reference to `__b64_ntop' >clang-15: error: linker command failed with exit code 1 (use -v to see invocation) > >tests.c:33:10: fatal error: 'sys/capsicum.h' file not found >#include <sys/capsicum.h> > ^~~~~~~~~~~~~~~~ >/usr/bin/x86_64-pc-linux-gnu-ld: /var/tmp/portage/app-text/lowdown-0.11.2/temp/tests-af5195.o: in function `main': >tests.c:(.text+0x10): undefined reference to `crypt' >clang-15: error: linker command failed with exit code 1 (use -v to see invocation) > > >tests.c:102:2: error: call to undeclared function 'warnc'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] > warnc(ENOENT, "%d. warn", ENOENT); > ^ >tests.c:106:2: error: call to undeclared function 'errc'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] > errc(0, ENOENT, "%d. err", 3); > ^ >2 errors generated. > > >tests.c:167:13: error: call to undeclared function 'getexecname'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] > progname = getexecname(); > ^ >tests.c:167:11: error: incompatible integer to pointer conversion assigning to 'const char *' from 'int' [-Wint-conversion] > progname = getexecname(); > ^ ~~~~~~~~~~~~~ >2 errors generated. >tests.c:179:13: error: call to undeclared function 'getprogname'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] > progname = getprogname(); > ^ >tests.c:179:11: error: incompatible integer to pointer conversion assigning to 'const char *' from 'int' [-Wint-conversion] > progname = getprogname(); > ^ ~~~~~~~~~~~~~ >2 errors generated. >tests.c:194:48: error: use of undeclared identifier 'INFTIM' > printf("INFTIM is defined to be %ld\n", (long)INFTIM); > ^ > >tests.c:212:10: fatal error: 'md5.h' file not found >#include <md5.h> > ^~~~~~~ >tests.c:212:10: fatal error: 'md5.h' file not found >#include <md5.h> > ^~~~~~~ > > >tests.c:259:2: error: call to undeclared function 'memset_s'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] > memset_s(buf, 0, 'c', sizeof(buf)); > ^ >tests.c:259:2: note: did you mean 'memset'? >/usr/include/string.h:61:14: note: 'memset' declared here >extern void *memset (void *__s, int __c, size_t __n) __THROW __nonnull ((1)); > ^ > > >tests.c:282:10: fatal error: 'libkern/OSByteOrder.h' file not found >#include <libkern/OSByteOrder.h> > ^~~~~~~~~~~~~~~~~~~~~~~ > >tests.c:328:11: error: call to undeclared function 'pledge'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] > return !!pledge("stdio", NULL); > ^ > >tests.c:344:10: fatal error: 'readpassphrase.h' file not found >#include <readpassphrase.h> > ^~~~~~~~~~~~~~~~~~ > >tests.c:370:10: error: call to undeclared function 'recallocarray'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] > return !recallocarray(NULL, 0, 2, 2); > ^ >tests.c:370:10: note: did you mean 'reallocarray'? >/usr/include/stdlib.h:569:14: note: 'reallocarray' declared here >extern void *reallocarray (void *__ptr, size_t __nmemb, size_t __size) > ^ >tests.c:374:10: fatal error: 'sandbox.h' file not found >#include <sandbox.h> > ^~~~~~~~~~~ > > > >tests.c:425:10: fatal error: 'sha2.h' file not found >#include <sha2.h> > ^~~~~~~~ >tests.c:425:10: fatal error: 'sha2.h' file not found >#include <sha2.h> > ^~~~~~~~ > > >tests.c:468:12: error: call to undeclared library function 'strlcat' with type 'unsigned long (char *, const char *, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] > return ! (strlcat(buf, "b", sizeof(buf)) == 2 && > ^ >tests.c:468:12: note: include the header <string.h> or explicitly provide a declaration for 'strlcat' >tests.c:479:12: error: call to undeclared library function 'strlcpy' with type 'unsigned long (char *, const char *, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] > return ! (strlcpy(buf, "a", sizeof(buf)) == 1 && > ^ >tests.c:479:12: note: include the header <string.h> or explicitly provide a declaration for 'strlcpy' > > >tests.c:535:6: error: call to undeclared function 'strtonum'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] > if (strtonum("1", 0, 2, &errstr) != 1) > ^ >tests.c:555:10: fatal error: 'sys/byteorder.h' file not found >#include <sys/byteorder.h> > ^~~~~~~~~~~~~~~~~ >tests.c:564:10: fatal error: 'sys/endian.h' file not found >#include <sys/endian.h> > ^~~~~~~~~~~~~~ >tests.c:574:10: fatal error: 'sys/mkdev.h' file not found >#include <sys/mkdev.h> > ^~~~~~~~~~~~~ > >tests.c:608:2: error: call to undeclared function 'TAILQ_FOREACH_SAFE'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] > TAILQ_FOREACH_SAFE(p, &foo_q, entries, tmp) > ^ >tests.c:608:45: error: expected ';' after expression > TAILQ_FOREACH_SAFE(p, &foo_q, entries, tmp) > ^ > ; >tests.c:608:32: error: use of undeclared identifier 'entries' > TAILQ_FOREACH_SAFE(p, &foo_q, entries, tmp) > ^ >3 errors generated. >tests.c:627:10: fatal error: 'sys/tree.h' file not found >#include <sys/tree.h> > ^~~~~~~~~~~~ >tests.c:672:15: error: call to undeclared function 'unveil'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] > return -1 != unveil(NULL, NULL); > ^ > >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 879645
: 827189 |
827191
|
827193