Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 801409 Details for
Bug 866932
net-misc/openrsync-0.5.0_p20220508:0 - socket.c: error: BUFSIZ undeclared (first use in this function)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
net-misc:openrsync-0.5.0_p20220508:20220827-063639.log
net-misc:openrsync-0.5.0_p20220508:20220827-063639.log (text/plain), 7.35 KB, created by
Toralf Förster
on 2022-08-27 08:24:45 UTC
(
hide
)
Description:
net-misc:openrsync-0.5.0_p20220508:20220827-063639.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2022-08-27 08:24:45 UTC
Size:
7.35 KB
patch
obsolete
> * Package: net-misc/openrsync-0.5.0_p20220508:0 > * Repository: gentoo > * Maintainer: sam@gentoo.org > * USE: abi_x86_64 amd64 elibc_musl kernel_linux userland_GNU > * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox > >>>> Unpacking source... >>>> Unpacking openrsync-0.5.0_p20220508.tar.gz to /var/tmp/portage/net-misc/openrsync-0.5.0_p20220508/work >>>> Source unpacked in /var/tmp/portage/net-misc/openrsync-0.5.0_p20220508/work >>>> Preparing source in /var/tmp/portage/net-misc/openrsync-0.5.0_p20220508/work/openrsync-f50d0f8204ea18306a0c29c6ae850292ea826995 ... > * Applying openrsync-0.5.0_p20220508-extern-stdint-include.patch ... > [ ok ] >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/net-misc/openrsync-0.5.0_p20220508/work/openrsync-f50d0f8204ea18306a0c29c6ae850292ea826995 ... > * ./configure PREFIX=/usr MANDIR=/usr/share/man >config.log: writing... >configure.local: no (fully automatic configuration) >arc4random: no >b64_ntop: no >capsicum: no >crypt: yes >crypt_newhash: no >endian_h: yes >err: no >explicit_bzero: yes >fts: no >getexecname: no >getprogname: no >INFTIM: no >landlock: no >lib_socket: yes >md5: yes (with -lmd) >memmem: yes >memrchr: yes >memset_s: no >mkfifoat: yes >mknodat: yes >osbyteorder_h: no >PATH_MAX: yes >pledge: no >program_invocation_short_name: yes >readpassphrase: no >reallocarray: yes >recallocarray: no >sandbox_init: no >scan_scaled: no >seccomp-filter: yes >setresgid: yes >setresuid: yes >sha2: yes (with -lmd) >SOCK_NONBLOCK: yes >static: yes >strlcat: yes >strlcpy: yes >strndup: yes >strnlen: yes >strtonum: no >sys_byteorder_h: no >sys_endian_h: no >sys_mkdev_h: no >sys_sysmacros_h: yes >sys_queue: no >sys_tree: no >unveil: no >WAIT_ANY: no >__progname: yes >config.h: written >Makefile.configure: written >>>> Source configured. >>>> Compiling source in /var/tmp/portage/net-misc/openrsync-0.5.0_p20220508/work/openrsync-f50d0f8204ea18306a0c29c6ae850292ea826995 ... >make -j4 'CFLAGS=-pipe -march=native -fno-diagnostics-color -O2' 'LDFLAGS=-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0' >x86_64-gentoo-linux-musl-gcc -pipe -march=native -fno-diagnostics-color -O2 -c -o blocks.o blocks.c >x86_64-gentoo-linux-musl-gcc -pipe -march=native -fno-diagnostics-color -O2 -c -o client.o client.c >x86_64-gentoo-linux-musl-gcc -pipe -march=native -fno-diagnostics-color -O2 -c -o compats.o compats.c >x86_64-gentoo-linux-musl-gcc -pipe -march=native -fno-diagnostics-color -O2 -c -o copy.o copy.c >x86_64-gentoo-linux-musl-gcc -pipe -march=native -fno-diagnostics-color -O2 -c -o downloader.o downloader.c >x86_64-gentoo-linux-musl-gcc -pipe -march=native -fno-diagnostics-color -O2 -c -o fargs.o fargs.c >x86_64-gentoo-linux-musl-gcc -pipe -march=native -fno-diagnostics-color -O2 -c -o flist.o flist.c >x86_64-gentoo-linux-musl-gcc -pipe -march=native -fno-diagnostics-color -O2 -c -o hash.o hash.c >x86_64-gentoo-linux-musl-gcc -pipe -march=native -fno-diagnostics-color -O2 -c -o ids.o ids.c >x86_64-gentoo-linux-musl-gcc -pipe -march=native -fno-diagnostics-color -O2 -c -o io.o io.c >x86_64-gentoo-linux-musl-gcc -pipe -march=native -fno-diagnostics-color -O2 -c -o log.o log.c >x86_64-gentoo-linux-musl-gcc -pipe -march=native -fno-diagnostics-color -O2 -c -o md4.o md4.c >x86_64-gentoo-linux-musl-gcc -pipe -march=native -fno-diagnostics-color -O2 -c -o misc.o misc.c >x86_64-gentoo-linux-musl-gcc -pipe -march=native -fno-diagnostics-color -O2 -c -o mkpath.o mkpath.c >x86_64-gentoo-linux-musl-gcc -pipe -march=native -fno-diagnostics-color -O2 -c -o mktemp.o mktemp.c >x86_64-gentoo-linux-musl-gcc -pipe -march=native -fno-diagnostics-color -O2 -c -o receiver.o receiver.c >x86_64-gentoo-linux-musl-gcc -pipe -march=native -fno-diagnostics-color -O2 -c -o rmatch.o rmatch.c >mktemp.c: In function 'mktemp_internalat': >mktemp.c:131:41: warning: iteration 16 invokes undefined behavior [-Waggressive-loop-optimizations] > 131 | rbuf[i] = random(); > | ~~~~~~~~^~~~~~~~~~ >mktemp.c:130:39: note: within this loop > 130 | for (i = 0; i < sizeof(rbuf); i++) > | ~~^~~~~~~~~~~~~~ >x86_64-gentoo-linux-musl-gcc -pipe -march=native -fno-diagnostics-color -O2 -c -o rules.o rules.c >x86_64-gentoo-linux-musl-gcc -pipe -march=native -fno-diagnostics-color -O2 -c -o sender.o sender.c >x86_64-gentoo-linux-musl-gcc -pipe -march=native -fno-diagnostics-color -O2 -c -o server.o server.c >x86_64-gentoo-linux-musl-gcc -pipe -march=native -fno-diagnostics-color -O2 -c -o session.o session.c >x86_64-gentoo-linux-musl-gcc -pipe -march=native -fno-diagnostics-color -O2 -c -o socket.o socket.c >x86_64-gentoo-linux-musl-gcc -pipe -march=native -fno-diagnostics-color -O2 -c -o symlinks.o symlinks.c >x86_64-gentoo-linux-musl-gcc -pipe -march=native -fno-diagnostics-color -O2 -c -o uploader.o uploader.c >socket.c: In function 'protocol_line': >socket.c:261:13: warning: implicit declaration of function 'sscanf' [-Wimplicit-function-declaration] > 261 | if (sscanf(cp, "%d.%d", &major, &minor) == 2) { > | ^~~~~~ >socket.c:39:1: note: include '<stdio.h>' or provide a declaration of 'sscanf' > 38 | #include "extern.h" > +++ |+#include <stdio.h> > 39 | >socket.c:261:13: warning: incompatible implicit declaration of built-in function 'sscanf' [-Wbuiltin-declaration-mismatch] > 261 | if (sscanf(cp, "%d.%d", &major, &minor) == 2) { > | ^~~~~~ >socket.c:261:13: note: include '<stdio.h>' or provide a declaration of 'sscanf' >socket.c: In function 'rsync_socket': >socket.c:366:37: error: 'BUFSIZ' undeclared (first use in this function) > 366 | char **args, buf[BUFSIZ]; > | ^~~~~~ >socket.c:366:37: note: 'BUFSIZ' is defined in header '<stdio.h>'; did you forget to '#include <stdio.h>'? >socket.c:366:37: note: each undeclared identifier is reported only once for each function it appears in >socket.c:384:15: warning: implicit declaration of function 'snprintf' [-Wimplicit-function-declaration] > 384 | (void)snprintf(buf, sizeof(buf), "@RSYNCD: %d", sess.lver); > | ^~~~~~~~ >socket.c:384:15: note: include '<stdio.h>' or provide a declaration of 'snprintf' >socket.c:384:15: warning: incompatible implicit declaration of built-in function 'snprintf' [-Wbuiltin-declaration-mismatch] >socket.c:384:15: note: include '<stdio.h>' or provide a declaration of 'snprintf' >make: *** [<builtin>: socket.o] Error 1 >make: *** Waiting for unfinished jobs.... > * ERROR: net-misc/openrsync-0.5.0_p20220508::gentoo failed (compile phase): > * emake failed > * > * If you need support, post the output of `emerge --info '=net-misc/openrsync-0.5.0_p20220508::gentoo'`, > * the complete build log and the output of `emerge -pqv '=net-misc/openrsync-0.5.0_p20220508::gentoo'`. > * The complete build log is located at '/var/log/portage/net-misc:openrsync-0.5.0_p20220508:20220827-063639.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-misc/openrsync-0.5.0_p20220508/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/net-misc/openrsync-0.5.0_p20220508/temp/environment'. > * Working directory: '/var/tmp/portage/net-misc/openrsync-0.5.0_p20220508/work/openrsync-f50d0f8204ea18306a0c29c6ae850292ea826995' > * S: '/var/tmp/portage/net-misc/openrsync-0.5.0_p20220508/work/openrsync-f50d0f8204ea18306a0c29c6ae850292ea826995' >
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 866932
:
801394
|
801397
|
801400
|
801403
|
801406
| 801409 |
801412