Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 811915 Details for
Bug 871477
media-sound/aucatctl-0.1 - aucatctl.c: error: call to undeclared library function strlcpy with type
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
media-sound:aucatctl-0.1:20220918-151701.log
media-sound:aucatctl-0.1:20220918-151701.log (text/plain), 5.43 KB, created by
Toralf Förster
on 2022-09-18 16:09:17 UTC
(
hide
)
Description:
media-sound:aucatctl-0.1:20220918-151701.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2022-09-18 16:09:17 UTC
Size:
5.43 KB
patch
obsolete
> * Package: media-sound/aucatctl-0.1:0 > * Repository: gentoo > * Maintainer: contact@hacktivis.me proxy-maint@gentoo.org > * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU > * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox > >>>> Unpacking source... >>>> Unpacking aucatctl-0.1.tar.gz to /var/tmp/portage/media-sound/aucatctl-0.1/work >>>> Source unpacked in /var/tmp/portage/media-sound/aucatctl-0.1/work >>>> Preparing source in /var/tmp/portage/media-sound/aucatctl-0.1/work/aucatctl-0.1 ... >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/media-sound/aucatctl-0.1/work/aucatctl-0.1 ... >>>> Source configured. >>>> Compiling source in /var/tmp/portage/media-sound/aucatctl-0.1/work/aucatctl-0.1 ... >make -j4 >clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c aucatctl.c >aucatctl.c:117:22: warning: more '%' conversions than data arguments > [-Wformat-insufficient-args] > fprintf(stderr, "%u: invalid channel\n"); > ~^ >aucatctl.c:121:22: warning: more '%' conversions than data arguments > [-Wformat-insufficient-args] > fprintf(stderr, "%u: invalid channel name\n"); > ~^ >aucatctl.c:124:3: 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] > strlcpy(ctls[cn].name, x->u.mixinfo.name, SYSEX_NAMELEN); > ^ >aucatctl.c:124:3: note: include the header <string.h> or explicitly provide a > declaration for 'strlcpy' >aucatctl.c:124:26: warning: passing 'uint8_t[10]' (aka 'unsigned char[10]') to > parameter of type 'const char *' converts between pointers to integer > types where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > strlcpy(ctls[cn].name, x->u.mixinfo.name, SYSEX_NAMELEN); > ^~~~~~~~~~~~~~~~~ >aucatctl.c:247:7: warning: assigning to 'unsigned char *' from 'char *' converts > between pointers to integer types where one is of the unique plain 'char' > type and the other is not [-Wpointer-sign] > lhs = *argv; > ^ ~~~~~ >aucatctl.c:248:7: warning: assigning to 'unsigned char *' from 'char *' converts > between pointers to integer types where one is of the unique plain 'char' > type and the other is not [-Wpointer-sign] > rhs = strchr(*argv, '='); > ^ ~~~~~~~~~~~~~~~~~~ >aucatctl.c:251:15: warning: passing 'unsigned char *' to parameter of type > 'const char *' converts between pointers to integer types where one is of > the unique plain 'char' type and the other is not [-Wpointer-sign] > if (sscanf(rhs, "%u", &vol) != 1) { > ^~~ >/usr/include/stdio.h:439:60: note: passing argument to parameter '__s' here >extern int __REDIRECT_NTH (sscanf, (const char *__restrict __s, > ^ >aucatctl.c:260:14: warning: passing 'unsigned char *' to parameter of type > 'const char *' converts between pointers to integer types where one is of > the unique plain 'char' type and the other is not [-Wpointer-sign] > if (strlen(lhs) == 0) { > ^~~ >/usr/include/string.h:407:35: note: passing argument to parameter '__s' here >extern size_t strlen (const char *__s) > ^ >aucatctl.c:264:29: warning: passing 'unsigned char *' to parameter of type > 'const char *' converts between pointers to integer types where one is of > the unique plain 'char' type and the other is not [-Wpointer-sign] > if (master >= 0 && strcmp(lhs, "master") == 0) { > ^~~ >/usr/include/string.h:156:32: note: passing argument to parameter '__s1' here >extern int strcmp (const char *__s1, const char *__s2) > ^ >aucatctl.c:276:15: warning: passing 'unsigned char *' to parameter of type > 'const char *' converts between pointers to integer types where one is of > the unique plain 'char' type and the other is not [-Wpointer-sign] > if (strcmp(lhs, ctls[cn].name) == 0) > ^~~ >/usr/include/string.h:156:32: note: passing argument to parameter '__s1' here >extern int strcmp (const char *__s1, const char *__s2) > ^ >9 warnings and 1 error generated. >make: *** [Makefile:26: aucatctl.o] Error 1 > * ERROR: media-sound/aucatctl-0.1::gentoo failed (compile phase): > * emake failed > * > * If you need support, post the output of `emerge --info '=media-sound/aucatctl-0.1::gentoo'`, > * the complete build log and the output of `emerge -pqv '=media-sound/aucatctl-0.1::gentoo'`. > * The complete build log is located at '/var/log/portage/media-sound:aucatctl-0.1:20220918-151701.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/media-sound/aucatctl-0.1/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/media-sound/aucatctl-0.1/temp/environment'. > * Working directory: '/var/tmp/portage/media-sound/aucatctl-0.1/work/aucatctl-0.1' > * S: '/var/tmp/portage/media-sound/aucatctl-0.1/work/aucatctl-0.1' >
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 871477
:
811903
|
811906
|
811909
|
811912
| 811915 |
811918