Closed kloczek closed 3 years ago
[tkloczko@barrel x86_64-redhat-linux-gnu]$ make /usr/bin/cmake -S/home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps -B/home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/x86_64-redhat-linux-gnu --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/x86_64-redhat-linux-gnu/CMakeFiles /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/x86_64-redhat-linux-gnu/CMakeFiles/progress.marks make -f CMakeFiles/Makefile2 all make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/x86_64-redhat-linux-gnu' make -f src/CMakeFiles/src-copy.dir/build.make src/CMakeFiles/src-copy.dir/depend make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/x86_64-redhat-linux-gnu' cd /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/x86_64-redhat-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/src /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/x86_64-redhat-linux-gnu /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/x86_64-redhat-linux-gnu/src /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/x86_64-redhat-linux-gnu/src/CMakeFiles/src-copy.dir/DependInfo.cmake --color= make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/x86_64-redhat-linux-gnu' make -f src/CMakeFiles/src-copy.dir/build.make src/CMakeFiles/src-copy.dir/build make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/x86_64-redhat-linux-gnu' cd /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/x86_64-redhat-linux-gnu/src && /usr/bin/cmake -E copy /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/src/comps_bradix.h /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/src/libcomps/ cd /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/x86_64-redhat-linux-gnu/src && /usr/bin/cmake -E copy /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/src/comps_default.h /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/src/libcomps/ cd /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/x86_64-redhat-linux-gnu/src && /usr/bin/cmake -E copy /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/src/comps_dict.h /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/src/libcomps/ cd /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/x86_64-redhat-linux-gnu/src && /usr/bin/cmake -E copy /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/src/comps_doc.h /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/src/libcomps/ cd /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/x86_64-redhat-linux-gnu/src && /usr/bin/cmake -E copy /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/src/comps_doccategory.h /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/src/libcomps/ cd /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/x86_64-redhat-linux-gnu/src && /usr/bin/cmake -E copy /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/src/comps_docenv.h /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/src/libcomps/ cd /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/x86_64-redhat-linux-gnu/src && /usr/bin/cmake -E copy /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/src/comps_docgroup.h /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/src/libcomps/ cd /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/x86_64-redhat-linux-gnu/src && /usr/bin/cmake -E copy /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/src/comps_docgroupid.h /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/src/libcomps/ cd /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/x86_64-redhat-linux-gnu/src && /usr/bin/cmake -E copy /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/src/comps_docpackage.h /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/src/libcomps/ cd /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/x86_64-redhat-linux-gnu/src && /usr/bin/cmake -E copy /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/src/comps_elem.h /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/src/libcomps/ cd /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/x86_64-redhat-linux-gnu/src && /usr/bin/cmake -E copy /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/src/comps_hslist.h /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/src/libcomps/ cd /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/x86_64-redhat-linux-gnu/src && /usr/bin/cmake -E copy /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/src/comps_log.h /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/src/libcomps/ cd /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/x86_64-redhat-linux-gnu/src && /usr/bin/cmake -E copy /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/src/comps_log_codes.h /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/src/libcomps/ cd /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/x86_64-redhat-linux-gnu/src && /usr/bin/cmake -E copy /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/src/comps_mm.h /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/src/libcomps/ cd /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/x86_64-redhat-linux-gnu/src && /usr/bin/cmake -E copy /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/src/comps_mradix.h /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/src/libcomps/ cd /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/x86_64-redhat-linux-gnu/src && /usr/bin/cmake -E copy /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/src/comps_obj.h /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/src/libcomps/ cd /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/x86_64-redhat-linux-gnu/src && /usr/bin/cmake -E copy /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/src/comps_objdict.h /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/src/libcomps/ cd /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/x86_64-redhat-linux-gnu/src && /usr/bin/cmake -E copy /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/src/comps_objlist.h /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/src/libcomps/ cd /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/x86_64-redhat-linux-gnu/src && /usr/bin/cmake -E copy /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/src/comps_objmradix.h /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/src/libcomps/ cd /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/x86_64-redhat-linux-gnu/src && /usr/bin/cmake -E copy /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/src/comps_objradix.h /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/src/libcomps/ cd /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/x86_64-redhat-linux-gnu/src && /usr/bin/cmake -E copy /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/src/comps_parse.h /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/src/libcomps/ cd /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/x86_64-redhat-linux-gnu/src && /usr/bin/cmake -E copy /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/src/comps_radix.h /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/src/libcomps/ cd /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/x86_64-redhat-linux-gnu/src && /usr/bin/cmake -E copy /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/src/comps_set.h /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/src/libcomps/ cd /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/x86_64-redhat-linux-gnu/src && /usr/bin/cmake -E copy /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/src/comps_types.h /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/src/libcomps/ cd /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/x86_64-redhat-linux-gnu/src && /usr/bin/cmake -E copy /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/src/comps_utils.h /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/src/libcomps/ cd /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/x86_64-redhat-linux-gnu/src && /usr/bin/cmake -E copy /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/src/comps_validate.h /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/src/libcomps/ make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/x86_64-redhat-linux-gnu' [ 0%] Built target src-copy make -f src/CMakeFiles/libcomps.dir/build.make src/CMakeFiles/libcomps.dir/depend make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/x86_64-redhat-linux-gnu' cd /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/x86_64-redhat-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/src /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/x86_64-redhat-linux-gnu /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/x86_64-redhat-linux-gnu/src /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/x86_64-redhat-linux-gnu/src/CMakeFiles/libcomps.dir/DependInfo.cmake --color= make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/x86_64-redhat-linux-gnu' make -f src/CMakeFiles/libcomps.dir/build.make src/CMakeFiles/libcomps.dir/build make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/x86_64-redhat-linux-gnu' make[2]: Nothing to be done for 'src/CMakeFiles/libcomps.dir/build'. make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/x86_64-redhat-linux-gnu' [ 48%] Built target libcomps make -f src/python/src/CMakeFiles/pycomps.dir/build.make src/python/src/CMakeFiles/pycomps.dir/depend make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/x86_64-redhat-linux-gnu' cd /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/x86_64-redhat-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/src/python/src /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/x86_64-redhat-linux-gnu /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/x86_64-redhat-linux-gnu/src/python/src /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/x86_64-redhat-linux-gnu/src/python/src/CMakeFiles/pycomps.dir/DependInfo.cmake --color= Scanning dependencies of target pycomps make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/x86_64-redhat-linux-gnu' make -f src/python/src/CMakeFiles/pycomps.dir/build.make src/python/src/CMakeFiles/pycomps.dir/build make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/x86_64-redhat-linux-gnu' [ 50%] Building C object src/python/src/CMakeFiles/pycomps.dir/pycomps.c.o cd /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/x86_64-redhat-linux-gnu/src/python/src && /usr/bin/gcc -Dpycomps_EXPORTS -I/home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/x86_64-redhat-linux-gnu -I/home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/src -I/usr/include/libxml2 -I/usr/include/python3.8 -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 --pedantic -std=c99 -Wall -Wextra -g -Wno-missing-field-initializers -O2 -fno-strict-aliasing -g -DNDEBUG -fPIC -o CMakeFiles/pycomps.dir/pycomps.c.o -c /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/src/python/src/pycomps.c In file included from /usr/include/python3.8/Python.h:85, from /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/src/python/src/pycomps_23macros.h:25, from /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/src/python/src/pycomps.c:28: /usr/include/python3.8/pytime.h:153:60: warning: ‘struct timespec’ declared inside parameter list will not be visible outside of this definition or declaration 153 | PyAPI_FUNC(int) _PyTime_FromTimespec(_PyTime_t *tp, struct timespec *ts); | ^~~~~~~~ /usr/include/python3.8/pytime.h:158:56: warning: ‘struct timespec’ declared inside parameter list will not be visible outside of this definition or declaration 158 | PyAPI_FUNC(int) _PyTime_AsTimespec(_PyTime_t t, struct timespec *ts); | ^~~~~~~~ /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/src/python/src/pycomps.c:767:22: warning: cast between incompatible function types from ‘PyObject * (*)(PyObject *, PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *, struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type] 767 | {"groups_match", (PyCFunction)PyCOMPS_groups_match, METH_VARARGS | METH_KEYWORDS, | ^ /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/src/python/src/pycomps.c:769:26: warning: cast between incompatible function types from ‘PyObject * (*)(PyObject *, PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *, struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type] 769 | {"categories_match", (PyCFunction)PyCOMPS_categories_match, METH_VARARGS | METH_KEYWORDS, | ^ /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/src/python/src/pycomps.c:771:28: warning: cast between incompatible function types from ‘PyObject * (*)(PyObject *, PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *, struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type] 771 | {"environments_match", (PyCFunction)PyCOMPS_envs_match, METH_VARARGS | METH_KEYWORDS, | ^ /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/src/python/src/pycomps.c:773:18: warning: cast between incompatible function types from ‘PyObject * (*)(PyCOMPS *)’ {aka ‘struct _object * (*)(PyCOMPS *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type] 773 | {"validate", (PyCFunction)PyCOMPS_validate, METH_NOARGS, | ^ /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/src/python/src/pycomps.c:775:21: warning: cast between incompatible function types from ‘PyObject * (*)(PyCOMPS *)’ {aka ‘struct _object * (*)(PyCOMPS *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type] 775 | {"validate_nf", (PyCFunction)PyCOMPS_validate_nf, METH_NOARGS, | ^ /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/src/python/src/pycomps.c:777:15: warning: cast between incompatible function types from ‘PyObject * (*)(PyObject *, PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *, struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type] 777 | {"xml_f", (PyCFunction)PyCOMPS_toxml_f, METH_VARARGS | METH_KEYWORDS, | ^ /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/src/python/src/pycomps.c:779:17: warning: cast between incompatible function types from ‘PyObject * (*)(PyObject *, PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *, struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type] 779 | {"xml_str", (PyCFunction)PyCOMPS_toxml_str, METH_VARARGS | METH_KEYWORDS, | ^ /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/src/python/src/pycomps.c:781:17: warning: cast between incompatible function types from ‘PyObject * (*)(PyObject *, PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *, struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type] 781 | {"toxml_f", (PyCFunction)PyCOMPS_toxml_f, METH_VARARGS | METH_KEYWORDS, | ^ /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/src/python/src/pycomps.c:783:19: warning: cast between incompatible function types from ‘PyObject * (*)(PyObject *, PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *, struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type] 783 | {"toxml_str", (PyCFunction)PyCOMPS_toxml_str, METH_VARARGS | METH_KEYWORDS, | ^ /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/src/python/src/pycomps.c:785:19: warning: cast between incompatible function types from ‘PyObject * (*)(PyObject *, PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *, struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type] 785 | {"fromxml_f", (PyCFunction)PyCOMPS_fromxml_f, METH_VARARGS | METH_KEYWORDS, | ^ /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/src/python/src/pycomps.c:787:21: warning: cast between incompatible function types from ‘PyObject * (*)(PyObject *, PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *, struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type] 787 | {"fromxml_str", (PyCFunction)PyCOMPS_fromxml_str, METH_VARARGS | METH_KEYWORDS, | ^ /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/src/python/src/pycomps.c:789:15: warning: cast between incompatible function types from ‘PyObject * (*)(PyObject *)’ {aka ‘struct _object * (*)(struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type] 789 | {"clear", (PyCFunction)PyCOMPS_clear, METH_NOARGS, | ^ /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/src/python/src/pycomps.c:970:33: warning: cast between incompatible function types from ‘PyObject * (*)(PyObject *)’ {aka ‘struct _object * (*)(struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type] 970 | {"get_xml_default_options", (PyCFunction)Libcomps_xml_default, METH_NOARGS, | ^ [ 51%] Building C object src/python/src/CMakeFiles/pycomps.dir/pycomps_sequence.c.o cd /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/x86_64-redhat-linux-gnu/src/python/src && /usr/bin/gcc -Dpycomps_EXPORTS -I/home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/x86_64-redhat-linux-gnu -I/home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/src -I/usr/include/libxml2 -I/usr/include/python3.8 -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 --pedantic -std=c99 -Wall -Wextra -g -Wno-missing-field-initializers -O2 -fno-strict-aliasing -g -DNDEBUG -fPIC -o CMakeFiles/pycomps.dir/pycomps_sequence.c.o -c /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/src/python/src/pycomps_sequence.c In file included from /usr/include/python3.8/Python.h:85, from /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/src/python/src/pycomps_23macros.h:25, from /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/src/python/src/pycomps_sequence.h:23, from /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/src/python/src/pycomps_sequence.c:20: /usr/include/python3.8/pytime.h:153:60: warning: ‘struct timespec’ declared inside parameter list will not be visible outside of this definition or declaration 153 | PyAPI_FUNC(int) _PyTime_FromTimespec(_PyTime_t *tp, struct timespec *ts); | ^~~~~~~~ /usr/include/python3.8/pytime.h:158:56: warning: ‘struct timespec’ declared inside parameter list will not be visible outside of this definition or declaration 158 | PyAPI_FUNC(int) _PyTime_AsTimespec(_PyTime_t t, struct timespec *ts); | ^~~~~~~~ /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/src/python/src/pycomps_sequence.c:644:16: warning: cast between incompatible function types from ‘PyObject * (*)(PyObject *)’ {aka ‘struct _object * (*)(struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type] 644 | {"clear", (PyCFunction)PyCOMPSSeq_clear, METH_NOARGS, | ^ /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/src/python/src/pycomps_sequence.c:658:5: warning: initialization of ‘long int’ from ‘int (*)(PyObject *, FILE *, int)’ {aka ‘int (*)(struct _object *, FILE *, int)’} makes integer from pointer without a cast [-Wint-conversion] 658 | PyCOMPSSeq_print, /*tp_print*/ | ^~~~~~~~~~~~~~~~ /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/src/python/src/pycomps_sequence.c:658:5: note: (near initialization for ‘PyCOMPS_SeqType.tp_vectorcall_offset’) [ 53%] Building C object src/python/src/CMakeFiles/pycomps.dir/pycomps_envs.c.o cd /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/x86_64-redhat-linux-gnu/src/python/src && /usr/bin/gcc -Dpycomps_EXPORTS -I/home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/x86_64-redhat-linux-gnu -I/home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/src -I/usr/include/libxml2 -I/usr/include/python3.8 -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 --pedantic -std=c99 -Wall -Wextra -g -Wno-missing-field-initializers -O2 -fno-strict-aliasing -g -DNDEBUG -fPIC -o CMakeFiles/pycomps.dir/pycomps_envs.c.o -c /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/src/python/src/pycomps_envs.c In file included from /usr/include/python3.8/Python.h:85, from /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/src/python/src/pycomps_23macros.h:25, from /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/src/python/src/pycomps_envs.c:20: /usr/include/python3.8/pytime.h:153:60: warning: ‘struct timespec’ declared inside parameter list will not be visible outside of this definition or declaration 153 | PyAPI_FUNC(int) _PyTime_FromTimespec(_PyTime_t *tp, struct timespec *ts); | ^~~~~~~~ /usr/include/python3.8/pytime.h:158:56: warning: ‘struct timespec’ declared inside parameter list will not be visible outside of this definition or declaration 158 | PyAPI_FUNC(int) _PyTime_AsTimespec(_PyTime_t t, struct timespec *ts); | ^~~~~~~~ /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/src/python/src/pycomps_envs.c:261:18: warning: cast between incompatible function types from ‘PyObject * (*)(PyCOMPS_Env *)’ {aka ‘struct _object * (*)(PyCOMPS_Env *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type] 261 | {"validate", (PyCFunction)PyCOMPSEnv_validate, METH_NOARGS, | ^ [ 55%] Building C object src/python/src/CMakeFiles/pycomps.dir/pycomps_categories.c.o cd /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/x86_64-redhat-linux-gnu/src/python/src && /usr/bin/gcc -Dpycomps_EXPORTS -I/home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/x86_64-redhat-linux-gnu -I/home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/src -I/usr/include/libxml2 -I/usr/include/python3.8 -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 --pedantic -std=c99 -Wall -Wextra -g -Wno-missing-field-initializers -O2 -fno-strict-aliasing -g -DNDEBUG -fPIC -o CMakeFiles/pycomps.dir/pycomps_categories.c.o -c /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/src/python/src/pycomps_categories.c In file included from /usr/include/python3.8/Python.h:85, from /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/src/python/src/pycomps_23macros.h:25, from /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/src/python/src/pycomps_categories.h:23, from /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/src/python/src/pycomps_categories.c:20: /usr/include/python3.8/pytime.h:153:60: warning: ‘struct timespec’ declared inside parameter list will not be visible outside of this definition or declaration 153 | PyAPI_FUNC(int) _PyTime_FromTimespec(_PyTime_t *tp, struct timespec *ts); | ^~~~~~~~ /usr/include/python3.8/pytime.h:158:56: warning: ‘struct timespec’ declared inside parameter list will not be visible outside of this definition or declaration 158 | PyAPI_FUNC(int) _PyTime_AsTimespec(_PyTime_t t, struct timespec *ts); | ^~~~~~~~ /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/src/python/src/pycomps_categories.c:281:18: warning: cast between incompatible function types from ‘PyObject * (*)(PyCOMPS_Category *)’ {aka ‘struct _object * (*)(PyCOMPS_Category *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type] 281 | {"validate", (PyCFunction)PyCOMPSCat_validate, METH_NOARGS, | ^ /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/src/python/src/pycomps_categories.c:322:5: warning: initialization of ‘long int’ from ‘int (*)(PyObject *, FILE *, int)’ {aka ‘int (*)(struct _object *, FILE *, int)’} makes integer from pointer without a cast [-Wint-conversion] 322 | PyCOMPSCat_print, /*tp_print*/ | ^~~~~~~~~~~~~~~~ /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/src/python/src/pycomps_categories.c:322:5: note: (near initialization for ‘PyCOMPS_CatType.tp_vectorcall_offset’) [ 57%] Building C object src/python/src/CMakeFiles/pycomps.dir/pycomps_groups.c.o cd /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/x86_64-redhat-linux-gnu/src/python/src && /usr/bin/gcc -Dpycomps_EXPORTS -I/home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/x86_64-redhat-linux-gnu -I/home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/src -I/usr/include/libxml2 -I/usr/include/python3.8 -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 --pedantic -std=c99 -Wall -Wextra -g -Wno-missing-field-initializers -O2 -fno-strict-aliasing -g -DNDEBUG -fPIC -o CMakeFiles/pycomps.dir/pycomps_groups.c.o -c /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/src/python/src/pycomps_groups.c In file included from /usr/include/python3.8/Python.h:85, from /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/src/python/src/pycomps_23macros.h:25, from /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/src/python/src/pycomps_groups.h:23, from /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/src/python/src/pycomps_groups.c:20: /usr/include/python3.8/pytime.h:153:60: warning: ‘struct timespec’ declared inside parameter list will not be visible outside of this definition or declaration 153 | PyAPI_FUNC(int) _PyTime_FromTimespec(_PyTime_t *tp, struct timespec *ts); | ^~~~~~~~ /usr/include/python3.8/pytime.h:158:56: warning: ‘struct timespec’ declared inside parameter list will not be visible outside of this definition or declaration 158 | PyAPI_FUNC(int) _PyTime_AsTimespec(_PyTime_t t, struct timespec *ts); | ^~~~~~~~ /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/src/python/src/pycomps_groups.c:312:18: warning: cast between incompatible function types from ‘PyObject * (*)(PyCOMPS_Group *)’ {aka ‘struct _object * (*)(PyCOMPS_Group *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type] 312 | {"validate", (PyCFunction)PyCOMPSGroup_validate, METH_NOARGS, | ^ /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/src/python/src/pycomps_groups.c:314:24: warning: cast between incompatible function types from ‘PyObject * (*)(PyObject *, PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *, struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type] 314 | {"packages_match", (PyCFunction)PyCOMPSGroup_packages_match, | ^ /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/src/python/src/pycomps_groups.c:415:5: warning: initialization of ‘long int’ from ‘int (*)(PyObject *, FILE *, int)’ {aka ‘int (*)(struct _object *, FILE *, int)’} makes integer from pointer without a cast [-Wint-conversion] 415 | PyCOMPSGroup_print, /*tp_print*/ | ^~~~~~~~~~~~~~~~~~ /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/src/python/src/pycomps_groups.c:415:5: note: (near initialization for ‘PyCOMPS_GroupType.tp_vectorcall_offset’) /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/src/python/src/pycomps_groups.c:968:18: warning: cast between incompatible function types from ‘PyObject * (*)(PyCOMPS_Package *)’ {aka ‘struct _object * (*)(PyCOMPS_Package *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type] 968 | {"validate", (PyCFunction)PyCOMPSPackage_validate, METH_NOARGS, | ^ /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/src/python/src/pycomps_groups.c:979:5: warning: initialization of ‘long int’ from ‘int (*)(PyObject *, FILE *, int)’ {aka ‘int (*)(struct _object *, FILE *, int)’} makes integer from pointer without a cast [-Wint-conversion] 979 | PyCOMPSPack_print, /*tp_print*/ | ^~~~~~~~~~~~~~~~~ /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/src/python/src/pycomps_groups.c:979:5: note: (near initialization for ‘PyCOMPS_PackType.tp_vectorcall_offset’) [ 58%] Building C object src/python/src/CMakeFiles/pycomps.dir/pycomps_gids.c.o cd /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/x86_64-redhat-linux-gnu/src/python/src && /usr/bin/gcc -Dpycomps_EXPORTS -I/home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/x86_64-redhat-linux-gnu -I/home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/src -I/usr/include/libxml2 -I/usr/include/python3.8 -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 --pedantic -std=c99 -Wall -Wextra -g -Wno-missing-field-initializers -O2 -fno-strict-aliasing -g -DNDEBUG -fPIC -o CMakeFiles/pycomps.dir/pycomps_gids.c.o -c /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/src/python/src/pycomps_gids.c In file included from /usr/include/python3.8/Python.h:85, from /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/src/python/src/pycomps_23macros.h:25, from /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/src/python/src/pycomps_gids.h:23, from /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/src/python/src/pycomps_gids.c:20: /usr/include/python3.8/pytime.h:153:60: warning: ‘struct timespec’ declared inside parameter list will not be visible outside of this definition or declaration 153 | PyAPI_FUNC(int) _PyTime_FromTimespec(_PyTime_t *tp, struct timespec *ts); | ^~~~~~~~ /usr/include/python3.8/pytime.h:158:56: warning: ‘struct timespec’ declared inside parameter list will not be visible outside of this definition or declaration 158 | PyAPI_FUNC(int) _PyTime_AsTimespec(_PyTime_t t, struct timespec *ts); | ^~~~~~~~ /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/src/python/src/pycomps_gids.c:212:18: warning: cast between incompatible function types from ‘PyObject * (*)(PyCOMPS_GID *)’ {aka ‘struct _object * (*)(PyCOMPS_GID *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type] 212 | {"validate", (PyCFunction)PyCOMPSGID_validate, METH_NOARGS, | ^ /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/src/python/src/pycomps_gids.c:223:5: warning: initialization of ‘long int’ from ‘int (*)(PyObject *, FILE *, int)’ {aka ‘int (*)(struct _object *, FILE *, int)’} makes integer from pointer without a cast [-Wint-conversion] 223 | PyCOMPSGID_print, /*tp_print*/ | ^~~~~~~~~~~~~~~~ /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/src/python/src/pycomps_gids.c:223:5: note: (near initialization for ‘PyCOMPS_GIDType.tp_vectorcall_offset’) [ 60%] Building C object src/python/src/CMakeFiles/pycomps.dir/pycomps_utils.c.o cd /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/x86_64-redhat-linux-gnu/src/python/src && /usr/bin/gcc -Dpycomps_EXPORTS -I/home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/x86_64-redhat-linux-gnu -I/home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/src -I/usr/include/libxml2 -I/usr/include/python3.8 -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 --pedantic -std=c99 -Wall -Wextra -g -Wno-missing-field-initializers -O2 -fno-strict-aliasing -g -DNDEBUG -fPIC -o CMakeFiles/pycomps.dir/pycomps_utils.c.o -c /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/src/python/src/pycomps_utils.c [ 62%] Building C object src/python/src/CMakeFiles/pycomps.dir/pycomps_dict.c.o cd /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/x86_64-redhat-linux-gnu/src/python/src && /usr/bin/gcc -Dpycomps_EXPORTS -I/home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/x86_64-redhat-linux-gnu -I/home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/src -I/usr/include/libxml2 -I/usr/include/python3.8 -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 --pedantic -std=c99 -Wall -Wextra -g -Wno-missing-field-initializers -O2 -fno-strict-aliasing -g -DNDEBUG -fPIC -o CMakeFiles/pycomps.dir/pycomps_dict.c.o -c /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/src/python/src/pycomps_dict.c /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/src/python/src/pycomps_dict.c:413:31: warning: cast between incompatible function types from ‘PyObject * (*)(PyObject *)’ {aka ‘struct _object * (*)(struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type] 413 | {PYCOMPS_DICT_ITERITEMS, (PyCFunction)PyCOMPSDict_getiteritems, METH_NOARGS, | ^ /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/src/python/src/pycomps_dict.c:415:32: warning: cast between incompatible function types from ‘PyObject * (*)(PyObject *)’ {aka ‘struct _object * (*)(struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type] 415 | {PYCOMPS_DICT_ITERVALUES, (PyCFunction)PyCOMPSDict_getitervalues, METH_NOARGS, | ^ /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/src/python/src/pycomps_dict.c:417:30: warning: cast between incompatible function types from ‘PyObject * (*)(PyObject *)’ {aka ‘struct _object * (*)(struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type] 417 | {PYCOMPS_DICT_ITERKEYS, (PyCFunction)PyCOMPSDict_getiter, METH_NOARGS, | ^ /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/src/python/src/pycomps_dict.c:430:16: warning: cast between incompatible function types from ‘PyObject * (*)(PyObject *)’ {aka ‘struct _object * (*)(struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type] 430 | {"clear", (PyCFunction)PyCOMPSDict_clear, METH_NOARGS, | ^ /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/src/python/src/pycomps_dict.c:432:15: warning: cast between incompatible function types from ‘PyObject * (*)(PyObject *)’ {aka ‘struct _object * (*)(struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type] 432 | {"copy", (PyCFunction)PyCOMPSDict_copy, METH_NOARGS, | ^ /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/src/python/src/pycomps_dict.c:445:5: warning: initialization of ‘long int’ from ‘int (*)(PyObject *, FILE *, int)’ {aka ‘int (*)(struct _object *, FILE *, int)’} makes integer from pointer without a cast [-Wint-conversion] 445 | &PyCOMPSDict_print, /*tp_print*/ | ^ /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/src/python/src/pycomps_dict.c:445:5: note: (near initialization for ‘PyCOMPS_DictType.tp_vectorcall_offset’) [ 64%] Building C object src/python/src/CMakeFiles/pycomps.dir/pycomps_mdict.c.o cd /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/x86_64-redhat-linux-gnu/src/python/src && /usr/bin/gcc -Dpycomps_EXPORTS -I/home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/x86_64-redhat-linux-gnu -I/home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/src -I/usr/include/libxml2 -I/usr/include/python3.8 -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 --pedantic -std=c99 -Wall -Wextra -g -Wno-missing-field-initializers -O2 -fno-strict-aliasing -g -DNDEBUG -fPIC -o CMakeFiles/pycomps.dir/pycomps_mdict.c.o -c /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/src/python/src/pycomps_mdict.c /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/src/python/src/pycomps_mdict.c:436:31: warning: cast between incompatible function types from ‘PyObject * (*)(PyObject *)’ {aka ‘struct _object * (*)(struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type] 436 | {PYCOMPS_DICT_ITERITEMS, (PyCFunction)PyCOMPSMDict_getiteritems, METH_NOARGS, | ^ /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/src/python/src/pycomps_mdict.c:438:32: warning: cast between incompatible function types from ‘PyObject * (*)(PyObject *)’ {aka ‘struct _object * (*)(struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type] 438 | {PYCOMPS_DICT_ITERVALUES, (PyCFunction)PyCOMPSMDict_getitervalues, METH_NOARGS, | ^ /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/src/python/src/pycomps_mdict.c:440:30: warning: cast between incompatible function types from ‘PyObject * (*)(PyObject *)’ {aka ‘struct _object * (*)(struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type] 440 | {PYCOMPS_DICT_ITERKEYS, (PyCFunction)PyCOMPSMDict_getiter, METH_NOARGS, | ^ /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/src/python/src/pycomps_mdict.c:454:16: warning: cast between incompatible function types from ‘PyObject * (*)(PyObject *)’ {aka ‘struct _object * (*)(struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type] 454 | {"clear", (PyCFunction)PyCOMPSMDict_clear, METH_NOARGS, | ^ /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/src/python/src/pycomps_mdict.c:456:15: warning: cast between incompatible function types from ‘PyObject * (*)(PyObject *)’ {aka ‘struct _object * (*)(struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type] 456 | {"copy", (PyCFunction)PyCOMPSMDict_copy, METH_NOARGS, | ^ /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/src/python/src/pycomps_mdict.c:513:5: warning: initialization of ‘long int’ from ‘int (*)(PyObject *, FILE *, int)’ {aka ‘int (*)(struct _object *, FILE *, int)’} makes integer from pointer without a cast [-Wint-conversion] 513 | &PyCOMPSMDict_print, /*tp_print*/ | ^ /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/src/python/src/pycomps_mdict.c:513:5: note: (near initialization for ‘PyCOMPS_MDictType.tp_vectorcall_offset’) [ 66%] Building C object src/python/src/CMakeFiles/pycomps.dir/pycomps_hash.c.o cd /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/x86_64-redhat-linux-gnu/src/python/src && /usr/bin/gcc -Dpycomps_EXPORTS -I/home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/x86_64-redhat-linux-gnu -I/home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/src -I/usr/include/libxml2 -I/usr/include/python3.8 -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 --pedantic -std=c99 -Wall -Wextra -g -Wno-missing-field-initializers -O2 -fno-strict-aliasing -g -DNDEBUG -fPIC -o CMakeFiles/pycomps.dir/pycomps_hash.c.o -c /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/src/python/src/pycomps_hash.c In file included from /usr/include/python3.8/Python.h:85, from /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/src/python/src/pycomps_23macros.h:25, from /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/src/python/src/pycomps_hash.h:23, from /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/src/python/src/pycomps_hash.c:20: /usr/include/python3.8/pytime.h:153:60: warning: ‘struct timespec’ declared inside parameter list will not be visible outside of this definition or declaration 153 | PyAPI_FUNC(int) _PyTime_FromTimespec(_PyTime_t *tp, struct timespec *ts); | ^~~~~~~~ /usr/include/python3.8/pytime.h:158:56: warning: ‘struct timespec’ declared inside parameter list will not be visible outside of this definition or declaration 158 | PyAPI_FUNC(int) _PyTime_AsTimespec(_PyTime_t t, struct timespec *ts); | ^~~~~~~~ [ 67%] Building C object src/python/src/CMakeFiles/pycomps.dir/pycomps_lbw.c.o cd /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/x86_64-redhat-linux-gnu/src/python/src && /usr/bin/gcc -Dpycomps_EXPORTS -I/home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/x86_64-redhat-linux-gnu -I/home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/src -I/usr/include/libxml2 -I/usr/include/python3.8 -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 --pedantic -std=c99 -Wall -Wextra -g -Wno-missing-field-initializers -O2 -fno-strict-aliasing -g -DNDEBUG -fPIC -o CMakeFiles/pycomps.dir/pycomps_lbw.c.o -c /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/src/python/src/pycomps_lbw.c In file included from /usr/include/python3.8/Python.h:85, from /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/src/python/src/pycomps_23macros.h:25, from /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/src/python/src/pycomps_sequence.h:23, from /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/src/python/src/pycomps_mdict.h:26, from /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/src/python/src/pycomps_lbw.h:23, from /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/src/python/src/pycomps_lbw.c:19: /usr/include/python3.8/pytime.h:153:60: warning: ‘struct timespec’ declared inside parameter list will not be visible outside of this definition or declaration 153 | PyAPI_FUNC(int) _PyTime_FromTimespec(_PyTime_t *tp, struct timespec *ts); | ^~~~~~~~ /usr/include/python3.8/pytime.h:158:56: warning: ‘struct timespec’ declared inside parameter list will not be visible outside of this definition or declaration 158 | PyAPI_FUNC(int) _PyTime_AsTimespec(_PyTime_t t, struct timespec *ts); | ^~~~~~~~ [ 69%] Linking C shared library libcomps/_libpycomps.so cd /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/x86_64-redhat-linux-gnu/src/python/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/pycomps.dir/link.txt --verbose=1 /usr/bin/gcc -fPIC -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 --pedantic -std=c99 -Wall -Wextra -g -Wno-missing-field-initializers -O2 -fno-strict-aliasing -g -DNDEBUG -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 -Wl,-soname,_libpycomps.so -o libcomps/_libpycomps.so CMakeFiles/pycomps.dir/pycomps.c.o CMakeFiles/pycomps.dir/pycomps_sequence.c.o CMakeFiles/pycomps.dir/pycomps_envs.c.o CMakeFiles/pycomps.dir/pycomps_categories.c.o CMakeFiles/pycomps.dir/pycomps_groups.c.o CMakeFiles/pycomps.dir/pycomps_gids.c.o CMakeFiles/pycomps.dir/pycomps_utils.c.o CMakeFiles/pycomps.dir/pycomps_dict.c.o CMakeFiles/pycomps.dir/pycomps_mdict.c.o CMakeFiles/pycomps.dir/pycomps_hash.c.o CMakeFiles/pycomps.dir/pycomps_exc.c.o CMakeFiles/pycomps.dir/pycomps_lbw.c.o -Wl,-rpath,/home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/x86_64-redhat-linux-gnu/src: ../../libcomps.so.0 -lexpat -lxml2 -lpython3.8 -lz -lm /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/src/python/src/pycomps.c: In function ‘PyCOMPS_filter_arches’: /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/src/python/src/pycomps.c:520:59: warning: ‘str’ may be used uninitialized in this function [-Wmaybe-uninitialized] 520 | comps_objlist_append_x(arches, (COMPS_Object*)comps_str(str)); | ^ /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/src/python/src/pycomps.c:506:11: note: ‘str’ was declared here 506 | char *str; | ^ make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/x86_64-redhat-linux-gnu' [ 71%] Built target pycomps make -f tests/CMakeFiles/test_rtree.dir/build.make tests/CMakeFiles/test_rtree.dir/depend make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/x86_64-redhat-linux-gnu' cd /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/x86_64-redhat-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/tests /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/x86_64-redhat-linux-gnu /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/x86_64-redhat-linux-gnu/tests /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/x86_64-redhat-linux-gnu/tests/CMakeFiles/test_rtree.dir/DependInfo.cmake --color= make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/x86_64-redhat-linux-gnu' make -f tests/CMakeFiles/test_rtree.dir/build.make tests/CMakeFiles/test_rtree.dir/build make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/x86_64-redhat-linux-gnu' make[2]: Nothing to be done for 'tests/CMakeFiles/test_rtree.dir/build'. make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/x86_64-redhat-linux-gnu' [ 76%] Built target test_rtree make -f tests/CMakeFiles/test_objrtree.dir/build.make tests/CMakeFiles/test_objrtree.dir/depend make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/x86_64-redhat-linux-gnu' cd /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/x86_64-redhat-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/tests /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/x86_64-redhat-linux-gnu /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/x86_64-redhat-linux-gnu/tests /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/x86_64-redhat-linux-gnu/tests/CMakeFiles/test_objrtree.dir/DependInfo.cmake --color= make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/x86_64-redhat-linux-gnu' make -f tests/CMakeFiles/test_objrtree.dir/build.make tests/CMakeFiles/test_objrtree.dir/build make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/x86_64-redhat-linux-gnu' make[2]: Nothing to be done for 'tests/CMakeFiles/test_objrtree.dir/build'. make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/x86_64-redhat-linux-gnu' [ 82%] Built target test_objrtree make -f tests/CMakeFiles/test-copy.dir/build.make tests/CMakeFiles/test-copy.dir/depend make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/x86_64-redhat-linux-gnu' cd /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/x86_64-redhat-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/tests /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/x86_64-redhat-linux-gnu /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/x86_64-redhat-linux-gnu/tests /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/x86_64-redhat-linux-gnu/tests/CMakeFiles/test-copy.dir/DependInfo.cmake --color= make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/x86_64-redhat-linux-gnu' make -f tests/CMakeFiles/test-copy.dir/build.make tests/CMakeFiles/test-copy.dir/build make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/x86_64-redhat-linux-gnu' cd /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/x86_64-redhat-linux-gnu/tests && /usr/bin/cmake -E copy /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/tests/fedora_comps.xml ./ cd /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/x86_64-redhat-linux-gnu/tests && /usr/bin/cmake -E copy /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/tests/sample-comps.xml ./ cd /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/x86_64-redhat-linux-gnu/tests && /usr/bin/cmake -E copy /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/tests/sample_comps.xml ./ cd /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/x86_64-redhat-linux-gnu/tests && /usr/bin/cmake -E copy /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/tests/sample_comps_bad1.xml ./ cd /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/x86_64-redhat-linux-gnu/tests && /usr/bin/cmake -E copy /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/tests/sample_comps_bad2.xml ./ cd /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/x86_64-redhat-linux-gnu/tests && /usr/bin/cmake -E copy /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/tests/sample_comps_bad3.xml ./ cd /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/x86_64-redhat-linux-gnu/tests && /usr/bin/cmake -E copy /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/tests/sample-bad-elem.xml ./ cd /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/x86_64-redhat-linux-gnu/tests && /usr/bin/cmake -E copy /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/tests/comps.dtd ./ cd /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/x86_64-redhat-linux-gnu/tests && /usr/bin/cmake -E copy /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/tests/dict-test.txt ./ cd /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/x86_64-redhat-linux-gnu/tests && /usr/bin/cmake -E copy /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/tests/main_comps2.xml ./ cd /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/x86_64-redhat-linux-gnu/tests && /usr/bin/cmake -E copy /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/tests/main_arches.xml ./ cd /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/x86_64-redhat-linux-gnu/tests && /usr/bin/cmake -E copy /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/tests/f21-rawhide-comps.xml ./ make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/x86_64-redhat-linux-gnu' [ 82%] Built target test-copy make -f tests/CMakeFiles/test_comps.dir/build.make tests/CMakeFiles/test_comps.dir/depend make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/x86_64-redhat-linux-gnu' cd /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/x86_64-redhat-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/tests /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/x86_64-redhat-linux-gnu /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/x86_64-redhat-linux-gnu/tests /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/x86_64-redhat-linux-gnu/tests/CMakeFiles/test_comps.dir/DependInfo.cmake --color= make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/x86_64-redhat-linux-gnu' make -f tests/CMakeFiles/test_comps.dir/build.make tests/CMakeFiles/test_comps.dir/build make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/x86_64-redhat-linux-gnu' make[2]: Nothing to be done for 'tests/CMakeFiles/test_comps.dir/build'. make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/x86_64-redhat-linux-gnu' [ 85%] Built target test_comps make -f tests/CMakeFiles/test_parse.dir/build.make tests/CMakeFiles/test_parse.dir/depend make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/x86_64-redhat-linux-gnu' cd /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/x86_64-redhat-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/tests /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/x86_64-redhat-linux-gnu /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/x86_64-redhat-linux-gnu/tests /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/x86_64-redhat-linux-gnu/tests/CMakeFiles/test_parse.dir/DependInfo.cmake --color= make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/x86_64-redhat-linux-gnu' make -f tests/CMakeFiles/test_parse.dir/build.make tests/CMakeFiles/test_parse.dir/build make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/x86_64-redhat-linux-gnu' [ 87%] Building C object tests/CMakeFiles/test_parse.dir/check_parse.c.o cd /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/x86_64-redhat-linux-gnu/tests && /usr/bin/gcc -I/home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/x86_64-redhat-linux-gnu -I/home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/src -I/usr/include/libxml2 -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 --pedantic -std=c99 -Wall -Wextra -g -Wno-missing-field-initializers -O2 -fno-strict-aliasing -g -DNDEBUG -o CMakeFiles/test_parse.dir/check_parse.c.o -c /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/tests/check_parse.c In file included from /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/tests/check_parse.c:20: /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/tests/check_parse.c: In function ‘test_comps_parse1_fn’: /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/tests/check_parse.c:89:38: warning: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘size_t’ {aka ‘long unsigned in ’} [-Wformat=] 89 | ck_assert_msg(tmplist->len == 3, "Should have 3 groups parsed." | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 90 | "Have %d", tmplist->len); | ~~~~~~~~~~~~ | | | size_t {aka long unsigned int} /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/tests/check_parse.c:93:38: warning: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘size_t’ {aka ‘long unsigned in ’} [-Wformat=] 93 | ck_assert_msg(tmplist->len == 2, "Should have 2 categories" | ^~~~~~~~~~~~~~~~~~~~~~~~~~ 94 | "parsed. Have %d", tmplist->len); | ~~~~~~~~~~~~ | | | size_t {aka long unsigned int} /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/tests/check_parse.c:98:13: warning: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘size_t’ {aka ‘long unsigned in ’} [-Wformat=] 98 | "Should have 1 environment parsed. Have %d", tmplist->len); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~ | | | size_t {aka long unsigned int} /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/tests/check_parse.c:98:54: note: format string is defined here 98 | "Should have 1 environment parsed. Have %d", tmplist->len); | ~^ | | | int | %ld In file included from /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/tests/check_parse.c:20: /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/tests/check_parse.c:133:38: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 133 | fail_if(group_packages[i][0] != tmplist->len, "Group #%d should have" | ^~ /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/tests/check_parse.c:133:55: warning: format ‘%d’ expects argument of type ‘int’, but argument 7 has type ‘size_t’ {aka ‘long unsigned int’} [-Wformat=] 133 | fail_if(group_packages[i][0] != tmplist->len, "Group #%d should have" | ^~~~~~~~~~~~~~~~~~~~~~~ 134 | " %d default packages, Have %d", i, group_packages[i][0], 135 | tmplist->len); | ~~~~~~~~~~~~ | | | size_t {aka long unsigned int} /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/tests/check_parse.c:139:38: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 139 | fail_if(group_packages[i][1] != tmplist->len, "Group #%d should have" | ^~ /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/tests/check_parse.c:139:55: warning: format ‘%d’ expects argument of type ‘int’, but argument 7 has type ‘size_t’ {aka ‘long unsigned int’} [-Wformat=] 139 | fail_if(group_packages[i][1] != tmplist->len, "Group #%d should have" | ^~~~~~~~~~~~~~~~~~~~~~~ 140 | " %d optional packages, Have %d", i, group_packages[i][1], 141 | tmplist->len); | ~~~~~~~~~~~~ | | | size_t {aka long unsigned int} /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/tests/check_parse.c:150:24: warning: format ‘%s’ expects argument of type ‘char *’, but argument 5 has type ‘int’ [-Wformat=] 150 | "%s. category should have id:%s not %s", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 151 | i, cats_ids[i], tmpstr); | ~ | | | int /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/tests/check_parse.c:150:26: note: format string is defined here 150 | "%s. category should have id:%s not %s", | ~^ | | | char * | %d In file included from /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/tests/check_parse.c:20: /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/tests/check_parse.c:158:24: warning: format ‘%s’ expects argument of type ‘char *’, but argument 5 has type ‘int’ [-Wformat=] 158 | "%s. category should have name:%s not %s", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 159 | i, cats_names[i], tmpstr); | ~ | | | int /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/tests/check_parse.c:158:26: note: format string is defined here 158 | "%s. category should have name:%s not %s", | ~^ | | | char * | %d In file included from /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/tests/check_parse.c:20: /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/tests/check_parse.c:163:63: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and int’ [-Wsign-compare] 163 | fail_if(((COMPS_DocCategory*)tmpobj2)->group_ids->len != cats_gids[i], | ^~ /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/tests/check_parse.c:164:17: warning: format ‘%d’ expects argument of type ‘int’, but argument 7 has type ‘size_t’ {aka ‘long unsigned int’} [-Wformat=] 164 | "Category #%d should have %d groupids, have %d", i, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 165 | cats_gids[i], ((COMPS_DocCategory*)tmpobj2)->group_ids->len); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | size_t {aka long unsigned int} /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/tests/check_parse.c:164:62: note: format string is defined here 164 | "Category #%d should have %d groupids, have %d", i, | ~^ | | | int | %ld In file included from /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/tests/check_parse.c:20: /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/tests/check_parse.c: In function ‘test_comps_parse2_fn’: /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/tests/check_parse.c:287:5: error: too few arguments to function ‘_ck_assert_failed’ 287 | fail_if(parsed->log->entries->first == NULL); | ^~~~~~~ /usr/include/check.h:502:27: note: declared here 502 | CK_DLL_EXP void CK_EXPORT _ck_assert_failed(const char *file, int line, | ^~~~~~~~~~~~~~~~~ /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/tests/check_parse.c:290:5: error: too few arguments to function ‘_ck_assert_failed’ 290 | fail_if(i != 10); | ^~~~~~~ /usr/include/check.h:502:27: note: declared here 502 | CK_DLL_EXP void CK_EXPORT _ck_assert_failed(const char *file, int line, | ^~~~~~~~~~~~~~~~~ /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/tests/check_parse.c: In function ‘test_comps_parse3_fn’: /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/tests/check_parse.c:327:5: error: too few arguments to function ‘_ck_assert_failed’ 327 | fail_if(parsed->log->entries->first == NULL); | ^~~~~~~ /usr/include/check.h:502:27: note: declared here 502 | CK_DLL_EXP void CK_EXPORT _ck_assert_failed(const char *file, int line, | ^~~~~~~~~~~~~~~~~ /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/tests/check_parse.c:344:21: warning: format ‘%d’ expects a matching ‘int’ argument [-Wformat=] 344 | fail_if(tmpobj, "%d. category should have NULL id\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/tests/check_parse.c:344:23: note: format string is defined here 344 | fail_if(tmpobj, "%d. category should have NULL id\n"); | ~^ | | | int In file included from /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/tests/check_parse.c:20: /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/tests/check_parse.c:347:21: warning: format ‘%d’ expects a matching ‘int’ argument [-Wformat=] 347 | fail_if(tmpobj, "%d. category should have NULL name\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/tests/check_parse.c:347:23: note: format string is defined here 347 | fail_if(tmpobj, "%d. category should have NULL name\n"); | ~^ | | | int In file included from /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/tests/check_parse.c:20: /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/tests/check_parse.c:350:21: warning: format ‘%d’ expects a matching ‘int’ argument [-Wformat=] 350 | fail_if(tmpobj, "%d. category should have NULL description\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/tests/check_parse.c:350:23: note: format string is defined here 350 | fail_if(tmpobj, "%d. category should have NULL description\n"); | ~^ | | | int In file included from /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/tests/check_parse.c:20: /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/tests/check_parse.c: In function ‘test_comps_parse4_fn’: /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/tests/check_parse.c:420:5: error: too few arguments to function ‘_ck_assert_failed’ 420 | fail_if(parsed->log->entries->first == NULL); | ^~~~~~~ /usr/include/check.h:502:27: note: declared here 502 | CK_DLL_EXP void CK_EXPORT _ck_assert_failed(const char *file, int line, | ^~~~~~~~~~~~~~~~~ /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/tests/check_parse.c: In function ‘test_comps_parse5_fn’: /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/tests/check_parse.c:454:5: error: too few arguments to function ‘_ck_assert_failed’ 454 | fail_if(parsed->log->entries->first == NULL); | ^~~~~~~ /usr/include/check.h:502:27: note: declared here 502 | CK_DLL_EXP void CK_EXPORT _ck_assert_failed(const char *file, int line, | ^~~~~~~~~~~~~~~~~ /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/tests/check_parse.c: In function ‘test_arch_fn’: /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/tests/check_parse.c:588:11: warning: assignment to ‘COMPS_DocGroup *’ from incompatible pointer type ‘COMPS_DocCategory *’ [-Wincompatible-pointer-types] 588 | g = (COMPS_DocCategory*)it->comps_obj; | ^ /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/tests/check_parse.c:589:52: warning: passing argument 1 of ‘comps_doccategory_get_id’ from incompatible pointer type [-Wincompatible-pointer-types] 589 | str = (COMPS_Str*)comps_doccategory_get_id(g); | ^ | | | COMPS_DocGroup * In file included from /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/tests/../src/comps_objradix.h:28, from /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/tests/../src/comps_objdict.h:32, from /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/tests/../src/comps_doc.h:24, from /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/tests/check_parse.c:23: /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/tests/../src/comps_doccategory.h:110:24: note: expected ‘COMPS_DocCategory *’ but argument is of type ‘COMPS_DocGroup *’ 110 | HEAD_COMPS_PROP_GETTER(category, COMPS_DocCategory, id) /*comps_utils.h macro*/ | /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/tests/../src/comps_utils.h:94:71: note: in definition of macro ‘HEAD_COMPS_PROP_GETTER’ 94 | (OBJTYPE *OBJNAME); | ^~~~~~~ /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/tests/check_parse.c:608:11: warning: assignment to ‘COMPS_DocGroup *’ from incompatible pointer type ‘COMPS_DocEnv *’ [-Wincompatible-pointer-types] 608 | g = (COMPS_DocEnv*)it->comps_obj; | ^ /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/tests/check_parse.c:609:47: warning: passing argument 1 of ‘comps_docenv_get_id’ from incompatible pointer type [-Wincompatible-pointer-types] 609 | str = (COMPS_Str*)comps_docenv_get_id(g); | ^ | | | COMPS_DocGroup * In file included from /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/tests/../src/comps_objradix.h:28, from /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/tests/../src/comps_objdict.h:32, from /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/tests/../src/comps_doc.h:24, from /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/tests/check_parse.c:23: /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/tests/../src/comps_docenv.h:92:24: note: expected ‘COMPS_DocEnv *’ but argument is of type ‘COMPS_DocGroup *’ 92 | HEAD_COMPS_PROP_GETTER(env, COMPS_DocEnv, id) /*comps_utils.h macro*/ | /home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/libcomps/tests/../src/comps_utils.h:94:71: note: in definition of macro ‘HEAD_COMPS_PROP_GETTER’ 94 | (OBJTYPE *OBJNAME); | ^~~~~~~ make[2]: *** [tests/CMakeFiles/test_parse.dir/build.make:86: tests/CMakeFiles/test_parse.dir/check_parse.c.o] Error 1 make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/x86_64-redhat-linux-gnu' make[1]: *** [CMakeFiles/Makefile2:563: tests/CMakeFiles/test_parse.dir/all] Error 2 make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libcomps-libcomps-0.1.15/x86_64-redhat-linux-gnu' make: *** [Makefile:153: all] Error 2
I think this is not a libcomps problem but a check problem: https://github.com/libcheck/check/issues/293 It looks like its fixed.
Yes that was check problem :)