SELinuxProject / selinux

This is the upstream repository for the Security Enhanced Linux (SELinux) userland libraries and tools. The software provided by this project complements the SELinux features integrated into the Linux kernel and is used by Linux distributions. All bugs and patches should be submitted to selinux@vger.kernel.org
Other
1.35k stars 361 forks source link

2.9 libsemanage: using test suite with shared libsemanage #179

Open kloczek opened 5 years ago

kloczek commented 5 years ago

I've been trying to use libsemanage with shared libsemanage because I don't need libsemanage.a and it will be good to fire tests against actual libsemanage used on the system. Looks like it uses symbols not provided by shared libsemanage.

+ /usr/bin/make -O -j48 V=1 VERBOSE=1 test 'CFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto -Os' 'LDFLAGS=-Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto -flto-partition=none -fuse-linker-plugin'
/usr/bin/make -C src all
make[1]: Nothing to be done for 'all'.
/usr/bin/make -C tests test
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-2.9/tests'
gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto -Os -I../src -I../include   -c -o utilities.o utilities.c
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-2.9/tests'
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-2.9/tests'
gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto -Os -I../src -I../include   -c -o libsemanage-tests.o libsemanage-tests.c
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-2.9/tests'
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-2.9/tests'
gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto -Os -I../src -I../include   -c -o test_utilities.o test_utilities.c
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-2.9/tests'
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-2.9/tests'
gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto -Os -I../src -I../include   -c -o test_semanage_store.o test_semanage_store.c
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-2.9/tests'
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-2.9/tests'
gcc -Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto -flto-partition=none -fuse-linker-plugin -o libsemanage-tests libsemanage-tests.o test_semanage_store.o test_utilities.o utilities.o ../src/libsemanage.so -lcunit -lbz2 -laudit -lselinux -lsepol
/usr/bin/ld: libsemanage-tests.lto.o: in function `test_semanage_store_access_check':
<artificial>:(.text+0xc0): undefined reference to `semanage_store_access_check'
/usr/bin/ld: <artificial>:(.text+0x1a0): undefined reference to `semanage_store_access_check'
/usr/bin/ld: <artificial>:(.text+0x280): undefined reference to `semanage_store_access_check'
/usr/bin/ld: <artificial>:(.text+0x35e): undefined reference to `semanage_store_access_check'
/usr/bin/ld: <artificial>:(.text+0x43b): undefined reference to `semanage_store_access_check'
/usr/bin/ld: libsemanage-tests.lto.o:<artificial>:(.text+0x510): more undefined references to `semanage_store_access_check' follow
/usr/bin/ld: libsemanage-tests.lto.o: in function `test_semanage_get_lock':
<artificial>:(.text+0x6fe): undefined reference to `semanage_get_active_lock'
/usr/bin/ld: <artificial>:(.text+0x734): undefined reference to `semanage_get_active_lock'
/usr/bin/ld: <artificial>:(.text+0x76a): undefined reference to `semanage_release_active_lock'
/usr/bin/ld: <artificial>:(.text+0x776): undefined reference to `semanage_get_active_lock'
/usr/bin/ld: <artificial>:(.text+0x7ac): undefined reference to `semanage_release_active_lock'
/usr/bin/ld: <artificial>:(.text+0x7b8): undefined reference to `semanage_get_trans_lock'
/usr/bin/ld: <artificial>:(.text+0x7ee): undefined reference to `semanage_get_trans_lock'
/usr/bin/ld: <artificial>:(.text+0x824): undefined reference to `semanage_release_trans_lock'
/usr/bin/ld: <artificial>:(.text+0x830): undefined reference to `semanage_get_trans_lock'
/usr/bin/ld: <artificial>:(.text+0x866): undefined reference to `semanage_release_trans_lock'
/usr/bin/ld: libsemanage-tests.lto.o: in function `test_semanage_nc_sort':
<artificial>:(.text+0xa7e): undefined reference to `semanage_nc_sort'
/usr/bin/ld: <artificial>:(.text+0xb1b): undefined reference to `semanage_nc_sort'
/usr/bin/ld: libsemanage-tests.lto.o: in function `semanage_store_test_init':
<artificial>:(.text+0xc6a): undefined reference to `semanage_check_init'
/usr/bin/ld: libsemanage-tests.lto.o: in function `semanage_store_test_cleanup':
<artificial>:(.text+0xcd1): undefined reference to `semanage_handle_destroy'
/usr/bin/ld: libsemanage-tests.lto.o: in function `test_semanage_is_prefix':
<artificial>:(.text+0xcee): undefined reference to `semanage_is_prefix'
/usr/bin/ld: <artificial>:(.text+0xd25): undefined reference to `semanage_is_prefix'
/usr/bin/ld: <artificial>:(.text+0xd57): undefined reference to `semanage_is_prefix'
/usr/bin/ld: <artificial>:(.text+0xd8e): undefined reference to `semanage_is_prefix'
/usr/bin/ld: libsemanage-tests.lto.o: in function `test_semanage_split_on_space':
<artificial>:(.text+0xe0a): undefined reference to `semanage_split_on_space'
/usr/bin/ld: <artificial>:(.text+0xe56): undefined reference to `semanage_split_on_space'
/usr/bin/ld: <artificial>:(.text+0xea2): undefined reference to `semanage_split_on_space'
/usr/bin/ld: libsemanage-tests.lto.o: in function `test_semanage_split':
<artificial>:(.text+0xf30): undefined reference to `semanage_split'
/usr/bin/ld: <artificial>:(.text+0xf83): undefined reference to `semanage_split'
/usr/bin/ld: <artificial>:(.text+0xfd6): undefined reference to `semanage_split'
/usr/bin/ld: <artificial>:(.text+0x1029): undefined reference to `semanage_split'
/usr/bin/ld: libsemanage-tests.lto.o: in function `test_semanage_list':
<artificial>:(.text+0x109c): undefined reference to `semanage_list_push'
/usr/bin/ld: <artificial>:(.text+0x1102): undefined reference to `semanage_list_push'
/usr/bin/ld: <artificial>:(.text+0x113b): undefined reference to `semanage_list_push'
/usr/bin/ld: <artificial>:(.text+0x1174): undefined reference to `semanage_list_push'
/usr/bin/ld: <artificial>:(.text+0x11e4): undefined reference to `semanage_list_pop'
/usr/bin/ld: <artificial>:(.text+0x122b): undefined reference to `semanage_list_push'
/usr/bin/ld: <artificial>:(.text+0x12a3): undefined reference to `semanage_list_sort'
/usr/bin/ld: <artificial>:(.text+0x13e7): undefined reference to `semanage_list_find'
/usr/bin/ld: <artificial>:(.text+0x1422): undefined reference to `semanage_list_find'
/usr/bin/ld: <artificial>:(.text+0x1455): undefined reference to `semanage_list_destroy'
/usr/bin/ld: libsemanage-tests.lto.o: in function `test_semanage_str_count':
<artificial>:(.text+0x14b1): undefined reference to `semanage_str_count'
/usr/bin/ld: <artificial>:(.text+0x14ec): undefined reference to `semanage_str_count'
/usr/bin/ld: <artificial>:(.text+0x1528): undefined reference to `semanage_str_count'
/usr/bin/ld: libsemanage-tests.lto.o: in function `test_semanage_rtrim':
<artificial>:(.text+0x15a0): undefined reference to `semanage_rtrim'
/usr/bin/ld: <artificial>:(.text+0x15e6): undefined reference to `semanage_rtrim'
/usr/bin/ld: <artificial>:(.text+0x162c): undefined reference to `semanage_rtrim'
/usr/bin/ld: libsemanage-tests.lto.o: in function `test_semanage_str_replace':
<artificial>:(.text+0x168e): undefined reference to `semanage_str_replace'
/usr/bin/ld: <artificial>:(.text+0x16e5): undefined reference to `semanage_str_replace'
/usr/bin/ld: <artificial>:(.text+0x174d): undefined reference to `semanage_str_replace'
/usr/bin/ld: <artificial>:(.text+0x17b0): undefined reference to `semanage_str_replace'
/usr/bin/ld: <artificial>:(.text+0x1810): undefined reference to `semanage_str_replace'
/usr/bin/ld: libsemanage-tests.lto.o:<artificial>:(.text+0x1857): more undefined references to `semanage_str_replace' follow
/usr/bin/ld: libsemanage-tests.lto.o: in function `test_semanage_findval':
<artificial>:(.text+0x18e6): undefined reference to `semanage_findval'
/usr/bin/ld: <artificial>:(.text+0x1942): undefined reference to `semanage_findval'
/usr/bin/ld: <artificial>:(.text+0x199e): undefined reference to `semanage_findval'
/usr/bin/ld: libsemanage-tests.lto.o: in function `test_slurp_file_filter':
<artificial>:(.text+0x1a47): undefined reference to `semanage_slurp_file_filter'
/usr/bin/ld: <artificial>:(.text+0x1abf): undefined reference to `semanage_list_destroy'
/usr/bin/ld: libsemanage-tests.lto.o: in function `PREDICATE':
<artificial>:(.text+0xdc6): undefined reference to `semanage_is_prefix'
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:16: libsemanage-tests] Error 1
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-2.9/tests'
make: *** [Makefile:37: test] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.1DDlSG (%check)
kloczek commented 4 years ago

Is it possible to make new release soon?

stephensmalley commented 4 years ago

Despite the fixes tag, that PR does not fix this specific issue (using testsuite with shared libsemanage); it merely eliminates the hidden_def/hidden_proto stuff from libselinux.

kloczek commented 4 years ago

Looks like actually all those changes are for libselinux and not for libsemanage.

https://github.com/SELinuxProject/selinux/blob/master/libsemanage/src/libsemanage.map still contains regexp which is causing the issue on using LTO. Is this why you are still keeping that ticket open?

kloczek commented 4 years ago

No sorry I was wrong. Looks like it has been fixed but that fix was not properly connected with this ticket :P

BTW: do you have any plans to separate each SELinux component into sepated repos? It it really pain in a*s extracting patche from whole tree which should be applied to only single component :/

kloczek commented 4 years ago

So I've extracted four necessary patches and on top of that I'm using fedora Fix-RESOURCE_LEAK-and-USE_AFTER_FREE-cov patch and mine two for disable using statsic libraries and to switch use secilc in test suite and it does not work. Test suite is failin and on using taht library with usermode I see that produced libsemanage DSO does not provide some symbols:

$ usermod
usermod: symbol lookup error: usermod: undefined symbol: semanage_seuser_key_create, version LIBSEMANAGE_1.0

Here is full build log with fetching SELInux patches end executing test suite in rpm %check. Build is with use LTO.

``` [tkloczko@barrel SPECS]$ rpmbuild -ba libsemanage.spec warning: Downloading https://github.com/SELinuxProject/selinux//commit/3fc08f89.patch#/libsemanage-libsemanage-update-linker-script.patch to /home/tkloczko/rpmbuild/SOURCES/libsemanage-libsemanage-update-linker-script.patch warning: Downloading https://github.com/SELinuxProject/selinux//commit/43b90524.patch#/libsemanage-libsemanage-cleanup-linker-map-file.patch to /home/tkloczko/rpmbuild/SOURCES/libsemanage-libsemanage-cleanup-linker-map-file.patch warning: Downloading https://github.com/SELinuxProject/selinux//commit/6d170a76.patch#/libsemanage-libsemanage-fix-linker-script-symbol-versions.patch to /home/tkloczko/rpmbuild/SOURCES/libsemanage-libsemanage-fix-linker-script-symbol-versions.patch warning: Downloading https://github.com/SELinuxProject/selinux//commit/5eee9122.patch#/libsemanage-libsemanage-rm-semanage_module_upgrade_info-from-map.patch to /home/tkloczko/rpmbuild/SOURCES/libsemanage-libsemanage-rm-semanage_module_upgrade_info-from-map.patch Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.ErezWC + umask 022 + cd /home/tkloczko/rpmbuild/BUILD + cd /home/tkloczko/rpmbuild/BUILD + rm -rf libsemanage-3.0 + /usr/bin/gzip -dc /home/tkloczko/rpmbuild/SOURCES/libsemanage-3.0.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd libsemanage-3.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/libsemanage-no_static.patch + /usr/bin/patch -p2 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/libsemanage-Fix-RESOURCE_LEAK-and-USE_AFTER_FREE-cov.patch + /usr/bin/patch -p2 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/libsemanage-libsemanage-update-linker-script.patch + /usr/bin/patch -p2 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/libsemanage-libsemanage-cleanup-linker-map-file.patch + /usr/bin/patch -p2 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/libsemanage-libsemanage-fix-linker-script-symbol-versions.patch + /usr/bin/patch -p2 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/libsemanage-libsemanage-rm-semanage_module_upgrade_info-from-map.patch + /usr/bin/patch -p2 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/libsemanage-use_system_secilc_in_testsuite.patch + /usr/bin/patch -p2 -s --fuzz=0 --no-backup-if-mismatch + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.kZ1nfA + umask 022 + cd /home/tkloczko/rpmbuild/BUILD + cd libsemanage-3.0 + export 'CFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os' + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os' + export 'CXXFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection ' + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection ' + export 'FFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules ' + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules ' + export 'FCFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules ' + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules ' + export 'LDFLAGS=-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld ' + export AR=/usr/bin/ar RANLIB=/usr/bin/ranlib NM=/usr/bin/nm + AR=/usr/bin/ar + RANLIB=/usr/bin/ranlib + NM=/usr/bin/nm + export CC=gcc CXX=g++ + CC=gcc + CXX=g++ + /usr/bin/make -O -j48 V=1 VERBOSE=1 all PYTHON=/usr/bin/python3 'CFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os' LIBDIR=/usr/lib64 SHLIBDIR=lib64 /usr/bin/make -C src all make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o booleans_active.lo booleans_active.c make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o context_record.lo context_record.c make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o booleans_local.lo booleans_local.c make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o boolean_record.lo boolean_record.c make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o booleans_file.lo booleans_file.c make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o booleans_policy.lo booleans_policy.c make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o ibendports_policy.lo ibendports_policy.c make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o database_activedb.lo database_activedb.c make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o booleans_activedb.lo booleans_activedb.c make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o ibpkey_record.lo ibpkey_record.c make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o ibpkeys_policy.lo ibpkeys_policy.c make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o interfaces_local.lo interfaces_local.c make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o database_join.lo database_join.c make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o fcontexts_policy.lo fcontexts_policy.c make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o database_llist.lo database_llist.c make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o database_file.lo database_file.c make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o debug.lo debug.c make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o ibendport_record.lo ibendport_record.c make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o iface_record.lo iface_record.c make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o interfaces_file.lo interfaces_file.c make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o fcontexts_local.lo fcontexts_local.c make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o fcontexts_file.lo fcontexts_file.c make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o interfaces_policy.lo interfaces_policy.c make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o fcontext_record.lo fcontext_record.c make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o ibendports_file.lo ibendports_file.c make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o booleans_policydb.lo booleans_policydb.c make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o nodes_policy.lo nodes_policy.c make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o database.lo database.c make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o ibendports_policydb.lo ibendports_policydb.c make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o node_record.lo node_record.c make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o nodes_local.lo nodes_local.c make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o database_policydb.lo database_policydb.c make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o ibendports_local.lo ibendports_local.c make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o ibpkeys_file.lo ibpkeys_file.c make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o ibpkeys_local.lo ibpkeys_local.c make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o nodes_file.lo nodes_file.c make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o interfaces_policydb.lo interfaces_policydb.c make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' sed -e 's/@VERSION@/3.0/; s:@prefix@:/usr:; s:@libdir@:/usr/lib64:; s:@includedir@:/usr/include:' < libsemanage.pc.in > libsemanage.pc make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o handle.lo handle.c make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o port_record.lo port_record.c make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o ibpkeys_policydb.lo ibpkeys_policydb.c make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o policy_components.lo policy_components.c make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o ports_file.lo ports_file.c make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o ports_local.lo ports_local.c make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o nodes_policydb.lo nodes_policydb.c make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o ports_policy.lo ports_policy.c make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o parse_utils.lo parse_utils.c make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o seusers_file.lo seusers_file.c make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o seusers_policy.lo seusers_policy.c make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o users_policy.lo users_policy.c make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o user_base_record.lo user_base_record.c make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o users_extra_file.lo users_extra_file.c make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o utilities.lo utilities.c make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o ports_policydb.lo ports_policydb.c make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o seuser_record.lo seuser_record.c make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o user_extra_record.lo user_extra_record.c make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o users_join.lo users_join.c make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o user_record.lo user_record.c make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o users_base_policydb.lo users_base_policydb.c make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o modules.lo modules.c make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o genhomedircon.lo genhomedircon.c make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o seusers_local.lo seusers_local.c make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o users_base_file.lo users_base_file.c make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o users_local.lo users_local.c make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' bison -d -o conf-parse.c conf-parse.y conf-parse.y:55.1-24: warning: deprecated directive: '%name-prefix "semanage_"', use '%define api.prefix {semanage_}' [-Wdeprecated] 55 | %name-prefix "semanage_" | ^~~~~~~~~~~~~~~~~~~~~~~~ | %define api.prefix {semanage_} conf-parse.y: warning: fix-its can be applied. Rerun with option '--update'. [-Wother] make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' flex -s -o conf-scan.c conf-scan.l make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o direct_api.lo direct_api.c make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o semanage_store.lo semanage_store.c make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o conf-parse.lo conf-parse.c make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o conf-scan.lo conf-scan.c make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os -I../include -D_GNU_SOURCE -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -shared -o libsemanage.so.1 boolean_record.lo booleans_active.lo booleans_activedb.lo booleans_file.lo booleans_local.lo booleans_policy.lo booleans_policydb.lo context_record.lo database.lo database_activedb.lo database_file.lo database_join.lo database_llist.lo database_policydb.lo debug.lo direct_api.lo fcontext_record.lo fcontexts_file.lo fcontexts_local.lo fcontexts_policy.lo genhomedircon.lo handle.lo ibendport_record.lo ibendports_file.lo ibendports_local.lo ibendports_policy.lo ibendports_policydb.lo ibpkey_record.lo ibpkeys_file.lo ibpkeys_local.lo ibpkeys_policy.lo ibpkeys_policydb.lo iface_record.lo interfaces_file.lo interfaces_local.lo interfaces_policy.lo interfaces_policydb.lo modules.lo node_record.lo nodes_file.lo nodes_local.lo nodes_policy.lo nodes_policydb.lo parse_utils.lo policy_components.lo port_record.lo ports_file.lo ports_local.lo ports_policy.lo ports_policydb.lo semanage_store.lo seuser_record.lo seusers_file.lo seusers_local.lo seusers_policy.lo user_base_record.lo user_extra_record.lo user_record.lo users_base_file.lo users_base_policydb.lo users_extra_file.lo users_join.lo users_local.lo users_policy.lo utilities.lo conf-scan.lo conf-parse.lo -lsepol -laudit -lselinux -lbz2 -Wl,-soname,libsemanage.so.1,--version-script=libsemanage.map,-z,defs ln -sf libsemanage.so.1 libsemanage.so make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' + export 'CFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os' + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os' + export 'CXXFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection ' + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection ' + export 'FFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules ' + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules ' + export 'FCFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules ' + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules ' + export 'LDFLAGS=-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld ' + export AR=/usr/bin/ar RANLIB=/usr/bin/ranlib NM=/usr/bin/nm + AR=/usr/bin/ar + RANLIB=/usr/bin/ranlib + NM=/usr/bin/nm + export CC=gcc CXX=g++ + CC=gcc + CXX=g++ + /usr/bin/make -O -j48 V=1 VERBOSE=1 swigify pywrap PYTHON=/usr/bin/python3 'CFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os' 'LDFLAGS=-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld ' LIBDIR=/usr/lib64 SHLIBDIR=lib64 /usr/bin/make -C src swigify /usr/bin/make -C src pywrap make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' swig -Wall -python -o semanageswig_wrap.c -outdir ./ semanageswig_python.i make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' swig -Wall -python -o semanageswig_wrap.c -outdir ./ semanageswig_python.i make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os -I../include -D_GNU_SOURCE -Wno-error -Wno-unused-but-set-variable -Wno-unused-variable -Wno-shadow -Wno-unused-parameter -I/usr/include/python3.8 -fPIC -DSHARED -c -o python-3.8semanageswig_wrap.lo semanageswig_wrap.c make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os -I../include -D_GNU_SOURCE -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L. -shared -o python-3.8_semanage.so python-3.8semanageswig_wrap.lo -lsemanage make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.3uSVXB + umask 022 + cd /home/tkloczko/rpmbuild/BUILD + '[' /home/tkloczko/rpmbuild/BUILDROOT/libsemanage-3.0-4.2.1.fc33.x86_64 '!=' / ']' + /usr/bin/rm -rf /home/tkloczko/rpmbuild/BUILDROOT/libsemanage-3.0-4.2.1.fc33.x86_64 + /usr/bin/mkdir /home/tkloczko/rpmbuild/BUILDROOT/libsemanage-3.0-4.2.1.fc33.x86_64 + cd libsemanage-3.0 + /usr/bin/mkdir -p /home/tkloczko/rpmbuild/BUILDROOT/libsemanage-3.0-4.2.1.fc33.x86_64/var/lib/selinux/tmp + /usr/bin/make install DESTDIR=/home/tkloczko/rpmbuild/BUILDROOT/libsemanage-3.0-4.2.1.fc33.x86_64 'INSTALL=/usr/bin/install -p' install-pywrap LIBDIR=/usr/lib64 SHLIBDIR=/usr/lib64 /usr/bin/make -C include install make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/include' test -d /home/tkloczko/rpmbuild/BUILDROOT/libsemanage-3.0-4.2.1.fc33.x86_64/usr/include/semanage || install -m 755 -d /home/tkloczko/rpmbuild/BUILDROOT/libsemanage-3.0-4.2.1.fc33.x86_64/usr/include/semanage install -m 644 semanage/boolean_record.h semanage/booleans_active.h semanage/booleans_local.h semanage/booleans_policy.h semanage/context_record.h semanage/debug.h semanage/fcontext_record.h semanage/fcontexts_local.h semanage/fcontexts_policy.h semanage/handle.h semanage/ibendport_record.h semanage/ibendports_local.h semanage/ibendports_policy.h semanage/ibpkey_record.h semanage/ibpkeys_local.h semanage/ibpkeys_policy.h semanage/iface_record.h semanage/interfaces_local.h semanage/interfaces_policy.h semanage/modules.h semanage/node_record.h semanage/nodes_local.h semanage/nodes_policy.h semanage/port_record.h semanage/ports_local.h semanage/ports_policy.h semanage/semanage.h semanage/seuser_record.h semanage/seusers_local.h semanage/seusers_policy.h semanage/user_record.h semanage/users_local.h semanage/users_policy.h /home/tkloczko/rpmbuild/BUILDROOT/libsemanage-3.0-4.2.1.fc33.x86_64/usr/include/semanage make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/include' /usr/bin/make -C src install make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' test -d /home/tkloczko/rpmbuild/BUILDROOT/libsemanage-3.0-4.2.1.fc33.x86_64/usr/lib64 || install -m 755 -d /home/tkloczko/rpmbuild/BUILDROOT/libsemanage-3.0-4.2.1.fc33.x86_64/usr/lib64 install -m 755 libsemanage.so.1 /home/tkloczko/rpmbuild/BUILDROOT/libsemanage-3.0-4.2.1.fc33.x86_64/usr/lib64 test -d /home/tkloczko/rpmbuild/BUILDROOT/libsemanage-3.0-4.2.1.fc33.x86_64/usr/lib64/pkgconfig || install -m 755 -d /home/tkloczko/rpmbuild/BUILDROOT/libsemanage-3.0-4.2.1.fc33.x86_64/usr/lib64/pkgconfig install -m 644 libsemanage.pc /home/tkloczko/rpmbuild/BUILDROOT/libsemanage-3.0-4.2.1.fc33.x86_64/usr/lib64/pkgconfig test -f /home/tkloczko/rpmbuild/BUILDROOT/libsemanage-3.0-4.2.1.fc33.x86_64/etc/selinux/semanage.conf || install -m 644 -D semanage.conf /home/tkloczko/rpmbuild/BUILDROOT/libsemanage-3.0-4.2.1.fc33.x86_64/etc/selinux/semanage.conf cd /home/tkloczko/rpmbuild/BUILDROOT/libsemanage-3.0-4.2.1.fc33.x86_64/usr/lib64 && ln -sf libsemanage.so.1 libsemanage.so make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' /usr/bin/make -C man install make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/man' mkdir -p /home/tkloczko/rpmbuild/BUILDROOT/libsemanage-3.0-4.2.1.fc33.x86_64/usr/share/man/man3 mkdir -p /home/tkloczko/rpmbuild/BUILDROOT/libsemanage-3.0-4.2.1.fc33.x86_64/usr/share/man/man5 install -m 644 man3/*.3 /home/tkloczko/rpmbuild/BUILDROOT/libsemanage-3.0-4.2.1.fc33.x86_64/usr/share/man/man3 install -m 644 man5/*.5 /home/tkloczko/rpmbuild/BUILDROOT/libsemanage-3.0-4.2.1.fc33.x86_64/usr/share/man/man5 for lang in ru ; do \ if [ -e ${lang}/man3 ] ; then \ mkdir -p /home/tkloczko/rpmbuild/BUILDROOT/libsemanage-3.0-4.2.1.fc33.x86_64/usr/share/man/${lang}/man3 ; \ install -m 644 ${lang}/man3/*.3 /home/tkloczko/rpmbuild/BUILDROOT/libsemanage-3.0-4.2.1.fc33.x86_64/usr/share/man/${lang}/man3 ; \ fi ; \ if [ -e ${lang}/man5 ] ; then \ mkdir -p /home/tkloczko/rpmbuild/BUILDROOT/libsemanage-3.0-4.2.1.fc33.x86_64/usr/share/man/${lang}/man5 ; \ install -m 644 ${lang}/man5/*.5 /home/tkloczko/rpmbuild/BUILDROOT/libsemanage-3.0-4.2.1.fc33.x86_64/usr/share/man/${lang}/man5 ; \ fi ; \ done make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/man' /usr/bin/make -C utils install make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/utils' mkdir -p /home/tkloczko/rpmbuild/BUILDROOT/libsemanage-3.0-4.2.1.fc33.x86_64/usr/libexec/selinux/ install -m 755 semanage_migrate_store /home/tkloczko/rpmbuild/BUILDROOT/libsemanage-3.0-4.2.1.fc33.x86_64/usr/libexec/selinux/ make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/utils' /usr/bin/make -C src install-pywrap make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' :1: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses test -d /home/tkloczko/rpmbuild/BUILDROOT/libsemanage-3.0-4.2.1.fc33.x86_64/usr/lib64/python3.8/site-packages || install -m 755 -d /home/tkloczko/rpmbuild/BUILDROOT/libsemanage-3.0-4.2.1.fc33.x86_64/usr/lib64/python3.8/site-packages install -m 755 python-3.8_semanage.so /home/tkloczko/rpmbuild/BUILDROOT/libsemanage-3.0-4.2.1.fc33.x86_64/usr/lib64/python3.8/site-packages/_semanage.cpython-38-x86_64-linux-gnu.so install -m 644 semanage.py /home/tkloczko/rpmbuild/BUILDROOT/libsemanage-3.0-4.2.1.fc33.x86_64/usr/lib64/python3.8/site-packages make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' + /usr/bin/install /home/tkloczko/rpmbuild/SOURCES/semanage.conf /home/tkloczko/rpmbuild/BUILDROOT/libsemanage-3.0-4.2.1.fc33.x86_64/etc/selinux/semanage.conf + /usr/lib/rpm/find-debuginfo.sh -j48 --strict-build-id -m -i --build-id-seed 3.0-4.2.1.fc33 --unique-debug-suffix -3.0-4.2.1.fc33.x86_64 --unique-debug-src-base libsemanage-3.0-4.2.1.fc33.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0 explicitly decompress any DWARF compressed ELF sections in /home/tkloczko/rpmbuild/BUILDROOT/libsemanage-3.0-4.2.1.fc33.x86_64/usr/lib64/libsemanage.so.1 explicitly decompress any DWARF compressed ELF sections in /home/tkloczko/rpmbuild/BUILDROOT/libsemanage-3.0-4.2.1.fc33.x86_64/usr/lib64/python3.8/site-packages/_semanage.cpython-38-x86_64-linux-gnu.so extracting debug info from /home/tkloczko/rpmbuild/BUILDROOT/libsemanage-3.0-4.2.1.fc33.x86_64/usr/lib64/libsemanage.so.1 extracting debug info from /home/tkloczko/rpmbuild/BUILDROOT/libsemanage-3.0-4.2.1.fc33.x86_64/usr/lib64/python3.8/site-packages/_semanage.cpython-38-x86_64-linux-gnu.so gdb: error while loading shared libraries: libicudata.so.65: cannot open shared object file: No such file or directory gdb-add-index: gdb error generating index for /home/tkloczko/rpmbuild/BUILDROOT/libsemanage-3.0-4.2.1.fc33.x86_64/usr/lib64/python3.8/site-packages/_semanage.cpython-38-x86_64-linux-gnu.so gdb: error while loading shared libraries: libicudata.so.65: cannot open shared object file: No such file or directory gdb-add-index: gdb error generating index for /home/tkloczko/rpmbuild/BUILDROOT/libsemanage-3.0-4.2.1.fc33.x86_64/usr/lib64/libsemanage.so.1 original debug info size: 2028kB, size after compression: 1796kB /usr/lib/rpm/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. 2671 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 0 Bytecompiling .py files below /home/tkloczko/rpmbuild/BUILDROOT/libsemanage-3.0-4.2.1.fc33.x86_64/usr/lib64/python3.8 using /usr/bin/python3.8 Bytecompiling .py files below /home/tkloczko/rpmbuild/BUILDROOT/libsemanage-3.0-4.2.1.fc33.x86_64/usr/lib/debug/usr/lib64/python3.8 using /usr/bin/python3.8 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs *** WARNING: ./etc/selinux/semanage.conf is executable but has empty or no shebang, removing executable bit Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.Ehm4GB + umask 022 + cd /home/tkloczko/rpmbuild/BUILD + cd libsemanage-3.0 + export 'CFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os' + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os' + export 'CXXFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection ' + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection ' + export 'FFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules ' + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules ' + export 'FCFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules ' + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules ' + export 'LDFLAGS=-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld ' + export AR=/usr/bin/ar RANLIB=/usr/bin/ranlib NM=/usr/bin/nm + AR=/usr/bin/ar + RANLIB=/usr/bin/ranlib + NM=/usr/bin/nm + export CC=gcc CXX=g++ + CC=gcc + CXX=g++ + /usr/bin/make -O -j48 V=1 VERBOSE=1 test 'CFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os' 'LDFLAGS=-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld ' /usr/bin/make -C src all make[1]: Nothing to be done for 'all'. /usr/bin/make -C tests test make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests' secilc test_bool.cil -o test_bool.policy -f /dev/null make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os -I../src -I../include -c -o libsemanage-tests.o libsemanage-tests.c make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests' secilc test_fcontext.cil -o test_fcontext.policy -f /dev/null make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests' secilc test_ibendport.cil -o test_ibendport.policy -f /dev/null make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests' secilc test_handle.cil -o test_handle.policy -f /dev/null make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests' secilc test_node.cil -o test_node.policy -f /dev/null make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests' secilc test_port.cil -o test_port.policy -f /dev/null make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests' secilc test_iface.cil -o test_iface.policy -f /dev/null make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os -I../src -I../include -c -o test_handle.o test_handle.c make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests' secilc test_user.cil -o test_user.policy -f /dev/null make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os -I../src -I../include -c -o utilities.o utilities.c utilities.c: In function 'write_test_policy_from_file': utilities.c:120:2: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 120 | fread(buf, len, 1, fptr); | ^~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os -I../src -I../include -c -o test_utilities.o test_utilities.c make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os -I../src -I../include -c -o test_bool.o test_bool.c make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os -I../src -I../include -c -o test_user.o test_user.c make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os -I../src -I../include -c -o test_other.o test_other.c make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os -I../src -I../include -c -o test_fcontext.o test_fcontext.c make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os -I../src -I../include -c -o test_iface.o test_iface.c make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os -I../src -I../include -c -o test_ibendport.o test_ibendport.c make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os -I../src -I../include -c -o test_semanage_store.o test_semanage_store.c make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os -I../src -I../include -c -o test_node.o test_node.c make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os -I../src -I../include -c -o test_port.o test_port.c make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests' gcc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o libsemanage-tests libsemanage-tests.o test_bool.o test_fcontext.o test_handle.o test_ibendport.o test_iface.o test_node.o test_other.o test_port.o test_semanage_store.o test_user.o test_utilities.o utilities.o ../src/libsemanage.so -lcunit -lbz2 -laudit -lselinux -lsepol /usr/bin/ld: /tmp/libsemanage-tests.HyGQxa.ltrans0.ltrans.o: in function `test_fcontext_key_create': /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_fcontext.c:346: undefined reference to `semanage_fcontext_key_create' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_fcontext.c:354: undefined reference to `semanage_fcontext_key_create' /usr/bin/ld: /tmp/libsemanage-tests.HyGQxa.ltrans0.ltrans.o: in function `get_fcontext_key_from_str': /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_fcontext.c:270: undefined reference to `semanage_fcontext_key_create' /usr/bin/ld: /tmp/libsemanage-tests.HyGQxa.ltrans0.ltrans.o: in function `test_iface_create': /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_iface.c:351: undefined reference to `semanage_iface_set_name' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_iface.c:352: undefined reference to `semanage_context_from_string' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_iface.c:354: undefined reference to `semanage_iface_set_ifcon' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_iface.c:355: undefined reference to `semanage_context_from_string' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_iface.c:357: undefined reference to `semanage_iface_set_msgcon' /usr/bin/ld: /tmp/libsemanage-tests.HyGQxa.ltrans0.ltrans.o: in function `test_iface_clone': /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_iface.c:377: undefined reference to `semanage_iface_set_name' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_iface.c:378: undefined reference to `semanage_context_from_string' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_iface.c:380: undefined reference to `semanage_iface_set_ifcon' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_iface.c:381: undefined reference to `semanage_context_from_string' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_iface.c:383: undefined reference to `semanage_iface_set_msgcon' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_iface.c:387: undefined reference to `semanage_iface_get_name' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_iface.c:389: undefined reference to `semanage_iface_get_ifcon' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_iface.c:390: undefined reference to `semanage_context_to_string' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_iface.c:390: undefined reference to `semanage_context_to_string' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_iface.c:392: undefined reference to `semanage_iface_get_msgcon' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_iface.c:393: undefined reference to `semanage_context_to_string' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_iface.c:393: undefined reference to `semanage_context_to_string' /usr/bin/ld: /tmp/libsemanage-tests.HyGQxa.ltrans0.ltrans.o: in function `test_iface_get_set_name': /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_iface.c:285: undefined reference to `semanage_iface_set_name' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_iface.c:286: undefined reference to `semanage_iface_get_name' /usr/bin/ld: /tmp/libsemanage-tests.HyGQxa.ltrans0.ltrans.o: in function `test_iface_get_set_ifcon': /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_iface.c:303: undefined reference to `semanage_context_from_string' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_iface.c:307: undefined reference to `semanage_iface_set_ifcon' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_iface.c:308: undefined reference to `semanage_iface_get_ifcon' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_iface.c:309: undefined reference to `semanage_context_to_string' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_iface.c:309: undefined reference to `semanage_context_to_string' /usr/bin/ld: /tmp/libsemanage-tests.HyGQxa.ltrans0.ltrans.o: in function `test_iface_get_set_msgcon': /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_iface.c:326: undefined reference to `semanage_context_from_string' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_iface.c:330: undefined reference to `semanage_iface_set_msgcon' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_iface.c:331: undefined reference to `semanage_iface_get_msgcon' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_iface.c:332: undefined reference to `semanage_context_to_string' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_iface.c:332: undefined reference to `semanage_context_to_string' /usr/bin/ld: /tmp/libsemanage-tests.HyGQxa.ltrans0.ltrans.o: in function `test_iface_query': /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_iface.c:417: undefined reference to `semanage_iface_get_name' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_iface.c:417: undefined reference to `semanage_iface_get_name' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_iface.c:420: undefined reference to `semanage_iface_get_ifcon' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_iface.c:421: undefined reference to `semanage_iface_get_ifcon' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_iface.c:422: undefined reference to `semanage_context_to_string' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_iface.c:422: undefined reference to `semanage_context_to_string' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_iface.c:424: undefined reference to `semanage_iface_get_msgcon' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_iface.c:425: undefined reference to `semanage_iface_get_msgcon' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_iface.c:426: undefined reference to `semanage_context_to_string' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_iface.c:426: undefined reference to `semanage_context_to_string' /usr/bin/ld: /tmp/libsemanage-tests.HyGQxa.ltrans0.ltrans.o: in function `test_ibendport_list': /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_ibendport.c:319: undefined reference to `semanage_ibendport_get_ibdev_name' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_ibendport.c:321: undefined reference to `semanage_ibendport_get_con' /usr/bin/ld: /tmp/libsemanage-tests.HyGQxa.ltrans0.ltrans.o: in function `test_ibendport_query': /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_ibendport.c:180: undefined reference to `semanage_ibendport_get_ibdev_name' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_ibendport.c:182: undefined reference to `semanage_ibendport_get_ibdev_name' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_ibendport.c:188: undefined reference to `semanage_ibendport_get_port' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_ibendport.c:188: undefined reference to `semanage_ibendport_get_port' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_ibendport.c:191: undefined reference to `semanage_ibendport_get_con' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_ibendport.c:192: undefined reference to `semanage_ibendport_get_con' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_ibendport.c:195: undefined reference to `semanage_context_to_string' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_ibendport.c:195: undefined reference to `semanage_context_to_string' /usr/bin/ld: /tmp/libsemanage-tests.HyGQxa.ltrans0.ltrans.o: in function `test_ibendport_list_local': /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_ibendport.c:502: undefined reference to `semanage_ibendport_list_local' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_ibendport.c:509: undefined reference to `semanage_ibendport_get_ibdev_name' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_ibendport.c:511: undefined reference to `semanage_ibendport_get_con' /usr/bin/ld: /tmp/libsemanage-tests.HyGQxa.ltrans0.ltrans.o: in function `helper_bool_query': /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_bool.c:511: undefined reference to `semanage_bool_get_name' /usr/bin/ld: /tmp/libsemanage-tests.HyGQxa.ltrans0.ltrans.o: in function `helper_bool_modify_del_local': /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_bool.c:680: undefined reference to `semanage_bool_set_value' /usr/bin/ld: /tmp/libsemanage-tests.HyGQxa.ltrans0.ltrans.o: in function `helper_bool_create': /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_bool.c:447: undefined reference to `semanage_bool_get_name' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_bool.c:448: undefined reference to `semanage_bool_get_value' /usr/bin/ld: /tmp/libsemanage-tests.HyGQxa.ltrans0.ltrans.o: in function `test_access_check': /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_handle.c:176: undefined reference to `semanage_access_check' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_handle.c:183: undefined reference to `semanage_access_check' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_handle.c:188: undefined reference to `semanage_access_check' /usr/bin/ld: /tmp/libsemanage-tests.HyGQxa.ltrans0.ltrans.o: in function `helper_fcontext_create': /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_fcontext.c:508: undefined reference to `semanage_fcontext_get_expr' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_fcontext.c:509: undefined reference to `semanage_fcontext_get_type' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_fcontext.c:511: undefined reference to `semanage_fcontext_get_con' /usr/bin/ld: /tmp/libsemanage-tests.HyGQxa.ltrans0.ltrans.o: in function `helper_fcontext_query': /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_fcontext.c:588: undefined reference to `semanage_fcontext_get_expr' /usr/bin/ld: /tmp/libsemanage-tests.HyGQxa.ltrans0.ltrans.o: in function `helper_root': /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_handle.c:268: undefined reference to `semanage_set_root' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_handle.c:272: undefined reference to `semanage_set_root' /usr/bin/ld: /tmp/libsemanage-tests.HyGQxa.ltrans0.ltrans.o: in function `helper_bool_get_set_name': /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_bool.c:387: undefined reference to `semanage_bool_get_name' /usr/bin/ld: /tmp/libsemanage-tests.HyGQxa.ltrans0.ltrans.o: in function `helper_bool_get_set_value': /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_bool.c:421: undefined reference to `semanage_bool_set_value' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_bool.c:423: undefined reference to `semanage_bool_get_value' /usr/bin/ld: /tmp/libsemanage-tests.HyGQxa.ltrans0.ltrans.o: in function `helper_bool_clone': /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_bool.c:476: undefined reference to `semanage_bool_get_name' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_bool.c:477: undefined reference to `semanage_bool_get_name' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_bool.c:481: undefined reference to `semanage_bool_get_value' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_bool.c:482: undefined reference to `semanage_bool_get_value' /usr/bin/ld: /tmp/libsemanage-tests.HyGQxa.ltrans0.ltrans.o: in function `test_fcontext_get_set_expr': /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_fcontext.c:397: undefined reference to `semanage_fcontext_get_expr' /usr/bin/ld: /tmp/libsemanage-tests.HyGQxa.ltrans0.ltrans.o: in function `test_fcontext_get_set_type': /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_fcontext.c:419: undefined reference to `semanage_fcontext_set_type' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_fcontext.c:420: undefined reference to `semanage_fcontext_get_type' /usr/bin/ld: /tmp/libsemanage-tests.HyGQxa.ltrans0.ltrans.o: in function `test_fcontext_iterate_local': /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_fcontext.c:958: undefined reference to `semanage_fcontext_iterate_local' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_fcontext.c:960: undefined reference to `semanage_fcontext_iterate_local' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_fcontext.c:968: undefined reference to `semanage_fcontext_iterate_local' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_fcontext.c:971: undefined reference to `semanage_fcontext_iterate_local' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_fcontext.c:979: undefined reference to `semanage_fcontext_iterate_local' /usr/bin/ld: /tmp/libsemanage-tests.HyGQxa.ltrans0.ltrans.o:/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_fcontext.c:985: more undefined references to `semanage_fcontext_iterate_local' follow /usr/bin/ld: /tmp/libsemanage-tests.HyGQxa.ltrans0.ltrans.o: in function `helper_fcontext_get_set_con': /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_fcontext.c:463: undefined reference to `semanage_context_from_string' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_fcontext.c:470: undefined reference to `semanage_fcontext_set_con' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_fcontext.c:471: undefined reference to `semanage_fcontext_get_con' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_fcontext.c:474: undefined reference to `semanage_context_to_string' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_fcontext.c:474: undefined reference to `semanage_context_to_string' /usr/bin/ld: /tmp/libsemanage-tests.HyGQxa.ltrans0.ltrans.o: in function `helper_fcontext_clone': /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_fcontext.c:545: undefined reference to `semanage_fcontext_get_expr' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_fcontext.c:546: undefined reference to `semanage_fcontext_get_expr' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_fcontext.c:549: undefined reference to `semanage_fcontext_get_type' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_fcontext.c:550: undefined reference to `semanage_fcontext_get_type' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_fcontext.c:553: undefined reference to `semanage_fcontext_get_con' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_fcontext.c:554: undefined reference to `semanage_fcontext_get_con' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_fcontext.c:555: undefined reference to `semanage_context_to_string' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_fcontext.c:555: undefined reference to `semanage_context_to_string' /usr/bin/ld: /tmp/libsemanage-tests.HyGQxa.ltrans0.ltrans.o: in function `test_handle_create': /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_handle.c:87: undefined reference to `semanage_handle_destroy' /usr/bin/ld: /tmp/libsemanage-tests.HyGQxa.ltrans1.ltrans.o: in function `test_node_get_proto_str': /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_node.c:414: undefined reference to `semanage_node_get_proto_str' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_node.c:416: undefined reference to `semanage_node_get_proto_str' /usr/bin/ld: /tmp/libsemanage-tests.HyGQxa.ltrans1.ltrans.o: in function `test_debug': /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_other.c:119: undefined reference to `semanage_handle_destroy' /usr/bin/ld: /tmp/libsemanage-tests.HyGQxa.ltrans1.ltrans.o: in function `test_port_get_proto_str': /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_port.c:336: undefined reference to `semanage_port_get_proto_str' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_port.c:339: undefined reference to `semanage_port_get_proto_str' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_port.c:342: undefined reference to `semanage_port_get_proto_str' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_port.c:345: undefined reference to `semanage_port_get_proto_str' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_port.c:348: undefined reference to `semanage_port_get_proto_str' /usr/bin/ld: /tmp/libsemanage-tests.HyGQxa.ltrans1.ltrans.o:/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_port.c:351: more undefined references to `semanage_port_get_proto_str' follow /usr/bin/ld: /tmp/libsemanage-tests.HyGQxa.ltrans1.ltrans.o: in function `semanage_store_test_init': /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_semanage_store.c:91: undefined reference to `semanage_check_init' /usr/bin/ld: /tmp/libsemanage-tests.HyGQxa.ltrans1.ltrans.o: in function `semanage_store_test_cleanup': /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_semanage_store.c:123: undefined reference to `semanage_handle_destroy' /usr/bin/ld: /tmp/libsemanage-tests.HyGQxa.ltrans1.ltrans.o: in function `test_semanage_store_access_check': /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_semanage_store.c:170: undefined reference to `semanage_store_access_check' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_semanage_store.c:181: undefined reference to `semanage_store_access_check' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_semanage_store.c:192: undefined reference to `semanage_store_access_check' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_semanage_store.c:203: undefined reference to `semanage_store_access_check' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_semanage_store.c:214: undefined reference to `semanage_store_access_check' /usr/bin/ld: /tmp/libsemanage-tests.HyGQxa.ltrans1.ltrans.o:/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_semanage_store.c:227: more undefined references to `semanage_store_access_check' follow /usr/bin/ld: /tmp/libsemanage-tests.HyGQxa.ltrans1.ltrans.o: in function `test_semanage_get_lock': /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_semanage_store.c:263: undefined reference to `semanage_get_active_lock' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_semanage_store.c:267: undefined reference to `semanage_get_active_lock' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_semanage_store.c:271: undefined reference to `semanage_release_active_lock' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_semanage_store.c:274: undefined reference to `semanage_get_active_lock' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_semanage_store.c:278: undefined reference to `semanage_release_active_lock' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_semanage_store.c:281: undefined reference to `semanage_get_trans_lock' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_semanage_store.c:285: undefined reference to `semanage_get_trans_lock' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_semanage_store.c:289: undefined reference to `semanage_release_trans_lock' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_semanage_store.c:292: undefined reference to `semanage_get_trans_lock' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_semanage_store.c:296: undefined reference to `semanage_release_trans_lock' /usr/bin/ld: /tmp/libsemanage-tests.HyGQxa.ltrans1.ltrans.o: in function `test_semanage_nc_sort': /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_semanage_store.c:350: undefined reference to `semanage_nc_sort' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_semanage_store.c:361: undefined reference to `semanage_nc_sort' /usr/bin/ld: /tmp/libsemanage-tests.HyGQxa.ltrans1.ltrans.o: in function `test_semanage_is_prefix': /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_utilities.c:131: undefined reference to `semanage_is_prefix' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_utilities.c:132: undefined reference to `semanage_is_prefix' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_utilities.c:133: undefined reference to `semanage_is_prefix' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_utilities.c:134: undefined reference to `semanage_is_prefix' /usr/bin/ld: /tmp/libsemanage-tests.HyGQxa.ltrans1.ltrans.o: in function `test_semanage_split_on_space': /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_utilities.c:147: undefined reference to `semanage_split_on_space' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_utilities.c:153: undefined reference to `semanage_split_on_space' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_utilities.c:159: undefined reference to `semanage_split_on_space' /usr/bin/ld: /tmp/libsemanage-tests.HyGQxa.ltrans1.ltrans.o: in function `test_semanage_split': /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_utilities.c:176: undefined reference to `semanage_split' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_utilities.c:182: undefined reference to `semanage_split' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_utilities.c:188: undefined reference to `semanage_split' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_utilities.c:194: undefined reference to `semanage_split' /usr/bin/ld: /tmp/libsemanage-tests.HyGQxa.ltrans1.ltrans.o: in function `test_semanage_list': /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_utilities.c:208: undefined reference to `semanage_list_push' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_utilities.c:210: undefined reference to `semanage_list_push' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_utilities.c:211: undefined reference to `semanage_list_push' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_utilities.c:212: undefined reference to `semanage_list_push' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_utilities.c:218: undefined reference to `semanage_list_pop' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_utilities.c:220: undefined reference to `semanage_list_push' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_utilities.c:229: undefined reference to `semanage_list_sort' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_utilities.c:241: undefined reference to `semanage_list_find' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_utilities.c:243: undefined reference to `semanage_list_find' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_utilities.c:246: undefined reference to `semanage_list_destroy' /usr/bin/ld: /tmp/libsemanage-tests.HyGQxa.ltrans1.ltrans.o: in function `test_semanage_str_count': /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_utilities.c:254: undefined reference to `semanage_str_count' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_utilities.c:255: undefined reference to `semanage_str_count' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_utilities.c:256: undefined reference to `semanage_str_count' /usr/bin/ld: /tmp/libsemanage-tests.HyGQxa.ltrans1.ltrans.o: in function `test_semanage_rtrim': /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_utilities.c:265: undefined reference to `semanage_rtrim' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_utilities.c:267: undefined reference to `semanage_rtrim' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_utilities.c:269: undefined reference to `semanage_rtrim' /usr/bin/ld: /tmp/libsemanage-tests.HyGQxa.ltrans1.ltrans.o: in function `test_semanage_str_replace': /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_utilities.c:280: undefined reference to `semanage_str_replace' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_utilities.c:283: undefined reference to `semanage_str_replace' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_utilities.c:288: undefined reference to `semanage_str_replace' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_utilities.c:292: undefined reference to `semanage_str_replace' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_utilities.c:296: undefined reference to `semanage_str_replace' /usr/bin/ld: /tmp/libsemanage-tests.HyGQxa.ltrans1.ltrans.o:/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_utilities.c:299: more undefined references to `semanage_str_replace' follow /usr/bin/ld: /tmp/libsemanage-tests.HyGQxa.ltrans1.ltrans.o: in function `test_semanage_findval': /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_utilities.c:310: undefined reference to `semanage_findval' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_utilities.c:315: undefined reference to `semanage_findval' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_utilities.c:320: undefined reference to `semanage_findval' /usr/bin/ld: /tmp/libsemanage-tests.HyGQxa.ltrans1.ltrans.o: in function `test_slurp_file_filter': /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_utilities.c:340: undefined reference to `semanage_slurp_file_filter' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_utilities.c:346: undefined reference to `semanage_list_destroy' /usr/bin/ld: /tmp/libsemanage-tests.HyGQxa.ltrans1.ltrans.o: in function `helper_handle_create': /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/utilities.c:202: undefined reference to `semanage_set_root' /usr/bin/ld: /tmp/libsemanage-tests.HyGQxa.ltrans1.ltrans.o: in function `test_node_get_set_addr': /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_node.c:300: undefined reference to `semanage_node_set_addr' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_node.c:302: undefined reference to `semanage_node_get_addr' /usr/bin/ld: /tmp/libsemanage-tests.HyGQxa.ltrans1.ltrans.o: in function `test_node_get_set_addr_bytes': /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_node.c:326: undefined reference to `semanage_node_set_addr_bytes' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_node.c:328: undefined reference to `semanage_node_get_addr_bytes' /usr/bin/ld: /tmp/libsemanage-tests.HyGQxa.ltrans1.ltrans.o: in function `test_node_get_set_mask': /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_node.c:352: undefined reference to `semanage_node_set_mask' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_node.c:354: undefined reference to `semanage_node_get_mask' /usr/bin/ld: /tmp/libsemanage-tests.HyGQxa.ltrans1.ltrans.o: in function `test_node_get_set_mask_bytes': /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_node.c:378: undefined reference to `semanage_node_set_mask_bytes' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_node.c:380: undefined reference to `semanage_node_get_mask_bytes' /usr/bin/ld: /tmp/libsemanage-tests.HyGQxa.ltrans1.ltrans.o: in function `test_node_get_set_proto': /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_node.c:403: undefined reference to `semanage_node_set_proto' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_node.c:404: undefined reference to `semanage_node_get_proto' /usr/bin/ld: /tmp/libsemanage-tests.HyGQxa.ltrans1.ltrans.o: in function `test_node_get_set_con': /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_node.c:430: undefined reference to `semanage_context_from_string' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_node.c:434: undefined reference to `semanage_node_set_con' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_node.c:435: undefined reference to `semanage_node_get_con' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_node.c:436: undefined reference to `semanage_context_to_string' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_node.c:436: undefined reference to `semanage_context_to_string' /usr/bin/ld: /tmp/libsemanage-tests.HyGQxa.ltrans1.ltrans.o: in function `test_node_create': /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_node.c:454: undefined reference to `semanage_node_set_addr' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_node.c:456: undefined reference to `semanage_node_set_mask' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_node.c:458: undefined reference to `semanage_node_set_proto' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_node.c:459: undefined reference to `semanage_context_from_string' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_node.c:461: undefined reference to `semanage_node_set_con' /usr/bin/ld: /tmp/libsemanage-tests.HyGQxa.ltrans1.ltrans.o: in function `test_node_clone': /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_node.c:483: undefined reference to `semanage_node_set_addr' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_node.c:485: undefined reference to `semanage_node_set_mask' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_node.c:487: undefined reference to `semanage_node_set_proto' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_node.c:488: undefined reference to `semanage_context_from_string' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_node.c:490: undefined reference to `semanage_node_set_con' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_node.c:495: undefined reference to `semanage_node_get_addr' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_node.c:500: undefined reference to `semanage_node_get_mask' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_node.c:505: undefined reference to `semanage_node_get_proto' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_node.c:507: undefined reference to `semanage_node_get_con' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_node.c:508: undefined reference to `semanage_context_to_string' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_node.c:508: undefined reference to `semanage_context_to_string' /usr/bin/ld: /tmp/libsemanage-tests.HyGQxa.ltrans1.ltrans.o: in function `test_node_query': /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_node.c:535: undefined reference to `semanage_node_get_addr' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_node.c:536: undefined reference to `semanage_node_get_addr' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_node.c:541: undefined reference to `semanage_node_get_mask' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_node.c:542: undefined reference to `semanage_node_get_mask' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_node.c:547: undefined reference to `semanage_node_get_proto' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_node.c:547: undefined reference to `semanage_node_get_proto' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_node.c:550: undefined reference to `semanage_node_get_con' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_node.c:551: undefined reference to `semanage_node_get_con' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_node.c:552: undefined reference to `semanage_context_to_string' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_node.c:552: undefined reference to `semanage_context_to_string' /usr/bin/ld: /tmp/libsemanage-tests.HyGQxa.ltrans1.ltrans.o: in function `test_node_modify_del_query_local': /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_node.c:667: undefined reference to `semanage_node_set_addr' /usr/bin/ld: /tmp/libsemanage-tests.HyGQxa.ltrans1.ltrans.o: in function `test_node_list_local': /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_node.c:793: undefined reference to `semanage_node_list_local' /usr/bin/ld: /tmp/libsemanage-tests.HyGQxa.ltrans1.ltrans.o: in function `test_semanage_context': /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_other.c:79: undefined reference to `semanage_context_to_string' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_other.c:84: undefined reference to `semanage_context_from_string' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_other.c:91: undefined reference to `semanage_context_clone' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_other.c:98: undefined reference to `semanage_context_free' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_other.c:99: undefined reference to `semanage_context_free' /usr/bin/ld: /tmp/libsemanage-tests.HyGQxa.ltrans1.ltrans.o: in function `helper_port_get_set_proto': /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_port.c:315: undefined reference to `semanage_port_set_proto' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_port.c:316: undefined reference to `semanage_port_get_proto' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_port.c:317: undefined reference to `semanage_port_set_proto' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_port.c:318: undefined reference to `semanage_port_get_proto' /usr/bin/ld: /tmp/libsemanage-tests.HyGQxa.ltrans1.ltrans.o: in function `test_port_get_set_port': /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_port.c:366: undefined reference to `semanage_port_set_port' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_port.c:367: undefined reference to `semanage_port_get_low' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_port.c:368: undefined reference to `semanage_port_get_high' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_port.c:370: undefined reference to `semanage_port_set_range' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_port.c:371: undefined reference to `semanage_port_get_low' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_port.c:372: undefined reference to `semanage_port_get_high' /usr/bin/ld: /tmp/libsemanage-tests.HyGQxa.ltrans1.ltrans.o: in function `test_port_get_set_con': /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_port.c:391: undefined reference to `semanage_port_get_con' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_port.c:394: undefined reference to `semanage_port_set_con' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_port.c:395: undefined reference to `semanage_port_get_con' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_port.c:396: undefined reference to `semanage_context_to_string' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_port.c:396: undefined reference to `semanage_context_to_string' /usr/bin/ld: /tmp/libsemanage-tests.HyGQxa.ltrans1.ltrans.o: in function `test_port_create': /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_port.c:414: undefined reference to `semanage_port_get_low' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_port.c:415: undefined reference to `semanage_port_get_high' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_port.c:416: undefined reference to `semanage_port_get_con' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_port.c:417: undefined reference to `semanage_port_get_proto' /usr/bin/ld: /tmp/libsemanage-tests.HyGQxa.ltrans1.ltrans.o: in function `test_port_clone': /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_port.c:435: undefined reference to `semanage_port_set_range' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_port.c:436: undefined reference to `semanage_port_set_proto' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_port.c:437: undefined reference to `semanage_context_from_string' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_port.c:438: undefined reference to `semanage_port_set_con' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_port.c:442: undefined reference to `semanage_port_get_low' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_port.c:443: undefined reference to `semanage_port_get_high' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_port.c:444: undefined reference to `semanage_port_get_proto' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_port.c:446: undefined reference to `semanage_port_get_con' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_port.c:447: undefined reference to `semanage_context_to_string' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_port.c:447: undefined reference to `semanage_context_to_string' /usr/bin/ld: /tmp/libsemanage-tests.HyGQxa.ltrans1.ltrans.o: in function `test_port_query': /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_port.c:471: undefined reference to `semanage_port_get_low' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_port.c:471: undefined reference to `semanage_port_get_low' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_port.c:473: undefined reference to `semanage_port_get_high' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_port.c:473: undefined reference to `semanage_port_get_high' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_port.c:475: undefined reference to `semanage_port_get_proto' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_port.c:475: undefined reference to `semanage_port_get_proto' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_port.c:478: undefined reference to `semanage_port_get_con' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_port.c:479: undefined reference to `semanage_port_get_con' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_port.c:480: undefined reference to `semanage_context_to_string' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_port.c:480: undefined reference to `semanage_context_to_string' /usr/bin/ld: /tmp/libsemanage-tests.HyGQxa.ltrans1.ltrans.o: in function `test_port_modify_del_local': /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_port.c:585: undefined reference to `semanage_context_from_string' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_port.c:586: undefined reference to `semanage_port_set_con' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_port.c:595: undefined reference to `semanage_port_get_con' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_port.c:596: undefined reference to `semanage_context_to_string' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_port.c:596: undefined reference to `semanage_context_to_string' /usr/bin/ld: /tmp/libsemanage-tests.HyGQxa.ltrans1.ltrans.o: in function `test_port_query_local': /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_port.c:623: undefined reference to `semanage_port_get_low' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_port.c:623: undefined reference to `semanage_port_get_low' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_port.c:625: undefined reference to `semanage_port_get_high' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_port.c:625: undefined reference to `semanage_port_get_high' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_port.c:627: undefined reference to `semanage_port_get_proto' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_port.c:627: undefined reference to `semanage_port_get_proto' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_port.c:630: undefined reference to `semanage_port_get_con' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_port.c:631: undefined reference to `semanage_port_get_con' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_port.c:632: undefined reference to `semanage_context_to_string' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_port.c:632: undefined reference to `semanage_context_to_string' /usr/bin/ld: /tmp/libsemanage-tests.HyGQxa.ltrans1.ltrans.o: in function `test_port_list_local': /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_port.c:740: undefined reference to `semanage_port_list_local' /usr/bin/ld: /tmp/libsemanage-tests.HyGQxa.ltrans1.ltrans.o: in function `test_port_validate_local': /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_port.c:812: undefined reference to `semanage_port_set_range' /usr/bin/ld: /tmp/libsemanage-tests.HyGQxa.ltrans1.ltrans.o:/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_port.c:813: undefined reference to `semanage_port_set_range' /usr/bin/ld: /tmp/libsemanage-tests.HyGQxa.ltrans1.ltrans.o:/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_port.c:814: undefined reference to `semanage_port_set_proto' /usr/bin/ld: /tmp/libsemanage-tests.HyGQxa.ltrans1.ltrans.o:/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_port.c:815: undefined reference to `semanage_port_set_proto' /usr/bin/ld: /tmp/libsemanage-tests.HyGQxa.ltrans1.ltrans.o:/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_port.c:817: undefined reference to `semanage_context_from_string' /usr/bin/ld: /tmp/libsemanage-tests.HyGQxa.ltrans1.ltrans.o:/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_port.c:819: undefined reference to `semanage_context_from_string' /usr/bin/ld: /tmp/libsemanage-tests.HyGQxa.ltrans1.ltrans.o:/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_port.c:822: undefined reference to `semanage_port_set_con' /usr/bin/ld: /tmp/libsemanage-tests.HyGQxa.ltrans1.ltrans.o:/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_port.c:823: undefined reference to `semanage_port_set_con' /usr/bin/ld: /tmp/libsemanage-tests.HyGQxa.ltrans1.ltrans.o: in function `test_user_key_create': /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_user.c:244: undefined reference to `semanage_user_key_create' /usr/bin/ld: /tmp/libsemanage-tests.HyGQxa.ltrans1.ltrans.o: in function `test_user_get_set_name': /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_user.c:283: undefined reference to `semanage_user_get_name' /usr/bin/ld: /tmp/libsemanage-tests.HyGQxa.ltrans1.ltrans.o: in function `test_user_get_set_mlslevel': /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_user.c:318: undefined reference to `semanage_user_set_mlslevel' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_user.c:319: undefined reference to `semanage_user_get_mlslevel' /usr/bin/ld: /tmp/libsemanage-tests.HyGQxa.ltrans1.ltrans.o: in function `test_user_get_set_mlsrange': /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_user.c:336: undefined reference to `semanage_user_set_mlsrange' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_user.c:337: undefined reference to `semanage_user_get_mlsrange' /usr/bin/ld: /tmp/libsemanage-tests.HyGQxa.ltrans1.ltrans.o: in function `test_user_roles': /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_user.c:363: undefined reference to `semanage_user_add_role' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_user.c:369: undefined reference to `semanage_user_add_role' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_user.c:372: undefined reference to `semanage_user_get_roles' /usr/bin/ld: /tmp/libsemanage-tests.HyGQxa.ltrans1.ltrans.o: in function `test_user_create': /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_user.c:410: undefined reference to `semanage_user_set_mlslevel' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_user.c:411: undefined reference to `semanage_user_set_mlsrange' /usr/bin/ld: /tmp/libsemanage-tests.HyGQxa.ltrans1.ltrans.o: in function `test_user_clone': /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_user.c:429: undefined reference to `semanage_user_set_mlslevel' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_user.c:430: undefined reference to `semanage_user_set_mlsrange' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_user.c:434: undefined reference to `semanage_user_get_name' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_user.c:436: undefined reference to `semanage_user_get_mlslevel' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_user.c:437: undefined reference to `semanage_user_get_mlsrange' /usr/bin/ld: /tmp/libsemanage-tests.HyGQxa.ltrans1.ltrans.o: in function `test_user_query': /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_user.c:456: undefined reference to `semanage_user_query' /usr/bin/ld: /tmp/libsemanage-tests.HyGQxa.ltrans1.ltrans.o: in function `test_user_exists': /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_user.c:476: undefined reference to `semanage_user_key_create' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_user.c:479: undefined reference to `semanage_user_exists' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_user.c:481: undefined reference to `semanage_user_exists' /usr/bin/ld: /tmp/libsemanage-tests.HyGQxa.ltrans1.ltrans.o: in function `test_user_exists_local': /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_user.c:596: undefined reference to `semanage_user_key_create' /usr/bin/ld: /tmp/libsemanage-tests.HyGQxa.ltrans1.ltrans.o: in function `helper_fcontext_modify_del_local.constprop.0': /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_fcontext.c:783: undefined reference to `semanage_context_from_string' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_fcontext.c:789: undefined reference to `semanage_fcontext_set_con' /usr/bin/ld: /tmp/libsemanage-tests.HyGQxa.ltrans1.ltrans.o: in function `PREDICATE': /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_utilities.c:328: undefined reference to `semanage_is_prefix' /usr/bin/ld: /tmp/libsemanage-tests.HyGQxa.ltrans1.ltrans.o: in function `helper_handle_destroy': /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/utilities.c:219: undefined reference to `semanage_handle_destroy' collect2: error: ld returned 1 exit status make[1]: *** [Makefile:18: libsemanage-tests] Error 1 make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests' make: *** [Makefile:37: test] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.Ehm4GB (%check) ```
kloczek commented 4 years ago

Nope .. sorry above is without LTO. Despite that it fails.

kloczek commented 4 years ago

Here it is with LTO (but result is the same):

``` [tkloczko@barrel SPECS]$ rpmbuild -ba libsemanage.spec warning: Downloading https://github.com/SELinuxProject/selinux//commit/3fc08f89.patch#/libsemanage-libsemanage-update-linker-script.patch to /home/tkloczko/rpmbuild/SOURCES/libsemanage-libsemanage-update-linker-script.patch warning: Downloading https://github.com/SELinuxProject/selinux//commit/43b90524.patch#/libsemanage-libsemanage-cleanup-linker-map-file.patch to /home/tkloczko/rpmbuild/SOURCES/libsemanage-libsemanage-cleanup-linker-map-file.patch warning: Downloading https://github.com/SELinuxProject/selinux//commit/6d170a76.patch#/libsemanage-libsemanage-fix-linker-script-symbol-versions.patch to /home/tkloczko/rpmbuild/SOURCES/libsemanage-libsemanage-fix-linker-script-symbol-versions.patch warning: Downloading https://github.com/SELinuxProject/selinux//commit/5eee9122.patch#/libsemanage-libsemanage-rm-semanage_module_upgrade_info-from-map.patch to /home/tkloczko/rpmbuild/SOURCES/libsemanage-libsemanage-rm-semanage_module_upgrade_info-from-map.patch Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.KHBEHE + umask 022 + cd /home/tkloczko/rpmbuild/BUILD + cd /home/tkloczko/rpmbuild/BUILD + rm -rf libsemanage-3.0 + /usr/bin/gzip -dc /home/tkloczko/rpmbuild/SOURCES/libsemanage-3.0.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd libsemanage-3.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/libsemanage-no_static.patch + /usr/bin/patch -p2 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/libsemanage-Fix-RESOURCE_LEAK-and-USE_AFTER_FREE-cov.patch + /usr/bin/patch -p2 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/libsemanage-libsemanage-update-linker-script.patch + /usr/bin/patch -p2 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/libsemanage-libsemanage-cleanup-linker-map-file.patch + /usr/bin/patch -p2 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/libsemanage-libsemanage-fix-linker-script-symbol-versions.patch + /usr/bin/patch -p2 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/libsemanage-libsemanage-rm-semanage_module_upgrade_info-from-map.patch + /usr/bin/patch -p2 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/libsemanage-use_system_secilc_in_testsuite.patch + /usr/bin/patch -p2 -s --fuzz=0 --no-backup-if-mismatch + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.bQg6FD + umask 022 + cd /home/tkloczko/rpmbuild/BUILD + cd libsemanage-3.0 + export 'CFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os' + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os' + export 'CXXFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none' + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none' + export 'FFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules -flto=auto -flto-partition=none' + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules -flto=auto -flto-partition=none' + export 'FCFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules -flto=auto -flto-partition=none' + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules -flto=auto -flto-partition=none' + export 'LDFLAGS=-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin' + export AR=/usr/bin/gcc-ar RANLIB=/usr/bin/gcc-ranlib NM=/usr/bin/gcc-nm + AR=/usr/bin/gcc-ar + RANLIB=/usr/bin/gcc-ranlib + NM=/usr/bin/gcc-nm + export CC=gcc CXX=g++ + CC=gcc + CXX=g++ + /usr/bin/make -O -j48 V=1 VERBOSE=1 all PYTHON=/usr/bin/python3 'CFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os' LIBDIR=/usr/lib64 SHLIBDIR=lib64 /usr/bin/make -C src all make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o booleans_local.lo booleans_local.c make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o boolean_record.lo boolean_record.c make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o booleans_active.lo booleans_active.c make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o context_record.lo context_record.c make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o booleans_policy.lo booleans_policy.c make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o booleans_activedb.lo booleans_activedb.c make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o database_activedb.lo database_activedb.c make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o fcontexts_policy.lo fcontexts_policy.c make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o booleans_file.lo booleans_file.c make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o database_llist.lo database_llist.c make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o debug.lo debug.c make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o ibendport_record.lo ibendport_record.c make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o booleans_policydb.lo booleans_policydb.c make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o ibendports_policy.lo ibendports_policy.c make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o iface_record.lo iface_record.c make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o fcontexts_file.lo fcontexts_file.c make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o fcontexts_local.lo fcontexts_local.c make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o ibendports_local.lo ibendports_local.c make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o ibpkeys_file.lo ibpkeys_file.c make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o database_file.lo database_file.c make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o ibpkeys_policy.lo ibpkeys_policy.c make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o interfaces_file.lo interfaces_file.c make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o interfaces_policy.lo interfaces_policy.c make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o nodes_policy.lo nodes_policy.c make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o fcontext_record.lo fcontext_record.c make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o database.lo database.c make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o nodes_local.lo nodes_local.c make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o interfaces_local.lo interfaces_local.c make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o database_join.lo database_join.c make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o ibpkey_record.lo ibpkey_record.c make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o ibendports_file.lo ibendports_file.c make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o ibpkeys_policydb.lo ibpkeys_policydb.c make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o ibendports_policydb.lo ibendports_policydb.c make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o ibpkeys_local.lo ibpkeys_local.c make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o nodes_file.lo nodes_file.c make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o node_record.lo node_record.c make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o interfaces_policydb.lo interfaces_policydb.c make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o database_policydb.lo database_policydb.c make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o port_record.lo port_record.c make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' sed -e 's/@VERSION@/3.0/; s:@prefix@:/usr:; s:@libdir@:/usr/lib64:; s:@includedir@:/usr/include:' < libsemanage.pc.in > libsemanage.pc make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o handle.lo handle.c make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o nodes_policydb.lo nodes_policydb.c make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o policy_components.lo policy_components.c make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o parse_utils.lo parse_utils.c make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o ports_policy.lo ports_policy.c make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o ports_local.lo ports_local.c make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o ports_file.lo ports_file.c make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o seusers_policy.lo seusers_policy.c make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o seusers_file.lo seusers_file.c make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o seuser_record.lo seuser_record.c make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o ports_policydb.lo ports_policydb.c make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o user_extra_record.lo user_extra_record.c make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o users_join.lo users_join.c make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o seusers_local.lo seusers_local.c make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o user_base_record.lo user_base_record.c make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o users_policy.lo users_policy.c make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o modules.lo modules.c make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o users_extra_file.lo users_extra_file.c make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' bison -d -o conf-parse.c conf-parse.y conf-parse.y:55.1-24: warning: deprecated directive: '%name-prefix "semanage_"', use '%define api.prefix {semanage_}' [-Wdeprecated] 55 | %name-prefix "semanage_" | ^~~~~~~~~~~~~~~~~~~~~~~~ | %define api.prefix {semanage_} conf-parse.y: warning: fix-its can be applied. Rerun with option '--update'. [-Wother] make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o users_local.lo users_local.c make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o user_record.lo user_record.c make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o genhomedircon.lo genhomedircon.c make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o utilities.lo utilities.c make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o users_base_file.lo users_base_file.c make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' flex -s -o conf-scan.c conf-scan.l make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o users_base_policydb.lo users_base_policydb.c make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o direct_api.lo direct_api.c make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o conf-parse.lo conf-parse.c make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o conf-scan.lo conf-scan.c make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o semanage_store.lo semanage_store.c make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os -I../include -D_GNU_SOURCE -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -shared -o libsemanage.so.1 boolean_record.lo booleans_active.lo booleans_activedb.lo booleans_file.lo booleans_local.lo booleans_policy.lo booleans_policydb.lo context_record.lo database.lo database_activedb.lo database_file.lo database_join.lo database_llist.lo database_policydb.lo debug.lo direct_api.lo fcontext_record.lo fcontexts_file.lo fcontexts_local.lo fcontexts_policy.lo genhomedircon.lo handle.lo ibendport_record.lo ibendports_file.lo ibendports_local.lo ibendports_policy.lo ibendports_policydb.lo ibpkey_record.lo ibpkeys_file.lo ibpkeys_local.lo ibpkeys_policy.lo ibpkeys_policydb.lo iface_record.lo interfaces_file.lo interfaces_local.lo interfaces_policy.lo interfaces_policydb.lo modules.lo node_record.lo nodes_file.lo nodes_local.lo nodes_policy.lo nodes_policydb.lo parse_utils.lo policy_components.lo port_record.lo ports_file.lo ports_local.lo ports_policy.lo ports_policydb.lo semanage_store.lo seuser_record.lo seusers_file.lo seusers_local.lo seusers_policy.lo user_base_record.lo user_extra_record.lo user_record.lo users_base_file.lo users_base_policydb.lo users_extra_file.lo users_join.lo users_local.lo users_policy.lo utilities.lo conf-scan.lo conf-parse.lo -lsepol -laudit -lselinux -lbz2 -Wl,-soname,libsemanage.so.1,--version-script=libsemanage.map,-z,defs ln -sf libsemanage.so.1 libsemanage.so make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' + export 'CFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os' + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os' + export 'CXXFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none' + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none' + export 'FFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules -flto=auto -flto-partition=none' + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules -flto=auto -flto-partition=none' + export 'FCFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules -flto=auto -flto-partition=none' + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules -flto=auto -flto-partition=none' + export 'LDFLAGS=-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin' + export AR=/usr/bin/gcc-ar RANLIB=/usr/bin/gcc-ranlib NM=/usr/bin/gcc-nm + AR=/usr/bin/gcc-ar + RANLIB=/usr/bin/gcc-ranlib + NM=/usr/bin/gcc-nm + export CC=gcc CXX=g++ + CC=gcc + CXX=g++ + /usr/bin/make -O -j48 V=1 VERBOSE=1 swigify pywrap PYTHON=/usr/bin/python3 'CFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os' 'LDFLAGS=-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin' LIBDIR=/usr/lib64 SHLIBDIR=lib64 /usr/bin/make -C src swigify /usr/bin/make -C src pywrap make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' swig -Wall -python -o semanageswig_wrap.c -outdir ./ semanageswig_python.i make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' swig -Wall -python -o semanageswig_wrap.c -outdir ./ semanageswig_python.i make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os -I../include -D_GNU_SOURCE -Wno-error -Wno-unused-but-set-variable -Wno-unused-variable -Wno-shadow -Wno-unused-parameter -I/usr/include/python3.8 -fPIC -DSHARED -c -o python-3.8semanageswig_wrap.lo semanageswig_wrap.c make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os -I../include -D_GNU_SOURCE -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -L. -shared -o python-3.8_semanage.so python-3.8semanageswig_wrap.lo -lsemanage make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.ZC8CeG + umask 022 + cd /home/tkloczko/rpmbuild/BUILD + '[' /home/tkloczko/rpmbuild/BUILDROOT/libsemanage-3.0-4.2.1.fc33.x86_64 '!=' / ']' + /usr/bin/rm -rf /home/tkloczko/rpmbuild/BUILDROOT/libsemanage-3.0-4.2.1.fc33.x86_64 + /usr/bin/mkdir /home/tkloczko/rpmbuild/BUILDROOT/libsemanage-3.0-4.2.1.fc33.x86_64 + cd libsemanage-3.0 + /usr/bin/mkdir -p /home/tkloczko/rpmbuild/BUILDROOT/libsemanage-3.0-4.2.1.fc33.x86_64/var/lib/selinux/tmp + /usr/bin/make install DESTDIR=/home/tkloczko/rpmbuild/BUILDROOT/libsemanage-3.0-4.2.1.fc33.x86_64 'INSTALL=/usr/bin/install -p' install-pywrap LIBDIR=/usr/lib64 SHLIBDIR=/usr/lib64 /usr/bin/make -C include install make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/include' test -d /home/tkloczko/rpmbuild/BUILDROOT/libsemanage-3.0-4.2.1.fc33.x86_64/usr/include/semanage || install -m 755 -d /home/tkloczko/rpmbuild/BUILDROOT/libsemanage-3.0-4.2.1.fc33.x86_64/usr/include/semanage install -m 644 semanage/boolean_record.h semanage/booleans_active.h semanage/booleans_local.h semanage/booleans_policy.h semanage/context_record.h semanage/debug.h semanage/fcontext_record.h semanage/fcontexts_local.h semanage/fcontexts_policy.h semanage/handle.h semanage/ibendport_record.h semanage/ibendports_local.h semanage/ibendports_policy.h semanage/ibpkey_record.h semanage/ibpkeys_local.h semanage/ibpkeys_policy.h semanage/iface_record.h semanage/interfaces_local.h semanage/interfaces_policy.h semanage/modules.h semanage/node_record.h semanage/nodes_local.h semanage/nodes_policy.h semanage/port_record.h semanage/ports_local.h semanage/ports_policy.h semanage/semanage.h semanage/seuser_record.h semanage/seusers_local.h semanage/seusers_policy.h semanage/user_record.h semanage/users_local.h semanage/users_policy.h /home/tkloczko/rpmbuild/BUILDROOT/libsemanage-3.0-4.2.1.fc33.x86_64/usr/include/semanage make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/include' /usr/bin/make -C src install make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' test -d /home/tkloczko/rpmbuild/BUILDROOT/libsemanage-3.0-4.2.1.fc33.x86_64/usr/lib64 || install -m 755 -d /home/tkloczko/rpmbuild/BUILDROOT/libsemanage-3.0-4.2.1.fc33.x86_64/usr/lib64 install -m 755 libsemanage.so.1 /home/tkloczko/rpmbuild/BUILDROOT/libsemanage-3.0-4.2.1.fc33.x86_64/usr/lib64 test -d /home/tkloczko/rpmbuild/BUILDROOT/libsemanage-3.0-4.2.1.fc33.x86_64/usr/lib64/pkgconfig || install -m 755 -d /home/tkloczko/rpmbuild/BUILDROOT/libsemanage-3.0-4.2.1.fc33.x86_64/usr/lib64/pkgconfig install -m 644 libsemanage.pc /home/tkloczko/rpmbuild/BUILDROOT/libsemanage-3.0-4.2.1.fc33.x86_64/usr/lib64/pkgconfig test -f /home/tkloczko/rpmbuild/BUILDROOT/libsemanage-3.0-4.2.1.fc33.x86_64/etc/selinux/semanage.conf || install -m 644 -D semanage.conf /home/tkloczko/rpmbuild/BUILDROOT/libsemanage-3.0-4.2.1.fc33.x86_64/etc/selinux/semanage.conf cd /home/tkloczko/rpmbuild/BUILDROOT/libsemanage-3.0-4.2.1.fc33.x86_64/usr/lib64 && ln -sf libsemanage.so.1 libsemanage.so make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' /usr/bin/make -C man install make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/man' mkdir -p /home/tkloczko/rpmbuild/BUILDROOT/libsemanage-3.0-4.2.1.fc33.x86_64/usr/share/man/man3 mkdir -p /home/tkloczko/rpmbuild/BUILDROOT/libsemanage-3.0-4.2.1.fc33.x86_64/usr/share/man/man5 install -m 644 man3/*.3 /home/tkloczko/rpmbuild/BUILDROOT/libsemanage-3.0-4.2.1.fc33.x86_64/usr/share/man/man3 install -m 644 man5/*.5 /home/tkloczko/rpmbuild/BUILDROOT/libsemanage-3.0-4.2.1.fc33.x86_64/usr/share/man/man5 for lang in ru ; do \ if [ -e ${lang}/man3 ] ; then \ mkdir -p /home/tkloczko/rpmbuild/BUILDROOT/libsemanage-3.0-4.2.1.fc33.x86_64/usr/share/man/${lang}/man3 ; \ install -m 644 ${lang}/man3/*.3 /home/tkloczko/rpmbuild/BUILDROOT/libsemanage-3.0-4.2.1.fc33.x86_64/usr/share/man/${lang}/man3 ; \ fi ; \ if [ -e ${lang}/man5 ] ; then \ mkdir -p /home/tkloczko/rpmbuild/BUILDROOT/libsemanage-3.0-4.2.1.fc33.x86_64/usr/share/man/${lang}/man5 ; \ install -m 644 ${lang}/man5/*.5 /home/tkloczko/rpmbuild/BUILDROOT/libsemanage-3.0-4.2.1.fc33.x86_64/usr/share/man/${lang}/man5 ; \ fi ; \ done make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/man' /usr/bin/make -C utils install make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/utils' mkdir -p /home/tkloczko/rpmbuild/BUILDROOT/libsemanage-3.0-4.2.1.fc33.x86_64/usr/libexec/selinux/ install -m 755 semanage_migrate_store /home/tkloczko/rpmbuild/BUILDROOT/libsemanage-3.0-4.2.1.fc33.x86_64/usr/libexec/selinux/ make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/utils' /usr/bin/make -C src install-pywrap make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' :1: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses test -d /home/tkloczko/rpmbuild/BUILDROOT/libsemanage-3.0-4.2.1.fc33.x86_64/usr/lib64/python3.8/site-packages || install -m 755 -d /home/tkloczko/rpmbuild/BUILDROOT/libsemanage-3.0-4.2.1.fc33.x86_64/usr/lib64/python3.8/site-packages install -m 755 python-3.8_semanage.so /home/tkloczko/rpmbuild/BUILDROOT/libsemanage-3.0-4.2.1.fc33.x86_64/usr/lib64/python3.8/site-packages/_semanage.cpython-38-x86_64-linux-gnu.so install -m 644 semanage.py /home/tkloczko/rpmbuild/BUILDROOT/libsemanage-3.0-4.2.1.fc33.x86_64/usr/lib64/python3.8/site-packages make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/src' + /usr/bin/install /home/tkloczko/rpmbuild/SOURCES/semanage.conf /home/tkloczko/rpmbuild/BUILDROOT/libsemanage-3.0-4.2.1.fc33.x86_64/etc/selinux/semanage.conf + /usr/lib/rpm/find-debuginfo.sh -j48 --strict-build-id -m -i --build-id-seed 3.0-4.2.1.fc33 --unique-debug-suffix -3.0-4.2.1.fc33.x86_64 --unique-debug-src-base libsemanage-3.0-4.2.1.fc33.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0 explicitly decompress any DWARF compressed ELF sections in /home/tkloczko/rpmbuild/BUILDROOT/libsemanage-3.0-4.2.1.fc33.x86_64/usr/lib64/libsemanage.so.1 explicitly decompress any DWARF compressed ELF sections in /home/tkloczko/rpmbuild/BUILDROOT/libsemanage-3.0-4.2.1.fc33.x86_64/usr/lib64/python3.8/site-packages/_semanage.cpython-38-x86_64-linux-gnu.so extracting debug info from /home/tkloczko/rpmbuild/BUILDROOT/libsemanage-3.0-4.2.1.fc33.x86_64/usr/lib64/libsemanage.so.1 extracting debug info from /home/tkloczko/rpmbuild/BUILDROOT/libsemanage-3.0-4.2.1.fc33.x86_64/usr/lib64/python3.8/site-packages/_semanage.cpython-38-x86_64-linux-gnu.so gdb: error while loading shared libraries: libicudata.so.65: cannot open shared object file: No such file or directory gdb-add-index: gdb error generating index for /home/tkloczko/rpmbuild/BUILDROOT/libsemanage-3.0-4.2.1.fc33.x86_64/usr/lib64/python3.8/site-packages/_semanage.cpython-38-x86_64-linux-gnu.so gdb: error while loading shared libraries: libicudata.so.65: cannot open shared object file: No such file or directory gdb-add-index: gdb error generating index for /home/tkloczko/rpmbuild/BUILDROOT/libsemanage-3.0-4.2.1.fc33.x86_64/usr/lib64/libsemanage.so.1 original debug info size: 2028kB, size after compression: 1796kB /usr/lib/rpm/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. 2671 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 0 Bytecompiling .py files below /home/tkloczko/rpmbuild/BUILDROOT/libsemanage-3.0-4.2.1.fc33.x86_64/usr/lib64/python3.8 using /usr/bin/python3.8 Bytecompiling .py files below /home/tkloczko/rpmbuild/BUILDROOT/libsemanage-3.0-4.2.1.fc33.x86_64/usr/lib/debug/usr/lib64/python3.8 using /usr/bin/python3.8 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs *** WARNING: ./etc/selinux/semanage.conf is executable but has empty or no shebang, removing executable bit Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.nZmolE + umask 022 + cd /home/tkloczko/rpmbuild/BUILD + cd libsemanage-3.0 + export 'CFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os' + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os' + export 'CXXFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none' + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none' + export 'FFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules -flto=auto -flto-partition=none' + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules -flto=auto -flto-partition=none' + export 'FCFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules -flto=auto -flto-partition=none' + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules -flto=auto -flto-partition=none' + export 'LDFLAGS=-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin' + export AR=/usr/bin/gcc-ar RANLIB=/usr/bin/gcc-ranlib NM=/usr/bin/gcc-nm + AR=/usr/bin/gcc-ar + RANLIB=/usr/bin/gcc-ranlib + NM=/usr/bin/gcc-nm + export CC=gcc CXX=g++ + CC=gcc + CXX=g++ + /usr/bin/make -O -j48 V=1 VERBOSE=1 test 'CFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os' 'LDFLAGS=-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin' /usr/bin/make -C src all make[1]: Nothing to be done for 'all'. /usr/bin/make -C tests test make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests' secilc test_fcontext.cil -o test_fcontext.policy -f /dev/null make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests' secilc test_handle.cil -o test_handle.policy -f /dev/null make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests' secilc test_ibendport.cil -o test_ibendport.policy -f /dev/null make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests' secilc test_node.cil -o test_node.policy -f /dev/null make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests' secilc test_iface.cil -o test_iface.policy -f /dev/null make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests' secilc test_port.cil -o test_port.policy -f /dev/null make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests' secilc test_bool.cil -o test_bool.policy -f /dev/null make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests' secilc test_user.cil -o test_user.policy -f /dev/null make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os -I../src -I../include -c -o libsemanage-tests.o libsemanage-tests.c make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os -I../src -I../include -c -o test_utilities.o test_utilities.c make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os -I../src -I../include -c -o test_other.o test_other.c make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os -I../src -I../include -c -o test_user.o test_user.c make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os -I../src -I../include -c -o test_iface.o test_iface.c make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os -I../src -I../include -c -o test_bool.o test_bool.c make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os -I../src -I../include -c -o test_handle.o test_handle.c make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os -I../src -I../include -c -o test_ibendport.o test_ibendport.c make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os -I../src -I../include -c -o utilities.o utilities.c utilities.c: In function 'write_test_policy_from_file': utilities.c:120:2: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 120 | fread(buf, len, 1, fptr); | ^~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os -I../src -I../include -c -o test_node.o test_node.c make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os -I../src -I../include -c -o test_port.o test_port.c make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os -I../src -I../include -c -o test_fcontext.o test_fcontext.c make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os -I../src -I../include -c -o test_semanage_store.o test_semanage_store.c make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests' gcc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -o libsemanage-tests libsemanage-tests.o test_bool.o test_fcontext.o test_handle.o test_ibendport.o test_iface.o test_node.o test_other.o test_port.o test_semanage_store.o test_user.o test_utilities.o utilities.o ../src/libsemanage.so -lcunit -lbz2 -laudit -lselinux -lsepol /usr/bin/ld: libsemanage-tests.lto.o: in function `get_fcontext_key_from_str': /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_fcontext.c:270: undefined reference to `semanage_fcontext_key_create' /usr/bin/ld: libsemanage-tests.lto.o: in function `helper_root': /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_handle.c:268: undefined reference to `semanage_set_root' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_handle.c:272: undefined reference to `semanage_set_root' /usr/bin/ld: libsemanage-tests.lto.o: in function `test_node_get_proto_str': /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_node.c:414: undefined reference to `semanage_node_get_proto_str' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_node.c:416: undefined reference to `semanage_node_get_proto_str' /usr/bin/ld: libsemanage-tests.lto.o: in function `test_debug': /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_other.c:119: undefined reference to `semanage_handle_destroy' /usr/bin/ld: libsemanage-tests.lto.o: in function `test_port_get_proto_str': /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_port.c:336: undefined reference to `semanage_port_get_proto_str' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_port.c:339: undefined reference to `semanage_port_get_proto_str' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_port.c:342: undefined reference to `semanage_port_get_proto_str' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_port.c:345: undefined reference to `semanage_port_get_proto_str' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_port.c:348: undefined reference to `semanage_port_get_proto_str' /usr/bin/ld: libsemanage-tests.lto.o:/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_port.c:351: more undefined references to `semanage_port_get_proto_str' follow /usr/bin/ld: libsemanage-tests.lto.o: in function `test_semanage_store_access_check': /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_semanage_store.c:170: undefined reference to `semanage_store_access_check' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_semanage_store.c:181: undefined reference to `semanage_store_access_check' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_semanage_store.c:192: undefined reference to `semanage_store_access_check' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_semanage_store.c:203: undefined reference to `semanage_store_access_check' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_semanage_store.c:214: undefined reference to `semanage_store_access_check' /usr/bin/ld: libsemanage-tests.lto.o:/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_semanage_store.c:227: more undefined references to `semanage_store_access_check' follow /usr/bin/ld: libsemanage-tests.lto.o: in function `test_semanage_get_lock': /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_semanage_store.c:263: undefined reference to `semanage_get_active_lock' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_semanage_store.c:267: undefined reference to `semanage_get_active_lock' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_semanage_store.c:271: undefined reference to `semanage_release_active_lock' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_semanage_store.c:274: undefined reference to `semanage_get_active_lock' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_semanage_store.c:278: undefined reference to `semanage_release_active_lock' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_semanage_store.c:281: undefined reference to `semanage_get_trans_lock' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_semanage_store.c:285: undefined reference to `semanage_get_trans_lock' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_semanage_store.c:289: undefined reference to `semanage_release_trans_lock' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_semanage_store.c:292: undefined reference to `semanage_get_trans_lock' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_semanage_store.c:296: undefined reference to `semanage_release_trans_lock' /usr/bin/ld: libsemanage-tests.lto.o: in function `test_semanage_nc_sort': /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_semanage_store.c:350: undefined reference to `semanage_nc_sort' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_semanage_store.c:361: undefined reference to `semanage_nc_sort' /usr/bin/ld: libsemanage-tests.lto.o: in function `semanage_store_test_init': /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_semanage_store.c:91: undefined reference to `semanage_check_init' /usr/bin/ld: libsemanage-tests.lto.o: in function `semanage_store_test_cleanup': /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_semanage_store.c:123: undefined reference to `semanage_handle_destroy' /usr/bin/ld: libsemanage-tests.lto.o: in function `test_semanage_is_prefix': /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_utilities.c:131: undefined reference to `semanage_is_prefix' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_utilities.c:132: undefined reference to `semanage_is_prefix' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_utilities.c:133: undefined reference to `semanage_is_prefix' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_utilities.c:134: undefined reference to `semanage_is_prefix' /usr/bin/ld: libsemanage-tests.lto.o: in function `test_semanage_split_on_space': /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_utilities.c:147: undefined reference to `semanage_split_on_space' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_utilities.c:153: undefined reference to `semanage_split_on_space' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_utilities.c:159: undefined reference to `semanage_split_on_space' /usr/bin/ld: libsemanage-tests.lto.o: in function `test_semanage_split': /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_utilities.c:176: undefined reference to `semanage_split' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_utilities.c:182: undefined reference to `semanage_split' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_utilities.c:188: undefined reference to `semanage_split' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_utilities.c:194: undefined reference to `semanage_split' /usr/bin/ld: libsemanage-tests.lto.o: in function `test_semanage_list': /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_utilities.c:208: undefined reference to `semanage_list_push' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_utilities.c:210: undefined reference to `semanage_list_push' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_utilities.c:211: undefined reference to `semanage_list_push' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_utilities.c:212: undefined reference to `semanage_list_push' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_utilities.c:218: undefined reference to `semanage_list_pop' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_utilities.c:220: undefined reference to `semanage_list_push' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_utilities.c:229: undefined reference to `semanage_list_sort' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_utilities.c:241: undefined reference to `semanage_list_find' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_utilities.c:243: undefined reference to `semanage_list_find' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_utilities.c:246: undefined reference to `semanage_list_destroy' /usr/bin/ld: libsemanage-tests.lto.o: in function `test_semanage_str_count': /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_utilities.c:254: undefined reference to `semanage_str_count' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_utilities.c:255: undefined reference to `semanage_str_count' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_utilities.c:256: undefined reference to `semanage_str_count' /usr/bin/ld: libsemanage-tests.lto.o: in function `test_semanage_rtrim': /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_utilities.c:265: undefined reference to `semanage_rtrim' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_utilities.c:267: undefined reference to `semanage_rtrim' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_utilities.c:269: undefined reference to `semanage_rtrim' /usr/bin/ld: libsemanage-tests.lto.o: in function `test_semanage_str_replace': /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_utilities.c:280: undefined reference to `semanage_str_replace' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_utilities.c:283: undefined reference to `semanage_str_replace' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_utilities.c:288: undefined reference to `semanage_str_replace' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_utilities.c:292: undefined reference to `semanage_str_replace' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_utilities.c:296: undefined reference to `semanage_str_replace' /usr/bin/ld: libsemanage-tests.lto.o:/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_utilities.c:299: more undefined references to `semanage_str_replace' follow /usr/bin/ld: libsemanage-tests.lto.o: in function `test_semanage_findval': /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_utilities.c:310: undefined reference to `semanage_findval' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_utilities.c:315: undefined reference to `semanage_findval' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_utilities.c:320: undefined reference to `semanage_findval' /usr/bin/ld: libsemanage-tests.lto.o: in function `test_slurp_file_filter': /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_utilities.c:340: undefined reference to `semanage_slurp_file_filter' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_utilities.c:346: undefined reference to `semanage_list_destroy' /usr/bin/ld: libsemanage-tests.lto.o: in function `helper_handle_create': /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/utilities.c:202: undefined reference to `semanage_set_root' /usr/bin/ld: libsemanage-tests.lto.o: in function `helper_bool_modify_del_local': /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_bool.c:680: undefined reference to `semanage_bool_set_value' /usr/bin/ld: libsemanage-tests.lto.o: in function `helper_bool_query': /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_bool.c:511: undefined reference to `semanage_bool_get_name' /usr/bin/ld: libsemanage-tests.lto.o: in function `helper_bool_clone': /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_bool.c:476: undefined reference to `semanage_bool_get_name' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_bool.c:477: undefined reference to `semanage_bool_get_name' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_bool.c:481: undefined reference to `semanage_bool_get_value' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_bool.c:482: undefined reference to `semanage_bool_get_value' /usr/bin/ld: libsemanage-tests.lto.o: in function `helper_bool_create': /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_bool.c:447: undefined reference to `semanage_bool_get_name' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_bool.c:448: undefined reference to `semanage_bool_get_value' /usr/bin/ld: libsemanage-tests.lto.o: in function `helper_bool_get_set_value': /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_bool.c:421: undefined reference to `semanage_bool_set_value' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_bool.c:423: undefined reference to `semanage_bool_get_value' /usr/bin/ld: libsemanage-tests.lto.o: in function `helper_bool_get_set_name': /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_bool.c:387: undefined reference to `semanage_bool_get_name' /usr/bin/ld: libsemanage-tests.lto.o: in function `helper_fcontext_query': /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_fcontext.c:588: undefined reference to `semanage_fcontext_get_expr' /usr/bin/ld: libsemanage-tests.lto.o: in function `helper_fcontext_clone': /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_fcontext.c:545: undefined reference to `semanage_fcontext_get_expr' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_fcontext.c:546: undefined reference to `semanage_fcontext_get_expr' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_fcontext.c:549: undefined reference to `semanage_fcontext_get_type' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_fcontext.c:550: undefined reference to `semanage_fcontext_get_type' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_fcontext.c:553: undefined reference to `semanage_fcontext_get_con' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_fcontext.c:554: undefined reference to `semanage_fcontext_get_con' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_fcontext.c:555: undefined reference to `semanage_context_to_string' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_fcontext.c:555: undefined reference to `semanage_context_to_string' /usr/bin/ld: libsemanage-tests.lto.o: in function `helper_fcontext_create': /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_fcontext.c:508: undefined reference to `semanage_fcontext_get_expr' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_fcontext.c:509: undefined reference to `semanage_fcontext_get_type' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_fcontext.c:511: undefined reference to `semanage_fcontext_get_con' /usr/bin/ld: libsemanage-tests.lto.o: in function `helper_fcontext_get_set_con': /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_fcontext.c:463: undefined reference to `semanage_context_from_string' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_fcontext.c:470: undefined reference to `semanage_fcontext_set_con' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_fcontext.c:471: undefined reference to `semanage_fcontext_get_con' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_fcontext.c:474: undefined reference to `semanage_context_to_string' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_fcontext.c:474: undefined reference to `semanage_context_to_string' /usr/bin/ld: libsemanage-tests.lto.o: in function `test_fcontext_get_set_type': /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_fcontext.c:419: undefined reference to `semanage_fcontext_set_type' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_fcontext.c:420: undefined reference to `semanage_fcontext_get_type' /usr/bin/ld: libsemanage-tests.lto.o: in function `test_fcontext_get_set_expr': /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_fcontext.c:397: undefined reference to `semanage_fcontext_get_expr' /usr/bin/ld: libsemanage-tests.lto.o: in function `test_fcontext_key_create': /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_fcontext.c:346: undefined reference to `semanage_fcontext_key_create' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_fcontext.c:354: undefined reference to `semanage_fcontext_key_create' /usr/bin/ld: libsemanage-tests.lto.o: in function `test_ibendport_list_local': /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_ibendport.c:502: undefined reference to `semanage_ibendport_list_local' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_ibendport.c:509: undefined reference to `semanage_ibendport_get_ibdev_name' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_ibendport.c:511: undefined reference to `semanage_ibendport_get_con' /usr/bin/ld: libsemanage-tests.lto.o: in function `test_ibendport_query': /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_ibendport.c:180: undefined reference to `semanage_ibendport_get_ibdev_name' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_ibendport.c:182: undefined reference to `semanage_ibendport_get_ibdev_name' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_ibendport.c:188: undefined reference to `semanage_ibendport_get_port' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_ibendport.c:188: undefined reference to `semanage_ibendport_get_port' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_ibendport.c:191: undefined reference to `semanage_ibendport_get_con' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_ibendport.c:192: undefined reference to `semanage_ibendport_get_con' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_ibendport.c:195: undefined reference to `semanage_context_to_string' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_ibendport.c:195: undefined reference to `semanage_context_to_string' /usr/bin/ld: libsemanage-tests.lto.o: in function `test_ibendport_list': /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_ibendport.c:319: undefined reference to `semanage_ibendport_get_ibdev_name' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_ibendport.c:321: undefined reference to `semanage_ibendport_get_con' /usr/bin/ld: libsemanage-tests.lto.o: in function `test_iface_query': /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_iface.c:417: undefined reference to `semanage_iface_get_name' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_iface.c:417: undefined reference to `semanage_iface_get_name' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_iface.c:420: undefined reference to `semanage_iface_get_ifcon' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_iface.c:421: undefined reference to `semanage_iface_get_ifcon' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_iface.c:422: undefined reference to `semanage_context_to_string' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_iface.c:422: undefined reference to `semanage_context_to_string' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_iface.c:424: undefined reference to `semanage_iface_get_msgcon' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_iface.c:425: undefined reference to `semanage_iface_get_msgcon' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_iface.c:426: undefined reference to `semanage_context_to_string' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_iface.c:426: undefined reference to `semanage_context_to_string' /usr/bin/ld: libsemanage-tests.lto.o: in function `test_iface_get_set_msgcon': /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_iface.c:326: undefined reference to `semanage_context_from_string' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_iface.c:330: undefined reference to `semanage_iface_set_msgcon' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_iface.c:331: undefined reference to `semanage_iface_get_msgcon' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_iface.c:332: undefined reference to `semanage_context_to_string' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_iface.c:332: undefined reference to `semanage_context_to_string' /usr/bin/ld: libsemanage-tests.lto.o: in function `test_iface_get_set_ifcon': /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_iface.c:303: undefined reference to `semanage_context_from_string' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_iface.c:307: undefined reference to `semanage_iface_set_ifcon' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_iface.c:308: undefined reference to `semanage_iface_get_ifcon' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_iface.c:309: undefined reference to `semanage_context_to_string' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_iface.c:309: undefined reference to `semanage_context_to_string' /usr/bin/ld: libsemanage-tests.lto.o: in function `test_iface_get_set_name': /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_iface.c:285: undefined reference to `semanage_iface_set_name' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_iface.c:286: undefined reference to `semanage_iface_get_name' /usr/bin/ld: libsemanage-tests.lto.o: in function `test_iface_clone': /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_iface.c:377: undefined reference to `semanage_iface_set_name' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_iface.c:378: undefined reference to `semanage_context_from_string' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_iface.c:380: undefined reference to `semanage_iface_set_ifcon' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_iface.c:381: undefined reference to `semanage_context_from_string' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_iface.c:383: undefined reference to `semanage_iface_set_msgcon' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_iface.c:387: undefined reference to `semanage_iface_get_name' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_iface.c:389: undefined reference to `semanage_iface_get_ifcon' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_iface.c:390: undefined reference to `semanage_context_to_string' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_iface.c:390: undefined reference to `semanage_context_to_string' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_iface.c:392: undefined reference to `semanage_iface_get_msgcon' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_iface.c:393: undefined reference to `semanage_context_to_string' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_iface.c:393: undefined reference to `semanage_context_to_string' /usr/bin/ld: libsemanage-tests.lto.o: in function `test_iface_create': /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_iface.c:351: undefined reference to `semanage_iface_set_name' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_iface.c:352: undefined reference to `semanage_context_from_string' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_iface.c:354: undefined reference to `semanage_iface_set_ifcon' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_iface.c:355: undefined reference to `semanage_context_from_string' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_iface.c:357: undefined reference to `semanage_iface_set_msgcon' /usr/bin/ld: libsemanage-tests.lto.o: in function `test_node_list_local': /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_node.c:793: undefined reference to `semanage_node_list_local' /usr/bin/ld: libsemanage-tests.lto.o: in function `test_node_modify_del_query_local': /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_node.c:667: undefined reference to `semanage_node_set_addr' /usr/bin/ld: libsemanage-tests.lto.o: in function `test_node_query': /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_node.c:535: undefined reference to `semanage_node_get_addr' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_node.c:536: undefined reference to `semanage_node_get_addr' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_node.c:541: undefined reference to `semanage_node_get_mask' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_node.c:542: undefined reference to `semanage_node_get_mask' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_node.c:547: undefined reference to `semanage_node_get_proto' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_node.c:547: undefined reference to `semanage_node_get_proto' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_node.c:550: undefined reference to `semanage_node_get_con' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_node.c:551: undefined reference to `semanage_node_get_con' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_node.c:552: undefined reference to `semanage_context_to_string' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_node.c:552: undefined reference to `semanage_context_to_string' /usr/bin/ld: libsemanage-tests.lto.o: in function `test_node_clone': /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_node.c:483: undefined reference to `semanage_node_set_addr' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_node.c:485: undefined reference to `semanage_node_set_mask' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_node.c:487: undefined reference to `semanage_node_set_proto' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_node.c:488: undefined reference to `semanage_context_from_string' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_node.c:490: undefined reference to `semanage_node_set_con' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_node.c:495: undefined reference to `semanage_node_get_addr' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_node.c:500: undefined reference to `semanage_node_get_mask' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_node.c:505: undefined reference to `semanage_node_get_proto' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_node.c:507: undefined reference to `semanage_node_get_con' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_node.c:508: undefined reference to `semanage_context_to_string' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_node.c:508: undefined reference to `semanage_context_to_string' /usr/bin/ld: libsemanage-tests.lto.o: in function `test_node_get_set_con': /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_node.c:430: undefined reference to `semanage_context_from_string' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_node.c:434: undefined reference to `semanage_node_set_con' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_node.c:435: undefined reference to `semanage_node_get_con' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_node.c:436: undefined reference to `semanage_context_to_string' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_node.c:436: undefined reference to `semanage_context_to_string' /usr/bin/ld: libsemanage-tests.lto.o: in function `test_node_create': /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_node.c:454: undefined reference to `semanage_node_set_addr' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_node.c:456: undefined reference to `semanage_node_set_mask' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_node.c:458: undefined reference to `semanage_node_set_proto' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_node.c:459: undefined reference to `semanage_context_from_string' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_node.c:461: undefined reference to `semanage_node_set_con' /usr/bin/ld: libsemanage-tests.lto.o: in function `test_node_get_set_proto': /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_node.c:403: undefined reference to `semanage_node_set_proto' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_node.c:404: undefined reference to `semanage_node_get_proto' /usr/bin/ld: libsemanage-tests.lto.o: in function `test_node_get_set_mask_bytes': /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_node.c:378: undefined reference to `semanage_node_set_mask_bytes' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_node.c:380: undefined reference to `semanage_node_get_mask_bytes' /usr/bin/ld: libsemanage-tests.lto.o: in function `test_node_get_set_mask': /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_node.c:352: undefined reference to `semanage_node_set_mask' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_node.c:354: undefined reference to `semanage_node_get_mask' /usr/bin/ld: libsemanage-tests.lto.o: in function `test_node_get_set_addr_bytes': /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_node.c:326: undefined reference to `semanage_node_set_addr_bytes' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_node.c:328: undefined reference to `semanage_node_get_addr_bytes' /usr/bin/ld: libsemanage-tests.lto.o: in function `test_node_get_set_addr': /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_node.c:300: undefined reference to `semanage_node_set_addr' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_node.c:302: undefined reference to `semanage_node_get_addr' /usr/bin/ld: libsemanage-tests.lto.o: in function `test_semanage_context': /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_other.c:79: undefined reference to `semanage_context_to_string' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_other.c:84: undefined reference to `semanage_context_from_string' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_other.c:91: undefined reference to `semanage_context_clone' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_other.c:98: undefined reference to `semanage_context_free' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_other.c:99: undefined reference to `semanage_context_free' /usr/bin/ld: libsemanage-tests.lto.o: in function `test_port_validate_local': /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_port.c:812: undefined reference to `semanage_port_set_range' /usr/bin/ld: libsemanage-tests.lto.o:/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_port.c:813: undefined reference to `semanage_port_set_range' /usr/bin/ld: libsemanage-tests.lto.o:/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_port.c:814: undefined reference to `semanage_port_set_proto' /usr/bin/ld: libsemanage-tests.lto.o:/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_port.c:815: undefined reference to `semanage_port_set_proto' /usr/bin/ld: libsemanage-tests.lto.o:/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_port.c:817: undefined reference to `semanage_context_from_string' /usr/bin/ld: libsemanage-tests.lto.o:/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_port.c:819: undefined reference to `semanage_context_from_string' /usr/bin/ld: libsemanage-tests.lto.o:/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_port.c:822: undefined reference to `semanage_port_set_con' /usr/bin/ld: libsemanage-tests.lto.o:/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_port.c:823: undefined reference to `semanage_port_set_con' /usr/bin/ld: libsemanage-tests.lto.o: in function `helper_port_get_set_proto': /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_port.c:315: undefined reference to `semanage_port_set_proto' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_port.c:316: undefined reference to `semanage_port_get_proto' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_port.c:317: undefined reference to `semanage_port_set_proto' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_port.c:318: undefined reference to `semanage_port_get_proto' /usr/bin/ld: libsemanage-tests.lto.o: in function `test_port_list_local': /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_port.c:740: undefined reference to `semanage_port_list_local' /usr/bin/ld: libsemanage-tests.lto.o: in function `test_port_query_local': /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_port.c:623: undefined reference to `semanage_port_get_low' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_port.c:623: undefined reference to `semanage_port_get_low' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_port.c:625: undefined reference to `semanage_port_get_high' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_port.c:625: undefined reference to `semanage_port_get_high' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_port.c:627: undefined reference to `semanage_port_get_proto' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_port.c:627: undefined reference to `semanage_port_get_proto' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_port.c:630: undefined reference to `semanage_port_get_con' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_port.c:631: undefined reference to `semanage_port_get_con' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_port.c:632: undefined reference to `semanage_context_to_string' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_port.c:632: undefined reference to `semanage_context_to_string' /usr/bin/ld: libsemanage-tests.lto.o: in function `test_port_modify_del_local': /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_port.c:585: undefined reference to `semanage_context_from_string' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_port.c:586: undefined reference to `semanage_port_set_con' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_port.c:595: undefined reference to `semanage_port_get_con' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_port.c:596: undefined reference to `semanage_context_to_string' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_port.c:596: undefined reference to `semanage_context_to_string' /usr/bin/ld: libsemanage-tests.lto.o: in function `test_port_query': /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_port.c:471: undefined reference to `semanage_port_get_low' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_port.c:471: undefined reference to `semanage_port_get_low' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_port.c:473: undefined reference to `semanage_port_get_high' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_port.c:473: undefined reference to `semanage_port_get_high' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_port.c:475: undefined reference to `semanage_port_get_proto' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_port.c:475: undefined reference to `semanage_port_get_proto' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_port.c:478: undefined reference to `semanage_port_get_con' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_port.c:479: undefined reference to `semanage_port_get_con' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_port.c:480: undefined reference to `semanage_context_to_string' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_port.c:480: undefined reference to `semanage_context_to_string' /usr/bin/ld: libsemanage-tests.lto.o: in function `test_port_get_set_con': /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_port.c:391: undefined reference to `semanage_port_get_con' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_port.c:394: undefined reference to `semanage_port_set_con' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_port.c:395: undefined reference to `semanage_port_get_con' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_port.c:396: undefined reference to `semanage_context_to_string' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_port.c:396: undefined reference to `semanage_context_to_string' /usr/bin/ld: libsemanage-tests.lto.o: in function `test_port_get_set_port': /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_port.c:366: undefined reference to `semanage_port_set_port' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_port.c:367: undefined reference to `semanage_port_get_low' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_port.c:368: undefined reference to `semanage_port_get_high' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_port.c:370: undefined reference to `semanage_port_set_range' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_port.c:371: undefined reference to `semanage_port_get_low' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_port.c:372: undefined reference to `semanage_port_get_high' /usr/bin/ld: libsemanage-tests.lto.o: in function `test_port_clone': /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_port.c:435: undefined reference to `semanage_port_set_range' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_port.c:436: undefined reference to `semanage_port_set_proto' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_port.c:437: undefined reference to `semanage_context_from_string' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_port.c:438: undefined reference to `semanage_port_set_con' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_port.c:442: undefined reference to `semanage_port_get_low' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_port.c:443: undefined reference to `semanage_port_get_high' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_port.c:444: undefined reference to `semanage_port_get_proto' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_port.c:446: undefined reference to `semanage_port_get_con' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_port.c:447: undefined reference to `semanage_context_to_string' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_port.c:447: undefined reference to `semanage_context_to_string' /usr/bin/ld: libsemanage-tests.lto.o: in function `test_port_create': /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_port.c:414: undefined reference to `semanage_port_get_low' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_port.c:415: undefined reference to `semanage_port_get_high' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_port.c:416: undefined reference to `semanage_port_get_con' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_port.c:417: undefined reference to `semanage_port_get_proto' /usr/bin/ld: libsemanage-tests.lto.o: in function `test_user_exists_local': /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_user.c:596: undefined reference to `semanage_user_key_create' /usr/bin/ld: libsemanage-tests.lto.o: in function `test_user_exists': /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_user.c:476: undefined reference to `semanage_user_key_create' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_user.c:479: undefined reference to `semanage_user_exists' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_user.c:481: undefined reference to `semanage_user_exists' /usr/bin/ld: libsemanage-tests.lto.o: in function `test_user_query': /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_user.c:456: undefined reference to `semanage_user_query' /usr/bin/ld: libsemanage-tests.lto.o: in function `test_user_clone': /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_user.c:429: undefined reference to `semanage_user_set_mlslevel' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_user.c:430: undefined reference to `semanage_user_set_mlsrange' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_user.c:434: undefined reference to `semanage_user_get_name' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_user.c:436: undefined reference to `semanage_user_get_mlslevel' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_user.c:437: undefined reference to `semanage_user_get_mlsrange' /usr/bin/ld: libsemanage-tests.lto.o: in function `test_user_roles': /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_user.c:363: undefined reference to `semanage_user_add_role' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_user.c:369: undefined reference to `semanage_user_add_role' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_user.c:372: undefined reference to `semanage_user_get_roles' /usr/bin/ld: libsemanage-tests.lto.o: in function `test_user_get_set_mlsrange': /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_user.c:336: undefined reference to `semanage_user_set_mlsrange' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_user.c:337: undefined reference to `semanage_user_get_mlsrange' /usr/bin/ld: libsemanage-tests.lto.o: in function `test_user_create': /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_user.c:410: undefined reference to `semanage_user_set_mlslevel' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_user.c:411: undefined reference to `semanage_user_set_mlsrange' /usr/bin/ld: libsemanage-tests.lto.o: in function `test_user_get_set_mlslevel': /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_user.c:318: undefined reference to `semanage_user_set_mlslevel' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_user.c:319: undefined reference to `semanage_user_get_mlslevel' /usr/bin/ld: libsemanage-tests.lto.o: in function `test_user_get_set_name': /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_user.c:283: undefined reference to `semanage_user_get_name' /usr/bin/ld: libsemanage-tests.lto.o: in function `test_user_key_create': /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_user.c:244: undefined reference to `semanage_user_key_create' /usr/bin/ld: libsemanage-tests.lto.o: in function `helper_fcontext_modify_del_local.constprop.0': /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_fcontext.c:783: undefined reference to `semanage_context_from_string' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_fcontext.c:789: undefined reference to `semanage_fcontext_set_con' /usr/bin/ld: libsemanage-tests.lto.o: in function `test_access_check': /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_handle.c:176: undefined reference to `semanage_access_check' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_handle.c:183: undefined reference to `semanage_access_check' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_handle.c:188: undefined reference to `semanage_access_check' /usr/bin/ld: libsemanage-tests.lto.o: in function `test_fcontext_iterate_local': /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_fcontext.c:958: undefined reference to `semanage_fcontext_iterate_local' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_fcontext.c:960: undefined reference to `semanage_fcontext_iterate_local' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_fcontext.c:968: undefined reference to `semanage_fcontext_iterate_local' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_fcontext.c:971: undefined reference to `semanage_fcontext_iterate_local' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_fcontext.c:979: undefined reference to `semanage_fcontext_iterate_local' /usr/bin/ld: libsemanage-tests.lto.o:/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_fcontext.c:985: more undefined references to `semanage_fcontext_iterate_local' follow /usr/bin/ld: libsemanage-tests.lto.o: in function `test_handle_create': /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_handle.c:87: undefined reference to `semanage_handle_destroy' /usr/bin/ld: libsemanage-tests.lto.o: in function `PREDICATE': /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/test_utilities.c:328: undefined reference to `semanage_is_prefix' /usr/bin/ld: libsemanage-tests.lto.o: in function `helper_handle_destroy': /home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests/utilities.c:219: undefined reference to `semanage_handle_destroy' collect2: error: ld returned 1 exit status make[1]: *** [Makefile:18: libsemanage-tests] Error 1 make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.0/tests' make: *** [Makefile:37: test] Error 2 ```
stephensmalley commented 4 years ago

AFAIK, nothing has changed to decouple the unit tests from the static library. That's separate and independent of enabling LTO. I'm a little unclear on your usermod error since that symbol appears to be in the .map file and present in my own builds. There is a 3.1-rc1 release candidate at https://github.com/SELinuxProject/selinux/releases/tag/20200518 but again this does not include any change that would allow building/running the current libsemanage unit tests without the static library. There are other tests e.g. the ones over in python/semanage or policycoreutils/semodule and elsewhere that exercise the shared libsemanage.

kloczek commented 4 years ago

OK so despite statis libraries I can confirm that 3.1 rc-1 with LTO looks like libsemanage is now OK :)

PS: I really don't like current versionimng and git tagging convention because it causes some complication on packaging layer. What abouit use instead 3.1-rc1 use something like 3.0.99 and so on (many projects is using that type versiomning for devel/beta/rc/non-stable releases).

kloczek commented 2 years ago

Just back to try to build libsemanage using only shared libraries and here is my current patch which allows build libsemanage but sill fails in test siuite

--- a/libsemanage/src/Makefile~ 2019-03-15 10:32:30.000000000 +0000
+++ b/libsemanage/src/Makefile  2019-07-13 19:43:11.810422982 +0100
@@ -65,7 +65,7 @@

 SWIGRUBY = swig -Wall -ruby -o $(SWIGRUBYCOUT) -outdir ./

-all: $(LIBA) $(LIBSO) $(LIBPC)
+all: $(LIBSO) $(LIBPC)

 pywrap: all $(SWIGSO)

@@ -134,7 +134,6 @@

 install: all
        test -d $(DESTDIR)$(LIBDIR) || install -m 755 -d $(DESTDIR)$(LIBDIR)
-       install -m 644 $(LIBA) $(DESTDIR)$(LIBDIR)
        install -m 755 $(LIBSO) $(DESTDIR)$(LIBDIR)
        test -d $(DESTDIR)$(LIBDIR)/pkgconfig || install -m 755 -d $(DESTDIR)$(LIBDIR)/pkgconfig
        install -m 644 $(LIBPC) $(DESTDIR)$(LIBDIR)/pkgconfig
@@ -155,7 +154,7 @@
        /sbin/restorecon $(DESTDIR)$(LIBDIR)/$(LIBSO)

 clean:
-       -rm -f $(LIBPC) $(OBJS) $(LOBJS) $(LIBA) $(LIBSO) $(SWIGLOBJ) $(SWIGSO) $(SWIGRUBYSO) $(TARGET) conf-parse.c conf-parse.h conf-scan.c *.o *.lo *~
+       -rm -f $(LIBPC) $(OBJS) $(LOBJS) $(LIBSO) $(SWIGLOBJ) $(SWIGSO) $(SWIGRUBYSO) $(TARGET) conf-parse.c conf-parse.h conf-scan.c *.o *.lo *~

 distclean: clean
        rm -f $(GENERATED) $(SWIGFILES)
--- a/libsemanage/tests/Makefile~       2019-11-28 12:46:48.000000000 +0000
+++ b/libsemanage/tests/Makefile        2020-02-22 21:50:19.645095244 +0000
@@ -14,7 +14,7 @@

 all: $(EXECUTABLE) $(POLICIES)

-$(EXECUTABLE): $(OBJECTS) ../src/libsemanage.a
+$(EXECUTABLE): $(OBJECTS) ../src/libsemanage.so
        $(CC) $(LDFLAGS) -o $@ $^ $(LDLIBS)

 %.policy: %.cil
@@ -24,5 +24,5 @@
        rm -rf $(OBJECTS) $(POLICIES) $(EXECUTABLE)

 test: all
-       ./$(EXECUTABLE)
+       LD_LIBRARY_PATH=../srs ./$(EXECUTABLE)

Second patch is to use system secil:

--- a/libsemanage/tests/Makefile~       2020-05-18 15:04:21.000000000 +0100
+++ b/libsemanage/tests/Makefile        2020-05-18 15:06:35.984312988 +0100
@@ -18,7 +18,7 @@
        $(CC) $(LDFLAGS) -o $@ $^ $(LDLIBS)

 %.policy: %.cil
-       ../../secilc/secilc $*.cil -o $*.policy -f /dev/null
+       secilc $*.cil -o $*.policy -f /dev/null

 clean distclean:
        rm -rf $(OBJECTS) $(POLICIES) $(EXECUTABLE)

With both patches test suite fails on:

``` + /usr/bin/make -O -j12 V=1 VERBOSE=1 test 'CFLAGS=-O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os' 'LDFLAGS=-Wl,-z,relro -Wl,--as-needed -Wl,--gc-sections -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin' /usr/bin/make -C src all make[1]: Nothing to be done for 'all'. /usr/bin/make -C tests test make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.3/tests' /usr/bin/gcc -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -I../src -I../include -c -o libsemanage-tests.o libsemanage-tests.c make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.3/tests' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.3/tests' /usr/bin/gcc -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -I../src -I../include -c -o test_other.o test_other.c make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.3/tests' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.3/tests' /usr/bin/gcc -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -I../src -I../include -c -o test_handle.o test_handle.c make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.3/tests' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.3/tests' /usr/bin/gcc -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -I../src -I../include -c -o test_ibendport.o test_ibendport.c make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.3/tests' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.3/tests' /usr/bin/gcc -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -I../src -I../include -c -o test_iface.o test_iface.c make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.3/tests' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.3/tests' secilc test_bool.cil -o test_bool.policy -f /dev/null make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.3/tests' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.3/tests' secilc test_fcontext.cil -o test_fcontext.policy -f /dev/null make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.3/tests' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.3/tests' /usr/bin/gcc -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -I../src -I../include -c -o test_node.o test_node.c make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.3/tests' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.3/tests' /usr/bin/gcc -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -I../src -I../include -c -o test_bool.o test_bool.c make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.3/tests' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.3/tests' /usr/bin/gcc -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -I../src -I../include -c -o test_user.o test_user.c make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.3/tests' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.3/tests' /usr/bin/gcc -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -I../src -I../include -c -o test_utilities.o test_utilities.c make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.3/tests' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.3/tests' secilc test_handle.cil -o test_handle.policy -f /dev/null make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.3/tests' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.3/tests' /usr/bin/gcc -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -I../src -I../include -c -o test_semanage_store.o test_semanage_store.c make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.3/tests' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.3/tests' /usr/bin/gcc -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -I../src -I../include -c -o test_port.o test_port.c make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.3/tests' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.3/tests' /usr/bin/gcc -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -I../src -I../include -c -o test_fcontext.o test_fcontext.c make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.3/tests' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.3/tests' secilc test_iface.cil -o test_iface.policy -f /dev/null make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.3/tests' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.3/tests' secilc test_ibendport.cil -o test_ibendport.policy -f /dev/null make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.3/tests' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.3/tests' secilc test_user.cil -o test_user.policy -f /dev/null make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.3/tests' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.3/tests' secilc test_port.cil -o test_port.policy -f /dev/null make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.3/tests' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.3/tests' secilc test_node.cil -o test_node.policy -f /dev/null make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.3/tests' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.3/tests' /usr/bin/gcc -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -I../src -I../include -c -o utilities.o utilities.c utilities.c: In function 'write_test_policy_from_file': utilities.c:120:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 120 | fread(buf, len, 1, fptr); | ^~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.3/tests' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.3/tests' /usr/bin/gcc -Wl,-z,relro -Wl,--as-needed -Wl,--gc-sections -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -o libsemanage-tests libsemanage-tests.o test_bool.o test_fcontext.o test_handle.o test_ibendport.o test_iface.o test_node.o test_other.o test_port.o test_semanage_store.o test_user.o test_utilities.o utilities.o ../src/libsemanage.so -lcunit -lbz2 -laudit -lselinux -lsepol /usr/bin/ld: /tmp/ccrzRCWf.lto.o: in function `test_semanage_store_access_check': /home/tkloczko/rpmbuild/BUILD/libsemanage-3.3/tests/test_semanage_store.c:170: undefined reference to `semanage_store_access_check' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.3/tests/test_semanage_store.c:181: undefined reference to `semanage_store_access_check' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.3/tests/test_semanage_store.c:192: undefined reference to `semanage_store_access_check' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.3/tests/test_semanage_store.c:203: undefined reference to `semanage_store_access_check' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.3/tests/test_semanage_store.c:214: undefined reference to `semanage_store_access_check' /usr/bin/ld: /tmp/ccrzRCWf.lto.o:/home/tkloczko/rpmbuild/BUILD/libsemanage-3.3/tests/test_semanage_store.c:227: more undefined references to `semanage_store_access_check' follow /usr/bin/ld: /tmp/ccrzRCWf.lto.o: in function `test_semanage_get_lock': /home/tkloczko/rpmbuild/BUILD/libsemanage-3.3/tests/test_semanage_store.c:263: undefined reference to `semanage_get_active_lock' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.3/tests/test_semanage_store.c:267: undefined reference to `semanage_get_active_lock' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.3/tests/test_semanage_store.c:271: undefined reference to `semanage_release_active_lock' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.3/tests/test_semanage_store.c:274: undefined reference to `semanage_get_active_lock' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.3/tests/test_semanage_store.c:278: undefined reference to `semanage_release_active_lock' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.3/tests/test_semanage_store.c:281: undefined reference to `semanage_get_trans_lock' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.3/tests/test_semanage_store.c:285: undefined reference to `semanage_get_trans_lock' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.3/tests/test_semanage_store.c:289: undefined reference to `semanage_release_trans_lock' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.3/tests/test_semanage_store.c:292: undefined reference to `semanage_get_trans_lock' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.3/tests/test_semanage_store.c:296: undefined reference to `semanage_release_trans_lock' /usr/bin/ld: /tmp/ccrzRCWf.lto.o: in function `test_semanage_nc_sort': /home/tkloczko/rpmbuild/BUILD/libsemanage-3.3/tests/test_semanage_store.c:350: undefined reference to `semanage_nc_sort' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.3/tests/test_semanage_store.c:361: undefined reference to `semanage_nc_sort' /usr/bin/ld: /tmp/ccrzRCWf.lto.o: in function `semanage_store_test_init': /home/tkloczko/rpmbuild/BUILD/libsemanage-3.3/tests/test_semanage_store.c:91: undefined reference to `semanage_check_init' /usr/bin/ld: /tmp/ccrzRCWf.lto.o: in function `test_semanage_is_prefix': /home/tkloczko/rpmbuild/BUILD/libsemanage-3.3/tests/test_utilities.c:131: undefined reference to `semanage_is_prefix' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.3/tests/test_utilities.c:132: undefined reference to `semanage_is_prefix' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.3/tests/test_utilities.c:133: undefined reference to `semanage_is_prefix' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.3/tests/test_utilities.c:134: undefined reference to `semanage_is_prefix' /usr/bin/ld: /tmp/ccrzRCWf.lto.o: in function `test_semanage_split_on_space': /home/tkloczko/rpmbuild/BUILD/libsemanage-3.3/tests/test_utilities.c:147: undefined reference to `semanage_split_on_space' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.3/tests/test_utilities.c:153: undefined reference to `semanage_split_on_space' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.3/tests/test_utilities.c:159: undefined reference to `semanage_split_on_space' /usr/bin/ld: /tmp/ccrzRCWf.lto.o: in function `test_semanage_split': /home/tkloczko/rpmbuild/BUILD/libsemanage-3.3/tests/test_utilities.c:176: undefined reference to `semanage_split' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.3/tests/test_utilities.c:182: undefined reference to `semanage_split' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.3/tests/test_utilities.c:188: undefined reference to `semanage_split' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.3/tests/test_utilities.c:194: undefined reference to `semanage_split' /usr/bin/ld: /tmp/ccrzRCWf.lto.o: in function `test_semanage_list': /home/tkloczko/rpmbuild/BUILD/libsemanage-3.3/tests/test_utilities.c:208: undefined reference to `semanage_list_push' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.3/tests/test_utilities.c:210: undefined reference to `semanage_list_push' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.3/tests/test_utilities.c:211: undefined reference to `semanage_list_push' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.3/tests/test_utilities.c:212: undefined reference to `semanage_list_push' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.3/tests/test_utilities.c:218: undefined reference to `semanage_list_pop' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.3/tests/test_utilities.c:220: undefined reference to `semanage_list_push' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.3/tests/test_utilities.c:229: undefined reference to `semanage_list_sort' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.3/tests/test_utilities.c:241: undefined reference to `semanage_list_find' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.3/tests/test_utilities.c:243: undefined reference to `semanage_list_find' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.3/tests/test_utilities.c:246: undefined reference to `semanage_list_destroy' /usr/bin/ld: /tmp/ccrzRCWf.lto.o: in function `test_semanage_str_count': /home/tkloczko/rpmbuild/BUILD/libsemanage-3.3/tests/test_utilities.c:254: undefined reference to `semanage_str_count' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.3/tests/test_utilities.c:255: undefined reference to `semanage_str_count' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.3/tests/test_utilities.c:256: undefined reference to `semanage_str_count' /usr/bin/ld: /tmp/ccrzRCWf.lto.o: in function `test_semanage_rtrim': /home/tkloczko/rpmbuild/BUILD/libsemanage-3.3/tests/test_utilities.c:265: undefined reference to `semanage_rtrim' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.3/tests/test_utilities.c:267: undefined reference to `semanage_rtrim' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.3/tests/test_utilities.c:269: undefined reference to `semanage_rtrim' /usr/bin/ld: /tmp/ccrzRCWf.lto.o: in function `test_semanage_str_replace': /home/tkloczko/rpmbuild/BUILD/libsemanage-3.3/tests/test_utilities.c:280: undefined reference to `semanage_str_replace' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.3/tests/test_utilities.c:283: undefined reference to `semanage_str_replace' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.3/tests/test_utilities.c:288: undefined reference to `semanage_str_replace' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.3/tests/test_utilities.c:292: undefined reference to `semanage_str_replace' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.3/tests/test_utilities.c:296: undefined reference to `semanage_str_replace' /usr/bin/ld: /tmp/ccrzRCWf.lto.o:/home/tkloczko/rpmbuild/BUILD/libsemanage-3.3/tests/test_utilities.c:299: more undefined references to `semanage_str_replace' follow /usr/bin/ld: /tmp/ccrzRCWf.lto.o: in function `test_semanage_findval': /home/tkloczko/rpmbuild/BUILD/libsemanage-3.3/tests/test_utilities.c:310: undefined reference to `semanage_findval' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.3/tests/test_utilities.c:315: undefined reference to `semanage_findval' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.3/tests/test_utilities.c:320: undefined reference to `semanage_findval' /usr/bin/ld: /tmp/ccrzRCWf.lto.o: in function `test_slurp_file_filter': /home/tkloczko/rpmbuild/BUILD/libsemanage-3.3/tests/test_utilities.c:340: undefined reference to `semanage_slurp_file_filter' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libsemanage-3.3/tests/test_utilities.c:346: undefined reference to `semanage_list_destroy' /usr/bin/ld: /tmp/ccrzRCWf.lto.o: in function `PREDICATE': /home/tkloczko/rpmbuild/BUILD/libsemanage-3.3/tests/test_utilities.c:328: undefined reference to `semanage_is_prefix' collect2: error: ld returned 1 exit status make[1]: *** [Makefile:18: libsemanage-tests] Error 1 make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libsemanage-3.3/tests' make: *** [Makefile:37: test] Error 2 ```