D: [iurt_root_command] chroot warning: %configure2_5x is deprecated, use %configure instead warning: %make is deprecated, use %make_build instead warning: %make is deprecated, use %make_build instead Installing /home/iurt/rpmbuild/SRPMS/cw-1.0.16-9.mga8.src.rpm Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.zGCRYy + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD + rm -rf cw-1.0.16 + /usr/bin/bzip2 -dc /home/iurt/rpmbuild/SOURCES/cw-1.0.16.tar.bz2 + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd cw-1.0.16 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /home/iurt/rpmbuild/SOURCES/cw-1.0.16-cflags.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/iurt/rpmbuild/SOURCES/cw-1.0.16-format.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/perl -pi -e 's/ -o 0 -g 0//g' Makefile.in + /usr/bin/perl -pi -e 's|/usr/local/lib|/usr/share|g' README + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.kWqzux + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd cw-1.0.16 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + autoreconf -fi aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in' + 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 + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables ' + export FCFLAGS + 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 + ./configure --host=aarch64-mageia-linux-gnu --build=aarch64-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 for aarch64-mageia-linux-gnu-gcc... aarch64-mageia-linux-gnu-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 aarch64-mageia-linux-gnu-gcc accepts -g... yes checking for aarch64-mageia-linux-gnu-gcc option to accept ISO C89... none needed checking for a BSD-compatible install... /usr/bin/install -c checking whether make sets $(MAKE)... yes checking for -pedantic (gcc) compiler flag... yes checking for -Wall (gcc) compiler flag... yes checking for openpty in -lutil... yes checking for "/dev/ptmx"... yes checking for getpt... yes checking for isatty... yes checking for isxdigit... yes checking for openpty... yes checking for putenv... yes checking for regcomp... yes checking for setenv... yes checking for setproctitle... no checking for setsid... yes checking for sigaction... yes checking for sscanf... yes checking for uname... yes checking for unsetenv... yes checking for vsnprintf... yes checking for waitpid... yes checking how to run the C preprocessor... aarch64-mageia-linux-gnu-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 ctype.h usability... yes checking ctype.h presence... yes checking for ctype.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking libgen.h usability... yes checking libgen.h presence... yes checking for libgen.h... yes checking libutil.h usability... no checking libutil.h presence... no checking for libutil.h... no checking pty.h usability... yes checking pty.h presence... yes checking for pty.h... yes checking regex.h usability... yes checking regex.h presence... yes checking for regex.h... yes checking signal.h usability... yes checking signal.h presence... yes checking for signal.h... yes checking for string.h... (cached) yes checking for strings.h... (cached) yes checking stropts.h usability... no checking stropts.h presence... no checking for stropts.h... no checking unix.h usability... no checking unix.h presence... no checking for unix.h... no checking util.h usability... no checking util.h presence... no checking for util.h... no checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking for sys/stat.h... (cached) 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/utsname.h usability... yes checking sys/utsname.h presence... yes checking for sys/utsname.h... yes checking sys/wait.h usability... yes checking sys/wait.h presence... yes checking for sys/wait.h... yes configure: creating ./config.status config.status: creating Makefile config.status: WARNING: 'Makefile.in' seems to ignore the --datarootdir setting config.status: creating config.h configure: WARNING: unrecognized options: --disable-dependency-tracking + /usr/bin/make -O -j8 LIBDIR=/usr/share * Type "make local" to just compile local binaries. * Type "make installlocal" to compile/install in your home directory. * Type "make install" to compile/install globally. + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.8clOMz + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' /home/iurt/rpmbuild/BUILDROOT/cw-1.0.16-9.mga8.aarch64 '!=' / ']' + rm -rf /home/iurt/rpmbuild/BUILDROOT/cw-1.0.16-9.mga8.aarch64 ++ dirname /home/iurt/rpmbuild/BUILDROOT/cw-1.0.16-9.mga8.aarch64 + mkdir -p /home/iurt/rpmbuild/BUILDROOT + mkdir /home/iurt/rpmbuild/BUILDROOT/cw-1.0.16-9.mga8.aarch64 + cd cw-1.0.16 + '[' 1 -eq 1 ']' + /usr/bin/mkdir -p /home/iurt/rpmbuild/BUILDROOT/cw-1.0.16-9.mga8.aarch64/usr/bin + /usr/bin/mkdir -p /home/iurt/rpmbuild/BUILDROOT/cw-1.0.16-9.mga8.aarch64/usr/share + /usr/bin/mkdir -p /home/iurt/rpmbuild/BUILDROOT/cw-1.0.16-9.mga8.aarch64/usr/share/man/man1 + /usr/bin/make -O -j8 install PREFIX=/home/iurt/rpmbuild/BUILDROOT/cw-1.0.16-9.mga8.aarch64/usr LIBDIR=/home/iurt/rpmbuild/BUILDROOT/cw-1.0.16-9.mga8.aarch64/usr/share MANDIR=/home/iurt/rpmbuild/BUILDROOT/cw-1.0.16-9.mga8.aarch64/usr/share/man * Cleaning cw and cwu binaries, and definitions... * Compiling cwu(color wrapper directive updater)... src/cwu.c: In function 'modify_directive': src/cwu.c:117:2: warning: 'fsw' may be used uninitialized in this function [-Wmaybe-uninitialized] 117 | fclose(fsw); | ^~~~~~~~~~~ * Compiling cw(color wrapper)... src/cw.c: In function 'make_ptypair': src/cw.c:1164:5: warning: implicit declaration of function 'grantpt'; did you mean 'getpt'? [-Wimplicit-function-declaration] 1164 | if(grantpt(master)<0||unlockpt(master)<0){ | ^~~~~~~ | getpt src/cw.c:1164:24: warning: implicit declaration of function 'unlockpt' [-Wimplicit-function-declaration] 1164 | if(grantpt(master)<0||unlockpt(master)<0){ | ^~~~~~~~ src/cw.c:1168:12: warning: implicit declaration of function 'ptsname'; did you mean 'ttyname'? [-Wimplicit-function-declaration] 1168 | if(!(name=ptsname(master))){ | ^~~~~~~ | ttyname src/cw.c:1168:11: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 1168 | if(!(name=ptsname(master))){ | ^ src/cw.c:1176:5: warning: implicit declaration of function 'isastream' [-Wimplicit-function-declaration] 1176 | if(isastream(slave)){ | ^~~~~~~~~ src/cw.c: In function 'cwprintf': src/cw.c:1281:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1281 | &&(p=(unsigned int)strchr(str+i+4,']'))){ | ^ src/cw.c:1282:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1282 | p-=((unsigned int)str+i+3); | ^ src/cw.c: In function 'is_cwfile': src/cw.c:1334:2: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] 1334 | fgets(buf,BUFSIZE,fs); | ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:495, from src/cw.c:52: In function 'strncpy', inlined from 'setproctitle' at src/cw.c:1703:2: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output may be truncated copying 1024 bytes from a string of length 1028 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'main' at src/cw.c:496:5: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cw.c: In function 'main': src/cw.c:496:29: note: length computed here 496 | strncpy(catname,scrname,strlen(scrname)-1); | ^~~~~~~~~~~~~~~ /usr/bin/ld: /tmp/ccFqKe0R.o: in function `make_ptypair': /home/iurt/rpmbuild/BUILD/cw-1.0.16/src/cw.c:1176: undefined reference to `isastream' collect2: error: ld returned 1 exit status make: *** [Makefile:22: cw] Error 1 error: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.8clOMz (%install) RPM build errors: %configure2_5x is deprecated, use %configure instead %make is deprecated, use %make_build instead %make is deprecated, use %make_build instead Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.8clOMz (%install) I: [iurt_root_command] ERROR: chroot