Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/selint.spec'], chrootPath='/var/lib/mock/centos+epel-7-x86_64-1676637829.802996/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=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.up04bx4i:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.up04bx4i:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '3aa2299e1fa04eec8341ac57ff04b53a', '-D', '/var/lib/mock/centos+epel-7-x86_64-1676637829.802996/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.up04bx4i:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/selint.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/selint-1.4.0-1.el7.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/selint.spec'], chrootPath='/var/lib/mock/centos+epel-7-x86_64-1676637829.802996/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=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.up04bx4i:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.up04bx4i:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'f5f89fa152064a1ca08f74e8d4fc9b5c', '-D', '/var/lib/mock/centos+epel-7-x86_64-1676637829.802996/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.up04bx4i:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/selint.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.OgMyyI + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf selint-1.4.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/selint-1.4.0.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd selint-1.4.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.WQ4P9i + umask 022 + cd /builddir/build/BUILD + cd selint-1.4.0 + autoreconf -fiv -Wall -Wno-portability autoreconf: Entering directory `.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal --force --warnings=all,no-portability autoreconf: configure.ac: tracing autoreconf: configure.ac: not using Libtool autoreconf: running: /usr/bin/autoconf --force --warnings=all,no-portability autoreconf: running: /usr/bin/autoheader --force --warnings=all,no-portability autoreconf: running: automake --add-missing --copy --force-missing --warnings=all,no-portability autoreconf: Leaving directory `.' + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro ' + export LDFLAGS + '[' 1 == 1 ']' + '[' x86_64 == ppc64le ']' ++ find . -name config.guess -o -name config.sub + ./configure --build=x86_64-redhat-linux-gnu --host=x86_64-redhat-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 --without-check 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 for x86_64-redhat-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 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 style of include used by make... GNU checking dependency style of gcc... none checking for gcc option to accept ISO C99... -std=gnu99 checking for gcc -std=gnu99 option to accept ISO Standard C... (cached) -std=gnu99 checking for flex... flex checking lex output file root... lex.yy checking lex library... none needed checking whether yytext is a pointer... no checking for bison... bison -y checking for x86_64-redhat-linux-gnu-pkg-config... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for library containing cfg_init... -lconfuse checking how to run the C preprocessor... gcc -std=gnu99 -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 for size_t... yes checking for working alloca.h... yes checking for alloca... yes checking for inttypes.h... (cached) yes checking libintl.h usability... yes checking libintl.h presence... yes checking for libintl.h... yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking stddef.h usability... yes checking stddef.h presence... yes checking for stddef.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for unistd.h... (cached) yes checking stdbool.h usability... yes checking stdbool.h presence... yes checking for stdbool.h... yes checking for int16_t... yes checking for int32_t... yes checking for int8_t... yes checking for size_t... (cached) yes checking for uint16_t... yes checking for uint32_t... yes checking for uint8_t... yes checking for memset... yes checking for strdup... yes checking for help2man... help2man checking for valgrind... no checking uthash.h usability... yes checking uthash.h presence... yes checking for uthash.h... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating tests/Makefile config.status: creating man/Makefile config.status: creating config.h config.status: executing depfiles commands + /usr/bin/make -j2 /usr/bin/make all-recursive make[1]: Entering directory `/builddir/build/BUILD/selint-1.4.0' Making all in src make[2]: Entering directory `/builddir/build/BUILD/selint-1.4.0/src' /usr/bin/make all-am make[3]: Entering directory `/builddir/build/BUILD/selint-1.4.0/src' gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wcast-qual -Wconversion -Wmissing-format-attribute -Wmissing-noreturn -Wmissing-prototypes -Wpointer-arith -Wshadow -Wstrict-prototypes -Wundef -Wunused -Wwrite-strings -DSYSCONFDIR='"/etc"' -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o main.o main.c gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wcast-qual -Wconversion -Wmissing-format-attribute -Wmissing-noreturn -Wmissing-prototypes -Wpointer-arith -Wshadow -Wstrict-prototypes -Wundef -Wunused -Wwrite-strings -DSYSCONFDIR='"/etc"' -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o lex.o lex.c gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wcast-qual -Wconversion -Wmissing-format-attribute -Wmissing-noreturn -Wmissing-prototypes -Wpointer-arith -Wshadow -Wstrict-prototypes -Wundef -Wunused -Wwrite-strings -DSYSCONFDIR='"/etc"' -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o parse.o parse.c parse.y: In function 'yyerror': parse.y:1213:1: warning: unknown option after '#pragma GCC diagnostic' kind [-Wpragmas] IGNORE_CONST_DISCARD_BEGIN ^ parse.y:1213:1: warning: unknown option after '#pragma GCC diagnostic' kind [-Wpragmas] parse.y:1217:4: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] .filename = parsing_filename, // Always print full path on errors ^ gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wcast-qual -Wconversion -Wmissing-format-attribute -Wmissing-noreturn -Wmissing-prototypes -Wpointer-arith -Wshadow -Wstrict-prototypes -Wundef -Wunused -Wwrite-strings -DSYSCONFDIR='"/etc"' -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o tree.o tree.c gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wcast-qual -Wconversion -Wmissing-format-attribute -Wmissing-noreturn -Wmissing-prototypes -Wpointer-arith -Wshadow -Wstrict-prototypes -Wundef -Wunused -Wwrite-strings -DSYSCONFDIR='"/etc"' -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o parse_functions.o parse_functions.c gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wcast-qual -Wconversion -Wmissing-format-attribute -Wmissing-noreturn -Wmissing-prototypes -Wpointer-arith -Wshadow -Wstrict-prototypes -Wundef -Wunused -Wwrite-strings -DSYSCONFDIR='"/etc"' -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o maps.o maps.c gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wcast-qual -Wconversion -Wmissing-format-attribute -Wmissing-noreturn -Wmissing-prototypes -Wpointer-arith -Wshadow -Wstrict-prototypes -Wundef -Wunused -Wwrite-strings -DSYSCONFDIR='"/etc"' -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o runner.o runner.c gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wcast-qual -Wconversion -Wmissing-format-attribute -Wmissing-noreturn -Wmissing-prototypes -Wpointer-arith -Wshadow -Wstrict-prototypes -Wundef -Wunused -Wwrite-strings -DSYSCONFDIR='"/etc"' -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o parse_fc.o parse_fc.c gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wcast-qual -Wconversion -Wmissing-format-attribute -Wmissing-noreturn -Wmissing-prototypes -Wpointer-arith -Wshadow -Wstrict-prototypes -Wundef -Wunused -Wwrite-strings -DSYSCONFDIR='"/etc"' -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o template.o template.c gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wcast-qual -Wconversion -Wmissing-format-attribute -Wmissing-noreturn -Wmissing-prototypes -Wpointer-arith -Wshadow -Wstrict-prototypes -Wundef -Wunused -Wwrite-strings -DSYSCONFDIR='"/etc"' -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o file_list.o file_list.c gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wcast-qual -Wconversion -Wmissing-format-attribute -Wmissing-noreturn -Wmissing-prototypes -Wpointer-arith -Wshadow -Wstrict-prototypes -Wundef -Wunused -Wwrite-strings -DSYSCONFDIR='"/etc"' -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o check_hooks.o check_hooks.c gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wcast-qual -Wconversion -Wmissing-format-attribute -Wmissing-noreturn -Wmissing-prototypes -Wpointer-arith -Wshadow -Wstrict-prototypes -Wundef -Wunused -Wwrite-strings -DSYSCONFDIR='"/etc"' -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o fc_checks.o fc_checks.c gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wcast-qual -Wconversion -Wmissing-format-attribute -Wmissing-noreturn -Wmissing-prototypes -Wpointer-arith -Wshadow -Wstrict-prototypes -Wundef -Wunused -Wwrite-strings -DSYSCONFDIR='"/etc"' -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o util.o util.c gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wcast-qual -Wconversion -Wmissing-format-attribute -Wmissing-noreturn -Wmissing-prototypes -Wpointer-arith -Wshadow -Wstrict-prototypes -Wundef -Wunused -Wwrite-strings -DSYSCONFDIR='"/etc"' -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o if_checks.o if_checks.c gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wcast-qual -Wconversion -Wmissing-format-attribute -Wmissing-noreturn -Wmissing-prototypes -Wpointer-arith -Wshadow -Wstrict-prototypes -Wundef -Wunused -Wwrite-strings -DSYSCONFDIR='"/etc"' -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o selint_config.o selint_config.c selint_config.c: In function 'parse_config': selint_config.c:81:1: warning: unknown option after '#pragma GCC diagnostic' kind [-Wpragmas] IGNORE_CONST_DISCARD_BEGIN; ^ selint_config.c:81:1: warning: unknown option after '#pragma GCC diagnostic' kind [-Wpragmas] selint_config.c:83:3: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] CFG_STR("severity", "convention", CFGF_NONE), ^ selint_config.c:83:3: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] selint_config.c:84:3: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] CFG_STR_LIST("disable", "{}", CFGF_NONE), ^ selint_config.c:84:3: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] selint_config.c:85:3: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] CFG_STR_LIST("enable_normal", "{}", CFGF_NONE), ^ selint_config.c:85:3: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] selint_config.c:86:3: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] CFG_STR_LIST("enable_source", "{}", CFGF_NONE), ^ selint_config.c:86:3: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] selint_config.c:87:3: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] CFG_STR_LIST("assume_users", "{}", CFGF_NONE), ^ selint_config.c:87:3: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] selint_config.c:88:3: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] CFG_STR_LIST("assume_roles", "{}", CFGF_NONE), ^ selint_config.c:88:3: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] selint_config.c:89:3: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] CFG_STR_LIST("custom_fc_macros", "{}", CFGF_NONE), ^ selint_config.c:89:3: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] selint_config.c:90:3: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] CFG_STR_LIST("custom_te_simple_macros", "{}", CFGF_NONE), ^ selint_config.c:90:3: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] selint_config.c:91:3: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] CFG_STR("ordering_rules", "refpolicy-lax", CFGF_NONE), ^ selint_config.c:91:3: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] selint_config.c:92:3: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] CFG_STR_LIST("ordering_requires", "{ bool, class, role, attribute_role, attribute, type }", CFGF_NONE), ^ selint_config.c:92:3: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] selint_config.c:93:3: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] CFG_STR("ordering_requires_same_flavor", "true", CFGF_NONE), ^ selint_config.c:93:3: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] selint_config.c:94:3: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] CFG_STR("skip_checking_generated_fcs", "true", CFGF_NONE), ^ selint_config.c:94:3: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wcast-qual -Wconversion -Wmissing-format-attribute -Wmissing-noreturn -Wmissing-prototypes -Wpointer-arith -Wshadow -Wstrict-prototypes -Wundef -Wunused -Wwrite-strings -DSYSCONFDIR='"/etc"' -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o string_list.o string_list.c gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wcast-qual -Wconversion -Wmissing-format-attribute -Wmissing-noreturn -Wmissing-prototypes -Wpointer-arith -Wshadow -Wstrict-prototypes -Wundef -Wunused -Wwrite-strings -DSYSCONFDIR='"/etc"' -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o startup.o startup.c startup.c: In function 'load_access_vectors_kernel': startup.c:44:1: warning: unknown option after '#pragma GCC diagnostic' kind [-Wpragmas] IGNORE_CONST_DISCARD_BEGIN; ^ startup.c:44:1: warning: unknown option after '#pragma GCC diagnostic' kind [-Wpragmas] startup.c:45:2: warning: passing argument 1 of 'fts_open' from incompatible pointer type [enabled by default] FTS *ftsp = fts_open(paths, FTS_PHYSICAL, NULL); ^ In file included from startup.c:18:0: /usr/include/fts.h:125:6: note: expected 'char * const*' but argument is of type 'const char **' FTS *fts_open (char * const *, int, ^ startup.c: In function 'load_devel_headers': startup.c:227:1: warning: unknown option after '#pragma GCC diagnostic' kind [-Wpragmas] IGNORE_CONST_DISCARD_BEGIN; ^ startup.c:227:1: warning: unknown option after '#pragma GCC diagnostic' kind [-Wpragmas] startup.c:228:2: warning: passing argument 1 of 'fts_open' from incompatible pointer type [enabled by default] FTS *ftsp = fts_open(paths, FTS_PHYSICAL | FTS_NOSTAT, NULL); ^ In file included from startup.c:18:0: /usr/include/fts.h:125:6: note: expected 'char * const*' but argument is of type 'const char **' FTS *fts_open (char * const *, int, ^ gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wcast-qual -Wconversion -Wmissing-format-attribute -Wmissing-noreturn -Wmissing-prototypes -Wpointer-arith -Wshadow -Wstrict-prototypes -Wundef -Wunused -Wwrite-strings -DSYSCONFDIR='"/etc"' -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o te_checks.o te_checks.c gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wcast-qual -Wconversion -Wmissing-format-attribute -Wmissing-noreturn -Wmissing-prototypes -Wpointer-arith -Wshadow -Wstrict-prototypes -Wundef -Wunused -Wwrite-strings -DSYSCONFDIR='"/etc"' -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o ordering.o ordering.c gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wcast-qual -Wconversion -Wmissing-format-attribute -Wmissing-noreturn -Wmissing-prototypes -Wpointer-arith -Wshadow -Wstrict-prototypes -Wundef -Wunused -Wwrite-strings -DSYSCONFDIR='"/etc"' -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o color.o color.c gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wcast-qual -Wconversion -Wmissing-format-attribute -Wmissing-noreturn -Wmissing-prototypes -Wpointer-arith -Wshadow -Wstrict-prototypes -Wundef -Wunused -Wwrite-strings -DSYSCONFDIR='"/etc"' -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o perm_macro.o perm_macro.c gcc -std=gnu99 -Wall -Wextra -Wcast-qual -Wconversion -Wmissing-format-attribute -Wmissing-noreturn -Wmissing-prototypes -Wpointer-arith -Wshadow -Wstrict-prototypes -Wundef -Wunused -Wwrite-strings -DSYSCONFDIR='"/etc"' -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wl,-z,relro -o selint main.o lex.o parse.o tree.o parse_functions.o maps.o runner.o parse_fc.o template.o file_list.o check_hooks.o fc_checks.o util.o if_checks.o selint_config.o string_list.o startup.o te_checks.o ordering.o color.o perm_macro.o -lconfuse make[3]: Leaving directory `/builddir/build/BUILD/selint-1.4.0/src' make[2]: Leaving directory `/builddir/build/BUILD/selint-1.4.0/src' Making all in . make[2]: Entering directory `/builddir/build/BUILD/selint-1.4.0' make[2]: Leaving directory `/builddir/build/BUILD/selint-1.4.0' Making all in man make[2]: Entering directory `/builddir/build/BUILD/selint-1.4.0/man' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/builddir/build/BUILD/selint-1.4.0/man' make[1]: Leaving directory `/builddir/build/BUILD/selint-1.4.0' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.w8A7tg + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/selint-1.4.0-1.el7.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/selint-1.4.0-1.el7.x86_64 ++ dirname /builddir/build/BUILDROOT/selint-1.4.0-1.el7.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/selint-1.4.0-1.el7.x86_64 + cd selint-1.4.0 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/selint-1.4.0-1.el7.x86_64 Making install in src make[1]: Entering directory `/builddir/build/BUILD/selint-1.4.0/src' /usr/bin/make install-am make[2]: Entering directory `/builddir/build/BUILD/selint-1.4.0/src' make[3]: Entering directory `/builddir/build/BUILD/selint-1.4.0/src' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/selint-1.4.0-1.el7.x86_64/usr/bin' /usr/bin/install -c selint '/builddir/build/BUILDROOT/selint-1.4.0-1.el7.x86_64/usr/bin' make[3]: Nothing to be done for `install-data-am'. make[3]: Leaving directory `/builddir/build/BUILD/selint-1.4.0/src' make[2]: Leaving directory `/builddir/build/BUILD/selint-1.4.0/src' make[1]: Leaving directory `/builddir/build/BUILD/selint-1.4.0/src' Making install in . make[1]: Entering directory `/builddir/build/BUILD/selint-1.4.0' make[2]: Entering directory `/builddir/build/BUILD/selint-1.4.0' make[2]: Nothing to be done for `install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/selint-1.4.0-1.el7.x86_64/etc' /usr/bin/install -c -m 644 selint.conf '/builddir/build/BUILDROOT/selint-1.4.0-1.el7.x86_64/etc' make[2]: Leaving directory `/builddir/build/BUILD/selint-1.4.0' make[1]: Leaving directory `/builddir/build/BUILD/selint-1.4.0' Making install in man make[1]: Entering directory `/builddir/build/BUILD/selint-1.4.0/man' make[2]: Entering directory `/builddir/build/BUILD/selint-1.4.0/man' make[2]: Nothing to be done for `install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/selint-1.4.0-1.el7.x86_64/usr/share/man/man1' /usr/bin/install -c -m 644 selint.1 '/builddir/build/BUILDROOT/selint-1.4.0-1.el7.x86_64/usr/share/man/man1' make[2]: Leaving directory `/builddir/build/BUILD/selint-1.4.0/man' make[1]: Leaving directory `/builddir/build/BUILD/selint-1.4.0/man' + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 /builddir/build/BUILD/selint-1.4.0 extracting debug info from /builddir/build/BUILDROOT/selint-1.4.0-1.el7.x86_64/usr/bin/selint dwz: Too few files for multifile optimization /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 1221 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-compress + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Processing files: selint-1.4.0-1.el7.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.sz6Sre + umask 022 + cd /builddir/build/BUILD + cd selint-1.4.0 + DOCDIR=/builddir/build/BUILDROOT/selint-1.4.0-1.el7.x86_64/usr/share/doc/selint-1.4.0 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/selint-1.4.0-1.el7.x86_64/usr/share/doc/selint-1.4.0 + cp -pr CHANGELOG /builddir/build/BUILDROOT/selint-1.4.0-1.el7.x86_64/usr/share/doc/selint-1.4.0 + cp -pr README /builddir/build/BUILDROOT/selint-1.4.0-1.el7.x86_64/usr/share/doc/selint-1.4.0 + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.05oKqc + umask 022 + cd /builddir/build/BUILD + cd selint-1.4.0 + LICENSEDIR=/builddir/build/BUILDROOT/selint-1.4.0-1.el7.x86_64/usr/share/licenses/selint-1.4.0 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/selint-1.4.0-1.el7.x86_64/usr/share/licenses/selint-1.4.0 + cp -pr LICENSE /builddir/build/BUILDROOT/selint-1.4.0-1.el7.x86_64/usr/share/licenses/selint-1.4.0 + cp -pr NOTICE /builddir/build/BUILDROOT/selint-1.4.0-1.el7.x86_64/usr/share/licenses/selint-1.4.0 + exit 0 perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LANG = "C.UTF-8" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LANG = "C.UTF-8" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LANG = "C.UTF-8" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LANG = "C.UTF-8" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). Provides: config(selint) = 1.4.0-1.el7 selint = 1.4.0-1.el7 selint(x86-64) = 1.4.0-1.el7 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) libc.so.6(GLIBC_2.8)(64bit) libconfuse.so.0()(64bit) rtld(GNU_HASH) Processing files: selint-debuginfo-1.4.0-1.el7.x86_64 Provides: selint-debuginfo = 1.4.0-1.el7 selint-debuginfo(x86-64) = 1.4.0-1.el7 Requires(rpmlib): rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/selint-1.4.0-1.el7.x86_64 Wrote: /builddir/build/RPMS/selint-1.4.0-1.el7.x86_64.rpm Wrote: /builddir/build/RPMS/selint-debuginfo-1.4.0-1.el7.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.gHb2q7 + umask 022 + cd /builddir/build/BUILD + cd selint-1.4.0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/selint-1.4.0-1.el7.x86_64 + exit 0 Child return code was: 0