* Package: x11-misc/x2vnc-1.7.2-r1:0 * Repository: gentoo * Maintainer: desktop-misc@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking x2vnc-1.7.2.tar.gz to /var/tmp/portage/x11-misc/x2vnc-1.7.2-r1/work >>> Source unpacked in /var/tmp/portage/x11-misc/x2vnc-1.7.2-r1/work >>> Preparing source in /var/tmp/portage/x11-misc/x2vnc-1.7.2-r1/work/x2vnc-1.7.2 ... * Applying expectk.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/x11-misc/x2vnc-1.7.2-r1/work/x2vnc-1.7.2 ... ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 checking for x86_64-pc-linux-gnu-gcc... clang checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether clang accepts -g... yes checking for clang option to accept ANSI C... none needed checking how to run the C preprocessor... clang -E checking for X... no checking whether make sets $(MAKE)... yes checking for a BSD-compatible install... /usr/lib/portage/python3.10/ebuild-helpers/xattr/install -c checking for XextCreateExtension in -lXext... yes checking for X11/extensions/xidle.h... no checking for X11/extensions/scrnsaver.h... yes checking for library containing XScreenSaverQueryExtension... -lXss checking for X11/extensions/Xinerama.h... yes checking for library containing XineramaQueryExtension... -lXinerama checking for X11/extensions/Xrandr.h... no checking for X11/extensions/xf86dga.h... no configure: creating ./config.status config.status: creating Makefile >>> Source configured. '/var/tmp/portage/x11-misc/x2vnc-1.7.2-r1/temp/clang14.log' -> '/var/tmp/clang/x11-misc/x2vnc-1.7.2-r1/clang14.log' '/var/tmp/portage/x11-misc/x2vnc-1.7.2-r1/temp/clang15.log' -> '/var/tmp/clang/x11-misc/x2vnc-1.7.2-r1/clang15.log' >>> Compiling source in /var/tmp/portage/x11-misc/x2vnc-1.7.2-r1/work/x2vnc-1.7.2 ... make -j4 clang -I. -DVERSION=\"1.7.2\" -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DX_DISPLAY_MISSING=1 -DHAVE_LIBXEXT=1 -DHAVE_X11_EXTENSIONS_SCRNSAVER_H=1 -DHAVE_MIT_SCREENSAVER=1 -DHAVE_X11_EXTENSIONS_XINERAMA_H=1 -DHAVE_XINERAMA=1 -c -o args.o args.c clang -I. -DVERSION=\"1.7.2\" -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DX_DISPLAY_MISSING=1 -DHAVE_LIBXEXT=1 -DHAVE_X11_EXTENSIONS_SCRNSAVER_H=1 -DHAVE_MIT_SCREENSAVER=1 -DHAVE_X11_EXTENSIONS_XINERAMA_H=1 -DHAVE_XINERAMA=1 -c -o listen.o listen.c clang -I. -DVERSION=\"1.7.2\" -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DX_DISPLAY_MISSING=1 -DHAVE_LIBXEXT=1 -DHAVE_X11_EXTENSIONS_SCRNSAVER_H=1 -DHAVE_MIT_SCREENSAVER=1 -DHAVE_X11_EXTENSIONS_XINERAMA_H=1 -DHAVE_XINERAMA=1 -c -o rfbproto.o rfbproto.c clang -I. -DVERSION=\"1.7.2\" -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DX_DISPLAY_MISSING=1 -DHAVE_LIBXEXT=1 -DHAVE_X11_EXTENSIONS_SCRNSAVER_H=1 -DHAVE_MIT_SCREENSAVER=1 -DHAVE_X11_EXTENSIONS_XINERAMA_H=1 -DHAVE_XINERAMA=1 -c -o sockets.o sockets.c In file included from rfbproto.c:30: ./x2vnc.h:105:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern Bool InitialiseRFBConnection(); ^ rfbproto.c:88:1: note: conflicting prototype is here InitialiseRFBConnection(int sock) ^ rfbproto.c:216:24: warning: passing 'CARD8[16]' (aka 'unsigned char[16]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!WriteExact(sock, challenge, CHALLENGESIZE)) return False; ^~~~~~~~~ ./x2vnc.h:140:40: note: passing argument to parameter 'buf' here extern Bool WriteExact(int sock, char *buf, int n); ^ sockets.c:53:18: warning: format string is not a string literal (potentially insecure) [-Wformat-security] fprintf(stderr,programName); ^~~~~~~~~~~ sockets.c:53:18: note: treat the string as an argument to avoid this fprintf(stderr,programName); ^ "%s", sockets.c:84:18: warning: format string is not a string literal (potentially insecure) [-Wformat-security] fprintf(stderr,programName); ^~~~~~~~~~~ sockets.c:84:18: note: treat the string as an argument to avoid this fprintf(stderr,programName); ^ "%s", rfbproto.c:378:21: error: call to undeclared function 'time'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] last_event_time=time(0); ^ rfbproto.c:402:21: error: call to undeclared function 'time'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] last_event_time=time(0); ^ sockets.c:123:25: error: call to undeclared function 'tunnel'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] addr.sin_port=htons(tunnel(gateway, remote, port)); ^ rfbproto.c:420:24: error: call sockets.c:129:20: warning: format to undeclared librarystring is not a string literal (potentially insecure) function[-Wformat-security] 'isspace' with type 'int (int)'; ISO C99 and later do not support implicit fprintf(stderr,programName); ^~~~~~~~~~~ function declarations [-Werror,-Wimplicit-function-declaration] while (len != 0 && isspace(*str)) { ^ rfbproto.c:420:24: note: include sockets.c:129:20: the header or explicitly provide a declaration for 'isspace' rfbproto.c:431:9: error: call to undeclared library function 'isalpha' with type 'int (int)'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] if (isalpha(*str)) { ^ rfbproto.c:431:9: note: include the header or explicitly provide a declaration for 'isalpha' rfbproto.c:434:27: error: call to undeclared library function 'isdigit' with type 'int (int)'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] (isalpha(*str) || isdigit(*str) || ^ rfbproto.c:434:27: note: include the header or explicitly provide a declaration for 'isdigit' rfbproto.c:455:21: error: call to undeclared function 'time'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] last_event_time=time(0); ^ note: treat the string as an argument to avoid this fprintf(stderr,programName); ^ "%s", sockets.c:135:20: warning: format string is not a string literal (potentially insecure) [-Wformat-security] fprintf(stderr,programName); ^~~~~~~~~~~ sockets.c:135:20: note: treat the string as an argument to avoid this fprintf(stderr,programName); ^ "%s", sockets.c:142:20: warning: format string is not a string literal (potentially insecure) [-Wformat-security] fprintf(stderr,programName); ^~~~~~~~~~~ sockets.c:142:20: note: treat the string as an argument to avoid this fprintf(stderr,programName); ^ "%s", sockets.c:170:17: warning: format string is not a string literal (potentially insecure) [-Wformat-security] fprintf(stderr,programName); ^~~~~~~~~~~ sockets.c:170:17: note: treat the string as an argument to avoid this fprintf(stderr,programName); ^ "%s", sockets.c:177:17: warning: format string is not a string literal (potentially insecure) [-Wformat-security] fprintf(stderr,programName); ^~~~~~~~~~~ sockets.c:177:17: note: treat the string as an argument to avoid this fprintf(stderr,programName); ^ "%s", sockets.c:184:17: warning: format string is not a string literal (potentially insecure) [-Wformat-security] fprintf(stderr,programName); ^~~~~~~~~~~ sockets.c:184:17: note: treat the string as an argument to avoid this fprintf(stderr,programName); ^ "%s", sockets.c:191:17: warning: format string is not a string literal (potentially insecure) [-Wformat-security] fprintf(stderr,programName); ^~~~~~~~~~~ sockets.c:191:17: note: treat the string as an argument to avoid this fprintf(stderr,programName); ^ "%s", 2 warnings and 6sockets.c:245:58: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] sock = accept(listenSock, (struct sockaddr *) &addr, &addrlen); ^~~~~~~~ /usr/include/sys/socket.h:307:28: note: passing argument to parameter '__addr_len' here socklen_t *__restrict __addr_len); ^ sockets.c:247:17: warning: format string is not a string literal (potentially insecure) [-Wformat-security] fprintf(stderr,programName); ^~~~~~~~~~~ sockets.c:247:17: note: treat the string as an argument to avoid this fprintf(stderr,programName); ^ "%s", sockets.c:254:17: warning: format string is not a string literal (potentially insecure) [-Wformat-security] fprintf(stderr,programName); ^~~~~~~~~~~ sockets.c:254:17: note: treat the string as an argument to avoid this fprintf(stderr,programName); ^ "%s", errors generated. sockets.c:295:53: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] getpeername(sock, (struct sockaddr *)&peeraddr, &addrlen); ^~~~~~~~ /usr/include/sys/socket.h:131:26: note: passing argument to parameter '__len' here socklen_t *__restrict __len) __THROW; ^ sockets.c:296:51: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] getsockname(sock, (struct sockaddr *)&myaddr, &addrlen); ^~~~~~~~ /usr/include/sys/socket.h:117:26: note: passing argument to parameter '__len' here socklen_t *__restrict __len) __THROW; ^ 14 warnings and 1 error generated. make: *** [: rfbproto.o] Error 1 make: *** Waiting for unfinished jobs.... make: *** [: sockets.o] Error 1 * ERROR: x11-misc/x2vnc-1.7.2-r1::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=x11-misc/x2vnc-1.7.2-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=x11-misc/x2vnc-1.7.2-r1::gentoo'`. * The complete build log is located at '/var/log/portage/x11-misc:x2vnc-1.7.2-r1:20220917-104209.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/x11-misc/x2vnc-1.7.2-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/x11-misc/x2vnc-1.7.2-r1/temp/environment'. * Working directory: '/var/tmp/portage/x11-misc/x2vnc-1.7.2-r1/work/x2vnc-1.7.2' * S: '/var/tmp/portage/x11-misc/x2vnc-1.7.2-r1/work/x2vnc-1.7.2'