Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 876443 Details for
Bug 919058
net-misc/taptap-1.0-r1 - [clang] void (void , int, unsigned long); ISO C99 and later do not support
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
net-misc:taptap-1.0-r1:20231202-185705.log
net-misc:taptap-1.0-r1:20231202-185705.log (text/plain), 3.79 KB, created by
Toralf Förster
on 2023-12-02 19:00:17 UTC
(
hide
)
Description:
net-misc:taptap-1.0-r1:20231202-185705.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2023-12-02 19:00:17 UTC
Size:
3.79 KB
patch
obsolete
> * Package: net-misc/taptap-1.0-r1:0 > * Repository: gentoo > * USE: abi_x86_64 amd64 elibc_glibc kernel_linux > * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox > >>>> Unpacking source... >>>> Source unpacked in /var/tmp/portage/net-misc/taptap-1.0-r1/work >>>> Preparing source in /var/tmp/portage/net-misc/taptap-1.0-r1/work ... >>>> Source prepared. > * Modern C testing: this build is using a /etc/portage/bashrc hook (2023-11-30T22:24)! > * Modern C testing: see https://wiki.gentoo.org/wiki/Modern_C_porting for more info. >>>> Configuring source in /var/tmp/portage/net-misc/taptap-1.0-r1/work ... >>>> Source configured. >>>> Compiling source in /var/tmp/portage/net-misc/taptap-1.0-r1/work ... > * clang -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o taptap taptap-1.0.c >taptap-1.0.c:65:2: error: call to undeclared library function 'memset' with type > 'void *(void *, int, unsigned long)'; ISO C99 and later do not support > implicit function declarations [-Wimplicit-function-declaration] > 65 | memset(&ifr, 0, sizeof(ifr)); > | ^ >taptap-1.0.c:65:2: note: include the header <string.h> or explicitly provide a > declaration for 'memset' >taptap-1.0.c:68:2: error: call to undeclared library function 'strncpy' with > type 'char *(char *, const char *, unsigned long)'; ISO C99 and later do > not support implicit function declarations > [-Wimplicit-function-declaration] > 68 | strncpy(ifr.ifr_name, "tun%d", IFNAMSIZ); > | ^ >taptap-1.0.c:68:2: note: include the header <string.h> or explicitly provide a > declaration for 'strncpy' >taptap-1.0.c:81:2: warning: ignoring return value of function declared with > 'warn_unused_result' attribute [-Wunused-result] > 81 | daemon(0,0); > | ^~~~~~ ~~~ >taptap-1.0.c:86:4: warning: ignoring return value of function declared with > 'warn_unused_result' attribute [-Wunused-result] > 86 | write(dev2,(void*)&buf,cnt); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~ >taptap-1.0.c:91:4: warning: ignoring return value of function declared with > 'warn_unused_result' attribute [-Wunused-result] > 91 | write(dev1,(void*)&buf,cnt); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~ >3 warnings and 2 errors generated. > * ERROR: net-misc/taptap-1.0-r1::gentoo failed (compile phase): > * Failed to run command: clang -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o taptap taptap-1.0.c > * > * Call stack: > * ebuild.sh, line 136: Called src_compile > * environment, line 1452: Called edo 'clang' '-O2' '-pipe' '-march=native' '-fno-diagnostics-color' '-Werror=implicit-function-declaration' '-Werror=implicit-int' '-Wl,-O1' '-Wl,--as-needed' '-Wl,--defsym=__gentoo_check_ldflags__=0' '-o' 'taptap' 'taptap-1.0.c' > * environment, line 654: Called die > * The specific snippet of code: > * "$@" || die -n "Failed to run command: $@" > * > * If you need support, post the output of `emerge --info '=net-misc/taptap-1.0-r1::gentoo'`, > * the complete build log and the output of `emerge -pqv '=net-misc/taptap-1.0-r1::gentoo'`. > * The complete build log is located at '/var/log/portage/net-misc:taptap-1.0-r1:20231202-185705.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-misc/taptap-1.0-r1/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/net-misc/taptap-1.0-r1/temp/environment'. > * Working directory: '/var/tmp/portage/net-misc/taptap-1.0-r1/work' > * S: '/var/tmp/portage/net-misc/taptap-1.0-r1/work' >
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 919058
:
876437
|
876438
|
876439
|
876440
|
876441
|
876442
| 876443 |
876444