DEBUG: Executing shell function do_compile
W: [python3.1] DistUtilsExtra import error.
W: [python3.1] Sphinx import error.
running build
running build_py
creating build/lib.linux-x86_64-cpython-313/apt
copying apt/cache.py -> build/lib.linux-x86_64-cpython-313/apt
copying apt/cdrom.py -> build/lib.linux-x86_64-cpython-313/apt
copying apt/package.py -> build/lib.linux-x86_64-cpython-313/apt
copying apt/__init__.py -> build/lib.linux-x86_64-cpython-313/apt
copying apt/utils.py -> build/lib.linux-x86_64-cpython-313/apt
copying apt/auth.py -> build/lib.linux-x86_64-cpython-313/apt
copying apt/debfile.py -> build/lib.linux-x86_64-cpython-313/apt
creating build/lib.linux-x86_64-cpython-313/apt/progress
copying apt/progress/base.py -> build/lib.linux-x86_64-cpython-313/apt/progress
copying apt/progress/text.py -> build/lib.linux-x86_64-cpython-313/apt/progress
copying apt/progress/__init__.py -> build/lib.linux-x86_64-cpython-313/apt/progress
creating build/lib.linux-x86_64-cpython-313/aptsources
copying aptsources/_deb822.py -> build/lib.linux-x86_64-cpython-313/aptsources
copying aptsources/distro.py -> build/lib.linux-x86_64-cpython-313/aptsources
copying aptsources/__init__.py -> build/lib.linux-x86_64-cpython-313/aptsources
copying aptsources/distinfo.py -> build/lib.linux-x86_64-cpython-313/aptsources
copying aptsources/sourceslist.py -> build/lib.linux-x86_64-cpython-313/aptsources
copying apt/py.typed -> build/lib.linux-x86_64-cpython-313/apt
running build_ext
building 'apt_pkg' extension
creating build/temp.linux-x86_64-cpython-313/python
building 'apt_inst' extension
creating build/temp.linux-x86_64-cpython-313/python
aarch64-yoe-linux-musl-clang++ -mcpu=cortex-a57+crc --dyld-prefix=/usr -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TMPDIR/work/cortexa57-yoe-linux-musl/python3-apt/2.5.3/recipe-sysroot -O2 -g -ffile-prefix-map=TMPDIR/work/cortexa57-yoe-linux-musl/python3-apt/2.5.3/sources/python3-apt-2.5.3=/usr/src/debug/python3-apt/2.5.3 -ffile-prefix-map=TMPDIR/work/cortexa57-yoe-linux-musl/python3-apt/2.5.3/sources/python3-apt-2.5.3=/usr/src/debug/python3-apt/2.5.3 -ffile-prefix-map=TMPDIR/work/cortexa57-yoe-linux-musl/python3-apt/2.5.3/recipe-sysroot= -ffile-prefix-map=TMPDIR/work/cortexa57-yoe-linux-musl/python3-apt/2.5.3/recipe-sysroot-native= -pipe -fvisibility-inlines-hidden -fPIC -ITMPDIR/work/cortexa57-yoe-linux-musl/python3-apt/2.5.3/recipe-sysroot/usr/include/python3.13 -c python/acquire-item.cc -o build/temp.linux-x86_64-cpython-313/python/acquire-item.o -std=c++11 -Wno-write-strings -DAPT_8_CLEANER_HEADERS -DAPT_9_CLEANER_HEADERS -DAPT_10_CLEANER_HEADERS -DPY_SSIZE_T_CLEAN
aarch64-yoe-linux-musl-clang++ -mcpu=cortex-a57+crc --dyld-prefix=/usr -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TMPDIR/work/cortexa57-yoe-linux-musl/python3-apt/2.5.3/recipe-sysroot -O2 -g -ffile-prefix-map=TMPDIR/work/cortexa57-yoe-linux-musl/python3-apt/2.5.3/sources/python3-apt-2.5.3=/usr/src/debug/python3-apt/2.5.3 -ffile-prefix-map=TMPDIR/work/cortexa57-yoe-linux-musl/python3-apt/2.5.3/sources/python3-apt-2.5.3=/usr/src/debug/python3-apt/2.5.3 -ffile-prefix-map=TMPDIR/work/cortexa57-yoe-linux-musl/python3-apt/2.5.3/recipe-sysroot= -ffile-prefix-map=TMPDIR/work/cortexa57-yoe-linux-musl/python3-apt/2.5.3/recipe-sysroot-native= -pipe -fvisibility-inlines-hidden -fPIC -ITMPDIR/work/cortexa57-yoe-linux-musl/python3-apt/2.5.3/recipe-sysroot/usr/include/python3.13 -c python/apt_instmodule.cc -o build/temp.linux-x86_64-cpython-313/python/apt_instmodule.o -std=c++11 -Wno-write-strings -DPY_SSIZE_T_CLEAN
In file included from python/acquire-item.cc:24:
In file included from python/apt_pkgmodule.h:14:
In file included from TMPDIR/work/cortexa57-yoe-linux-musl/python3-apt/2.5.3/recipe-sysroot/usr/include/apt-pkg/hashes.h:15:
TMPDIR/work/cortexa57-yoe-linux-musl/python3-apt/2.5.3/recipe-sysroot/usr/include/apt-pkg/macros.h:105:1: error: use of class template 'AptScopeWrapper' requires template arguments
  105 | AptScopeWrapper(F) -> AptScopeWrapper<F>;
      | ^
TMPDIR/work/cortexa57-yoe-linux-musl/python3-apt/2.5.3/recipe-sysroot/usr/include/apt-pkg/macros.h:100:8: note: template is declared here
   99 | template <class F>
      | ~~~~~~~~~~~~~~~~~~
  100 | struct AptScopeWrapper {
      |        ^
TMPDIR/work/cortexa57-yoe-linux-musl/python3-apt/2.5.3/recipe-sysroot/usr/include/apt-pkg/macros.h:105:19: error: expected ';' after top level declarator
  105 | AptScopeWrapper(F) -> AptScopeWrapper<F>;
      |                   ^
In file included from python/apt_instmodule.cc:15:
In file included from python/apt_instmodule.h:15:
In file included from TMPDIR/work/cortexa57-yoe-linux-musl/python3-apt/2.5.3/recipe-sysroot/usr/include/apt-pkg/extracttar.h:16:
In file included from TMPDIR/work/cortexa57-yoe-linux-musl/python3-apt/2.5.3/recipe-sysroot/usr/include/apt-pkg/fileutl.h:27:
In file included from TMPDIR/work/cortexa57-yoe-linux-musl/python3-apt/2.5.3/recipe-sysroot/usr/include/apt-pkg/aptconfiguration.h:14:
TMPDIR/work/cortexa57-yoe-linux-musl/python3-apt/2.5.3/recipe-sysroot/usr/include/apt-pkg/macros.h:105:1: error: use of class template 'AptScopeWrapper' requires template arguments
  105 | AptScopeWrapper(F) -> AptScopeWrapper<F>;
      | ^
TMPDIR/work/cortexa57-yoe-linux-musl/python3-apt/2.5.3/recipe-sysroot/usr/include/apt-pkg/macros.h:100:8: note: template is declared here
   99 | template <class F>
      | ~~~~~~~~~~~~~~~~~~
  100 | struct AptScopeWrapper {
      |        ^
TMPDIR/work/cortexa57-yoe-linux-musl/python3-apt/2.5.3/recipe-sysroot/usr/include/apt-pkg/macros.h:105:19: error: expected ';' after top level declarator
  105 | AptScopeWrapper(F) -> AptScopeWrapper<F>;
      |                   ^
2 errors generated.
2 errors generated.
error: command 'TMPDIR/work/cortexa57-yoe-linux-musl/python3-apt/2.5.3/recipe-sysroot-native/usr/bin/aarch64-yoe-linux-musl/aarch64-yoe-linux-musl-clang++' failed with exit code 1
WARNING: TMPDIR/work/cortexa57-yoe-linux-musl/python3-apt/2.5.3/temp/run.do_compile.1278487:170 exit 1 from 'nativepython3 setup.py --verbose build -j 10 bdist_wheel --dist-dir TMPDIR/work/cortexa57-yoe-linux-musl/python3-apt/2.5.3/dist'
WARNING: Backtrace (BB generated script): 
	#1: setuptools3_do_compile, TMPDIR/work/cortexa57-yoe-linux-musl/python3-apt/2.5.3/temp/run.do_compile.1278487, line 170
	#2: do_compile, TMPDIR/work/cortexa57-yoe-linux-musl/python3-apt/2.5.3/temp/run.do_compile.1278487, line 153
	#3: main, TMPDIR/work/cortexa57-yoe-linux-musl/python3-apt/2.5.3/temp/run.do_compile.1278487, line 177

Error details

Submitted on:
11/09/25 02:43
Error type:
Recipe
Task:
do_compile
Recipe:
python3-apt
Recipe version:
2.5.3-r0
Machine:
qemuarm64
Distro:
yoe
Build system:
x86_64-linux
Target system:
aarch64-yoe-linux-musl
Host distro:
ubuntu-22.04/ubuntu-22.04
Branch:
HEAD
Commit:
bb9b195799b107eac0dbce22ecd6710ef76f6768
Build:
#216490
Submitter:
ab@rdk
Similar errors:
4
Open a bug