D: [iurt_root_command] chroot warning: Found bdb_ro Packages database while attempting sqlite backend: using bdb_ro backend. warning: %make is deprecated, use %make_build instead Installing /home/iurt/rpmbuild/SRPMS/bpalogin-2.0.2-17.mga9.src.rpm Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.TDRorG + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD + rm -rf bpalogin-2.0.2 + /usr/bin/bzip2 -dc /home/iurt/rpmbuild/SOURCES/bpalogin-2.0.2.tar.bz2 + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd bpalogin-2.0.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (bpalogin-2.0.2-fix-str-fmt.patch):' Patch #0 (bpalogin-2.0.2-fix-str-fmt.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p0 --fuzz=0 patching file unixmain.c + echo 'Patch #1 (bpalogin-2.0.2-lsb.patch):' Patch #1 (bpalogin-2.0.2-lsb.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .lsb --fuzz=0 patching file bpalogin.init + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.Aqijs1 + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd bpalogin-2.0.2 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + export 'CFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables' + export 'CXXFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables' + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables' + export 'RPM_OPT_FLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables' + RPM_OPT_FLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -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 -fstack-protector-all -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 -fstack-protector-all -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 -fstack-protector-all -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 + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + 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=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 checking for aarch64-mageia-linux-gnu-gcc... no checking for gcc... gcc checking for C compiler default output... 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 gcc accepts -g... yes checking for a BSD-compatible install... /usr/bin/install -c checking how to run the C preprocessor... gcc -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 sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking for unistd.h... (cached) yes checking for gcc option to accept ANSI C... none needed checking for an ANSI C-conforming const... yes checking whether time.h and sys/time.h may both be included... yes checking return type of signal handlers... void checking for vprintf... yes checking for _doprnt... no checking for select... yes checking for socket... yes checking for strcspn... yes checking for strerror... yes checking for gethostbyname in -lnsl... no checking for connect in -lsocket... no checking for chkconfig... /usr/sbin/chkconfig checking for sed... /usr/bin/sed configure: creating ./config.status config.status: creating Makefile + /usr/bin/make -O -j8 /usr/bin/sed 's#@@BPALOGIN_CONF@@#/etc/bpalogin.conf#' < bpalogin.h.in > bpalogin.h gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -Wall -c bpalogin.c bpalogin.c: In function 'mainloop': bpalogin.c:63:72: warning: pointer targets in passing argument 3 of 'getsockname' differ in signedness [-Wpointer-sign] 63 | err = getsockname(s->listensock,(struct sockaddr *)&listenaddr,&addrsize); | ^~~~~~~~~ | | | int * In file included from bpalogin.h:36, from bpalogin.c:21: /usr/include/sys/socket.h:117:47: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' 117 | socklen_t *__restrict __len) __THROW; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~ bpalogin.c:31:13: warning: variable 'err' set but not used [-Wunused-but-set-variable] 31 | int err; | ^~~ gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -Wall -c gen_md5.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -Wall -c unixmain.c unixmain.c: In function 'onconnected': unixmain.c:52:9: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 52 | system(buf); | ^~~~~~~~~~~ unixmain.c: In function 'ondisconnected': unixmain.c:64:9: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 64 | system(buf); | ^~~~~~~~~~~ In file included from /usr/include/string.h:519, from bpalogin.h:30, from unixmain.c:31: In function 'strcat', inlined from 'parse_parms' at unixmain.c:357:5: /usr/include/bits/string_fortified.h:127:10: warning: '__builtin___strcat_chk' accessing 81 or more bytes at offsets 50 and 130 may overlap 1 byte at offset 130 [-Wrestrict] 127 | return __builtin___strcat_chk (__dest, __src, __glibc_objsize (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'main' at unixmain.c:159:13: /usr/include/bits/string_fortified.h:95:10: warning: '__builtin_strncpy' specified bound 256 equals destination size [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -Wall -c protocol.c protocol.c: In function 'genmd5': protocol.c:29:25: warning: pointer targets in passing argument 2 of 'MD5Update' differ in signedness [-Wpointer-sign] 29 | MD5Update(&context, p, len); | ^ | | | char * In file included from protocol.c:22: md5.h:9:27: note: expected 'unsigned char *' but argument is of type 'char *' 9 | void MD5Update(MD5_CTX *, unsigned char *, unsigned int); | ^~~~~~~~~~~~~~~ protocol.c:30:14: warning: pointer targets in passing argument 1 of 'MD5Final' differ in signedness [-Wpointer-sign] 30 | MD5Final(digest, &context); | ^~~~~~ | | | char * In file included from protocol.c:22: md5.h:10:15: note: expected 'unsigned char *' but argument is of type 'char *' 10 | void MD5Final(unsigned char[16], MD5_CTX *); | ^~~~~~~~~~~~~~~~~ protocol.c: In function 'login': protocol.c:93:76: warning: pointer targets in passing argument 3 of 'getsockname' differ in signedness [-Wpointer-sign] 93 | err = getsockname(authsocket,(struct sockaddr *)&s->localipaddress,&addrsize); | ^~~~~~~~~ | | | int * In file included from bpalogin.h:36, from protocol.c:21: /usr/include/sys/socket.h:117:47: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' 117 | socklen_t *__restrict __len) __THROW; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /usr/include/string.h:519, from bpalogin.h:30, from protocol.c:21: In function 'strcat', inlined from 'login' at protocol.c:266:4: /usr/include/bits/string_fortified.h:127:10: warning: '__builtin_strcat' accessing 4611686018427388035 or more bytes at offsets [-4611686018427387904, 4611686018427387903] and 130 may overlap 1 byte at offset [130, 9223372036854775807] [-Wrestrict] 127 | return __builtin___strcat_chk (__dest, __src, __glibc_objsize (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -Wall -c transaction.c transaction.c: In function 'send_transaction': transaction.c:124:13: warning: variable 'r' set but not used [-Wunused-but-set-variable] 124 | int r; | ^ transaction.c: In function 'send_udp_transaction': transaction.c:136:13: warning: variable 'r' set but not used [-Wunused-but-set-variable] 136 | int r; | ^ transaction.c: In function 'receive_udp_transaction': transaction.c:205:77: warning: pointer targets in passing argument 6 of 'recvfrom' differ in signedness [-Wpointer-sign] 205 | r = recvfrom(socket,(char *)t,1500,0,(struct sockaddr*)addr,&l); | ^~ | | | int * In file included from /usr/include/sys/socket.h:343, from bpalogin.h:36, from transaction.c:21: /usr/include/bits/socket2.h:67:56: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' 67 | __SOCKADDR_ARG __addr, socklen_t *__restrict __addr_len) | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ gcc -o bpalogin bpalogin.o protocol.o transaction.o gen_md5.o unixmain.o -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.BCV87o + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' /home/iurt/rpmbuild/BUILDROOT/bpalogin-2.0.2-17.mga9.aarch64 '!=' / ']' + rm -rf /home/iurt/rpmbuild/BUILDROOT/bpalogin-2.0.2-17.mga9.aarch64 ++ dirname /home/iurt/rpmbuild/BUILDROOT/bpalogin-2.0.2-17.mga9.aarch64 + mkdir -p /home/iurt/rpmbuild/BUILDROOT + mkdir /home/iurt/rpmbuild/BUILDROOT/bpalogin-2.0.2-17.mga9.aarch64 + cd bpalogin-2.0.2 + '[' 1 -eq 1 ']' + /usr/bin/make install DESTDIR=/home/iurt/rpmbuild/BUILDROOT/bpalogin-2.0.2-17.mga9.aarch64 'INSTALL=/usr/bin/install -p' case `uname -s` in \ Linux*) \ mkdir -p /home/iurt/rpmbuild/BUILDROOT/bpalogin-2.0.2-17.mga9.aarch64/etc/rc.d/init.d ; \ /usr/bin/install -p -m 755 bpalogin.init \ /home/iurt/rpmbuild/BUILDROOT/bpalogin-2.0.2-17.mga9.aarch64/etc/rc.d/init.d/bpalogin ; \ \ if [ -z "/home/iurt/rpmbuild/BUILDROOT/bpalogin-2.0.2-17.mga9.aarch64" -a -x "/usr/sbin/chkconfig" ]; then \ /usr/sbin/chkconfig --add bpalogin ; \ fi ; \ ;; \ \ FreeBSD*) \ mkdir -p /etc/rc.d ; \ /usr/bin/install -p -m 755 bpalogin.bsd /etc/rc.d/bpalogin.sh ; \ ;; \ \ *) \ echo "###" ; \ echo "# You will need to add BPALogin to your startup scripts." ; \ echo "###" ; \ ;; \ esac ; \ mkdir -p /home/iurt/rpmbuild/BUILDROOT/bpalogin-2.0.2-17.mga9.aarch64/usr/sbin mkdir -p /home/iurt/rpmbuild/BUILDROOT/bpalogin-2.0.2-17.mga9.aarch64/etc /usr/bin/install -p -m 755 bpalogin /home/iurt/rpmbuild/BUILDROOT/bpalogin-2.0.2-17.mga9.aarch64/usr/sbin /usr/bin/install -p -m 600 bpalogin.conf /home/iurt/rpmbuild/BUILDROOT/bpalogin-2.0.2-17.mga9.aarch64/etc + /usr/bin/find-debuginfo -j8 --strict-build-id -m -i --build-id-seed 2.0.2-17.mga9 --unique-debug-suffix -2.0.2-17.mga9.aarch64 --unique-debug-src-base bpalogin-2.0.2-17.mga9.aarch64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /home/iurt/rpmbuild/BUILD/bpalogin-2.0.2 extracting debug info from /home/iurt/rpmbuild/BUILDROOT/bpalogin-2.0.2-17.mga9.aarch64/usr/sbin/bpalogin dwz: ./usr/sbin/bpalogin-2.0.2-17.mga9.aarch64.debug: Unknown debugging section .debug_line_str original debug info size: 96kB, size after compression: 96kB /usr/bin/sepdebugcrcfix: Updated 0 CRC32s, 1 CRC32s did match. 101 blocks + /usr/lib/rpm/check-buildroot + '[' -n '' ']' + /usr/share/spec-helper/clean_files + '[' -n '' ']' + /usr/share/spec-helper/compress_files .xz + '[' -n '' ']' + /usr/share/spec-helper/relink_symlinks + '[' -n '' ']' + /usr/share/spec-helper/clean_perl + '[' -n '' ']' + /usr/share/spec-helper/lib_symlinks + '[' -n '' ']' + /usr/share/spec-helper/gprintify + '[' -n '' ']' + /usr/share/spec-helper/fix_mo + '[' -n '' ']' + /usr/share/spec-helper/fix_pamd + '[' -n '' ']' + /usr/share/spec-helper/remove_info_dir + '[' -n '' ']' + /usr/share/spec-helper/fix_eol + '[' -n '' ']' + /usr/share/spec-helper/check_desktop_files + '[' -n '' ']' + /usr/share/spec-helper/check_elf_files + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python3 1 0 + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-mangle-shebangs mangling shebang in /etc/rc.d/init.d/bpalogin from /bin/sh to #!/usr/bin/sh Processing files: bpalogin-2.0.2-17.mga9.aarch64 Executing(%doc): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.NqMSMX + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd bpalogin-2.0.2 + DOCDIR=/home/iurt/rpmbuild/BUILDROOT/bpalogin-2.0.2-17.mga9.aarch64/usr/share/doc/bpalogin + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /home/iurt/rpmbuild/BUILDROOT/bpalogin-2.0.2-17.mga9.aarch64/usr/share/doc/bpalogin + cp -pr COPYING /home/iurt/rpmbuild/BUILDROOT/bpalogin-2.0.2-17.mga9.aarch64/usr/share/doc/bpalogin + cp -pr CREDITS /home/iurt/rpmbuild/BUILDROOT/bpalogin-2.0.2-17.mga9.aarch64/usr/share/doc/bpalogin + cp -pr INSTALL /home/iurt/rpmbuild/BUILDROOT/bpalogin-2.0.2-17.mga9.aarch64/usr/share/doc/bpalogin + cp -pr README /home/iurt/rpmbuild/BUILDROOT/bpalogin-2.0.2-17.mga9.aarch64/usr/share/doc/bpalogin + RPM_EC=0 ++ jobs -p + exit 0 Provides: bpalogin = 2.0.2-17.mga9 bpalogin(aarch-64) = 2.0.2-17.mga9 config(bpalogin) = 2.0.2-17.mga9 Requires(interp): /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh rpm-helper Requires(preun): /bin/sh rpm-helper Requires: ld-linux-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.34)(64bit) Processing files: bpalogin-debugsource-2.0.2-17.mga9.aarch64 Provides: bpalogin-debugsource = 2.0.2-17.mga9 bpalogin-debugsource(aarch-64) = 2.0.2-17.mga9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: bpalogin-debuginfo-2.0.2-17.mga9.aarch64 Provides: bpalogin-debuginfo = 2.0.2-17.mga9 bpalogin-debuginfo(aarch-64) = 2.0.2-17.mga9 debuginfo(build-id) = 5d73a09179cf20ace3e832a38e85f481961998ad Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: bpalogin-debugsource(aarch-64) = 2.0.2-17.mga9 Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/iurt/rpmbuild/BUILDROOT/bpalogin-2.0.2-17.mga9.aarch64 Wrote: /home/iurt/rpmbuild/RPMS/aarch64/bpalogin-2.0.2-17.mga9.aarch64.rpm Wrote: /home/iurt/rpmbuild/RPMS/aarch64/bpalogin-debuginfo-2.0.2-17.mga9.aarch64.rpm Wrote: /home/iurt/rpmbuild/RPMS/aarch64/bpalogin-debugsource-2.0.2-17.mga9.aarch64.rpm Executing(%clean): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.uzVW9b + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd bpalogin-2.0.2 + /usr/bin/rm -rf /home/iurt/rpmbuild/BUILDROOT/bpalogin-2.0.2-17.mga9.aarch64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(--clean): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.lmmpvb + umask 022 + cd /home/iurt/rpmbuild/BUILD + rm -rf bpalogin-2.0.2 + RPM_EC=0 ++ jobs -p + exit 0 D: [iurt_root_command] Success!