Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 623210 Details for
Bug 713636
net-analyzer/nsat-1.5-r6 : ./ADMsmb.c: error: F_SETFL 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-analyzer:nsat-1.5-r5:20200320-082606.log
net-analyzer:nsat-1.5-r5:20200320-082606.log (text/plain), 11.88 KB, created by
Toralf Förster
on 2020-03-20 14:56:13 UTC
(
hide
)
Description:
net-analyzer:nsat-1.5-r5:20200320-082606.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2020-03-20 14:56:13 UTC
Size:
11.88 KB
patch
obsolete
> * Package: net-analyzer/nsat-1.5-r5 > * Repository: gentoo > * Maintainer: netmon@gentoo.org > * USE: abi_x86_64 amd64 elibc_musl kernel_linux userland_GNU > * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>>> Unpacking source... >>>> Unpacking nsat-1.5.tgz to /var/tmp/portage/net-analyzer/nsat-1.5-r5/work >>>> Source unpacked in /var/tmp/portage/net-analyzer/nsat-1.5-r5/work >>>> Preparing source in /var/tmp/portage/net-analyzer/nsat-1.5-r5/work/nsat ... > * Applying nsat-1.5-configure.patch ... > [ ok ] > * Applying nsat-1.5-lvalue-gcc4.patch ... > [ ok ] > * Applying nsat-1.5-strip.patch ... > [ ok ] > * Applying nsat-1.5-misc.patch ... > [ ok ] > * Applying nsat-1.5-va_list.patch ... > [ ok ] > * Applying nsat-1.5-libtirpc.patch ... > [ ok ] > * Applying nsat-1.5-amd64-compat.patch ... > [ ok ] > * Running eautoreconf in '/var/tmp/portage/net-analyzer/nsat-1.5-r5/work/nsat' ... > * Running aclocal ... > [ ok ] > * This package has a configure.in file which has long been deprecated. Please > * update it to use configure.ac instead as newer versions of autotools will die > * when it finds this file. See https://bugs.gentoo.org/426262 for details. > * Running autoconf --force ... > [ ok ] > * Running autoheader ... > [ ok ] > * Running elibtoolize in: nsat/ >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/net-analyzer/nsat-1.5-r5/work/nsat ... >./configure --prefix=/usr --build=x86_64-gentoo-linux-musl --host=x86_64-gentoo-linux-musl --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --docdir=/usr/share/doc/nsat-1.5-r5 --htmldir=/usr/share/doc/nsat-1.5-r5/html --libdir=/usr/lib --without-x >checking for x86_64-gentoo-linux-musl-gcc... x86_64-gentoo-linux-musl-gcc >checking whether the C compiler works... yes >checking for C compiler default output file name... a.out >checking for suffix of executables... >checking whether we are cross compiling... no >checking for suffix of object files... o >checking whether we are using the GNU C compiler... yes >checking whether x86_64-gentoo-linux-musl-gcc accepts -g... yes >checking for x86_64-gentoo-linux-musl-gcc option to accept ISO C89... none needed >checking accepted compiler flags... GNU CC/ANSI (good) >checking for x86_64-gentoo-linux-musl-g++... x86_64-gentoo-linux-musl-g++ >checking whether we are using the GNU C++ compiler... yes >checking whether x86_64-gentoo-linux-musl-g++ accepts -g... yes >checking for a BSD-compatible install... /usr/lib/portage/python3.6/ebuild-helpers/xattr/install -c >checking whether make sets $(MAKE)... yes >checking for XOpenDisplay in -lX11... yes >checking for xdr_stats in -lrpcsvc... no >checking how to run the C preprocessor... x86_64-gentoo-linux-musl-gcc -E >checking for X... disabled >checking for grep that handles long lines and -e... /bin/grep >checking for egrep... /bin/grep -E >checking for ANSI C header files... yes >checking for ar... ar >checking for x86_64-gentoo-linux-musl-ranlib... x86_64-gentoo-linux-musl-ranlib >checking whether make sets $(MAKE)... (cached) yes >checking for uname... uname >checking operating system... found Linux. Ph33r. >./configure: line 4296: test: =: unary operator expected >checking for pcap_datalink in -lpcap... yes >checking for ANSI C header files... (cached) yes >checking for sys/types.h... yes >checking for sys/stat.h... yes >checking for stdlib.h... yes >checking for string.h... yes >checking for memory.h... yes >checking for strings.h... yes >checking for inttypes.h... yes >checking for stdint.h... yes >checking for unistd.h... yes >checking fcntl.h usability... yes >checking fcntl.h presence... yes >checking for fcntl.h... yes >checking for unistd.h... (cached) yes >checking sys/select.h usability... yes >checking sys/select.h presence... yes >checking for sys/select.h... yes >checking sys/time.h usability... yes >checking sys/time.h presence... yes >checking for sys/time.h... yes >checking for sys/types.h... (cached) yes >checking sys/socket.h usability... yes >checking sys/socket.h presence... yes >checking for sys/socket.h... yes >checking stdarg.h usability... yes >checking stdarg.h presence... yes >checking for stdarg.h... yes >checking std_args.h usability... no >checking std_args.h presence... no >checking for std_args.h... no >checking for strings.h... (cached) yes >checking netdb.h usability... yes >checking netdb.h presence... yes >checking for netdb.h... yes >checking netinet/in.h usability... yes >checking netinet/in.h presence... yes >checking for netinet/in.h... yes >checking arpa/inet.h usability... yes >checking arpa/inet.h presence... yes >checking for arpa/inet.h... yes >checking signal.h usability... yes >checking signal.h presence... yes >checking for signal.h... yes >checking for stdlib.h... (cached) yes >checking errno.h usability... yes >checking errno.h presence... yes >checking for errno.h... yes >checking ctype.h usability... yes >checking ctype.h presence... yes >checking for ctype.h... yes >checking sys/file.h usability... yes >checking sys/file.h presence... yes >checking for sys/file.h... yes >checking sys/ioctl.h usability... yes >checking sys/ioctl.h presence... yes >checking for sys/ioctl.h... yes >checking sys/signal.h usability... yes >checking sys/signal.h presence... yes >checking for sys/signal.h... yes >checking sys/stream.h usability... no >checking sys/stream.h presence... no >checking for sys/stream.h... no >checking sys/dlpi.h usability... no >checking sys/dlpi.h presence... no >checking for sys/dlpi.h... no >checking sys/bufmod.h usability... no >checking sys/bufmod.h presence... no >checking for sys/bufmod.h... no >checking sys/stropts.h usability... yes >checking sys/stropts.h presence... yes >checking for sys/stropts.h... yes >checking sys/param.h usability... yes >checking sys/param.h presence... yes >checking for sys/param.h... yes >checking sys/termios.h usability... yes >checking sys/termios.h presence... yes >checking for sys/termios.h... yes >checking sys/filio.h usability... no >checking sys/filio.h presence... no >checking for sys/filio.h... no >checking net/if.h usability... yes >checking net/if.h presence... yes >checking for net/if.h... yes >checking netinet/in_systm.h usability... yes >checking netinet/in_systm.h presence... yes >checking for netinet/in_systm.h... yes >checking netinet/ip.h usability... yes >checking netinet/ip.h presence... yes >checking for netinet/ip.h... yes >checking netinet/ip_var.h usability... no >checking netinet/ip_var.h presence... no >checking for netinet/ip_var.h... no >checking netinet/ip_icmp.h usability... yes >checking netinet/ip_icmp.h presence... yes >checking for netinet/ip_icmp.h... yes >checking sys/resource.h usability... yes >checking sys/resource.h presence... yes >checking for sys/resource.h... yes >checking X11/Xlib.h usability... yes >checking X11/Xlib.h presence... yes >checking for X11/Xlib.h... yes >checking whether byte ordering is bigendian... no >checking for an ANSI C-conforming const... yes >checking for size_t... yes >checking whether time.h and sys/time.h may both be included... yes >checking whether struct tm is in sys/time.h or time.h... time.h >checking return type of signal handlers... void >checking whether x86_64-gentoo-linux-musl-gcc needs -traditional... no >checking whether setpgrp takes no argument... yes >checking return type of signal handlers... (cached) void >checking for vprintf... yes >checking for _doprnt... no >checking for select... yes >checking for socket... yes >checking for strdup... yes >checking for strstr... yes >checking for random... yes >checking for srandom... yes >checking for snprintf... yes >checking for setsockopt... yes >checking for initstate... yes >checking for gettimeofday... yes >checking for strerror... yes >checking for x86_64-gentoo-linux-musl-pkg-config... /usr/bin/x86_64-gentoo-linux-musl-pkg-config >checking pkg-config is at least version 0.9.0... yes >checking for libtirpc... yes >configure: creating ./config.status >config.status: creating Makefile >config.status: creating tools/Makefile >config.status: creating src/Makefile >config.status: creating src/mod/Makefile >config.status: creating src/smb/Makefile >config.status: creating src/libmix++/Makefile >config.status: creating src/libmix++/mix/net.h >config.status: creating src/libmix++/mix/lmconfig.h > >Configure finished. Now do a 'make' and/or 'make install'. > >>>> Source configured. >>>> Compiling source in /var/tmp/portage/net-analyzer/nsat-1.5-r5/work/nsat ... >make -j1 MIXOBJ=-lmix++ >make[1]: Entering directory '/var/tmp/portage/net-analyzer/nsat-1.5-r5/work/nsat/src' >make[2]: Entering directory '/var/tmp/portage/net-analyzer/nsat-1.5-r5/work/nsat/src/smb' >Makefile:55: warning: ignoring prerequisites on suffix rule definition >compiling ADM smb scanner... x86_64-gentoo-linux-musl-gcc -DSMBLOGFILE=\"\" -DNMBLOGFILE=\"\" -DCONFIGFILE=\"\" -DLMHOSTSFILE=\"\" -DWEB_ROOT=\"\" -DLOCKDIR=\"\" -DSMBRUN=\"\" -DCODEPAGEDIR=\"\" -DWORKGROUP=\"WORKGROUP\" -DGUEST_ACCOUNT=\"nobody\" -DDRIVERFILE=\"\" -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -DLINUX -Wall -DLINUX -DNETGROUP -DALLOW_CHANGE_PASSWORD -DFAST_SHARE_MODES -DNO_ASMSIGNALH -DGLIBC2 -DSMB_PASSWD=\"\" -DSMB_PASSWD_FILE=\"\" -Wl,-O1 -Wl,--as-needed -c ./client.c -o ./client.o >In file included from ./client.c:73: >./ADMsmb.c: In function âADMsmbâ: >./ADMsmb.c:117:8: warning: implicit declaration of function âfcntlâ [-Wimplicit-function-declaration] > 117 | if ((fcntl (socket_client, F_SETFL, O_NONBLOCK)) == -1) > | ^~~~~ >./ADMsmb.c:117:30: error: âF_SETFLâ undeclared (first use in this function) > 117 | if ((fcntl (socket_client, F_SETFL, O_NONBLOCK)) == -1) > | ^~~~~~~ >./ADMsmb.c:117:30: note: each undeclared identifier is reported only once for each function it appears in >./ADMsmb.c:117:39: error: âO_NONBLOCKâ undeclared (first use in this function); did you mean âSOCK_NONBLOCKâ? > 117 | if ((fcntl (socket_client, F_SETFL, O_NONBLOCK)) == -1) > | ^~~~~~~~~~ > | SOCK_NONBLOCK >./ADMsmb.c:126:96: warning: pointer targets in passing argument 6 of ârecvfromâ differ in signedness [-Wpointer-sign] > 126 | buffer2, sizeof (buffer2), 0, (struct sockaddr *) &sin_dst, (int *) &longueur) != -1) > | ^~~~~~~~~~~~~~~~~ > | | > | int * > >In file included from ./includes.h:143, > from ./client.c:72: >/usr/include/sys/socket.h:395:84: note: expected âsocklen_t * restrictâ {aka âunsigned int * restrictâ} but argument is of type âint *â > 395 | void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict); > | ^ > >./client.c: In function âbrowse_hostâ: >./client.c:299:12: warning: variable âlong_share_nameâ set but not used [-Wunused-but-set-variable] > 299 | BOOL long_share_name = False; > | ^~~~~~~~~~~~~~~ >make[2]: *** [Makefile:55: client.o] Error 1 >make[2]: Leaving directory '/var/tmp/portage/net-analyzer/nsat-1.5-r5/work/nsat/src/smb' >make[1]: *** [Makefile:27: ../smb-ns] Error 2 >make[1]: Leaving directory '/var/tmp/portage/net-analyzer/nsat-1.5-r5/work/nsat/src' >make: *** [Makefile:17: all] Error 2 > * ERROR: net-analyzer/nsat-1.5-r5::gentoo failed (compile phase): > * emake failed > * > * If you need support, post the output of `emerge --info '=net-analyzer/nsat-1.5-r5::gentoo'`, > * the complete build log and the output of `emerge -pqv '=net-analyzer/nsat-1.5-r5::gentoo'`. > * The complete build log is located at '/var/log/portage/net-analyzer:nsat-1.5-r5:20200320-082606.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-analyzer/nsat-1.5-r5/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/net-analyzer/nsat-1.5-r5/temp/environment'. > * Working directory: '/var/tmp/portage/net-analyzer/nsat-1.5-r5/work/nsat' > * S: '/var/tmp/portage/net-analyzer/nsat-1.5-r5/work/nsat'
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 713636
:
623200
|
623202
|
623204
|
623206
|
623208
| 623210 |
623212