Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/python-av.spec'], chrootPath='/var/lib/mock/openeuler-23.09-aarch64-1713112168.910952/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1000gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/python-av.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False :1: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives :1: DeprecationWarning: The distutils.sysconfig module is deprecated, use sysconfig instead Building target platforms: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/python-av-12.0.0-1.src.rpm Child return code was: 0 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/python-av.spec'], chrootPath='/var/lib/mock/openeuler-23.09-aarch64-1713112168.910952/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1000gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/python-av.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False :1: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives :1: DeprecationWarning: The distutils.sysconfig module is deprecated, use sysconfig instead Building target platforms: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/python-av-12.0.0-1.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/python-av.spec'], chrootPath='/var/lib/mock/openeuler-23.09-aarch64-1713112168.910952/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1000gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/python-av.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.5oGiCw + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf PyAV-12.0.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/PyAV-12.0.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd PyAV-12.0.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0001-use-right-python-path.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.2LDQGt + umask 022 + cd /builddir/build/BUILD + cd PyAV-12.0.0 + make CFLAGS="-O0" LDFLAGS="" python3 setup.py build_ext --inplace --debug Compiling av/_core.pyx because it changed. [1/1] Cythonizing av/_core.pyx Compiling av/buffer.pyx because it changed. [1/1] Cythonizing av/buffer.pyx Compiling av/bytesource.pyx because it changed. [1/1] Cythonizing av/bytesource.pyx Compiling av/descriptor.pyx because it changed. [1/1] Cythonizing av/descriptor.pyx Compiling av/dictionary.pyx because it changed. [1/1] Cythonizing av/dictionary.pyx Compiling av/enum.pyx because it changed. [1/1] Cythonizing av/enum.pyx Compiling av/error.pyx because it changed. [1/1] Cythonizing av/error.pyx Compiling av/format.pyx because it changed. [1/1] Cythonizing av/format.pyx Compiling av/frame.pyx because it changed. [1/1] Cythonizing av/frame.pyx Compiling av/logging.pyx because it changed. [1/1] Cythonizing av/logging.pyx Compiling av/option.pyx because it changed. [1/1] Cythonizing av/option.pyx Compiling av/packet.pyx because it changed. [1/1] Cythonizing av/packet.pyx Compiling av/plane.pyx because it changed. [1/1] Cythonizing av/plane.pyx Compiling av/stream.pyx because it changed. [1/1] Cythonizing av/stream.pyx Compiling av/utils.pyx because it changed. [1/1] Cythonizing av/utils.pyx Compiling av/audio/codeccontext.pyx because it changed. [1/1] Cythonizing av/audio/codeccontext.pyx Compiling av/audio/fifo.pyx because it changed. [1/1] Cythonizing av/audio/fifo.pyx Compiling av/audio/format.pyx because it changed. [1/1] Cythonizing av/audio/format.pyx Compiling av/audio/frame.pyx because it changed. [1/1] Cythonizing av/audio/frame.pyx Compiling av/audio/layout.pyx because it changed. [1/1] Cythonizing av/audio/layout.pyx Compiling av/audio/plane.pyx because it changed. [1/1] Cythonizing av/audio/plane.pyx Compiling av/audio/resampler.pyx because it changed. [1/1] Cythonizing av/audio/resampler.pyx Compiling av/audio/stream.pyx because it changed. [1/1] Cythonizing av/audio/stream.pyx Compiling av/codec/codec.pyx because it changed. [1/1] Cythonizing av/codec/codec.pyx Compiling av/codec/context.pyx because it changed. [1/1] Cythonizing av/codec/context.pyx Compiling av/container/core.pyx because it changed. [1/1] Cythonizing av/container/core.pyx Compiling av/container/input.pyx because it changed. [1/1] Cythonizing av/container/input.pyx Compiling av/container/output.pyx because it changed. [1/1] Cythonizing av/container/output.pyx Compiling av/container/pyio.pyx because it changed. [1/1] Cythonizing av/container/pyio.pyx Compiling av/container/streams.pyx because it changed. [1/1] Cythonizing av/container/streams.pyx Compiling av/data/stream.pyx because it changed. [1/1] Cythonizing av/data/stream.pyx Compiling av/filter/context.pyx because it changed. [1/1] Cythonizing av/filter/context.pyx Compiling av/filter/filter.pyx because it changed. [1/1] Cythonizing av/filter/filter.pyx Compiling av/filter/graph.pyx because it changed. [1/1] Cythonizing av/filter/graph.pyx Compiling av/filter/link.pyx because it changed. [1/1] Cythonizing av/filter/link.pyx Compiling av/filter/pad.pyx because it changed. [1/1] Cythonizing av/filter/pad.pyx Compiling av/sidedata/motionvectors.pyx because it changed. [1/1] Cythonizing av/sidedata/motionvectors.pyx Compiling av/sidedata/sidedata.pyx because it changed. [1/1] Cythonizing av/sidedata/sidedata.pyx Compiling av/subtitles/codeccontext.pyx because it changed. [1/1] Cythonizing av/subtitles/codeccontext.pyx Compiling av/subtitles/stream.pyx because it changed. [1/1] Cythonizing av/subtitles/stream.pyx Compiling av/subtitles/subtitle.pyx because it changed. [1/1] Cythonizing av/subtitles/subtitle.pyx Compiling av/video/codeccontext.pyx because it changed. [1/1] Cythonizing av/video/codeccontext.pyx Compiling av/video/format.pyx because it changed. [1/1] Cythonizing av/video/format.pyx Compiling av/video/frame.pyx because it changed. [1/1] Cythonizing av/video/frame.pyx Compiling av/video/plane.pyx because it changed. [1/1] Cythonizing av/video/plane.pyx Compiling av/video/reformatter.pyx because it changed. [1/1] Cythonizing av/video/reformatter.pyx Compiling av/video/stream.pyx because it changed. [1/1] Cythonizing av/video/stream.pyx running build_ext building 'av._core' extension creating build creating build/temp.linux-aarch64-cpython-311 creating build/temp.linux-aarch64-cpython-311/src creating build/temp.linux-aarch64-cpython-311/src/av gcc -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -D_GNU_SOURCE -fPIC -fwrapv -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -O0 -fPIC -g -I/usr/include/ffmpeg -I/usr/include/python3.11 -c src/av/_core.c -o build/temp.linux-aarch64-cpython-311/src/av/_core.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:26, from /usr/include/python3.11/Python.h:23, from src/av/_core.c:55: /usr/include/features.h:414:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 414 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ creating build/lib.linux-aarch64-cpython-311 creating build/lib.linux-aarch64-cpython-311/av gcc -shared -g -g -O0 -g build/temp.linux-aarch64-cpython-311/src/av/_core.o -L/usr/lib64 -lavformat -lavcodec -lavdevice -lavutil -lavfilter -lswscale -lswresample -o build/lib.linux-aarch64-cpython-311/av/_core.cpython-311-aarch64-linux-gnu.so building 'av.buffer' extension gcc -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -D_GNU_SOURCE -fPIC -fwrapv -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -O0 -fPIC -g -I/usr/include/ffmpeg -I/usr/include/python3.11 -c src/av/buffer.c -o build/temp.linux-aarch64-cpython-311/src/av/buffer.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:26, from /usr/include/python3.11/Python.h:23, from src/av/buffer.c:31: /usr/include/features.h:414:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 414 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ gcc -shared -g -g -O0 -g build/temp.linux-aarch64-cpython-311/src/av/buffer.o -L/usr/lib64 -lavformat -lavcodec -lavdevice -lavutil -lavfilter -lswscale -lswresample -o build/lib.linux-aarch64-cpython-311/av/buffer.cpython-311-aarch64-linux-gnu.so building 'av.bytesource' extension gcc -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -D_GNU_SOURCE -fPIC -fwrapv -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -O0 -fPIC -g -I/usr/include/ffmpeg -I/usr/include/python3.11 -c src/av/bytesource.c -o build/temp.linux-aarch64-cpython-311/src/av/bytesource.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:26, from /usr/include/python3.11/Python.h:23, from src/av/bytesource.c:31: /usr/include/features.h:414:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 414 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ gcc -shared -g -g -O0 -g build/temp.linux-aarch64-cpython-311/src/av/bytesource.o -L/usr/lib64 -lavformat -lavcodec -lavdevice -lavutil -lavfilter -lswscale -lswresample -o build/lib.linux-aarch64-cpython-311/av/bytesource.cpython-311-aarch64-linux-gnu.so building 'av.descriptor' extension gcc -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -D_GNU_SOURCE -fPIC -fwrapv -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -O0 -fPIC -g -I/usr/include/ffmpeg -I/usr/include/python3.11 -c src/av/descriptor.c -o build/temp.linux-aarch64-cpython-311/src/av/descriptor.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:26, from /usr/include/python3.11/Python.h:23, from src/av/descriptor.c:55: /usr/include/features.h:414:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 414 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ gcc -shared -g -g -O0 -g build/temp.linux-aarch64-cpython-311/src/av/descriptor.o -L/usr/lib64 -lavformat -lavcodec -lavdevice -lavutil -lavfilter -lswscale -lswresample -o build/lib.linux-aarch64-cpython-311/av/descriptor.cpython-311-aarch64-linux-gnu.so building 'av.dictionary' extension gcc -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -D_GNU_SOURCE -fPIC -fwrapv -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -O0 -fPIC -g -I/usr/include/ffmpeg -I/usr/include/python3.11 -c src/av/dictionary.c -o build/temp.linux-aarch64-cpython-311/src/av/dictionary.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:26, from /usr/include/python3.11/Python.h:23, from src/av/dictionary.c:55: /usr/include/features.h:414:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 414 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ gcc -shared -g -g -O0 -g build/temp.linux-aarch64-cpython-311/src/av/dictionary.o -L/usr/lib64 -lavformat -lavcodec -lavdevice -lavutil -lavfilter -lswscale -lswresample -o build/lib.linux-aarch64-cpython-311/av/dictionary.cpython-311-aarch64-linux-gnu.so building 'av.enum' extension gcc -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -D_GNU_SOURCE -fPIC -fwrapv -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -O0 -fPIC -g -I/usr/include/ffmpeg -I/usr/include/python3.11 -c src/av/enum.c -o build/temp.linux-aarch64-cpython-311/src/av/enum.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:26, from /usr/include/python3.11/Python.h:23, from src/av/enum.c:30: /usr/include/features.h:414:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 414 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ gcc -shared -g -g -O0 -g build/temp.linux-aarch64-cpython-311/src/av/enum.o -L/usr/lib64 -lavformat -lavcodec -lavdevice -lavutil -lavfilter -lswscale -lswresample -o build/lib.linux-aarch64-cpython-311/av/enum.cpython-311-aarch64-linux-gnu.so building 'av.error' extension gcc -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -D_GNU_SOURCE -fPIC -fwrapv -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -O0 -fPIC -g -I/usr/include/ffmpeg -I/usr/include/python3.11 -c src/av/error.c -o build/temp.linux-aarch64-cpython-311/src/av/error.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:26, from /usr/include/python3.11/Python.h:23, from src/av/error.c:55: /usr/include/features.h:414:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 414 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ gcc -shared -g -g -O0 -g build/temp.linux-aarch64-cpython-311/src/av/error.o -L/usr/lib64 -lavformat -lavcodec -lavdevice -lavutil -lavfilter -lswscale -lswresample -o build/lib.linux-aarch64-cpython-311/av/error.cpython-311-aarch64-linux-gnu.so building 'av.format' extension gcc -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -D_GNU_SOURCE -fPIC -fwrapv -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -O0 -fPIC -g -I/usr/include/ffmpeg -I/usr/include/python3.11 -c src/av/format.c -o build/temp.linux-aarch64-cpython-311/src/av/format.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:26, from /usr/include/python3.11/Python.h:23, from src/av/format.c:55: /usr/include/features.h:414:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 414 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ gcc -shared -g -g -O0 -g build/temp.linux-aarch64-cpython-311/src/av/format.o -L/usr/lib64 -lavformat -lavcodec -lavdevice -lavutil -lavfilter -lswscale -lswresample -o build/lib.linux-aarch64-cpython-311/av/format.cpython-311-aarch64-linux-gnu.so building 'av.frame' extension gcc -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -D_GNU_SOURCE -fPIC -fwrapv -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -O0 -fPIC -g -I/usr/include/ffmpeg -I/usr/include/python3.11 -c src/av/frame.c -o build/temp.linux-aarch64-cpython-311/src/av/frame.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:26, from /usr/include/python3.11/Python.h:23, from src/av/frame.c:55: /usr/include/features.h:414:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 414 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ gcc -shared -g -g -O0 -g build/temp.linux-aarch64-cpython-311/src/av/frame.o -L/usr/lib64 -lavformat -lavcodec -lavdevice -lavutil -lavfilter -lswscale -lswresample -o build/lib.linux-aarch64-cpython-311/av/frame.cpython-311-aarch64-linux-gnu.so building 'av.logging' extension gcc -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -D_GNU_SOURCE -fPIC -fwrapv -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -O0 -fPIC -g -I/usr/include/ffmpeg -I/usr/include/python3.11 -c src/av/logging.c -o build/temp.linux-aarch64-cpython-311/src/av/logging.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:26, from /usr/include/python3.11/Python.h:23, from src/av/logging.c:55: /usr/include/features.h:414:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 414 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ gcc -shared -g -g -O0 -g build/temp.linux-aarch64-cpython-311/src/av/logging.o -L/usr/lib64 -lavformat -lavcodec -lavdevice -lavutil -lavfilter -lswscale -lswresample -o build/lib.linux-aarch64-cpython-311/av/logging.cpython-311-aarch64-linux-gnu.so building 'av.option' extension gcc -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -D_GNU_SOURCE -fPIC -fwrapv -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -O0 -fPIC -g -I/usr/include/ffmpeg -I/usr/include/python3.11 -c src/av/option.c -o build/temp.linux-aarch64-cpython-311/src/av/option.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:26, from /usr/include/python3.11/Python.h:23, from src/av/option.c:55: /usr/include/features.h:414:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 414 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ gcc -shared -g -g -O0 -g build/temp.linux-aarch64-cpython-311/src/av/option.o -L/usr/lib64 -lavformat -lavcodec -lavdevice -lavutil -lavfilter -lswscale -lswresample -o build/lib.linux-aarch64-cpython-311/av/option.cpython-311-aarch64-linux-gnu.so building 'av.packet' extension gcc -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -D_GNU_SOURCE -fPIC -fwrapv -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -O0 -fPIC -g -I/usr/include/ffmpeg -I/usr/include/python3.11 -c src/av/packet.c -o build/temp.linux-aarch64-cpython-311/src/av/packet.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:26, from /usr/include/python3.11/Python.h:23, from src/av/packet.c:55: /usr/include/features.h:414:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 414 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ gcc -shared -g -g -O0 -g build/temp.linux-aarch64-cpython-311/src/av/packet.o -L/usr/lib64 -lavformat -lavcodec -lavdevice -lavutil -lavfilter -lswscale -lswresample -o build/lib.linux-aarch64-cpython-311/av/packet.cpython-311-aarch64-linux-gnu.so building 'av.plane' extension gcc -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -D_GNU_SOURCE -fPIC -fwrapv -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -O0 -fPIC -g -I/usr/include/ffmpeg -I/usr/include/python3.11 -c src/av/plane.c -o build/temp.linux-aarch64-cpython-311/src/av/plane.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:26, from /usr/include/python3.11/Python.h:23, from src/av/plane.c:55: /usr/include/features.h:414:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 414 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ gcc -shared -g -g -O0 -g build/temp.linux-aarch64-cpython-311/src/av/plane.o -L/usr/lib64 -lavformat -lavcodec -lavdevice -lavutil -lavfilter -lswscale -lswresample -o build/lib.linux-aarch64-cpython-311/av/plane.cpython-311-aarch64-linux-gnu.so building 'av.stream' extension gcc -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -D_GNU_SOURCE -fPIC -fwrapv -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -O0 -fPIC -g -I/usr/include/ffmpeg -I/usr/include/python3.11 -c src/av/stream.c -o build/temp.linux-aarch64-cpython-311/src/av/stream.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:26, from /usr/include/python3.11/Python.h:23, from src/av/stream.c:55: /usr/include/features.h:414:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 414 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ gcc -shared -g -g -O0 -g build/temp.linux-aarch64-cpython-311/src/av/stream.o -L/usr/lib64 -lavformat -lavcodec -lavdevice -lavutil -lavfilter -lswscale -lswresample -o build/lib.linux-aarch64-cpython-311/av/stream.cpython-311-aarch64-linux-gnu.so building 'av.utils' extension gcc -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -D_GNU_SOURCE -fPIC -fwrapv -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -O0 -fPIC -g -I/usr/include/ffmpeg -I/usr/include/python3.11 -c src/av/utils.c -o build/temp.linux-aarch64-cpython-311/src/av/utils.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:26, from /usr/include/python3.11/Python.h:23, from src/av/utils.c:55: /usr/include/features.h:414:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 414 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ gcc -shared -g -g -O0 -g build/temp.linux-aarch64-cpython-311/src/av/utils.o -L/usr/lib64 -lavformat -lavcodec -lavdevice -lavutil -lavfilter -lswscale -lswresample -o build/lib.linux-aarch64-cpython-311/av/utils.cpython-311-aarch64-linux-gnu.so building 'av.audio.codeccontext' extension creating build/temp.linux-aarch64-cpython-311/src/av/audio gcc -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -D_GNU_SOURCE -fPIC -fwrapv -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -O0 -fPIC -g -I/usr/include/ffmpeg -I/usr/include/python3.11 -c src/av/audio/codeccontext.c -o build/temp.linux-aarch64-cpython-311/src/av/audio/codeccontext.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:26, from /usr/include/python3.11/Python.h:23, from src/av/audio/codeccontext.c:55: /usr/include/features.h:414:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 414 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ creating build/lib.linux-aarch64-cpython-311/av/audio gcc -shared -g -g -O0 -g build/temp.linux-aarch64-cpython-311/src/av/audio/codeccontext.o -L/usr/lib64 -lavformat -lavcodec -lavdevice -lavutil -lavfilter -lswscale -lswresample -o build/lib.linux-aarch64-cpython-311/av/audio/codeccontext.cpython-311-aarch64-linux-gnu.so building 'av.audio.fifo' extension gcc -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -D_GNU_SOURCE -fPIC -fwrapv -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -O0 -fPIC -g -I/usr/include/ffmpeg -I/usr/include/python3.11 -c src/av/audio/fifo.c -o build/temp.linux-aarch64-cpython-311/src/av/audio/fifo.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:26, from /usr/include/python3.11/Python.h:23, from src/av/audio/fifo.c:55: /usr/include/features.h:414:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 414 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ gcc -shared -g -g -O0 -g build/temp.linux-aarch64-cpython-311/src/av/audio/fifo.o -L/usr/lib64 -lavformat -lavcodec -lavdevice -lavutil -lavfilter -lswscale -lswresample -o build/lib.linux-aarch64-cpython-311/av/audio/fifo.cpython-311-aarch64-linux-gnu.so building 'av.audio.format' extension gcc -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -D_GNU_SOURCE -fPIC -fwrapv -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -O0 -fPIC -g -I/usr/include/ffmpeg -I/usr/include/python3.11 -c src/av/audio/format.c -o build/temp.linux-aarch64-cpython-311/src/av/audio/format.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:26, from /usr/include/python3.11/Python.h:23, from src/av/audio/format.c:55: /usr/include/features.h:414:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 414 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ gcc -shared -g -g -O0 -g build/temp.linux-aarch64-cpython-311/src/av/audio/format.o -L/usr/lib64 -lavformat -lavcodec -lavdevice -lavutil -lavfilter -lswscale -lswresample -o build/lib.linux-aarch64-cpython-311/av/audio/format.cpython-311-aarch64-linux-gnu.so building 'av.audio.frame' extension gcc -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -D_GNU_SOURCE -fPIC -fwrapv -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -O0 -fPIC -g -I/usr/include/ffmpeg -I/usr/include/python3.11 -c src/av/audio/frame.c -o build/temp.linux-aarch64-cpython-311/src/av/audio/frame.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:26, from /usr/include/python3.11/Python.h:23, from src/av/audio/frame.c:55: /usr/include/features.h:414:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 414 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ gcc -shared -g -g -O0 -g build/temp.linux-aarch64-cpython-311/src/av/audio/frame.o -L/usr/lib64 -lavformat -lavcodec -lavdevice -lavutil -lavfilter -lswscale -lswresample -o build/lib.linux-aarch64-cpython-311/av/audio/frame.cpython-311-aarch64-linux-gnu.so building 'av.audio.layout' extension gcc -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -D_GNU_SOURCE -fPIC -fwrapv -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -O0 -fPIC -g -I/usr/include/ffmpeg -I/usr/include/python3.11 -c src/av/audio/layout.c -o build/temp.linux-aarch64-cpython-311/src/av/audio/layout.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:26, from /usr/include/python3.11/Python.h:23, from src/av/audio/layout.c:55: /usr/include/features.h:414:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 414 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ gcc -shared -g -g -O0 -g build/temp.linux-aarch64-cpython-311/src/av/audio/layout.o -L/usr/lib64 -lavformat -lavcodec -lavdevice -lavutil -lavfilter -lswscale -lswresample -o build/lib.linux-aarch64-cpython-311/av/audio/layout.cpython-311-aarch64-linux-gnu.so building 'av.audio.plane' extension gcc -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -D_GNU_SOURCE -fPIC -fwrapv -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -O0 -fPIC -g -I/usr/include/ffmpeg -I/usr/include/python3.11 -c src/av/audio/plane.c -o build/temp.linux-aarch64-cpython-311/src/av/audio/plane.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:26, from /usr/include/python3.11/Python.h:23, from src/av/audio/plane.c:55: /usr/include/features.h:414:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 414 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ gcc -shared -g -g -O0 -g build/temp.linux-aarch64-cpython-311/src/av/audio/plane.o -L/usr/lib64 -lavformat -lavcodec -lavdevice -lavutil -lavfilter -lswscale -lswresample -o build/lib.linux-aarch64-cpython-311/av/audio/plane.cpython-311-aarch64-linux-gnu.so building 'av.audio.resampler' extension gcc -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -D_GNU_SOURCE -fPIC -fwrapv -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -O0 -fPIC -g -I/usr/include/ffmpeg -I/usr/include/python3.11 -c src/av/audio/resampler.c -o build/temp.linux-aarch64-cpython-311/src/av/audio/resampler.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:26, from /usr/include/python3.11/Python.h:23, from src/av/audio/resampler.c:55: /usr/include/features.h:414:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 414 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ gcc -shared -g -g -O0 -g build/temp.linux-aarch64-cpython-311/src/av/audio/resampler.o -L/usr/lib64 -lavformat -lavcodec -lavdevice -lavutil -lavfilter -lswscale -lswresample -o build/lib.linux-aarch64-cpython-311/av/audio/resampler.cpython-311-aarch64-linux-gnu.so building 'av.audio.stream' extension gcc -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -D_GNU_SOURCE -fPIC -fwrapv -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -O0 -fPIC -g -I/usr/include/ffmpeg -I/usr/include/python3.11 -c src/av/audio/stream.c -o build/temp.linux-aarch64-cpython-311/src/av/audio/stream.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:26, from /usr/include/python3.11/Python.h:23, from src/av/audio/stream.c:55: /usr/include/features.h:414:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 414 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ gcc -shared -g -g -O0 -g build/temp.linux-aarch64-cpython-311/src/av/audio/stream.o -L/usr/lib64 -lavformat -lavcodec -lavdevice -lavutil -lavfilter -lswscale -lswresample -o build/lib.linux-aarch64-cpython-311/av/audio/stream.cpython-311-aarch64-linux-gnu.so building 'av.codec.codec' extension creating build/temp.linux-aarch64-cpython-311/src/av/codec gcc -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -D_GNU_SOURCE -fPIC -fwrapv -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -O0 -fPIC -g -I/usr/include/ffmpeg -I/usr/include/python3.11 -c src/av/codec/codec.c -o build/temp.linux-aarch64-cpython-311/src/av/codec/codec.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:26, from /usr/include/python3.11/Python.h:23, from src/av/codec/codec.c:55: /usr/include/features.h:414:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 414 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ src/av/codec/codec.c: In function ‘__pyx_pymod_exec_codec’: src/av/codec/codec.c:6238:36: error: ‘AV_CODEC_CAP_OTHER_THREADS’ undeclared (first use in this function); did you mean ‘AV_CODEC_CAP_SLICE_THREADS’? 6238 | __pyx_t_7 = __Pyx_PyInt_From_int(AV_CODEC_CAP_OTHER_THREADS); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 104, __pyx_L1_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | AV_CODEC_CAP_SLICE_THREADS src/av/codec/codec.c:6238:36: note: each undeclared identifier is reported only once for each function it appears in error: command '/usr/bin/gcc' failed with exit code 1 make: *** [Makefile:14: build] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.2LDQGt (%build) Bad exit status from /var/tmp/rpm-tmp.2LDQGt (%build) RPM build errors: Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/python-av.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.9/site-packages/mockbuild/util.py", line 598, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/python-av.spec