Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/linux-atm.spec'], chrootPath='/var/lib/mock/dist-oc9-build-42787-14591/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/linux-atm.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/linux-atm-2.5.1-3.oc9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/linux-atm.spec'], chrootPath='/var/lib/mock/dist-oc9-build-42787-14591/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/linux-atm.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.V9PxVZ + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf linux-atm-2.5.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/linux-atm-2.5.1.tgz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd linux-atm-2.5.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/linux-atm-2.5.0-open-macro.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/cat /builddir/build/SOURCES/linux-atm-2.5.0-disable-ilmidiag.patch + /usr/bin/cat /builddir/build/SOURCES/linux-atm-gcc43.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/cat /builddir/build/SOURCES/man-pages.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/cat /builddir/build/SOURCES/add-string-formatting-to-build-with-gcc7.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/cat /builddir/build/SOURCES/remove-define-hacks.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/cat /builddir/build/SOURCES/siocgstamp.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/cat /builddir/build/SOURCES/linux-atm-2.5.1-disable-zntune.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + iconv -f iso8859-1 -t utf8 + mv src/extra/ANS/e164_cc.1 src/extra/ANS/e164_cc + iconv -f iso8859-1 -t utf8 + mv doc/atm-linux-howto.txt.1 doc/atm-linux-howto.txt + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.RaO9so + umask 022 + cd /builddir/build/BUILD + cd linux-atm-2.5.1 + ./autotools Running libtoolize... libtoolize: putting auxiliary files in '.'. libtoolize: copying file './ltmain.sh' libtoolize: You should add the contents of the following files to 'aclocal.m4': libtoolize: '/usr/share/aclocal/libtool.m4' libtoolize: '/usr/share/aclocal/ltoptions.m4' libtoolize: '/usr/share/aclocal/ltsugar.m4' libtoolize: '/usr/share/aclocal/ltversion.m4' libtoolize: '/usr/share/aclocal/lt~obsolete.m4' libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.in, libtoolize: and rerunning libtoolize and aclocal. libtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am. Running aclocal... aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in' Running autoconf... configure.in:9: warning: 'AM_CONFIG_HEADER': this macro is obsolete. configure.in:9: You should use the 'AC_CONFIG_HEADERS' macro instead. ./lib/autoconf/general.m4:2434: AC_DIAGNOSE is expanded from... aclocal.m4:9827: AM_CONFIG_HEADER is expanded from... configure.in:9: the top level configure.in:12: warning: The macro `AC_CANONICAL_SYSTEM' is obsolete. configure.in:12: You should run autoupdate. ./lib/autoconf/general.m4:2081: AC_CANONICAL_SYSTEM is expanded from... configure.in:12: the top level configure.in:14: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated. ./lib/autoconf/general.m4:2434: AC_DIAGNOSE is expanded from... aclocal.m4:9493: AM_INIT_AUTOMAKE is expanded from... configure.in:14: the top level configure.in:25: warning: AC_PROG_LEX without either yywrap or noyywrap is obsolete ./lib/autoconf/programs.m4:716: _AC_PROG_LEX is expanded from... ./lib/autoconf/programs.m4:709: AC_PROG_LEX is expanded from... aclocal.m4:9732: AM_PROG_LEX is expanded from... configure.in:25: the top level configure.in:30: warning: The macro `AM_PROG_LIBTOOL' is obsolete. configure.in:30: You should run autoupdate. aclocal.m4:123: AM_PROG_LIBTOOL is expanded from... configure.in:30: the top level configure.in:211: warning: AC_OUTPUT should be used without arguments. configure.in:211: You should run autoupdate. Running autoheader... autoheader: warning: autoconf input should be named 'configure.ac', not 'configure.in' Running automake... automake: warning: autoconf input should be named 'configure.ac', not 'configure.in' configure.in:14: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated. For more info, see: configure.in:14: https://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation configure.in:24: installing './compile' configure.in:14: installing './missing' src/arpd/Makefile.am: installing './depcomp' automake: warning: autoconf input should be named 'configure.ac', not 'configure.in' src/ilmid/Makefile.am:3: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') src/ilmid/Makefile.am:16: warning: variable 'ilmidiag_SOURCES' is defined but no program or src/ilmid/Makefile.am:16: library has 'ilmidiag' as canonical name (possible typo) src/ilmid/Makefile.am:17: warning: variable 'ilmidiag_LDADD' is defined but no program or src/ilmid/Makefile.am:17: library has 'ilmidiag' as canonical name (possible typo) src/ilmid/Makefile.am:18: warning: variable 'ilmidiag_DEPENDENCIES' is defined but no program or src/ilmid/Makefile.am:18: library has 'ilmidiag' as canonical name (possible typo) src/maint/Makefile.am:5: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') src/maint/Makefile.am:17: warning: variable 'zntune_SOURCES' is defined but no program or src/maint/Makefile.am:17: library has 'zntune' as canonical name (possible typo) src/q2931/Makefile.am:21: warning: shell $(CC: non-POSIX variable name src/q2931/Makefile.am:21: (probably a GNU make extension) src/q2931/Makefile.am:33: warning: deprecated feature: target 'q.out.o' overrides 'q.out.o$(EXEEXT)' src/q2931/Makefile.am:33: change your target to read 'q.out.o$(EXEEXT)' /usr/share/automake-1.16/am/program.am: target 'q.out.o$(EXEEXT)' was defined here src/q2931/Makefile.am:1: while processing program 'q.out.o' src/q2931/Makefile.am:35: warning: deprecated feature: target 'qd.dump.o' overrides 'qd.dump.o$(EXEEXT)' src/q2931/Makefile.am:35: change your target to read 'qd.dump.o$(EXEEXT)' /usr/share/automake-1.16/am/program.am: target 'qd.dump.o$(EXEEXT)' was defined here src/q2931/Makefile.am:1: while processing program 'qd.dump.o' src/qgen/Makefile.am:8: warning: 'CFLAGS' is a user variable, you should not override it; src/qgen/Makefile.am:8: use 'AM_CFLAGS' instead src/sigd/Makefile.am:1: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') src/switch/debug/Makefile.am:3: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') src/switch/tcp/Makefile.am:3: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') Finished... Now run './configure' and 'make'... + CFLAGS='-O2 -g -D_LINUX_TIME_H' + CFLAGS='-O2 -g -D_LINUX_TIME_H' + export CFLAGS + CXXFLAGS='-O2 -g' + export CXXFLAGS + FFLAGS='-O2 -g ' + export FFLAGS + FCFLAGS='-O2 -g ' + export FCFLAGS + LDFLAGS= + export LDFLAGS + ./configure --host=aarch64-opencloudos-linux-gnu --build=aarch64-opencloudos-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 --disable-static configure: loading site script /usr/share/config.site checking build system type... aarch64-opencloudos-linux-gnu checking host system type... aarch64-opencloudos-linux-gnu checking target system type... aarch64-opencloudos-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a race-free mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for aarch64-opencloudos-linux-gnu-gcc... no 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 the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking whether gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of gcc... none checking for flex... flex checking for lex output file root... lex.yy checking for lex library... none needed checking for library containing yywrap... -lfl checking whether yytext is a pointer... yes checking for bison... no checking for byacc... byacc checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert aarch64-opencloudos-linux-gnu file names to aarch64-opencloudos-linux-gnu format... func_convert_file_noop checking how to convert aarch64-opencloudos-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for aarch64-opencloudos-linux-gnu-file... no checking for file... file checking for aarch64-opencloudos-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for aarch64-opencloudos-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for aarch64-opencloudos-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for aarch64-opencloudos-linux-gnu-strip... no checking for strip... strip checking for aarch64-opencloudos-linux-gnu-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for aarch64-opencloudos-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for perl... /usr/bin/perl checking for asm/errno.h... yes checking for linux/atmsap.h... yes checking for main in -lresolv... yes configure: WARNING: *** atmoamd will not be built. Missing kernel support? checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating doc/Makefile config.status: creating src/Makefile config.status: creating src/include/Makefile config.status: creating src/lib/Makefile config.status: creating src/test/Makefile config.status: creating src/debug/Makefile config.status: creating src/qgen/Makefile config.status: creating src/saal/Makefile config.status: creating src/q2931/Makefile config.status: creating src/sigd/Makefile config.status: creating src/maint/Makefile config.status: creating src/arpd/Makefile config.status: creating src/ilmid/Makefile config.status: creating src/ilmid/asn1/Makefile config.status: creating src/man/Makefile config.status: creating src/led/Makefile config.status: creating src/lane/Makefile config.status: creating src/mpoad/Makefile config.status: creating src/oamd/Makefile config.status: creating src/switch/Makefile config.status: creating src/switch/debug/Makefile config.status: creating src/switch/tcp/Makefile config.status: creating src/br2684/Makefile config.status: creating src/config/Makefile config.status: creating src/extra/Makefile config.status: creating src/extra/linux-atm.spec config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands + sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool + sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool + make make all-recursive make[1]: Entering directory '/builddir/build/BUILD/linux-atm-2.5.1' Making all in src make[2]: Entering directory '/builddir/build/BUILD/linux-atm-2.5.1/src' Making all in include make[3]: Entering directory '/builddir/build/BUILD/linux-atm-2.5.1/src/include' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/builddir/build/BUILD/linux-atm-2.5.1/src/include' Making all in lib make[3]: Entering directory '/builddir/build/BUILD/linux-atm-2.5.1/src/lib' /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -g -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o text2atm.lo text2atm.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -g -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c text2atm.c -fPIC -DPIC -o .libs/text2atm.o /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -g -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o atm2text.lo atm2text.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -g -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c atm2text.c -fPIC -DPIC -o .libs/atm2text.o /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -g -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o atmequal.lo atmequal.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -g -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c atmequal.c -fPIC -DPIC -o .libs/atmequal.o /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -g -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o sdu2cell.lo sdu2cell.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -g -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c sdu2cell.c -fPIC -DPIC -o .libs/sdu2cell.o sdu2cell.c: In function 'sdu2cell': sdu2cell.c:21:45: warning: pointer targets in passing argument 5 of 'getsockopt' differ in signedness [-Wpointer-sign] 21 | if (getsockopt(s,SOL_AAL,SO_ATMQOS,&qos,&size) < 0) return -1; | ^~~~~ | | | int * In file included from ../../src/include/atm.h:10, from sdu2cell.c:11: /usr/include/sys/socket.h:257:46: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' 257 | socklen_t *__restrict __optlen) __THROW; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -g -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o text2qos.lo text2qos.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -g -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c text2qos.c -fPIC -DPIC -o .libs/text2qos.o /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -g -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o qos2text.lo qos2text.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -g -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c qos2text.c -fPIC -DPIC -o .libs/qos2text.o /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -g -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o qosequal.lo qosequal.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -g -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c qosequal.c -fPIC -DPIC -o .libs/qosequal.o /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -g -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o sap2text.lo sap2text.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -g -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c sap2text.c -fPIC -DPIC -o .libs/sap2text.o /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -g -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o text2sap.lo text2sap.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -g -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c text2sap.c -fPIC -DPIC -o .libs/text2sap.o /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -g -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o sapequal.lo sapequal.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -g -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c sapequal.c -fPIC -DPIC -o .libs/sapequal.o sapequal.c: In function 'match_blli': sapequal.c:65:49: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] 65 | CHECK(l2.itu.window,a.l2.itu.window > b.l2.itu.window); | ^ sapequal.c:46:10: note: in definition of macro 'CHECK' 46 | if (!CONSTRAINT) return 0; \ | ^~~~~~~~~~ sapequal.c:46:9: note: add parentheses around left hand side expression to silence this warning 46 | if (!CONSTRAINT) return 0; \ | ^ sapequal.c:65:13: note: in expansion of macro 'CHECK' 65 | CHECK(l2.itu.window,a.l2.itu.window > b.l2.itu.window); | ^~~~~ sapequal.c:73:53: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] 73 | CHECK(l3.itu.def_size,a.l3.itu.def_size > b.l3.itu.def_size); | ^ sapequal.c:46:10: note: in definition of macro 'CHECK' 46 | if (!CONSTRAINT) return 0; \ | ^~~~~~~~~~ sapequal.c:46:9: note: add parentheses around left hand side expression to silence this warning 46 | if (!CONSTRAINT) return 0; \ | ^ sapequal.c:73:13: note: in expansion of macro 'CHECK' 73 | CHECK(l3.itu.def_size,a.l3.itu.def_size > b.l3.itu.def_size); | ^~~~~ sapequal.c:74:49: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] 74 | CHECK(l3.itu.window,a.l3.itu.window > b.l3.itu.window); | ^ sapequal.c:46:10: note: in definition of macro 'CHECK' 46 | if (!CONSTRAINT) return 0; \ | ^~~~~~~~~~ sapequal.c:46:9: note: add parentheses around left hand side expression to silence this warning 46 | if (!CONSTRAINT) return 0; \ | ^ sapequal.c:74:13: note: in expansion of macro 'CHECK' 74 | CHECK(l3.itu.window,a.l3.itu.window > b.l3.itu.window); | ^~~~~ /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -g -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o misc.lo misc.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -g -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c misc.c -fPIC -DPIC -o .libs/misc.o /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -g -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o ans.lo ans.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -g -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c ans.c -fPIC -DPIC -o .libs/ans.o ans.c: In function 'ans': ans.c:65:60: warning: pointer targets in passing argument 4 of 'dn_expand' differ in signedness [-Wpointer-sign] 65 | if ((name_len = dn_expand(answer,answer+answer_len,pos,name,MAX_NAME)) < 0) | ^~~~ | | | unsigned char * In file included from ans.c:25: /usr/include/resolv.h:274:51: note: expected 'char *' but argument is of type 'unsigned char *' 274 | const unsigned char *, char *, int) __THROW; | ^~~~~~ ans.c:80:64: warning: pointer targets in passing argument 4 of 'dn_expand' differ in signedness [-Wpointer-sign] 80 | if ((name_len = dn_expand(answer,answer+answer_len,pos,name,MAX_NAME)) | ^~~~ | | | unsigned char * /usr/include/resolv.h:274:51: note: expected 'char *' but argument is of type 'unsigned char *' 274 | const unsigned char *, char *, int) __THROW; | ^~~~~~ ans.c: In function 'ans_byaddr': ans.c:251:9: warning: the comparison will always evaluate as 'true' for the address of 'prv' will never be NULL [-Waddress] 251 | if (addr->sas_addr.prv) { | ^~~~ In file included from ../../src/include/atm.h:11, from ans.c:27: /usr/include/linux/atm.h:209:25: note: 'prv' declared here 209 | unsigned char prv[ATM_ESA_LEN];/* private ATM address */ | ^~~ /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -g -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o common.lo common.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -g -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c common.c -fPIC -DPIC -o .libs/common.o /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -g -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o diag.lo diag.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -g -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c diag.c -fPIC -DPIC -o .libs/diag.o /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -g -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o kptr.lo kptr.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -g -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c kptr.c -fPIC -DPIC -o .libs/kptr.o /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -g -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o text2ip.lo text2ip.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -g -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c text2ip.c -fPIC -DPIC -o .libs/text2ip.o /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -g -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o timer.lo timer.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -g -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c timer.c -fPIC -DPIC -o .libs/timer.o In file included from timer.c:14: timer.c: In function 'start_timer': ../../src/include/atmd.h:30:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 30 | if (r) (r)->prev = i; r = i; } }) | ^~ timer.c:55:15: note: in expansion of macro 'Q_INSERT_BEFORE' 55 | if (walk) Q_INSERT_BEFORE(timers,n,walk); | ^~~~~~~~~~~~~~~ timer.c:55:31: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 55 | if (walk) Q_INSERT_BEFORE(timers,n,walk); | ^~~~~~ ../../src/include/atmd.h:30:25: note: in definition of macro 'Q_INSERT_BEFORE' 30 | if (r) (r)->prev = i; r = i; } }) | ^ /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -g -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o unix.lo unix.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -g -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c unix.c -fPIC -DPIC -o .libs/unix.o unix.c: In function 'un_recv_connect': unix.c:70:59: warning: pointer targets in passing argument 6 of 'recvfrom' differ in signedness [-Wpointer-sign] 70 | len = recvfrom(s,buf,size,0,(struct sockaddr *) &addr,&addr_size); | ^~~~~~~~~~ | | | int * In file included from unix.c:15: /usr/include/sys/socket.h:165:48: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' 165 | socklen_t *__restrict __addr_len); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ unix.c: In function 'un_recv': unix.c:81:65: warning: pointer targets in passing argument 6 of 'recvfrom' differ in signedness [-Wpointer-sign] 81 | return recvfrom(s,buf,size,0,(struct sockaddr *) &ctx->addr,&ctx->size); | ^~~~~~~~~~ | | | int * /usr/include/sys/socket.h:165:48: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' 165 | socklen_t *__restrict __addr_len); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /bin/sh ../../libtool --tag=CC --mode=link gcc -I../../src/include -O2 -g -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -version-info 1:0:0 -o libatm.la -rpath /usr/lib64 text2atm.lo atm2text.lo atmequal.lo sdu2cell.lo text2qos.lo qos2text.lo qosequal.lo sap2text.lo text2sap.lo sapequal.lo misc.lo ans.lo common.lo diag.lo kptr.lo text2ip.lo timer.lo unix.lo -lresolv libtool: link: gcc -shared -fPIC -DPIC .libs/text2atm.o .libs/atm2text.o .libs/atmequal.o .libs/sdu2cell.o .libs/text2qos.o .libs/qos2text.o .libs/qosequal.o .libs/sap2text.o .libs/text2sap.o .libs/sapequal.o .libs/misc.o .libs/ans.o .libs/common.o .libs/diag.o .libs/kptr.o .libs/text2ip.o .libs/timer.o .libs/unix.o -lresolv -Wl,-z,now -specs=/usr/lib/rpm/TencentOS/TencentOS-hardened-ld -O2 -g -Wl,-soname -Wl,libatm.so.1 -o .libs/libatm.so.1.0.0 gcc: fatal error: cannot read spec file '/usr/lib/rpm/TencentOS/TencentOS-hardened-ld': No such file or directory compilation terminated. make[3]: *** [Makefile:432: libatm.la] Error 1 make[3]: Leaving directory '/builddir/build/BUILD/linux-atm-2.5.1/src/lib' make[2]: *** [Makefile:367: all-recursive] Error 1 make[2]: Leaving directory '/builddir/build/BUILD/linux-atm-2.5.1/src' make[1]: *** [Makefile:413: all-recursive] Error 1 make[1]: Leaving directory '/builddir/build/BUILD/linux-atm-2.5.1' make: *** [Makefile:345: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.RaO9so (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.RaO9so (%build) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/linux-atm.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 597, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/linux-atm.spec