DEBUG: Executing shell function do_compile
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.10
creating build/lib.linux-x86_64-3.10/pyfanotify
copying pyfanotify/__init__.py -> build/lib.linux-x86_64-3.10/pyfanotify
running build_ext
building 'pyfanotify.ext' extension
creating build/temp.linux-x86_64-3.10
creating build/temp.linux-x86_64-3.10/src
aarch64-yoe-linux-musl-clang -target aarch64-yoe-linux-musl -mcpu=cortex-a57 -march=armv8-a+crc -mlittle-endian --dyld-prefix=/usr -Qunused-arguments -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/python3-pyfanotify/0.1.3-r0/recipe-sysroot -Wno-unused-result -Wsign-compare -DNDEBUG -g -O3 -Wall -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/python3/3.10.4-r0=/usr/src/debug/python3/3.10.4-r0 -fdebug-prefix-map=TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/python3/3.10.4-r0=/usr/src/debug/python3/3.10.4-r0 -fdebug-prefix-map=TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/python3-pyfanotify/0.1.3-r0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/python3-pyfanotify/0.1.3-r0/recipe-sysroot-native= -DHAVE_BROKEN_POSIX_SEMAPHORES -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/python3/3.10.4-r0=/usr/src/debug/python3/3.10.4-r0 -fdebug-prefix-map=TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/python3/3.10.4-r0=/usr/src/debug/python3/3.10.4-r0 -fdebug-prefix-map=TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/python3-pyfanotify/0.1.3-r0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/python3-pyfanotify/0.1.3-r0/recipe-sysroot-native= -DHAVE_BROKEN_POSIX_SEMAPHORES -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/python3-pyfanotify/0.1.3-r0=/usr/src/debug/python3-pyfanotify/0.1.3-r0 -fdebug-prefix-map=TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/python3-pyfanotify/0.1.3-r0=/usr/src/debug/python3-pyfanotify/0.1.3-r0 -fdebug-prefix-map=TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/python3-pyfanotify/0.1.3-r0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/python3-pyfanotify/0.1.3-r0/recipe-sysroot-native= -fPIC -ITOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/python3-pyfanotify/0.1.3-r0/recipe-sysroot/usr/include/python3.10 -c src/ext.c -o build/temp.linux-x86_64-3.10/src/ext.o -std=c99
In file included from src/ext.c:6:
In file included from TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/python3-pyfanotify/0.1.3-r0/recipe-sysroot/usr/include/python3.10/Python.h:8:
TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/python3-pyfanotify/0.1.3-r0/recipe-sysroot/usr/include/python3.10/pyconfig.h:1696:9: warning: '_GNU_SOURCE' macro redefined [-Wmacro-redefined]
#define _GNU_SOURCE 1
^
src/ext.c:2:10: note: previous definition is here
# define _GNU_SOURCE
^
src/ext.c:514:13: error: use of undeclared identifier 'FNM_EXTMATCH'
FIND_RULE_CHECK_MATCH(exe, "/proc/%d/exe", pid);
^
src/ext.c:482:37: note: expanded from macro 'FIND_RULE_CHECK_MATCH'
(name).buf, FNM_EXTMATCH)) \
^
src/ext.c:515:13: error: use of undeclared identifier 'FNM_EXTMATCH'
FIND_RULE_CHECK_MATCH(cwd, "/proc/%d/cwd", pid);
^
src/ext.c:482:37: note: expanded from macro 'FIND_RULE_CHECK_MATCH'
(name).buf, FNM_EXTMATCH)) \
^
src/ext.c:516:13: error: use of undeclared identifier 'FNM_EXTMATCH'
FIND_RULE_CHECK_MATCH(path, "/proc/self/fd/%d", fd);
^
src/ext.c:482:37: note: expanded from macro 'FIND_RULE_CHECK_MATCH'
(name).buf, FNM_EXTMATCH)) \
^
1 warning and 3 errors generated.
error: command 'TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/python3-pyfanotify/0.1.3-r0/recipe-sysroot-native/usr/bin/aarch64-yoe-linux-musl/aarch64-yoe-linux-musl-clang' failed with exit code 1
ERROR: 'python3 setup.py bdist_wheel ' execution failed.
WARNING: TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/python3-pyfanotify/0.1.3-r0/temp/run.do_compile.3616:175 exit 1 from 'exit 1'
WARNING: Backtrace (BB generated script):
#1: bbfatal_log, TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/python3-pyfanotify/0.1.3-r0/temp/run.do_compile.3616, line 175
#2: setuptools3_do_compile, TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/python3-pyfanotify/0.1.3-r0/temp/run.do_compile.3616, line 165
#3: do_compile, TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/python3-pyfanotify/0.1.3-r0/temp/run.do_compile.3616, line 154
#4: main, TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/python3-pyfanotify/0.1.3-r0/temp/run.do_compile.3616, line 179