D: [iurt_root_command] chroot Building target platforms: x86_64 Building for target x86_64 Installing /home/pterjan/rpmbuild/SRPMS/cdsclient-3.84-4.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.TRaiU0 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.SLGOGH + umask 022 + cd /home/pterjan/rpmbuild/BUILD/cdsclient-3.84-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/cdsclient-3.84-build + rm -rf cdsclient-3.84 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/cdsclient-3.84.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd cdsclient-3.84 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/fix_makefile_debuginfo.patch + /usr/bin/patch -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.kVudx9 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/cdsclient-3.84-build + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd cdsclient-3.84 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + CONFIGURE_TOP=. + '[' 1 = 1 ']' ++ find . -name config.guess -o -name config.sub + /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 + ./configure --host=x86_64-mageia-linux-gnu --build=x86_64-mageia-linux-gnu --program-prefix= --disable-dependency-tracking --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 configure: WARNING: unrecognized options: --disable-dependency-tracking checking prefix... checking whether make sets $(MAKE)... yes checking for gawk... gawk checking for x86_64-mageia-linux-gnu-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 for x86_64-mageia-linux-gnu-ranlib... no checking for ranlib... ranlib checking computer... unknown 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 fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking termio.h usability... yes checking termio.h presence... yes checking for termio.h... yes checking for an ANSI C-conforming const... yes checking for size_t... yes checking whether struct tm is in sys/time.h or time.h... time.h checking strip utility... ok checking return type of signal handlers... void checking for pid_t... yes checking vfork.h usability... no checking vfork.h presence... no checking for vfork.h... no checking for fork... yes checking for vfork... yes checking for working fork... yes checking for working vfork... (cached) yes checking for getcwd... yes checking for mkdir... yes checking for putenv... yes checking for strdup... yes checking for strerror... yes checking for strstr... yes ===== compil for export ===== configure: creating ./config.status config.status: creating Makefile configure: WARNING: unrecognized options: --disable-dependency-tracking ----the prefix for installation directories is: /usr If this choice is not convenient, re-execute this configure with the --prefix option, e.g. ./configure --prefix=/usr/local ----Otherwise, proceed with make followed by make install + /usr/bin/make -O -j16 V=1 VERBOSE=1 gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I. -c skio.c skio.c:42:13: error: conflicting types for 'perror'; have 'void(void)' 42 | extern void perror(); | ^~~~~~ In file included from skio.c:24: /usr/include/stdio.h:868:13: note: previous declaration of 'perror' with type 'void(const char *)' 868 | extern void perror (const char *__s) __COLD; | ^~~~~~ skio.c: In function 'log_b': skio.c:53:13: warning: old-style function definition [-Wold-style-definition] 53 | static void log_b(fct, buf, len) | ^~~~~ skio.c: In function 'log_l': skio.c:86:13: warning: old-style function definition [-Wold-style-definition] 86 | static void log_l(fct, val) | ^~~~~ skio.c: In function 'err3': skio.c:99:12: warning: old-style function definition [-Wold-style-definition] 99 | static int err3(ssp, plug, len) | ^~~~ skio.c:110:6: error: too many arguments to function 'errfct'; expected 0, have 1 110 | (*errfct)(buffer); | ~^~~~~~~~ ~~~~~~ skio.c: In function 'bread': skio.c:114:12: warning: old-style function definition [-Wold-style-definition] 114 | static int bread(fno, buf, len) | ^~~~~ skio.c: In function 'sk_setb': skio.c:132:5: warning: old-style function definition [-Wold-style-definition] 132 | int sk_setb(block) | ^~~~~~~ skio.c: In function 'sk_errfct': skio.c:149:5: warning: old-style function definition [-Wold-style-definition] 149 | FCT sk_errfct(f) | ^~~~~~~~~ skio.c: In function 'sk_setlog': skio.c:173:7: warning: old-style function definition [-Wold-style-definition] 173 | FILE *sk_setlog(f) | ^~~~~~~~~ skio.c: In function 'sk_iolog': skio.c:188:7: warning: old-style function definition [-Wold-style-definition] 188 | FILE *sk_iolog(f) | ^~~~~~~~ skio.c: In function 'sk_iosave': skio.c:202:5: warning: old-style function definition [-Wold-style-definition] 202 | int sk_iosave(fno, buf, len) | ^~~~~~~~~ skio.c: In function 'sk_read': skio.c:233:5: warning: old-style function definition [-Wold-style-definition] 233 | int sk_read(fno, buf, len) | ^~~~~~~ skio.c: In function 'sk_get': skio.c:251:5: warning: old-style function definition [-Wold-style-definition] 251 | int sk_get(fno, buf, len) | ^~~~~~ skio.c: In function 'sk_gets': skio.c:273:5: warning: old-style function definition [-Wold-style-definition] 273 | int sk_gets(fno, buf, len) | ^~~~~~~ skio.c: In function 'sk_getl': skio.c:299:5: warning: old-style function definition [-Wold-style-definition] 299 | int sk_getl(fno) | ^~~~~~~ skio.c: In function 'sk_write': skio.c:314:5: warning: old-style function definition [-Wold-style-definition] 314 | int sk_write(fno, buf, len) | ^~~~~~~~ skio.c: In function 'sk_put': skio.c:340:5: warning: old-style function definition [-Wold-style-definition] 340 | int sk_put(fno, buf) | ^~~~~~ skio.c: In function 'sk_puts': skio.c:352:5: warning: old-style function definition [-Wold-style-definition] 352 | int sk_puts(fno, buf) | ^~~~~~~ skio.c: In function 'sk_putl': skio.c:370:5: warning: old-style function definition [-Wold-style-definition] 370 | int sk_putl(fno, val) | ^~~~~~~ skio.c: In function 'sk_close': skio.c:387:5: warning: old-style function definition [-Wold-style-definition] 387 | int sk_close(fno) | ^~~~~~~~ make: *** [Makefile:102: skio.o] Error 1 make: *** Waiting for unfinished jobs.... gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I. -c aclient.c aclient.c: In function 'getpasswd': aclient.c:127:9: error: conflicting types for 'getpass'; have 'char *(void)' 127 | char *getpass(); | ^~~~~~~ In file included from aclient.c:30: /usr/include/unistd.h:981:14: note: previous declaration of 'getpass' with type 'char *(const char *)' 981 | extern char *getpass (const char *__prompt) __nonnull ((1)); | ^~~~~~~ aclient.c:128:12: error: too many arguments to function 'getpass'; expected 0, have 1 128 | return(getpass("Password: ")); | ^~~~~~~ ~~~~~~~~~~~~ aclient.c:127:9: note: declared here 127 | char *getpass(); | ^~~~~~~ make: *** [Makefile:102: aclient.o] Error 1 gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I. -c skclient.c skclient.c: In function 'getHostname': skclient.c:76:12: warning: old-style function definition [-Wold-style-definition] 76 | static int getHostname(host, len) | ^~~~~~~~~~~ skclient.c: In function 'cat_err': skclient.c:97:12: warning: old-style function definition [-Wold-style-definition] 97 | static int cat_err(msg) | ^~~~~~~ skclient.c: In function 'err2': skclient.c:115:13: warning: old-style function definition [-Wold-style-definition] 115 | static void err2(msg, text) | ^~~~ skclient.c: In function 'put_err': skclient.c:134:13: warning: old-style function definition [-Wold-style-definition] 134 | static void put_err(msg) | ^~~~~~~ skclient.c: In function 'set_slot': skclient.c:150:12: warning: old-style function definition [-Wold-style-definition] 150 | static int set_slot(plug, val) | ^~~~~~~~ skclient.c: In function 'sk_kill': skclient.c:178:5: warning: old-style function definition [-Wold-style-definition] 178 | int sk_kill(plug, sig) | ^~~~~~~ skclient.c: In function 'sk_obeyserver': skclient.c:200:5: warning: old-style function definition [-Wold-style-definition] 200 | int sk_obeyserver(plug, digest, more) | ^~~~~~~~~~~~~ skclient.c:216:9: error: argument 'digest' doesn't match prototype 216 | int (*digest)(); /* IN: Routine getting what's sent by Server */ | ^~~~~~ In file included from skclient.c:32: ./sk.h:31:12: error: prototype declaration 31 | extern int sk_obeyserver _PARAMS((int plug, | ^~~~~~~~~~~~~ skclient.c:217:9: error: argument 'more' doesn't match prototype 217 | int (*more)(); /* IN: Routine generating data for Server */ | ^~~~ ./sk.h:31:12: error: prototype declaration 31 | extern int sk_obeyserver _PARAMS((int plug, | ^~~~~~~~~~~~~ skclient.c:269:30: error: too many arguments to function 'digest'; expected 0, have 2 269 | if (--stat) (*digest)(buf, stat); | ~^~~~~~~~ ~~~ skclient.c:271:25: error: too many arguments to function 'more'; expected 0, have 2 271 | stat = (*more)(b, lb); | ~^~~~~~ ~ skclient.c:290:14: error: too many arguments to function 'digest'; expected 0, have 2 290 | if ((*digest)(p, stat) < 0) { | ~^~~~~~~~ ~ skclient.c: In function 'mydigest': skclient.c:304:12: warning: old-style function definition [-Wold-style-definition] 304 | static int mydigest(buf, len) | ^~~~~~~~ skclient.c: In function 'mymore': skclient.c:319:12: warning: old-style function definition [-Wold-style-definition] 319 | static int mymore(buf, len) | ^~~~~~ skclient.c: In function 'sk_fromserver': skclient.c:334:5: warning: old-style function definition [-Wold-style-definition] 334 | int sk_fromserver(plug, fh, fsend) | ^~~~~~~~~~~~~ skclient.c: In function 'open_digest': skclient.c:358:12: warning: old-style function definition [-Wold-style-definition] 358 | static int open_digest(buf, len) | ^~~~~~~~~~~ skclient.c: In function 'open_more': skclient.c:376:12: warning: old-style function definition [-Wold-style-definition] 376 | static int open_more(buf, len) | ^~~~~~~~~ skclient.c: In function 'sk_open': skclient.c:393:5: warning: old-style function definition [-Wold-style-definition] 393 | int sk_open(machine, service) | ^~~~~~~ skclient.c:413:5: error: too many arguments to function 'sk_errfct'; expected 0, have 1 413 | sk_errfct(put_err); /* Save & Print error messages */ | ^~~~~~~~~ ~~~~~~~ skclient.c:67:15: note: declared here 67 | extern void (*sk_errfct())(); | ^~~~~~~~~ skclient.c: In function 'sk_connect': skclient.c:517:5: warning: old-style function definition [-Wold-style-definition] 517 | int sk_connect(machine, service, username, password) | ^~~~~~~~~~ make: *** [Makefile:102: skclient.o] Error 1 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.kVudx9 (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.kVudx9 (%build) I: [iurt_root_command] ERROR: chroot