DEBUG: Executing shell function do_compile
NOTE: VERBOSE=1 cmake --build TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/build --target all --
[1/16] cd TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/build/tests && TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/recipe-sysroot-native/usr/bin/cmake -E copy TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/libcomps/tests/fedora_comps.xml ./ && cd TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/build/tests && TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/recipe-sysroot-native/usr/bin/cmake -E copy TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/libcomps/tests/sample-comps.xml ./ && cd TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/build/tests && TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/recipe-sysroot-native/usr/bin/cmake -E copy TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/libcomps/tests/sample_comps.xml ./ && cd TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/build/tests && TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/recipe-sysroot-native/usr/bin/cmake -E copy TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/libcomps/tests/sample_comps_bad1.xml ./ && cd TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/build/tests && TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/recipe-sysroot-native/usr/bin/cmake -E copy TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/libcomps/tests/sample_comps_bad2.xml ./ && cd TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/build/tests && TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/recipe-sysroot-native/usr/bin/cmake -E copy TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/libcomps/tests/sample_comps_bad3.xml ./ && cd TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/build/tests && TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/recipe-sysroot-native/usr/bin/cmake -E copy TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/libcomps/tests/sample-bad-elem.xml ./ && cd TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/build/tests && TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/recipe-sysroot-native/usr/bin/cmake -E copy TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/libcomps/tests/comps.dtd ./ && cd TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/build/tests && TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/recipe-sysroot-native/usr/bin/cmake -E copy TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/libcomps/tests/dict-test.txt ./ && cd TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/build/tests && TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/recipe-sysroot-native/usr/bin/cmake -E copy TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/libcomps/tests/main_comps2.xml ./ && cd TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/build/tests && TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/recipe-sysroot-native/usr/bin/cmake -E copy TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/libcomps/tests/main_arches.xml ./ && cd TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/build/tests && TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/recipe-sysroot-native/usr/bin/cmake -E copy TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/libcomps/tests/f21-rawhide-comps.xml ./
[2/16] cd TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/build/src && TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/recipe-sysroot-native/usr/bin/cmake -E copy TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/libcomps/src/comps_bradix.h TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/libcomps/src/libcomps/ && cd TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/build/src && TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/recipe-sysroot-native/usr/bin/cmake -E copy TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/libcomps/src/comps_default.h TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/libcomps/src/libcomps/ && cd TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/build/src && TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/recipe-sysroot-native/usr/bin/cmake -E copy TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/libcomps/src/comps_dict.h TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/libcomps/src/libcomps/ && cd TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/build/src && TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/recipe-sysroot-native/usr/bin/cmake -E copy TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/libcomps/src/comps_doc.h TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/libcomps/src/libcomps/ && cd TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/build/src && TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/recipe-sysroot-native/usr/bin/cmake -E copy TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/libcomps/src/comps_doccategory.h TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/libcomps/src/libcomps/ && cd TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/build/src && TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/recipe-sysroot-native/usr/bin/cmake -E copy TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/libcomps/src/comps_docenv.h TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/libcomps/src/libcomps/ && cd TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/build/src && TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/recipe-sysroot-native/usr/bin/cmake -E copy TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/libcomps/src/comps_docgroup.h TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/libcomps/src/libcomps/ && cd TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/build/src && TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/recipe-sysroot-native/usr/bin/cmake -E copy TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/libcomps/src/comps_docgroupid.h TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/libcomps/src/libcomps/ && cd TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/build/src && TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/recipe-sysroot-native/usr/bin/cmake -E copy TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/libcomps/src/comps_docpackage.h TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/libcomps/src/libcomps/ && cd TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/build/src && TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/recipe-sysroot-native/usr/bin/cmake -E copy TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/libcomps/src/comps_elem.h TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/libcomps/src/libcomps/ && cd TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/build/src && TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/recipe-sysroot-native/usr/bin/cmake -E copy TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/libcomps/src/comps_hslist.h TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/libcomps/src/libcomps/ && cd TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/build/src && TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/recipe-sysroot-native/usr/bin/cmake -E copy TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/libcomps/src/comps_log.h TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/libcomps/src/libcomps/ && cd TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/build/src && TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/recipe-sysroot-native/usr/bin/cmake -E copy TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/libcomps/src/comps_log_codes.h TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/libcomps/src/libcomps/ && cd TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/build/src && TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/recipe-sysroot-native/usr/bin/cmake -E copy TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/libcomps/src/comps_mm.h TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/libcomps/src/libcomps/ && cd TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/build/src && TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/recipe-sysroot-native/usr/bin/cmake -E copy TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/libcomps/src/comps_mradix.h TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/libcomps/src/libcomps/ && cd TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/build/src && TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/recipe-sysroot-native/usr/bin/cmake -E copy TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/libcomps/src/comps_obj.h TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/libcomps/src/libcomps/ && cd TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/build/src && TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/recipe-sysroot-native/usr/bin/cmake -E copy TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/libcomps/src/comps_objdict.h TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/libcomps/src/libcomps/ && cd TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/build/src && TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/recipe-sysroot-native/usr/bin/cmake -E copy TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/libcomps/src/comps_objlist.h TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/libcomps/src/libcomps/ && cd TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/build/src && TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/recipe-sysroot-native/usr/bin/cmake -E copy TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/libcomps/src/comps_objmradix.h TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/libcomps/src/libcomps/ && cd TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/build/src && TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/recipe-sysroot-native/usr/bin/cmake -E copy TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/libcomps/src/comps_objradix.h TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/libcomps/src/libcomps/ && cd TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/build/src && TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/recipe-sysroot-native/usr/bin/cmake -E copy TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/libcomps/src/comps_parse.h TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/libcomps/src/libcomps/ && cd TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/build/src && TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/recipe-sysroot-native/usr/bin/cmake -E copy TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/libcomps/src/comps_radix.h TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/libcomps/src/libcomps/ && cd TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/build/src && TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/recipe-sysroot-native/usr/bin/cmake -E copy TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/libcomps/src/comps_set.h TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/libcomps/src/libcomps/ && cd TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/build/src && TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/recipe-sysroot-native/usr/bin/cmake -E copy TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/libcomps/src/comps_types.h TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/libcomps/src/libcomps/ && cd TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/build/src && TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/recipe-sysroot-native/usr/bin/cmake -E copy TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/libcomps/src/comps_utils.h TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/libcomps/src/libcomps/ && cd TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/build/src && TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/recipe-sysroot-native/usr/bin/cmake -E copy TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/libcomps/src/comps_validate.h TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/libcomps/src/libcomps/
[3/16] TOPDIR/tmp/hosttools/gcc -ITOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/build -ITOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/libcomps/src -ITOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/recipe-sysroot-native/usr/include/libxml2 -isystemTOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/recipe-sysroot-native/usr/include -O2 -pipe --pedantic -std=c99 -Wall -Wextra -g -Wno-missing-field-initializers -O2 -fno-strict-aliasing -g -MD -MT tests/CMakeFiles/test_parse.dir/check_parse.c.o -MF tests/CMakeFiles/test_parse.dir/check_parse.c.o.d -o tests/CMakeFiles/test_parse.dir/check_parse.c.o -c TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/libcomps/tests/check_parse.c
FAILED: tests/CMakeFiles/test_parse.dir/check_parse.c.o
TOPDIR/tmp/hosttools/gcc -ITOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/build -ITOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/libcomps/src -ITOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/recipe-sysroot-native/usr/include/libxml2 -isystemTOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/recipe-sysroot-native/usr/include -O2 -pipe --pedantic -std=c99 -Wall -Wextra -g -Wno-missing-field-initializers -O2 -fno-strict-aliasing -g -MD -MT tests/CMakeFiles/test_parse.dir/check_parse.c.o -MF tests/CMakeFiles/test_parse.dir/check_parse.c.o.d -o tests/CMakeFiles/test_parse.dir/check_parse.c.o -c TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/libcomps/tests/check_parse.c
In file included from TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/libcomps/tests/check_parse.c:20:
TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/libcomps/tests/check_parse.c: In function ‘test_comps_parse1_fn’:
TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/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 int’} [-Wformat=]
89 | ck_assert_msg(tmplist->len == 3, "Should have 3 groups parsed."
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
90 | "Have %d", tmplist->len);
| ~~~~~~~~~~~~
| |
| size_t {aka long unsigned int}
TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/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 int’} [-Wformat=]
93 | ck_assert_msg(tmplist->len == 2, "Should have 2 categories"
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
94 | "parsed. Have %d", tmplist->len);
| ~~~~~~~~~~~~
| |
| size_t {aka long unsigned int}
TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/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 int’} [-Wformat=]
98 | "Should have 1 environment parsed. Have %d", tmplist->len);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~
| |
| size_t {aka long unsigned int}
TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/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
TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/libcomps/tests/check_parse.c:98:13: warning: too many arguments for format [-Wformat-extra-args]
98 | "Should have 1 environment parsed. Have %d", tmplist->len);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/libcomps/tests/check_parse.c:105:34: warning: too many arguments for format [-Wformat-extra-args]
105 | fail_if(tmpobj2 == NULL, "Group not found");
| ^~~~~~~~~~~~~~~~~
TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/libcomps/tests/check_parse.c:109:24: warning: too many arguments for format [-Wformat-extra-args]
109 | "%d.group should have id:%s not %s",
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/libcomps/tests/check_parse.c:117:24: warning: too many arguments for format [-Wformat-extra-args]
117 | "%d.group should have name:%s not %s",
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/libcomps/tests/check_parse.c:125:24: warning: too many arguments for format [-Wformat-extra-args]
125 | "%d.group should have desc:%s not %s",
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/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"
| ^~
TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/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}
TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/libcomps/tests/check_parse.c:133:55: warning: too many arguments for format [-Wformat-extra-args]
TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/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"
| ^~
TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/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}
TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/libcomps/tests/check_parse.c:139:55: warning: too many arguments for format [-Wformat-extra-args]
TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/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
TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/libcomps/tests/check_parse.c:150:26: note: format string is defined here
150 | "%s. category should have id:%s not %s",
| ~^
| |
| char *
| %d
TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/libcomps/tests/check_parse.c:150:24: warning: too many arguments for format [-Wformat-extra-args]
150 | "%s. category should have id:%s not %s",
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/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
TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/libcomps/tests/check_parse.c:158:26: note: format string is defined here
158 | "%s. category should have name:%s not %s",
| ~^
| |
| char *
| %d
TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/libcomps/tests/check_parse.c:158:24: warning: too many arguments for format [-Wformat-extra-args]
158 | "%s. category should have name:%s not %s",
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/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],
| ^~
TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/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}
TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/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
TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/libcomps/tests/check_parse.c:164:17: warning: too many arguments for format [-Wformat-extra-args]
164 | "Category #%d should have %d groupids, have %d", i,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/libcomps/tests/check_parse.c:177:21: warning: too many arguments for format [-Wformat-extra-args]
177 | fail_if(ret >0, "XML shouldn't be valid. Validation returned: %d", ret);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/libcomps/tests/check_parse.c: In function ‘check_errors’:
TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/libcomps/tests/check_parse.c:198:17: warning: too many arguments for format [-Wformat-extra-args]
198 | "%d err opt_message doesn't match (%d != %d)", i,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/libcomps/tests/check_parse.c:202:44: warning: too many arguments for format [-Wformat-extra-args]
202 | known_errors[i]->code, "%d. err code different\n (%d != %d)",
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/libcomps/tests/check_parse.c:210:70: warning: too many arguments for format [-Wformat-extra-args]
210 | known_errors[i]->args[x]) == 0, "%d. %s != %s",
| ^~~~~~~~~~~~~~
TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/libcomps/tests/check_parse.c: In function ‘test_comps_parse3_fn’:
TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/libcomps/tests/check_parse.c:344:21: warning: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘void *’ [-Wformat=]
344 | fail_if(tmpobj, "%d. category should have NULL id\n");
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/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
| %p
TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/libcomps/tests/check_parse.c:347:21: warning: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘void *’ [-Wformat=]
347 | fail_if(tmpobj, "%d. category should have NULL name\n");
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/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
| %p
TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/libcomps/tests/check_parse.c:350:21: warning: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘void *’ [-Wformat=]
350 | fail_if(tmpobj, "%d. category should have NULL description\n");
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/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
| %p
TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/libcomps/tests/check_parse.c: In function ‘test_comps_fedora_parse_fn’:
TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/libcomps/tests/check_parse.c:479:39: warning: too many arguments for format [-Wformat-extra-args]
479 | fail_if(parsed->fatal_error != 0, "Some fatal errors found after parsing");
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/libcomps/tests/check_parse.c: In function ‘test_main2_fn’:
TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/libcomps/tests/check_parse.c:507:39: warning: too many arguments for format [-Wformat-extra-args]
507 | fail_if(parsed->fatal_error != 0, "Some fatal errors found after parsing");
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/libcomps/tests/check_parse.c: In function ‘test_arch_fn’:
TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/libcomps/tests/check_parse.c:557:39: warning: too many arguments for format [-Wformat-extra-args]
557 | fail_if(parsed->fatal_error != 0, "Some fatal errors found after parsing");
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/libcomps/tests/check_parse.c:588:11: error: assignment to ‘COMPS_DocGroup *’ from incompatible pointer type ‘COMPS_DocCategory *’ [-Wincompatible-pointer-types]
588 | g = (COMPS_DocCategory*)it->comps_obj;
| ^
TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/libcomps/tests/check_parse.c:589:52: error: 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 TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/libcomps/tests/../src/comps_objradix.h:28,
from TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/libcomps/tests/../src/comps_objdict.h:32,
from TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/libcomps/tests/../src/comps_doc.h:24,
from TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/libcomps/tests/check_parse.c:23:
TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/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*/
|
TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/libcomps/tests/../src/comps_utils.h:94:71: note: in definition of macro ‘HEAD_COMPS_PROP_GETTER’
94 | (OBJTYPE *OBJNAME);
| ^~~~~~~
TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/libcomps/tests/check_parse.c:608:11: error: assignment to ‘COMPS_DocGroup *’ from incompatible pointer type ‘COMPS_DocEnv *’ [-Wincompatible-pointer-types]
608 | g = (COMPS_DocEnv*)it->comps_obj;
| ^
TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/libcomps/tests/check_parse.c:609:47: error: 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 *
TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/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*/
|
TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/libcomps/tests/../src/comps_utils.h:94:71: note: in definition of macro ‘HEAD_COMPS_PROP_GETTER’
94 | (OBJTYPE *OBJNAME);
| ^~~~~~~
[4/16] TOPDIR/tmp/hosttools/gcc -Dpycomps_EXPORTS -ITOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/build -ITOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/libcomps/src -ITOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/recipe-sysroot-native/usr/include/libxml2 -ITOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/recipe-sysroot-native/usr/include/python3.10 -isystemTOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/recipe-sysroot-native/usr/include -O2 -pipe --pedantic -std=c99 -Wall -Wextra -g -Wno-missing-field-initializers -O2 -fno-strict-aliasing -g -fPIC -MD -MT src/python/src/CMakeFiles/pycomps.dir/pycomps_lbw.c.o -MF src/python/src/CMakeFiles/pycomps.dir/pycomps_lbw.c.o.d -o src/python/src/CMakeFiles/pycomps.dir/pycomps_lbw.c.o -c TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/libcomps/src/python/src/pycomps_lbw.c
In file included from TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/recipe-sysroot-native/usr/include/python3.10/Python.h:118,
from TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/libcomps/src/python/src/pycomps_macros.h:24,
from TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/libcomps/src/python/src/pycomps_sequence.h:23,
from TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/libcomps/src/python/src/pycomps_mdict.h:26,
from TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/libcomps/src/python/src/pycomps_lbw.h:23,
from TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/libcomps/src/python/src/pycomps_lbw.c:19:
TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/recipe-sysroot-native/usr/include/python3.10/cpython/pytime.h:150:60: warning: ‘struct timespec’ declared inside parameter list will not be visible outside of this definition or declaration
150 | PyAPI_FUNC(int) _PyTime_FromTimespec(_PyTime_t *tp, struct timespec *ts);
| ^~~~~~~~
TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/recipe-sysroot-native/usr/include/python3.10/cpython/pytime.h:155:56: warning: ‘struct timespec’ declared inside parameter list will not be visible outside of this definition or declaration
155 | PyAPI_FUNC(int) _PyTime_AsTimespec(_PyTime_t t, struct timespec *ts);
| ^~~~~~~~
[5/16] TOPDIR/tmp/hosttools/gcc -Dpycomps_EXPORTS -ITOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/build -ITOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/libcomps/src -ITOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/recipe-sysroot-native/usr/include/libxml2 -ITOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/recipe-sysroot-native/usr/include/python3.10 -isystemTOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/recipe-sysroot-native/usr/include -O2 -pipe --pedantic -std=c99 -Wall -Wextra -g -Wno-missing-field-initializers -O2 -fno-strict-aliasing -g -fPIC -MD -MT src/python/src/CMakeFiles/pycomps.dir/pycomps_hash.c.o -MF src/python/src/CMakeFiles/pycomps.dir/pycomps_hash.c.o.d -o src/python/src/CMakeFiles/pycomps.dir/pycomps_hash.c.o -c TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/libcomps/src/python/src/pycomps_hash.c
In file included from TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/recipe-sysroot-native/usr/include/python3.10/Python.h:118,
from TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/libcomps/src/python/src/pycomps_macros.h:24,
from TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/libcomps/src/python/src/pycomps_hash.h:23,
from TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/libcomps/src/python/src/pycomps_hash.c:20:
TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/recipe-sysroot-native/usr/include/python3.10/cpython/pytime.h:150:60: warning: ‘struct timespec’ declared inside parameter list will not be visible outside of this definition or declaration
150 | PyAPI_FUNC(int) _PyTime_FromTimespec(_PyTime_t *tp, struct timespec *ts);
| ^~~~~~~~
TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/recipe-sysroot-native/usr/include/python3.10/cpython/pytime.h:155:56: warning: ‘struct timespec’ declared inside parameter list will not be visible outside of this definition or declaration
155 | PyAPI_FUNC(int) _PyTime_AsTimespec(_PyTime_t t, struct timespec *ts);
| ^~~~~~~~
[6/16] TOPDIR/tmp/hosttools/gcc -Dpycomps_EXPORTS -ITOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/build -ITOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/libcomps/src -ITOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/recipe-sysroot-native/usr/include/libxml2 -ITOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/recipe-sysroot-native/usr/include/python3.10 -isystemTOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/recipe-sysroot-native/usr/include -O2 -pipe --pedantic -std=c99 -Wall -Wextra -g -Wno-missing-field-initializers -O2 -fno-strict-aliasing -g -fPIC -MD -MT src/python/src/CMakeFiles/pycomps.dir/pycomps_gids.c.o -MF src/python/src/CMakeFiles/pycomps.dir/pycomps_gids.c.o.d -o src/python/src/CMakeFiles/pycomps.dir/pycomps_gids.c.o -c TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/libcomps/src/python/src/pycomps_gids.c
In file included from TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/recipe-sysroot-native/usr/include/python3.10/Python.h:118,
from TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/libcomps/src/python/src/pycomps_macros.h:24,
from TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/libcomps/src/python/src/pycomps_gids.h:23,
from TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/libcomps/src/python/src/pycomps_gids.c:20:
TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/recipe-sysroot-native/usr/include/python3.10/cpython/pytime.h:150:60: warning: ‘struct timespec’ declared inside parameter list will not be visible outside of this definition or declaration
150 | PyAPI_FUNC(int) _PyTime_FromTimespec(_PyTime_t *tp, struct timespec *ts);
| ^~~~~~~~
TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/recipe-sysroot-native/usr/include/python3.10/cpython/pytime.h:155:56: warning: ‘struct timespec’ declared inside parameter list will not be visible outside of this definition or declaration
155 | PyAPI_FUNC(int) _PyTime_AsTimespec(_PyTime_t t, struct timespec *ts);
| ^~~~~~~~
TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/libcomps/src/python/src/pycomps_gids.c:200: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]
200 | {"validate", (PyCFunction)PyCOMPSGID_validate, METH_NOARGS,
| ^
[7/16] TOPDIR/tmp/hosttools/gcc -Dpycomps_EXPORTS -ITOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/build -ITOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/libcomps/src -ITOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/recipe-sysroot-native/usr/include/libxml2 -ITOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/recipe-sysroot-native/usr/include/python3.10 -isystemTOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/recipe-sysroot-native/usr/include -O2 -pipe --pedantic -std=c99 -Wall -Wextra -g -Wno-missing-field-initializers -O2 -fno-strict-aliasing -g -fPIC -MD -MT src/python/src/CMakeFiles/pycomps.dir/pycomps_envs.c.o -MF src/python/src/CMakeFiles/pycomps.dir/pycomps_envs.c.o.d -o src/python/src/CMakeFiles/pycomps.dir/pycomps_envs.c.o -c TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/libcomps/src/python/src/pycomps_envs.c
In file included from TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/recipe-sysroot-native/usr/include/python3.10/Python.h:118,
from TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/libcomps/src/python/src/pycomps_macros.h:24,
from TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/libcomps/src/python/src/pycomps_envs.c:20:
TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/recipe-sysroot-native/usr/include/python3.10/cpython/pytime.h:150:60: warning: ‘struct timespec’ declared inside parameter list will not be visible outside of this definition or declaration
150 | PyAPI_FUNC(int) _PyTime_FromTimespec(_PyTime_t *tp, struct timespec *ts);
| ^~~~~~~~
TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/recipe-sysroot-native/usr/include/python3.10/cpython/pytime.h:155:56: warning: ‘struct timespec’ declared inside parameter list will not be visible outside of this definition or declaration
155 | PyAPI_FUNC(int) _PyTime_AsTimespec(_PyTime_t t, struct timespec *ts);
| ^~~~~~~~
TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/libcomps/src/python/src/pycomps_envs.c:168: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]
168 | {"validate", (PyCFunction)PyCOMPSEnv_validate, METH_NOARGS,
| ^
[8/16] TOPDIR/tmp/hosttools/gcc -Dpycomps_EXPORTS -ITOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/build -ITOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/libcomps/src -ITOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/recipe-sysroot-native/usr/include/libxml2 -ITOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/recipe-sysroot-native/usr/include/python3.10 -isystemTOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/recipe-sysroot-native/usr/include -O2 -pipe --pedantic -std=c99 -Wall -Wextra -g -Wno-missing-field-initializers -O2 -fno-strict-aliasing -g -fPIC -MD -MT src/python/src/CMakeFiles/pycomps.dir/pycomps_categories.c.o -MF src/python/src/CMakeFiles/pycomps.dir/pycomps_categories.c.o.d -o src/python/src/CMakeFiles/pycomps.dir/pycomps_categories.c.o -c TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/libcomps/src/python/src/pycomps_categories.c
In file included from TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/recipe-sysroot-native/usr/include/python3.10/Python.h:118,
from TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/libcomps/src/python/src/pycomps_macros.h:24,
from TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/libcomps/src/python/src/pycomps_categories.h:23,
from TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/libcomps/src/python/src/pycomps_categories.c:20:
TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/recipe-sysroot-native/usr/include/python3.10/cpython/pytime.h:150:60: warning: ‘struct timespec’ declared inside parameter list will not be visible outside of this definition or declaration
150 | PyAPI_FUNC(int) _PyTime_FromTimespec(_PyTime_t *tp, struct timespec *ts);
| ^~~~~~~~
TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/recipe-sysroot-native/usr/include/python3.10/cpython/pytime.h:155:56: warning: ‘struct timespec’ declared inside parameter list will not be visible outside of this definition or declaration
155 | PyAPI_FUNC(int) _PyTime_AsTimespec(_PyTime_t t, struct timespec *ts);
| ^~~~~~~~
TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/libcomps/src/python/src/pycomps_categories.c:202: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]
202 | {"validate", (PyCFunction)PyCOMPSCat_validate, METH_NOARGS,
| ^
[9/16] TOPDIR/tmp/hosttools/gcc -Dpycomps_EXPORTS -ITOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/build -ITOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/libcomps/src -ITOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/recipe-sysroot-native/usr/include/libxml2 -ITOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/recipe-sysroot-native/usr/include/python3.10 -isystemTOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/recipe-sysroot-native/usr/include -O2 -pipe --pedantic -std=c99 -Wall -Wextra -g -Wno-missing-field-initializers -O2 -fno-strict-aliasing -g -fPIC -MD -MT src/python/src/CMakeFiles/pycomps.dir/pycomps_groups.c.o -MF src/python/src/CMakeFiles/pycomps.dir/pycomps_groups.c.o.d -o src/python/src/CMakeFiles/pycomps.dir/pycomps_groups.c.o -c TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/libcomps/src/python/src/pycomps_groups.c
In file included from TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/recipe-sysroot-native/usr/include/python3.10/Python.h:118,
from TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/libcomps/src/python/src/pycomps_macros.h:24,
from TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/libcomps/src/python/src/pycomps_groups.h:23,
from TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/libcomps/src/python/src/pycomps_groups.c:20:
TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/recipe-sysroot-native/usr/include/python3.10/cpython/pytime.h:150:60: warning: ‘struct timespec’ declared inside parameter list will not be visible outside of this definition or declaration
150 | PyAPI_FUNC(int) _PyTime_FromTimespec(_PyTime_t *tp, struct timespec *ts);
| ^~~~~~~~
TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/recipe-sysroot-native/usr/include/python3.10/cpython/pytime.h:155:56: warning: ‘struct timespec’ declared inside parameter list will not be visible outside of this definition or declaration
155 | PyAPI_FUNC(int) _PyTime_AsTimespec(_PyTime_t t, struct timespec *ts);
| ^~~~~~~~
TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/libcomps/src/python/src/pycomps_groups.c:213: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]
213 | {"validate", (PyCFunction)PyCOMPSGroup_validate, METH_NOARGS,
| ^
TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/libcomps/src/python/src/pycomps_groups.c:215: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]
215 | {"packages_match", (PyCFunction)PyCOMPSGroup_packages_match,
| ^
TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/libcomps/src/python/src/pycomps_groups.c:845: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]
845 | {"validate", (PyCFunction)PyCOMPSPackage_validate, METH_NOARGS,
| ^
[10/16] TOPDIR/tmp/hosttools/gcc -Dpycomps_EXPORTS -ITOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/build -ITOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/libcomps/src -ITOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/recipe-sysroot-native/usr/include/libxml2 -ITOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/recipe-sysroot-native/usr/include/python3.10 -isystemTOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/recipe-sysroot-native/usr/include -O2 -pipe --pedantic -std=c99 -Wall -Wextra -g -Wno-missing-field-initializers -O2 -fno-strict-aliasing -g -fPIC -MD -MT src/python/src/CMakeFiles/pycomps.dir/pycomps_utils.c.o -MF src/python/src/CMakeFiles/pycomps.dir/pycomps_utils.c.o.d -o src/python/src/CMakeFiles/pycomps.dir/pycomps_utils.c.o -c TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/libcomps/src/python/src/pycomps_utils.c
[11/16] TOPDIR/tmp/hosttools/gcc -Dpycomps_EXPORTS -ITOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/build -ITOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/libcomps/src -ITOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/recipe-sysroot-native/usr/include/libxml2 -ITOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/recipe-sysroot-native/usr/include/python3.10 -isystemTOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/recipe-sysroot-native/usr/include -O2 -pipe --pedantic -std=c99 -Wall -Wextra -g -Wno-missing-field-initializers -O2 -fno-strict-aliasing -g -fPIC -MD -MT src/python/src/CMakeFiles/pycomps.dir/pycomps_dict.c.o -MF src/python/src/CMakeFiles/pycomps.dir/pycomps_dict.c.o.d -o src/python/src/CMakeFiles/pycomps.dir/pycomps_dict.c.o -c TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/libcomps/src/python/src/pycomps_dict.c
TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/libcomps/src/python/src/pycomps_dict.c:388: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]
388 | {"items", (PyCFunction)PyCOMPSDict_getiteritems, METH_NOARGS,
| ^
TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/libcomps/src/python/src/pycomps_dict.c:390:17: 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]
390 | {"values", (PyCFunction)PyCOMPSDict_getitervalues, METH_NOARGS,
| ^
TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/libcomps/src/python/src/pycomps_dict.c:392: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]
392 | {"keys", (PyCFunction)PyCOMPSDict_getiter, METH_NOARGS,
| ^
TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/libcomps/src/python/src/pycomps_dict.c:394: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]
394 | {"clear", (PyCFunction)PyCOMPSDict_clear, METH_NOARGS,
| ^
TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/libcomps/src/python/src/pycomps_dict.c:396: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]
396 | {"copy", (PyCFunction)PyCOMPSDict_copy, METH_NOARGS,
| ^
[12/16] TOPDIR/tmp/hosttools/gcc -Dpycomps_EXPORTS -ITOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/build -ITOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/libcomps/src -ITOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/recipe-sysroot-native/usr/include/libxml2 -ITOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/recipe-sysroot-native/usr/include/python3.10 -isystemTOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/recipe-sysroot-native/usr/include -O2 -pipe --pedantic -std=c99 -Wall -Wextra -g -Wno-missing-field-initializers -O2 -fno-strict-aliasing -g -fPIC -MD -MT src/python/src/CMakeFiles/pycomps.dir/pycomps_mdict.c.o -MF src/python/src/CMakeFiles/pycomps.dir/pycomps_mdict.c.o.d -o src/python/src/CMakeFiles/pycomps.dir/pycomps_mdict.c.o -c TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/libcomps/src/python/src/pycomps_mdict.c
TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/libcomps/src/python/src/pycomps_mdict.c:408: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]
408 | {"items", (PyCFunction)PyCOMPSMDict_getiteritems, METH_NOARGS,
| ^
TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/libcomps/src/python/src/pycomps_mdict.c:410:17: 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]
410 | {"values", (PyCFunction)PyCOMPSMDict_getitervalues, METH_NOARGS,
| ^
TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/libcomps/src/python/src/pycomps_mdict.c:412: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]
412 | {"keys", (PyCFunction)PyCOMPSMDict_getiter, METH_NOARGS,
| ^
TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/libcomps/src/python/src/pycomps_mdict.c:414: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]
414 | {"clear", (PyCFunction)PyCOMPSMDict_clear, METH_NOARGS,
| ^
TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/libcomps/src/python/src/pycomps_mdict.c:416: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]
416 | {"copy", (PyCFunction)PyCOMPSMDict_copy, METH_NOARGS,
| ^
[13/16] TOPDIR/tmp/hosttools/gcc -Dpycomps_EXPORTS -ITOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/build -ITOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/libcomps/src -ITOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/recipe-sysroot-native/usr/include/libxml2 -ITOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/recipe-sysroot-native/usr/include/python3.10 -isystemTOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/recipe-sysroot-native/usr/include -O2 -pipe --pedantic -std=c99 -Wall -Wextra -g -Wno-missing-field-initializers -O2 -fno-strict-aliasing -g -fPIC -MD -MT src/python/src/CMakeFiles/pycomps.dir/pycomps_sequence.c.o -MF src/python/src/CMakeFiles/pycomps.dir/pycomps_sequence.c.o.d -o src/python/src/CMakeFiles/pycomps.dir/pycomps_sequence.c.o -c TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/libcomps/src/python/src/pycomps_sequence.c
In file included from TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/recipe-sysroot-native/usr/include/python3.10/Python.h:118,
from TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/libcomps/src/python/src/pycomps_macros.h:24,
from TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/libcomps/src/python/src/pycomps_sequence.h:23,
from TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/libcomps/src/python/src/pycomps_sequence.c:20:
TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/recipe-sysroot-native/usr/include/python3.10/cpython/pytime.h:150:60: warning: ‘struct timespec’ declared inside parameter list will not be visible outside of this definition or declaration
150 | PyAPI_FUNC(int) _PyTime_FromTimespec(_PyTime_t *tp, struct timespec *ts);
| ^~~~~~~~
TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/recipe-sysroot-native/usr/include/python3.10/cpython/pytime.h:155:56: warning: ‘struct timespec’ declared inside parameter list will not be visible outside of this definition or declaration
155 | PyAPI_FUNC(int) _PyTime_AsTimespec(_PyTime_t t, struct timespec *ts);
| ^~~~~~~~
TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/libcomps/src/python/src/pycomps_sequence.c:646: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]
646 | {"clear", (PyCFunction)PyCOMPSSeq_clear, METH_NOARGS,
| ^
[14/16] TOPDIR/tmp/hosttools/gcc -Dpycomps_EXPORTS -ITOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/build -ITOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/libcomps/src -ITOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/recipe-sysroot-native/usr/include/libxml2 -ITOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/recipe-sysroot-native/usr/include/python3.10 -isystemTOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/recipe-sysroot-native/usr/include -O2 -pipe --pedantic -std=c99 -Wall -Wextra -g -Wno-missing-field-initializers -O2 -fno-strict-aliasing -g -fPIC -MD -MT src/python/src/CMakeFiles/pycomps.dir/pycomps.c.o -MF src/python/src/CMakeFiles/pycomps.dir/pycomps.c.o.d -o src/python/src/CMakeFiles/pycomps.dir/pycomps.c.o -c TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/libcomps/src/python/src/pycomps.c
In file included from TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/recipe-sysroot-native/usr/include/python3.10/Python.h:118,
from TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/libcomps/src/python/src/pycomps_macros.h:24,
from TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/libcomps/src/python/src/pycomps.c:28:
TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/recipe-sysroot-native/usr/include/python3.10/cpython/pytime.h:150:60: warning: ‘struct timespec’ declared inside parameter list will not be visible outside of this definition or declaration
150 | PyAPI_FUNC(int) _PyTime_FromTimespec(_PyTime_t *tp, struct timespec *ts);
| ^~~~~~~~
TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/recipe-sysroot-native/usr/include/python3.10/cpython/pytime.h:155:56: warning: ‘struct timespec’ declared inside parameter list will not be visible outside of this definition or declaration
155 | PyAPI_FUNC(int) _PyTime_AsTimespec(_PyTime_t t, struct timespec *ts);
| ^~~~~~~~
TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/libcomps/src/python/src/pycomps.c:765: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]
765 | {"groups_match", (PyCFunction)PyCOMPS_groups_match, METH_VARARGS | METH_KEYWORDS,
| ^
TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/libcomps/src/python/src/pycomps.c:767: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]
767 | {"categories_match", (PyCFunction)PyCOMPS_categories_match, METH_VARARGS | METH_KEYWORDS,
| ^
TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/libcomps/src/python/src/pycomps.c:769: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]
769 | {"environments_match", (PyCFunction)PyCOMPS_envs_match, METH_VARARGS | METH_KEYWORDS,
| ^
TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/libcomps/src/python/src/pycomps.c:771: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]
771 | {"validate", (PyCFunction)PyCOMPS_validate, METH_NOARGS,
| ^
TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/libcomps/src/python/src/pycomps.c:773: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]
773 | {"validate_nf", (PyCFunction)PyCOMPS_validate_nf, METH_NOARGS,
| ^
TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/libcomps/src/python/src/pycomps.c:775: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]
775 | {"xml_f", (PyCFunction)PyCOMPS_toxml_f, METH_VARARGS | METH_KEYWORDS,
| ^
TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/libcomps/src/python/src/pycomps.c:777: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]
777 | {"xml_str", (PyCFunction)PyCOMPS_toxml_str, METH_VARARGS | METH_KEYWORDS,
| ^
TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/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 | {"toxml_f", (PyCFunction)PyCOMPS_toxml_f, METH_VARARGS | METH_KEYWORDS,
| ^
TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/libcomps/src/python/src/pycomps.c:781: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]
781 | {"toxml_str", (PyCFunction)PyCOMPS_toxml_str, METH_VARARGS | METH_KEYWORDS,
| ^
TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/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 | {"fromxml_f", (PyCFunction)PyCOMPS_fromxml_f, METH_VARARGS | METH_KEYWORDS,
| ^
TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/libcomps/src/python/src/pycomps.c:785: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]
785 | {"fromxml_str", (PyCFunction)PyCOMPS_fromxml_str, METH_VARARGS | METH_KEYWORDS,
| ^
TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/libcomps/src/python/src/pycomps.c:787: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]
787 | {"clear", (PyCFunction)PyCOMPS_clear, METH_NOARGS,
| ^
TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/git/libcomps/src/python/src/pycomps.c:968: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]
968 | {"get_xml_default_options", (PyCFunction)Libcomps_xml_default, METH_NOARGS,
| ^
ninja: build stopped: subcommand failed.
WARNING: TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/temp/run.do_compile.1826917:165 exit 1 from 'eval ${DESTDIR:+DESTDIR=${DESTDIR} }VERBOSE=1 cmake --build 'TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/build' "$@" -- ${EXTRA_OECMAKE_BUILD}'
WARNING: Backtrace (BB generated script):
#1: cmake_runcmake_build, TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/temp/run.do_compile.1826917, line 165
#2: cmake_do_compile, TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/temp/run.do_compile.1826917, line 159
#3: do_compile, TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/temp/run.do_compile.1826917, line 154
#4: main, TOPDIR/tmp/work/x86_64-linux/libcomps-native/0.1.18-r0/temp/run.do_compile.1826917, line 178