D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/lbxproxy-1.0.3-7.mga7.src.rpm Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.av0vtI + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf lbxproxy-1.0.3 + /usr/bin/bzip2 -dc /home/pterjan/rpmbuild/SOURCES/lbxproxy-1.0.3.tar.bz2 + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd lbxproxy-1.0.3 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + sed -i -e 's,\(^AM_INIT_AUTOMAKE(\[\),\1subdir-objects ,' configure.ac + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.mNdZQn + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd lbxproxy-1.0.3 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + autoreconf -vfi autoreconf: Entering directory `.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal --force autoreconf: configure.ac: tracing autoreconf: configure.ac: not using Libtool autoreconf: running: /usr/bin/autoconf --force autoreconf: running: /usr/bin/autoheader --force autoreconf: running: automake --add-missing --copy --force-missing configure.ac:40: installing './compile' autoreconf: Leaving directory `.' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + export FFLAGS + LDFLAGS=' -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags' + export LDFLAGS + CONFIGURE_TOP=. + /usr/lib/rpm/mageia/force-as-needed-for-shared-lib-in-libtool Forcing -Wl,--as-needed in configure/libtool to workaround libtool bug (cf http://lists.gnu.org/archive/html/libtool-patches/2004-06/msg00002.html) + /usr/lib/rpm/mageia/drop-ld-no-undefined-for-shared-lib-modules-in-libtool + /usr/lib/rpm/mageia/fix-libtool-ltmain-from-overlinking + /usr/lib/rpm/mageia/fix-libtool-from-moving-options-after-libs . + /usr/lib/rpm/mageia/fix-dlsearch-path-in-libtool-for-multilib . lib64 + '[' -f ./configure.in -o -f ./configure.ac ']' + CONFIGURE_XPATH='--x-includes=/usr/include --x-libraries=/usr/lib64' + ./configure --build=x86_64-mageia-linux-gnu --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --x-includes=/usr/include --x-libraries=/usr/lib64 checking build system type... x86_64-mageia-linux-gnu checking host system type... x86_64-mageia-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether to enable maintainer-specific portions of Makefiles... no checking whether make supports the include directive... yes (GNU style) checking for gcc... 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 gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking dependency style of gcc... gcc3 checking for gcc option to accept ISO C99... none needed checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... 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 whether __clang__ is declared... no checking whether __INTEL_COMPILER is declared... no checking whether __SUNPRO_C is declared... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for a sed that does not truncate output... /usr/bin/sed checking if gcc supports -Werror=unknown-warning-option... no checking if gcc supports -Werror=unused-command-line-argument... no checking if gcc supports -Wall... yes checking if gcc supports -Wpointer-arith... yes checking if gcc supports -Wmissing-declarations... yes checking if gcc supports -Wformat=2... yes checking if gcc supports -Wstrict-prototypes... yes checking if gcc supports -Wmissing-prototypes... yes checking if gcc supports -Wnested-externs... yes checking if gcc supports -Wbad-function-cast... yes checking if gcc supports -Wold-style-definition... yes checking if gcc supports -Wdeclaration-after-statement... yes checking if gcc supports -Wunused... yes checking if gcc supports -Wuninitialized... yes checking if gcc supports -Wshadow... yes checking if gcc supports -Wmissing-noreturn... yes checking if gcc supports -Wmissing-format-attribute... yes checking if gcc supports -Wredundant-decls... yes checking if gcc supports -Wlogical-op... yes checking if gcc supports -Werror=implicit... yes checking if gcc supports -Werror=nonnull... yes checking if gcc supports -Werror=init-self... yes checking if gcc supports -Werror=main... yes checking if gcc supports -Werror=missing-braces... yes checking if gcc supports -Werror=sequence-point... yes checking if gcc supports -Werror=return-type... yes checking if gcc supports -Werror=trigraphs... yes checking if gcc supports -Werror=array-bounds... yes checking if gcc supports -Werror=write-strings... yes checking if gcc supports -Werror=address... yes checking if gcc supports -Werror=int-to-pointer-cast... yes checking if gcc supports -Werror=pointer-to-int-cast... yes checking if gcc supports -pedantic... yes checking if gcc supports -Werror... yes checking if gcc supports -Werror=attributes... yes checking whether make supports nested variables... (cached) yes checking for LBXPROXY... yes checking for X11/extensions/lbxproto.h... yes checking for X11/extensions/bigreqsproto.h... yes checking if Xtrans should support UNIX socket connections... yes checking if Xtrans should support TCP socket connections... yes checking for library containing socket... none required checking for library containing gethostbyname... none required checking for getaddrinfo... yes checking if IPv6 support should be built... yes checking for struct sockaddr_in.sin_len... no checking for socklen_t... yes checking for struct msghdr.msg_control... yes checking if Xtrans should support os-specific local connections... no checking for strcasecmp... yes checking for strlcpy... no checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: executing depfiles commands + /usr/bin/make -O -j8 /usr/bin/make all-am make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/lbxproxy-1.0.3' GEN lbxproxy.1 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/lbxproxy-1.0.3' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/lbxproxy-1.0.3' CC di/globals.o make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/lbxproxy-1.0.3' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/lbxproxy-1.0.3' CC di/atomcache.o make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/lbxproxy-1.0.3' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/lbxproxy-1.0.3' CC di/cache.o make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/lbxproxy-1.0.3' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/lbxproxy-1.0.3' CC di/extensions.o In file included from di/extensions.c:55: ./include/lbxext.h:133:12: warning: redundant redeclaration of 'ProcLBXQueryExtension' [-Wredundant-decls] extern int ProcLBXQueryExtension( ^~~~~~~~~~~~~~~~~~~~~ In file included from di/extensions.c:52: ./include/lbxproxy.h:495:12: note: previous declaration of 'ProcLBXQueryExtension' was here extern int ProcLBXQueryExtension(ClientPtr client); ^~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/lbxproxy-1.0.3' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/lbxproxy-1.0.3' CC di/cmaputil.o make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/lbxproxy-1.0.3' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/lbxproxy-1.0.3' CC di/init.o di/init.c: In function 'DisplayOpen': di/init.c:84:20: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] class.res_name = "lbxproxy"; ^ di/init.c:85:21: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] class.res_class = "LbxProxy"; ^ make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/lbxproxy-1.0.3' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/lbxproxy-1.0.3' CC di/dispatch.o In file included from di/dispatch.c:31: ./include/lbxext.h:133:12: warning: redundant redeclaration of 'ProcLBXQueryExtension' [-Wredundant-decls] extern int ProcLBXQueryExtension( ^~~~~~~~~~~~~~~~~~~~~ In file included from di/dispatch.c:28: ./include/lbxproxy.h:495:12: note: previous declaration of 'ProcLBXQueryExtension' was here extern int ProcLBXQueryExtension(ClientPtr client); ^~~~~~~~~~~~~~~~~~~~~ di/dispatch.c:431:15: warning: redundant redeclaration of 'ZeroPadReqVector' [-Wredundant-decls] extern void (*ZeroPadReqVector[128])(void *); ^~~~~~~~~~~~~~~~ In file included from di/dispatch.c:31: ./include/lbxext.h:138:15: note: previous declaration of 'ZeroPadReqVector' was here extern void (*ZeroPadReqVector[128])(void *); ^~~~~~~~~~~~~~~~ make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/lbxproxy-1.0.3' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/lbxproxy-1.0.3' CC di/main.o In file included from di/main.c:56: ./include/lbxext.h:133:12: warning: redundant redeclaration of 'ProcLBXQueryExtension' [-Wredundant-decls] extern int ProcLBXQueryExtension( ^~~~~~~~~~~~~~~~~~~~~ In file included from di/main.c:51: ./include/lbxproxy.h:495:12: note: previous declaration of 'ProcLBXQueryExtension' was here extern int ProcLBXQueryExtension(ClientPtr client); ^~~~~~~~~~~~~~~~~~~~~ di/main.c: In function 'main': di/main.c:81:13: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] display = "63"; ^ make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/lbxproxy-1.0.3' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/lbxproxy-1.0.3' CC di/lbxutil.o In file included from di/lbxutil.c:41: ./include/lbxext.h:133:12: warning: redundant redeclaration of 'ProcLBXQueryExtension' [-Wredundant-decls] extern int ProcLBXQueryExtension( ^~~~~~~~~~~~~~~~~~~~~ In file included from di/lbxutil.c:34: ./include/lbxproxy.h:495:12: note: previous declaration of 'ProcLBXQueryExtension' was here extern int ProcLBXQueryExtension(ClientPtr client); ^~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/lbxproxy-1.0.3' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/lbxproxy-1.0.3' CC di/reqtype.o make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/lbxproxy-1.0.3' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/lbxproxy-1.0.3' CC di/options.o di/options.c: In function 'InitializeStreamComp': di/options.c:151:38: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] server->LbxStreamComp[0].type = ZLIB_STRCOMP_OPT; ^ di/options.c: In function 'InitializeBitmapCompMethod': di/options.c:160:48: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] server->LbxBitmapCompMethods[0].methodName = "XC-FaxG42D"; ^ di/options.c: In function 'InitializeCmpaAllMethods': di/options.c:197:45: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] server->LbxCmapAllMethods[0].methodName = "XC-CMAP"; ^ make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/lbxproxy-1.0.3' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/lbxproxy-1.0.3' CC di/cmap.o In file included from di/cmap.c:66: ./include/lbxext.h:133:12: warning: redundant redeclaration of 'ProcLBXQueryExtension' [-Wredundant-decls] extern int ProcLBXQueryExtension( ^~~~~~~~~~~~~~~~~~~~~ In file included from di/cmap.c:57: ./include/lbxproxy.h:495:12: note: previous declaration of 'ProcLBXQueryExtension' was here extern int ProcLBXQueryExtension(ClientPtr client); ^~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/lbxproxy-1.0.3' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/lbxproxy-1.0.3' CC di/resource.o make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/lbxproxy-1.0.3' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/lbxproxy-1.0.3' CC di/pm.o di/pm.c: In function 'ConnectToProxyManager': di/pm.c:206:55: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 208 [-Wformat-truncation=] "Could not initialize proxy management protocol: %s", ^~ iceError); ~~~~~~~~ In file included from /usr/include/stdio.h:867, from di/pm.c:30: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 49 and 304 bytes into a destination of size 256 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ di/pm.c:193:55: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 208 [-Wformat-truncation=] "Could not open ICE connection to proxy manager: %s", iceError); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:867, from di/pm.c:30: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 49 and 304 bytes into a destination of size 256 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/lbxproxy-1.0.3' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/lbxproxy-1.0.3' CC di/lbxfuncs.o In file included from di/lbxfuncs.c:52: ./include/lbxext.h:133:12: warning: redundant redeclaration of 'ProcLBXQueryExtension' [-Wredundant-decls] extern int ProcLBXQueryExtension( ^~~~~~~~~~~~~~~~~~~~~ In file included from di/lbxfuncs.c:43: ./include/lbxproxy.h:495:12: note: previous declaration of 'ProcLBXQueryExtension' was here extern int ProcLBXQueryExtension(ClientPtr client); ^~~~~~~~~~~~~~~~~~~~~ di/lbxfuncs.c: In function 'get_setup_reply': di/lbxfuncs.c:238:41: warning: passing argument 5 of 'send_setup_reply' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] send_setup_reply(client, FALSE, 0, 0, "bad tag data from server", 0); ^~~~~~~~~~~~~~~~~~~~~~~~~~ di/lbxfuncs.c:143:10: note: expected 'void *' but argument is of type 'const char *' void *cs, int cs_len) ~~~~~~^~ make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/lbxproxy-1.0.3' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/lbxproxy-1.0.3' CC di/tables.o make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/lbxproxy-1.0.3' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/lbxproxy-1.0.3' CC di/props.o make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/lbxproxy-1.0.3' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/lbxproxy-1.0.3' CC di/unsquish.o make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/lbxproxy-1.0.3' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/lbxproxy-1.0.3' CC di/utils.o In file included from di/utils.c:95: ./include/lbxext.h:133:12: warning: redundant redeclaration of 'ProcLBXQueryExtension' [-Wredundant-decls] extern int ProcLBXQueryExtension( ^~~~~~~~~~~~~~~~~~~~~ In file included from di/utils.c:55: ./include/lbxproxy.h:495:12: note: previous declaration of 'ProcLBXQueryExtension' was here extern int ProcLBXQueryExtension(ClientPtr client); ^~~~~~~~~~~~~~~~~~~~~ : warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] di/utils.c:138:19: note: in expansion of macro 'DEF_ATOMS_FILE' char *atomsFile = DEF_ATOMS_FILE; ^~~~~~~~~~~~~~ di/utils.c: In function 'VErrorF': di/utils.c:662:5: warning: function 'VErrorF' might be a candidate for 'gnu_printf' format attribute [-Wsuggest-attribute=format] vfprintf(stderr, f, args); ^~~~~~~~ di/utils.c: In function 'FatalError': di/utils.c:647:1: warning: function might be candidate for attribute 'noreturn' [-Wsuggest-attribute=noreturn] FatalError(const char *f, ...) ^~~~~~~~~~ make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/lbxproxy-1.0.3' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/lbxproxy-1.0.3' CC di/tags.o make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/lbxproxy-1.0.3' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/lbxproxy-1.0.3' CC di/swapreq.o make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/lbxproxy-1.0.3' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/lbxproxy-1.0.3' CC di/gfx.o In file included from di/gfx.c:65: ./include/lbxext.h:133:12: warning: redundant redeclaration of 'ProcLBXQueryExtension' [-Wredundant-decls] extern int ProcLBXQueryExtension( ^~~~~~~~~~~~~~~~~~~~~ In file included from di/gfx.c:58: ./include/lbxproxy.h:495:12: note: previous declaration of 'ProcLBXQueryExtension' was here extern int ProcLBXQueryExtension(ClientPtr client); ^~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/lbxproxy-1.0.3' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/lbxproxy-1.0.3' CC os/osinit.o make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/lbxproxy-1.0.3' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/lbxproxy-1.0.3' CC di/swaprep.o make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/lbxproxy-1.0.3' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/lbxproxy-1.0.3' CC os/lbxproxytrans.o In file included from /usr/include/X11/Xtrans/transport.c:67, from os/lbxproxytrans.c:35: /usr/include/X11/Xtrans/Xtranssock.c: In function '_XTransSocketUNIXCreateListener': /usr/include/X11/Xtrans/Xtranssock.c:985:47: error: 'UNIX_PATH' undeclared (first use in this function) snprintf (tmpport, sizeof(tmpport), "%s%ld", UNIX_PATH, (long)getpid()); ^~~~~~~~~ /usr/include/X11/Xtrans/Xtranssock.c:985:47: note: each undeclared identifier is reported only once for each function it appears in make[1]: *** [Makefile:648: os/lbxproxytrans.o] Error 1 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/lbxproxy-1.0.3' make[1]: *** Waiting for unfinished jobs.... make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/lbxproxy-1.0.3' CC di/zeropad.o In file included from di/zeropad.c:39: ./include/lbxext.h:133:12: warning: redundant redeclaration of 'ProcLBXQueryExtension' [-Wredundant-decls] extern int ProcLBXQueryExtension( ^~~~~~~~~~~~~~~~~~~~~ In file included from di/zeropad.c:38: ./include/lbxproxy.h:495:12: note: previous declaration of 'ProcLBXQueryExtension' was here extern int ProcLBXQueryExtension(ClientPtr client); ^~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/lbxproxy-1.0.3' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/lbxproxy-1.0.3' CC os/WaitFor.o make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/lbxproxy-1.0.3' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/lbxproxy-1.0.3' CC di/wire.o In file included from di/wire.c:69: ./include/lbxext.h:133:12: warning: redundant redeclaration of 'ProcLBXQueryExtension' [-Wredundant-decls] extern int ProcLBXQueryExtension( ^~~~~~~~~~~~~~~~~~~~~ In file included from di/wire.c:50: ./include/lbxproxy.h:495:12: note: previous declaration of 'ProcLBXQueryExtension' was here extern int ProcLBXQueryExtension(ClientPtr client); ^~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/lbxproxy-1.0.3' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/lbxproxy-1.0.3' CC os/io.o os/io.c: In function 'StandardReadRequestFromClient': os/io.c:334:15: error: implicit declaration of function '_LBXPROXYTransRead'; did you mean '_XTransRead'? [-Werror=implicit-function-declaration] result = _LBXPROXYTransRead(oc->trans_conn, ^~~~~~~~~~~~~~~~~~ _XTransRead os/io.c:334:15: warning: nested extern declaration of '_LBXPROXYTransRead' [-Wnested-externs] os/io.c: In function 'StandardFlushClient': os/io.c:701:12: error: implicit declaration of function '_LBXPROXYTransWritev'; did you mean '_XTransWritev'? [-Werror=implicit-function-declaration] len = _LBXPROXYTransWritev(trans_conn, iov, i); ^~~~~~~~~~~~~~~~~~~~ _XTransWritev os/io.c:701:12: warning: nested extern declaration of '_LBXPROXYTransWritev' [-Wnested-externs] os/io.c:753:7: error: implicit declaration of function '_LBXPROXYTransDisconnect'; did you mean '_XTransDisconnect'? [-Werror=implicit-function-declaration] _LBXPROXYTransDisconnect(oc->trans_conn); ^~~~~~~~~~~~~~~~~~~~~~~~ _XTransDisconnect os/io.c:753:7: warning: nested extern declaration of '_LBXPROXYTransDisconnect' [-Wnested-externs] os/io.c:754:7: error: implicit declaration of function '_LBXPROXYTransClose'; did you mean '_XTransClose'? [-Werror=implicit-function-declaration] _LBXPROXYTransClose(oc->trans_conn); ^~~~~~~~~~~~~~~~~~~ _XTransClose os/io.c:754:7: warning: nested extern declaration of '_LBXPROXYTransClose' [-Wnested-externs] cc1: some warnings being treated as errors make[1]: *** [Makefile:648: os/io.o] Error 1 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/lbxproxy-1.0.3' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/lbxproxy-1.0.3' CC os/connection.o os/connection.c: In function 'CreateServerSockets': os/connection.c:261:7: error: implicit declaration of function '_LBXPROXYTransMakeAllCOTSServerListeners'; did you mean '_XTransMakeAllCOTSServerListeners'? [-Werror=implicit-function-declaration] if ((_LBXPROXYTransMakeAllCOTSServerListeners (display, &partial, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ _XTransMakeAllCOTSServerListeners os/connection.c:261:7: warning: nested extern declaration of '_LBXPROXYTransMakeAllCOTSServerListeners' [-Wnested-externs] os/connection.c:317:26: error: implicit declaration of function '_LBXPROXYTransGetConnectionNumber'; did you mean '_XTransGetConnectionNumber'? [-Werror=implicit-function-declaration] fd = _LBXPROXYTransGetConnectionNumber ( ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ _XTransGetConnectionNumber os/connection.c:317:26: warning: nested extern declaration of '_LBXPROXYTransGetConnectionNumber' [-Wnested-externs] os/connection.c: In function 'CloseServerSockets': os/connection.c:353:2: error: implicit declaration of function '_LBXPROXYTransClose'; did you mean '_XTransClose'? [-Werror=implicit-function-declaration] _LBXPROXYTransClose (ListenTransConns[i]); ^~~~~~~~~~~~~~~~~~~ _XTransClose os/connection.c:353:2: warning: nested extern declaration of '_LBXPROXYTransClose' [-Wnested-externs] os/connection.c: In function 'EstablishNewConnections': os/connection.c:581:24: error: implicit declaration of function '_LBXPROXYTransAccept'; did you mean '_XTransAccept'? [-Werror=implicit-function-declaration] if ((new_trans_conn = _LBXPROXYTransAccept (trans_conn, &status)) == NULL) ^~~~~~~~~~~~~~~~~~~~ _XTransAccept os/connection.c:581:24: warning: nested extern declaration of '_LBXPROXYTransAccept' [-Wnested-externs] os/connection.c:581:22: warning: assignment to 'XtransConnInfo' {aka 'struct _XtransConnInfo *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] if ((new_trans_conn = _LBXPROXYTransAccept (trans_conn, &status)) == NULL) ^ os/connection.c:586:2: error: implicit declaration of function '_LBXPROXYTransSetOption'; did you mean '_XTransSetOption'? [-Werror=implicit-function-declaration] _LBXPROXYTransSetOption(new_trans_conn, TRANS_NONBLOCKING, 1); ^~~~~~~~~~~~~~~~~~~~~~~ _XTransSetOption os/connection.c:586:2: warning: nested extern declaration of '_LBXPROXYTransSetOption' [-Wnested-externs] os/connection.c: In function 'ErrorConnMax': os/connection.c:628:11: error: implicit declaration of function '_LBXPROXYTransRead'; did you mean '_XTransRead'? [-Werror=implicit-function-declaration] (void)_LBXPROXYTransRead(trans_conn, &byteOrder, 1); ^~~~~~~~~~~~~~~~~~ _XTransRead os/connection.c:628:11: warning: nested extern declaration of '_LBXPROXYTransRead' [-Wnested-externs] os/connection.c:646:18: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] iov[1].iov_base = NOROOM; ^ os/connection.c:649:8: error: implicit declaration of function '_LBXPROXYTransWritev'; did you mean '_XTransWritev'? [-Werror=implicit-function-declaration] (void)_LBXPROXYTransWritev(trans_conn, iov, 3); ^~~~~~~~~~~~~~~~~~~~ _XTransWritev os/connection.c:649:8: warning: nested extern declaration of '_LBXPROXYTransWritev' [-Wnested-externs] os/connection.c: In function 'CloseDownFileDescriptor': os/connection.c:666:9: error: implicit declaration of function '_LBXPROXYTransDisconnect'; did you mean '_XTransDisconnect'? [-Werror=implicit-function-declaration] _LBXPROXYTransDisconnect(oc->trans_conn); ^~~~~~~~~~~~~~~~~~~~~~~~ _XTransDisconnect os/connection.c:666:9: warning: nested extern declaration of '_LBXPROXYTransDisconnect' [-Wnested-externs] cc1: some warnings being treated as errors make[1]: *** [Makefile:648: os/connection.o] Error 1 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/lbxproxy-1.0.3' make: *** [Makefile:457: all] Error 2 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.mNdZQn (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.mNdZQn (%build) I: [iurt_root_command] ERROR: chroot