Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 827477 Details for
Bug 879743
net-misc/openrsync: 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), 7.72 KB, created by
Matt Jolly
on 2022-11-04 22:14:09 UTC
(
hide
)
Description:
clang-14.log
Filename:
MIME Type:
Creator:
Matt Jolly
Created:
2022-11-04 22:14:09 UTC
Size:
7.72 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/net-misc/openrsync-0.5.0_p20220508/temp/tests-67c10b.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/net-misc/openrsync-0.5.0_p20220508/temp/tests-8b8aad.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:74:14: error: use of undeclared identifier '_PASSWORD_LEN' > char hash[_PASSWORD_LEN]; > ^ >tests.c:76:6: error: call to undeclared function 'crypt_newhash'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] > if (crypt_newhash(v, "bcrypt,a", hash, sizeof(hash)) == -1) > ^ >tests.c:78:6: error: call to undeclared function 'crypt_checkpass'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] > if (crypt_checkpass(v, hash) == -1) > ^ >3 errors generated. > >tests.c:120: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:124: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:185: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:185:11: error: incompatible integer to pointer conversion assigning to 'const char *' from 'int' [-Wint-conversion] > progname = getexecname(); > ^ ~~~~~~~~~~~~~ >2 errors generated. >tests.c:197: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:197:11: error: incompatible integer to pointer conversion assigning to 'const char *' from 'int' [-Wint-conversion] > progname = getprogname(); > ^ ~~~~~~~~~~~~~ >2 errors generated. >tests.c:212:48: error: use of undeclared identifier 'INFTIM' > printf("INFTIM is defined to be %ld\n", (long)INFTIM); > ^ > > >/usr/bin/x86_64-pc-linux-gnu-ld: /var/tmp/portage/net-misc/openrsync-0.5.0_p20220508/temp/tests-0737c4.o: in function `main': >tests.c:(.text+0x11): undefined reference to `MD5Init' >/usr/bin/x86_64-pc-linux-gnu-ld: tests.c:(.text+0x25): undefined reference to `MD5Update' >/usr/bin/x86_64-pc-linux-gnu-ld: tests.c:(.text+0x30): undefined reference to `MD5End' >clang-15: error: linker command failed with exit code 1 (use -v to see invocation) > > > >tests.c:316: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:316: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:339:10: fatal error: 'libkern/OSByteOrder.h' file not found >#include <libkern/OSByteOrder.h> > ^~~~~~~~~~~~~~~~~~~~~~~ > >tests.c:385: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:401:10: fatal error: 'readpassphrase.h' file not found >#include <readpassphrase.h> > ^~~~~~~~~~~~~~~~~~ > >tests.c:427: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:427: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:431:10: fatal error: 'sandbox.h' file not found >#include <sandbox.h> > ^~~~~~~~~~~ >tests.c:446:10: fatal error: 'util.h' file not found >#include <util.h> > ^~~~~~~~ >tests.c:446:10: fatal error: 'util.h' file not found >#include <util.h> > ^~~~~~~~ > > > >/usr/bin/x86_64-pc-linux-gnu-ld: /var/tmp/portage/net-misc/openrsync-0.5.0_p20220508/temp/tests-bfc9a0.o: in function `main': >tests.c:(.text+0x11): undefined reference to `SHA256Init' >/usr/bin/x86_64-pc-linux-gnu-ld: tests.c:(.text+0x25): undefined reference to `SHA256Update' >/usr/bin/x86_64-pc-linux-gnu-ld: tests.c:(.text+0x30): undefined reference to `SHA256End' >clang-15: error: linker command failed with exit code 1 (use -v to see invocation) > > > >tests.c:536: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:536:12: note: include the header <string.h> or explicitly provide a declaration for 'strlcat' >tests.c:547: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:547:12: note: include the header <string.h> or explicitly provide a declaration for 'strlcpy' > > >tests.c:603: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:623:10: fatal error: 'sys/byteorder.h' file not found >#include <sys/byteorder.h> > ^~~~~~~~~~~~~~~~~ >tests.c:632:10: fatal error: 'sys/endian.h' file not found >#include <sys/endian.h> > ^~~~~~~~~~~~~~ >tests.c:642:10: fatal error: 'sys/mkdev.h' file not found >#include <sys/mkdev.h> > ^~~~~~~~~~~~~ > >tests.c:676: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:676:45: error: expected ';' after expression > TAILQ_FOREACH_SAFE(p, &foo_q, entries, tmp) > ^ > ; >tests.c:676:32: error: use of undeclared identifier 'entries' > TAILQ_FOREACH_SAFE(p, &foo_q, entries, tmp) > ^ >3 errors generated. >tests.c:695:10: fatal error: 'sys/tree.h' file not found >#include <sys/tree.h> > ^~~~~~~~~~~~ >tests.c:740: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 879743
: 827477 |
827479
|
827481