Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 876998 Details for
Bug 919209
net-analyzer/bing-1.3.5 - [clang] bing_misc.c: error: use of undeclared identifier _glibc_objsize
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
net-analyzer:bing-1.3.5:20231204-123559.log
net-analyzer:bing-1.3.5:20231204-123559.log (text/plain), 6.57 KB, created by
Toralf Förster
on 2023-12-04 20:10:54 UTC
(
hide
)
Description:
net-analyzer:bing-1.3.5:20231204-123559.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2023-12-04 20:10:54 UTC
Size:
6.57 KB
patch
obsolete
> * Package: net-analyzer/bing-1.3.5:0 > * Repository: gentoo > * USE: abi_x86_64 amd64 elibc_glibc kernel_linux > * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox > >>>> Unpacking source... >>>> Unpacking bing_1.3.5.orig.tar.gz to /var/tmp/portage/net-analyzer/bing-1.3.5/work >>>> Source unpacked in /var/tmp/portage/net-analyzer/bing-1.3.5/work >>>> Preparing source in /var/tmp/portage/net-analyzer/bing-1.3.5/work/bing-1.3.5 ... > * Applying bing-1.3.5-Add-missing-string.h-for-memcpy.patch ... > [ ok ] >>>> 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-analyzer/bing-1.3.5/work/bing-1.3.5 ... >>>> Source configured. >>>> Compiling source in /var/tmp/portage/net-analyzer/bing-1.3.5/work/bing-1.3.5 ... >make -j4 CC=clang >clang -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -I. -g -Wall -D_DEBUG -o bing.o -c bing.c >clang -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -I. -g -Wall -D_DEBUG -o bing_misc.o -c bing_misc.c >clang -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -I. -g -Wall -D_DEBUG -o bing_probes.o -c bing_probes.c >clang -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -I. -g -Wall -D_DEBUG -o bing_stats.o -c bing_stats.c >bing_probes.c:382:40: warning: cast to smaller integer type 'int' from 'void *' > [-Wvoid-pointer-to-int-cast] > 382 | handle2state(handle)->udp_port=(int)optval; > | ^~~~~~~~~~~ >bing_misc.c:208:46: error: too many arguments provided to function-like macro > invocation > 208 | snprintf(snfargs(host_string,sizeof(host_string),"%s/%s"), > | ^ >/usr/include/sys/cdefs.h:159:10: note: macro '__glibc_objsize' defined here > 159 | # define __glibc_objsize(__o) __bos (__o) > | ^ >bing_misc.c:208:17: error: use of undeclared identifier '__glibc_objsize' > 208 | snprintf(snfargs(host_string,sizeof(host_string),"%s/%s"), > | ^ >/usr/include/bits/stdio2.h:61:8: note: expanded from macro 'snprintf' > 61 | __glibc_objsize (str), __VA_ARGS__) > | ^ >bing_misc.c:211:46: error: too many arguments provided to function-like macro > invocation > 211 | snprintf(snfargs(host_string,sizeof(host_string),"<unkno... > | ^ >/usr/include/sys/cdefs.h:159:10: note: macro '__glibc_objsize' defined here > 159 | # define __glibc_objsize(__o) __bos (__o) > | ^ >bing.c:186:36: warning: suggest braces around initialization of subobject > [-Wmissing-braces] > 186 | struct sockaddr addr_none={PF_INET,0,0}; > | ^~~ > | { } >bing_misc.c:211:17: error: expected expression > 211 | snprintf(snfargs(host_string,sizeof(host_string),"<unkno... > | ^ >/usr/include/bits/stdio2.h:61:42: note: expanded from macro 'snprintf' > 61 | __glibc_objsize (str), __VA_ARGS__) > | ^ >bing_misc.c:211:17: error: use of undeclared identifier '__glibc_objsize' >/usr/include/bits/stdio2.h:61:8: note: expanded from macro 'snprintf' > 61 | __glibc_objsize (str), __VA_ARGS__) > | ^ >5 errors generated. >make: *** [Makefile:110: bing_misc.o] Error 1 >make: *** Waiting for unfinished jobs.... >bing.c:1197:20: warning: variable 'corr' is used uninitialized whenever 'if' > condition is false [-Wsometimes-uninitialized] > 1197 | } else if (host->rtt_laws[1].host_reg.a!=0) { > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >bing.c:1205:9: note: uninitialized use occurs here > 1205 | if (corr==0.0) { > | ^~~~ >bing.c:1197:16: note: remove the 'if' if its condition is always true > 1197 | } else if (host->rtt_laws[1].host_reg.a!=0) { > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >bing.c:1181:13: warning: variable 'corr' is used uninitialized whenever 'if' > condition is false [-Wsometimes-uninitialized] > 1181 | if (host->rtt_laws[0].host_reg.a!=0) { > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >bing.c:1205:9: note: uninitialized use occurs here > 1205 | if (corr==0.0) { > | ^~~~ >bing.c:1181:9: note: remove the 'if' if its condition is always true > 1181 | if (host->rtt_laws[0].host_reg.a!=0) { > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >bing.c:1174:16: note: initialize the variable 'corr' to silence this warning > 1174 | double corr; > | ^ > | = 0.0 >bing.c:1422:5: warning: ignoring return value of function declared with > 'warn_unused_result' attribute [-Wunused-result] > 1422 | setgid(getgid()); > | ^~~~~~ ~~~~~~~~ >bing.c:1423:5: warning: ignoring return value of function declared with > 'warn_unused_result' attribute [-Wunused-result] > 1423 | setuid(getuid()); > | ^~~~~~ ~~~~~~~~ >bing.c:1353:5: warning: a function definition without a prototype is deprecated > in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] > 1353 | int main(argc, argv) > | ^ >bing.c:98:13: warning: unused variable 'rcsid' [-Wunused-variable] > 98 | static char rcsid[] = "$Id: bing.c,v 1.12 1999/10/24 22:45:03 fgouget Exp $"; > | ^~~~~ >1 warning generated. >7 warnings generated. > * ERROR: net-analyzer/bing-1.3.5::gentoo failed (compile phase): > * emake failed > * > * If you need support, post the output of `emerge --info '=net-analyzer/bing-1.3.5::gentoo'`, > * the complete build log and the output of `emerge -pqv '=net-analyzer/bing-1.3.5::gentoo'`. > * The complete build log is located at '/var/log/portage/net-analyzer:bing-1.3.5:20231204-123559.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-analyzer/bing-1.3.5/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/net-analyzer/bing-1.3.5/temp/environment'. > * Working directory: '/var/tmp/portage/net-analyzer/bing-1.3.5/work/bing-1.3.5' > * S: '/var/tmp/portage/net-analyzer/bing-1.3.5/work/bing-1.3.5' >
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 919209
:
876993
|
876994
|
876995
|
876996
|
876997
| 876998 |
876999
|
877000