DEBUG: Executing shell function do_compile
NOTE: cmake --build TMPDIR/work/cortexa57-yoe-linux-musl/apt/3.0.3/build --target all --
[1/168] Building CXX object apt-pkg/CMakeFiles/apt-pkg.dir/tagfile-keys.cc.o
[2/168] Building CXX object apt-pkg/CMakeFiles/apt-pkg.dir/cachefile.cc.o
In file included from TMPDIR/work/cortexa57-yoe-linux-musl/apt/3.0.3/sources/apt-3.0.3/apt-pkg/cachefile.cc:16:
In file included from TMPDIR/work/cortexa57-yoe-linux-musl/apt/3.0.3/build/include/apt-pkg/cachefile.h:21:
In file included from TMPDIR/work/cortexa57-yoe-linux-musl/apt/3.0.3/build/include/apt-pkg/depcache.h:42:
TMPDIR/work/cortexa57-yoe-linux-musl/apt/3.0.3/build/include/apt-pkg/pkgcache.h:638:39: warning: unknown attribute 'gnu::unavailable' ignored [-Wunknown-attributes]
  638 |    map_pointer<Version> VersionList [[gnu::unavailable("not yet available")]];
      |                                       ^~~~~~~~~~~~~~~~
TMPDIR/work/cortexa57-yoe-linux-musl/apt/3.0.3/build/include/apt-pkg/pkgcache.h:639:51: warning: unknown attribute 'gnu::unavailable' ignored [-Wunknown-attributes]
  639 |    map_pointer<SourceVersion> NextSourceVersion [[gnu::unavailable("not yet available")]];
      |                                                   ^~~~~~~~~~~~~~~~
In file included from TMPDIR/work/cortexa57-yoe-linux-musl/apt/3.0.3/sources/apt-3.0.3/apt-pkg/cachefile.cc:16:
In file included from TMPDIR/work/cortexa57-yoe-linux-musl/apt/3.0.3/build/include/apt-pkg/cachefile.h:21:
In file included from TMPDIR/work/cortexa57-yoe-linux-musl/apt/3.0.3/build/include/apt-pkg/depcache.h:42:
In file included from TMPDIR/work/cortexa57-yoe-linux-musl/apt/3.0.3/build/include/apt-pkg/pkgcache.h:827:
TMPDIR/work/cortexa57-yoe-linux-musl/apt/3.0.3/build/include/apt-pkg/cacheiterators.h:423:54: warning: misleading indentation; statement is not part of the previous 'if' [-Wmisleading-indentation]
  423 |            (Type == PrvVer?S->NextPkgProv:S->NextProvides); return *this;}
      |                                                             ^
TMPDIR/work/cortexa57-yoe-linux-musl/apt/3.0.3/build/include/apt-pkg/cacheiterators.h:422:37: note: previous statement is here
  422 |         inline PrvIterator& operator ++() {if (S != Owner->ProvideP) S = Owner->ProvideP +
      |                                            ^
3 warnings generated.
[3/168] Building CXX object apt-pkg/CMakeFiles/apt-pkg.dir/cachefilter.cc.o
In file included from TMPDIR/work/cortexa57-yoe-linux-musl/apt/3.0.3/sources/apt-3.0.3/apt-pkg/cachefilter.cc:9:
In file included from TMPDIR/work/cortexa57-yoe-linux-musl/apt/3.0.3/build/include/apt-pkg/cachefile.h:21:
In file included from TMPDIR/work/cortexa57-yoe-linux-musl/apt/3.0.3/build/include/apt-pkg/depcache.h:42:
TMPDIR/work/cortexa57-yoe-linux-musl/apt/3.0.3/build/include/apt-pkg/pkgcache.h:638:39: warning: unknown attribute 'gnu::unavailable' ignored [-Wunknown-attributes]
  638 |    map_pointer<Version> VersionList [[gnu::unavailable("not yet available")]];
      |                                       ^~~~~~~~~~~~~~~~
TMPDIR/work/cortexa57-yoe-linux-musl/apt/3.0.3/build/include/apt-pkg/pkgcache.h:639:51: warning: unknown attribute 'gnu::unavailable' ignored [-Wunknown-attributes]
  639 |    map_pointer<SourceVersion> NextSourceVersion [[gnu::unavailable("not yet available")]];
      |                                                   ^~~~~~~~~~~~~~~~
In file included from TMPDIR/work/cortexa57-yoe-linux-musl/apt/3.0.3/sources/apt-3.0.3/apt-pkg/cachefilter.cc:9:
In file included from TMPDIR/work/cortexa57-yoe-linux-musl/apt/3.0.3/build/include/apt-pkg/cachefile.h:21:
In file included from TMPDIR/work/cortexa57-yoe-linux-musl/apt/3.0.3/build/include/apt-pkg/depcache.h:42:
In file included from TMPDIR/work/cortexa57-yoe-linux-musl/apt/3.0.3/build/include/apt-pkg/pkgcache.h:827:
TMPDIR/work/cortexa57-yoe-linux-musl/apt/3.0.3/build/include/apt-pkg/cacheiterators.h:423:54: warning: misleading indentation; statement is not part of the previous 'if' [-Wmisleading-indentation]
  423 |            (Type == PrvVer?S->NextPkgProv:S->NextProvides); return *this;}
      |                                                             ^
TMPDIR/work/cortexa57-yoe-linux-musl/apt/3.0.3/build/include/apt-pkg/cacheiterators.h:422:37: note: previous statement is here
  422 |         inline PrvIterator& operator ++() {if (S != Owner->ProvideP) S = Owner->ProvideP +
      |                                            ^
3 warnings generated.
[4/168] Building CXX object apt-pkg/CMakeFiles/apt-pkg.dir/acquire-method.cc.o
In file included from TMPDIR/work/cortexa57-yoe-linux-musl/apt/3.0.3/sources/apt-3.0.3/apt-pkg/acquire-method.cc:19:
TMPDIR/work/cortexa57-yoe-linux-musl/apt/3.0.3/build/include/apt-pkg/acquire-method.h:77:20: warning: private field 'd' is not used [-Wunused-private-field]
   77 |       void * const d;
      |                    ^
1 warning generated.
[5/168] Building CXX object apt-pkg/CMakeFiles/apt-pkg.dir/cachefilter-patterns.cc.o
In file included from TMPDIR/work/cortexa57-yoe-linux-musl/apt/3.0.3/sources/apt-3.0.3/apt-pkg/cachefilter-patterns.cc:11:
In file included from TMPDIR/work/cortexa57-yoe-linux-musl/apt/3.0.3/build/include/apt-pkg/cachefilter-patterns.h:11:
In file included from TMPDIR/work/cortexa57-yoe-linux-musl/apt/3.0.3/build/include/apt-pkg/cachefile.h:21:
In file included from TMPDIR/work/cortexa57-yoe-linux-musl/apt/3.0.3/build/include/apt-pkg/depcache.h:42:
TMPDIR/work/cortexa57-yoe-linux-musl/apt/3.0.3/build/include/apt-pkg/pkgcache.h:638:39: warning: unknown attribute 'gnu::unavailable' ignored [-Wunknown-attributes]
  638 |    map_pointer<Version> VersionList [[gnu::unavailable("not yet available")]];
      |                                       ^~~~~~~~~~~~~~~~
TMPDIR/work/cortexa57-yoe-linux-musl/apt/3.0.3/build/include/apt-pkg/pkgcache.h:639:51: warning: unknown attribute 'gnu::unavailable' ignored [-Wunknown-attributes]
  639 |    map_pointer<SourceVersion> NextSourceVersion [[gnu::unavailable("not yet available")]];
      |                                                   ^~~~~~~~~~~~~~~~
In file included from TMPDIR/work/cortexa57-yoe-linux-musl/apt/3.0.3/sources/apt-3.0.3/apt-pkg/cachefilter-patterns.cc:11:
In file included from TMPDIR/work/cortexa57-yoe-linux-musl/apt/3.0.3/build/include/apt-pkg/cachefilter-patterns.h:11:
In file included from TMPDIR/work/cortexa57-yoe-linux-musl/apt/3.0.3/build/include/apt-pkg/cachefile.h:21:
In file included from TMPDIR/work/cortexa57-yoe-linux-musl/apt/3.0.3/build/include/apt-pkg/depcache.h:42:
In file included from TMPDIR/work/cortexa57-yoe-linux-musl/apt/3.0.3/build/include/apt-pkg/pkgcache.h:827:
TMPDIR/work/cortexa57-yoe-linux-musl/apt/3.0.3/build/include/apt-pkg/cacheiterators.h:423:54: warning: misleading indentation; statement is not part of the previous 'if' [-Wmisleading-indentation]
  423 |            (Type == PrvVer?S->NextPkgProv:S->NextProvides); return *this;}
      |                                                             ^
TMPDIR/work/cortexa57-yoe-linux-musl/apt/3.0.3/build/include/apt-pkg/cacheiterators.h:422:37: note: previous statement is here
  422 |         inline PrvIterator& operator ++() {if (S != Owner->ProvideP) S = Owner->ProvideP +
      |                                            ^
3 warnings generated.
[6/168] Building CXX object apt-pkg/CMakeFiles/apt-pkg.dir/aptconfiguration.cc.o
In file included from TMPDIR/work/cortexa57-yoe-linux-musl/apt/3.0.3/sources/apt-3.0.3/apt-pkg/aptconfiguration.cc:18:
In file included from TMPDIR/work/cortexa57-yoe-linux-musl/apt/3.0.3/build/include/apt-pkg/pkgsystem.h:39:
TMPDIR/work/cortexa57-yoe-linux-musl/apt/3.0.3/build/include/apt-pkg/pkgcache.h:638:39: warning: unknown attribute 'gnu::unavailable' ignored [-Wunknown-attributes]
  638 |    map_pointer<Version> VersionList [[gnu::unavailable("not yet available")]];
      |                                       ^~~~~~~~~~~~~~~~
TMPDIR/work/cortexa57-yoe-linux-musl/apt/3.0.3/build/include/apt-pkg/pkgcache.h:639:51: warning: unknown attribute 'gnu::unavailable' ignored [-Wunknown-attributes]
  639 |    map_pointer<SourceVersion> NextSourceVersion [[gnu::unavailable("not yet available")]];
      |                                                   ^~~~~~~~~~~~~~~~
In file included from TMPDIR/work/cortexa57-yoe-linux-musl/apt/3.0.3/sources/apt-3.0.3/apt-pkg/aptconfiguration.cc:18:
In file included from TMPDIR/work/cortexa57-yoe-linux-musl/apt/3.0.3/build/include/apt-pkg/pkgsystem.h:39:
In file included from TMPDIR/work/cortexa57-yoe-linux-musl/apt/3.0.3/build/include/apt-pkg/pkgcache.h:827:
TMPDIR/work/cortexa57-yoe-linux-musl/apt/3.0.3/build/include/apt-pkg/cacheiterators.h:423:54: warning: misleading indentation; statement is not part of the previous 'if' [-Wmisleading-indentation]
  423 |            (Type == PrvVer?S->NextPkgProv:S->NextProvides); return *this;}
      |                                                             ^
TMPDIR/work/cortexa57-yoe-linux-musl/apt/3.0.3/build/include/apt-pkg/cacheiterators.h:422:37: note: previous statement is here
  422 |         inline PrvIterator& operator ++() {if (S != Owner->ProvideP) S = Owner->ProvideP +
      |                                            ^
3 warnings generated.
[7/168] Building CXX object apt-pkg/CMakeFiles/apt-pkg.dir/clean.cc.o
In file included from TMPDIR/work/cortexa57-yoe-linux-musl/apt/3.0.3/sources/apt-3.0.3/apt-pkg/clean.cc:17:
TMPDIR/work/cortexa57-yoe-linux-musl/apt/3.0.3/build/include/apt-pkg/pkgcache.h:638:39: warning: unknown attribute 'gnu::unavailable' ignored [-Wunknown-attributes]
  638 |    map_pointer<Version> VersionList [[gnu::unavailable("not yet available")]];
      |                                       ^~~~~~~~~~~~~~~~
TMPDIR/work/cortexa57-yoe-linux-musl/apt/3.0.3/build/include/apt-pkg/pkgcache.h:639:51: warning: unknown attribute 'gnu::unavailable' ignored [-Wunknown-attributes]
  639 |    map_pointer<SourceVersion> NextSourceVersion [[gnu::unavailable("not yet available")]];
      |                                                   ^~~~~~~~~~~~~~~~
In file included from TMPDIR/work/cortexa57-yoe-linux-musl/apt/3.0.3/sources/apt-3.0.3/apt-pkg/clean.cc:17:
In file included from TMPDIR/work/cortexa57-yoe-linux-musl/apt/3.0.3/build/include/apt-pkg/pkgcache.h:827:
TMPDIR/work/cortexa57-yoe-linux-musl/apt/3.0.3/build/include/apt-pkg/cacheiterators.h:423:54: warning: misleading indentation; statement is not part of the previous 'if' [-Wmisleading-indentation]
  423 |            (Type == PrvVer?S->NextPkgProv:S->NextProvides); return *this;}
      |                                                             ^
TMPDIR/work/cortexa57-yoe-linux-musl/apt/3.0.3/build/include/apt-pkg/cacheiterators.h:422:37: note: previous statement is here
  422 |         inline PrvIterator& operator ++() {if (S != Owner->ProvideP) S = Owner->ProvideP +
      |                                            ^
In file included from TMPDIR/work/cortexa57-yoe-linux-musl/apt/3.0.3/sources/apt-3.0.3/apt-pkg/clean.cc:13:
TMPDIR/work/cortexa57-yoe-linux-musl/apt/3.0.3/build/include/apt-pkg/clean.h:22:17: warning: private field 'd' is not used [-Wunused-private-field]
   22 |    void * const d;
      |                 ^
4 warnings generated.
[8/168] Building CXX object apt-pkg/CMakeFiles/apt-pkg.dir/cacheset.cc.o
In file included from TMPDIR/work/cortexa57-yoe-linux-musl/apt/3.0.3/sources/apt-3.0.3/apt-pkg/cacheset.cc:15:
In file included from TMPDIR/work/cortexa57-yoe-linux-musl/apt/3.0.3/build/include/apt-pkg/cachefile.h:21:
In file included from TMPDIR/work/cortexa57-yoe-linux-musl/apt/3.0.3/build/include/apt-pkg/depcache.h:42:
TMPDIR/work/cortexa57-yoe-linux-musl/apt/3.0.3/build/include/apt-pkg/pkgcache.h:638:39: warning: unknown attribute 'gnu::unavailable' ignored [-Wunknown-attributes]
  638 |    map_pointer<Version> VersionList [[gnu::unavailable("not yet available")]];
      |                                       ^~~~~~~~~~~~~~~~
TMPDIR/work/cortexa57-yoe-linux-musl/apt/3.0.3/build/include/apt-pkg/pkgcache.h:639:51: warning: unknown attribute 'gnu::unavailable' ignored [-Wunknown-attributes]
  639 |    map_pointer<SourceVersion> NextSourceVersion [[gnu::unavailable("not yet available")]];
      |                                                   ^~~~~~~~~~~~~~~~
In file included from TMPDIR/work/cortexa57-yoe-linux-musl/apt/3.0.3/sources/apt-3.0.3/apt-pkg/cacheset.cc:15:
In file included from TMPDIR/work/cortexa57-yoe-linux-musl/apt/3.0.3/build/include/apt-pkg/cachefile.h:21:
In file included from TMPDIR/work/cortexa57-yoe-linux-musl/apt/3.0.3/build/include/apt-pkg/depcache.h:42:
In file included from TMPDIR/work/cortexa57-yoe-linux-musl/apt/3.0.3/build/include/apt-pkg/pkgcache.h:827:
TMPDIR/work/cortexa57-yoe-linux-musl/apt/3.0.3/build/include/apt-pkg/cacheiterators.h:423:54: warning: misleading indentation; statement is not part of the previous 'if' [-Wmisleading-indentation]
  423 |            (Type == PrvVer?S->NextPkgProv:S->NextProvides); return *this;}
      |                                                             ^
TMPDIR/work/cortexa57-yoe-linux-musl/apt/3.0.3/build/include/apt-pkg/cacheiterators.h:422:37: note: previous statement is here
  422 |         inline PrvIterator& operator ++() {if (S != Owner->ProvideP) S = Owner->ProvideP +
      |                                            ^
TMPDIR/work/cortexa57-yoe-linux-musl/apt/3.0.3/sources/apt-3.0.3/apt-pkg/cacheset.cc:104:12: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension]
  104 |                 char buf[length];
      |                          ^~~~~~
TMPDIR/work/cortexa57-yoe-linux-musl/apt/3.0.3/sources/apt-3.0.3/apt-pkg/cacheset.cc:104:12: note: initializer of 'length' is not a constant expression
TMPDIR/work/cortexa57-yoe-linux-musl/apt/3.0.3/sources/apt-3.0.3/apt-pkg/cacheset.cc:101:22: note: declared here
  101 |                 unsigned int const length = end - start;
      |                                    ^
In file included from TMPDIR/work/cortexa57-yoe-linux-musl/apt/3.0.3/sources/apt-3.0.3/apt-pkg/cacheset.cc:17:
TMPDIR/work/cortexa57-yoe-linux-musl/apt/3.0.3/build/include/apt-pkg/cacheset.h:344:15: warning: private field 'd' is not used [-Wunused-private-field]
  344 |         void * const d;
      |                      ^
5 warnings generated.
[9/168] Building CXX object apt-pkg/CMakeFiles/apt-pkg.dir/contrib/arfile.cc.o
[10/168] Building CXX object apt-pkg/CMakeFiles/apt-pkg.dir/acquire-worker.cc.o
In file included from TMPDIR/work/cortexa57-yoe-linux-musl/apt/3.0.3/sources/apt-3.0.3/apt-pkg/acquire-worker.cc:16:
In file included from TMPDIR/work/cortexa57-yoe-linux-musl/apt/3.0.3/build/include/apt-pkg/acquire-item.h:24:
In file included from TMPDIR/work/cortexa57-yoe-linux-musl/apt/3.0.3/build/include/apt-pkg/indexfile.h:25:
TMPDIR/work/cortexa57-yoe-linux-musl/apt/3.0.3/build/include/apt-pkg/pkgcache.h:638:39: warning: unknown attribute 'gnu::unavailable' ignored [-Wunknown-attributes]
  638 |    map_pointer<Version> VersionList [[gnu::unavailable("not yet available")]];
      |                                       ^~~~~~~~~~~~~~~~
TMPDIR/work/cortexa57-yoe-linux-musl/apt/3.0.3/build/include/apt-pkg/pkgcache.h:639:51: warning: unknown attribute 'gnu::unavailable' ignored [-Wunknown-attributes]
  639 |    map_pointer<SourceVersion> NextSourceVersion [[gnu::unavailable("not yet available")]];
      |                                                   ^~~~~~~~~~~~~~~~
In file included from TMPDIR/work/cortexa57-yoe-linux-musl/apt/3.0.3/sources/apt-3.0.3/apt-pkg/acquire-worker.cc:16:
In file included from TMPDIR/work/cortexa57-yoe-linux-musl/apt/3.0.3/build/include/apt-pkg/acquire-item.h:24:
In file included from TMPDIR/work/cortexa57-yoe-linux-musl/apt/3.0.3/build/include/apt-pkg/indexfile.h:25:
In file included from TMPDIR/work/cortexa57-yoe-linux-musl/apt/3.0.3/build/include/apt-pkg/pkgcache.h:827:
TMPDIR/work/cortexa57-yoe-linux-musl/apt/3.0.3/build/include/apt-pkg/cacheiterators.h:423:54: warning: misleading indentation; statement is not part of the previous 'if' [-Wmisleading-indentation]
  423 |            (Type == PrvVer?S->NextPkgProv:S->NextProvides); return *this;}
      |                                                             ^
TMPDIR/work/cortexa57-yoe-linux-musl/apt/3.0.3/build/include/apt-pkg/cacheiterators.h:422:37: note: previous statement is here
  422 |         inline PrvIterator& operator ++() {if (S != Owner->ProvideP) S = Owner->ProvideP +
      |                                            ^
3 warnings generated.
[11/168] Building CXX object apt-pkg/CMakeFiles/apt-pkg.dir/contrib/cmndline.cc.o
TMPDIR/work/cortexa57-yoe-linux-musl/apt/3.0.3/sources/apt-3.0.3/apt-pkg/contrib/cmndline.cc:397:17: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension]
  397 |    char cmdline[100 + argc * 50];
      |                 ^~~~~~~~~~~~~~~
TMPDIR/work/cortexa57-yoe-linux-musl/apt/3.0.3/sources/apt-3.0.3/apt-pkg/contrib/cmndline.cc:397:23: note: function parameter 'argc' with unknown value cannot be used in a constant expression
  397 |    char cmdline[100 + argc * 50];
      |                       ^
TMPDIR/work/cortexa57-yoe-linux-musl/apt/3.0.3/sources/apt-3.0.3/apt-pkg/contrib/cmndline.cc:395:52: note: declared here
  395 | void CommandLine::SaveInConfig(unsigned int const &argc, char const * const * const argv)
      |                                                    ^
1 warning generated.
[12/168] Building CXX object apt-pkg/CMakeFiles/apt-pkg.dir/contrib/cdromutl.cc.o
[13/168] Building CXX object apt-pkg/CMakeFiles/apt-pkg.dir/cdrom.cc.o
TMPDIR/work/cortexa57-yoe-linux-musl/apt/3.0.3/sources/apt-3.0.3/apt-pkg/cdrom.cc:487:8: warning: variable 'CurLine' set but not used [-Wunused-but-set-variable]
  487 |    int CurLine = 0;
      |        ^
TMPDIR/work/cortexa57-yoe-linux-musl/apt/3.0.3/sources/apt-3.0.3/apt-pkg/cdrom.cc:925:64: warning: unused parameter 'CdromOnly' [-Wunused-parameter]
  925 | vector<CdromDevice> pkgUdevCdromDevices::ScanForRemovable(bool CdromOnly)/*{{{*/
      |                                                                ^
In file included from TMPDIR/work/cortexa57-yoe-linux-musl/apt/3.0.3/sources/apt-3.0.3/apt-pkg/cdrom.cc:6:
TMPDIR/work/cortexa57-yoe-linux-musl/apt/3.0.3/build/include/apt-pkg/cdrom.h:16:17: warning: private field 'd' is not used [-Wunused-private-field]
   16 |    void * const d;
      |                 ^
TMPDIR/work/cortexa57-yoe-linux-musl/apt/3.0.3/build/include/apt-pkg/cdrom.h:77:17: warning: private field 'd' is not used [-Wunused-private-field]
   77 |    void * const d;
      |                 ^
TMPDIR/work/cortexa57-yoe-linux-musl/apt/3.0.3/build/include/apt-pkg/cdrom.h:96:17: warning: private field 'd' is not used [-Wunused-private-field]
   96 |    void * const d;
      |                 ^
5 warnings generated.
[14/168] Building CXX object apt-pkg/CMakeFiles/apt-pkg.dir/algorithms.cc.o
In file included from TMPDIR/work/cortexa57-yoe-linux-musl/apt/3.0.3/sources/apt-3.0.3/apt-pkg/algorithms.cc:18:
In file included from TMPDIR/work/cortexa57-yoe-linux-musl/apt/3.0.3/build/include/apt-pkg/algorithms.h:32:
In file included from TMPDIR/work/cortexa57-yoe-linux-musl/apt/3.0.3/build/include/apt-pkg/cachefilter.h:9:
TMPDIR/work/cortexa57-yoe-linux-musl/apt/3.0.3/build/include/apt-pkg/pkgcache.h:638:39: warning: unknown attribute 'gnu::unavailable' ignored [-Wunknown-attributes]
  638 |    map_pointer<Version> VersionList [[gnu::unavailable("not yet available")]];
      |                                       ^~~~~~~~~~~~~~~~
TMPDIR/work/cortexa57-yoe-linux-musl/apt/3.0.3/build/include/apt-pkg/pkgcache.h:639:51: warning: unknown attribute 'gnu::unavailable' ignored [-Wunknown-attributes]
  639 |    map_pointer<SourceVersion> NextSourceVersion [[gnu::unavailable("not yet available")]];
      |                                                   ^~~~~~~~~~~~~~~~
In file included from TMPDIR/work/cortexa57-yoe-linux-musl/apt/3.0.3/sources/apt-3.0.3/apt-pkg/algorithms.cc:18:
In file included from TMPDIR/work/cortexa57-yoe-linux-musl/apt/3.0.3/build/include/apt-pkg/algorithms.h:32:
In file included from TMPDIR/work/cortexa57-yoe-linux-musl/apt/3.0.3/build/include/apt-pkg/cachefilter.h:9:
In file included from TMPDIR/work/cortexa57-yoe-linux-musl/apt/3.0.3/build/include/apt-pkg/pkgcache.h:827:
TMPDIR/work/cortexa57-yoe-linux-musl/apt/3.0.3/build/include/apt-pkg/cacheiterators.h:423:54: warning: misleading indentation; statement is not part of the previous 'if' [-Wmisleading-indentation]
  423 |            (Type == PrvVer?S->NextPkgProv:S->NextProvides); return *this;}
      |                                                             ^
TMPDIR/work/cortexa57-yoe-linux-musl/apt/3.0.3/build/include/apt-pkg/cacheiterators.h:422:37: note: previous statement is here
  422 |         inline PrvIterator& operator ++() {if (S != Owner->ProvideP) S = Owner->ProvideP +
      |                                            ^
In file included from TMPDIR/work/cortexa57-yoe-linux-musl/apt/3.0.3/sources/apt-3.0.3/apt-pkg/algorithms.cc:18:
TMPDIR/work/cortexa57-yoe-linux-musl/apt/3.0.3/build/include/apt-pkg/algorithms.h:96:17: warning: private field 'd' is not used [-Wunused-private-field]
   96 |    void * const d;
      |                 ^
4 warnings generated.
[15/168] Building CXX object apt-pkg/CMakeFiles/apt-pkg.dir/acquire.cc.o
In file included from TMPDIR/work/cortexa57-yoe-linux-musl/apt/3.0.3/sources/apt-3.0.3/apt-pkg/acquire.cc:17:
In file included from TMPDIR/work/cortexa57-yoe-linux-musl/apt/3.0.3/build/include/apt-pkg/acquire-item.h:24:
In file included from TMPDIR/work/cortexa57-yoe-linux-musl/apt/3.0.3/build/include/apt-pkg/indexfile.h:25:
TMPDIR/work/cortexa57-yoe-linux-musl/apt/3.0.3/build/include/apt-pkg/pkgcache.h:638:39: warning: unknown attribute 'gnu::unavailable' ignored [-Wunknown-attributes]
  638 |    map_pointer<Version> VersionList [[gnu::unavailable("not yet available")]];
      |                                       ^~~~~~~~~~~~~~~~
TMPDIR/work/cortexa57-yoe-linux-musl/apt/3.0.3/build/include/apt-pkg/pkgcache.h:639:51: warning: unknown attribute 'gnu::unavailable' ignored [-Wunknown-attributes]
  639 |    map_pointer<SourceVersion> NextSourceVersion [[gnu::unavailable("not yet available")]];
      |                                                   ^~~~~~~~~~~~~~~~
In file included from TMPDIR/work/cortexa57-yoe-linux-musl/apt/3.0.3/sources/apt-3.0.3/apt-pkg/acquire.cc:17:
In file included from TMPDIR/work/cortexa57-yoe-linux-musl/apt/3.0.3/build/include/apt-pkg/acquire-item.h:24:
In file included from TMPDIR/work/cortexa57-yoe-linux-musl/apt/3.0.3/build/include/apt-pkg/indexfile.h:25:
In file included from TMPDIR/work/cortexa57-yoe-linux-musl/apt/3.0.3/build/include/apt-pkg/pkgcache.h:827:
TMPDIR/work/cortexa57-yoe-linux-musl/apt/3.0.3/build/include/apt-pkg/cacheiterators.h:423:54: warning: misleading indentation; statement is not part of the previous 'if' [-Wmisleading-indentation]
  423 |            (Type == PrvVer?S->NextPkgProv:S->NextProvides); return *this;}
      |                                                             ^
TMPDIR/work/cortexa57-yoe-linux-musl/apt/3.0.3/build/include/apt-pkg/cacheiterators.h:422:37: note: previous statement is here
  422 |         inline PrvIterator& operator ++() {if (S != Owner->ProvideP) S = Owner->ProvideP +
      |                                            ^
In file included from TMPDIR/work/cortexa57-yoe-linux-musl/apt/3.0.3/sources/apt-3.0.3/apt-pkg/acquire.cc:17:
In file included from TMPDIR/work/cortexa57-yoe-linux-musl/apt/3.0.3/build/include/apt-pkg/acquire-item.h:22:
TMPDIR/work/cortexa57-yoe-linux-musl/apt/3.0.3/build/include/apt-pkg/acquire.h:609:17: warning: private field 'd' is not used [-Wunused-private-field]
  609 |    void * const d;
      |                 ^
TMPDIR/work/cortexa57-yoe-linux-musl/apt/3.0.3/build/include/apt-pkg/acquire.h:713:17: warning: private field 'd' is not used [-Wunused-private-field]
  713 |    void * const d;
      |                 ^
5 warnings generated.
[16/168] Building CXX object apt-pkg/CMakeFiles/apt-pkg.dir/contrib/error.cc.o
[17/168] Building CXX object apt-pkg/CMakeFiles/apt-pkg.dir/contrib/extracttar.cc.o
[18/168] Building CXX object apt-pkg/CMakeFiles/apt-pkg.dir/contrib/hashes.cc.o
FAILED: [code=1] apt-pkg/CMakeFiles/apt-pkg.dir/contrib/hashes.cc.o 
TMPDIR/work/cortexa57-yoe-linux-musl/apt/3.0.3/recipe-sysroot-native/usr/bin/aarch64-yoe-linux-musl/aarch64-yoe-linux-musl-clang++ --sysroot=TMPDIR/work/cortexa57-yoe-linux-musl/apt/3.0.3/recipe-sysroot -D_WITH_GETLINE=1 -Dapt_pkg_EXPORTS -ITMPDIR/work/cortexa57-yoe-linux-musl/apt/3.0.3/build/include -ITMPDIR/work/cortexa57-yoe-linux-musl/apt/3.0.3/build/include/apt-pkg -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/apt/3.0.3/recipe-sysroot  -O2 -g  -ffile-prefix-map=TMPDIR/work/cortexa57-yoe-linux-musl/apt/3.0.3/sources/apt-3.0.3=/usr/src/debug/apt/3.0.3  -ffile-prefix-map=TMPDIR/work/cortexa57-yoe-linux-musl/apt/3.0.3/build=/usr/src/debug/apt/3.0.3  -ffile-prefix-map=TMPDIR/work/cortexa57-yoe-linux-musl/apt/3.0.3/recipe-sysroot=  -ffile-prefix-map=TMPDIR/work/cortexa57-yoe-linux-musl/apt/3.0.3/recipe-sysroot-native=  -pipe -fvisibility-inlines-hidden -std=gnu++17 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -Wall -Wextra -Wcast-align -Wredundant-decls -Wmissing-declarations -Wctor-dtor-privacy -Wdisabled-optimization -Winit-self -Wmissing-include-dirs -Wsign-promo -Wundef -Wdouble-promotion -Wsuggest-override -Werror=suggest-override -Werror=return-type -Wp,-D_GLIBCXX_ASSERTIONS -MD -MT apt-pkg/CMakeFiles/apt-pkg.dir/contrib/hashes.cc.o -MF apt-pkg/CMakeFiles/apt-pkg.dir/contrib/hashes.cc.o.d -o apt-pkg/CMakeFiles/apt-pkg.dir/contrib/hashes.cc.o -c TMPDIR/work/cortexa57-yoe-linux-musl/apt/3.0.3/sources/apt-3.0.3/apt-pkg/contrib/hashes.cc
In file included from TMPDIR/work/cortexa57-yoe-linux-musl/apt/3.0.3/sources/apt-3.0.3/apt-pkg/contrib/hashes.cc:15:
In file included from TMPDIR/work/cortexa57-yoe-linux-musl/apt/3.0.3/build/include/apt-pkg/configuration.h:32:
In file included from TMPDIR/work/cortexa57-yoe-linux-musl/apt/3.0.3/recipe-sysroot/usr/include/c++/v1/iostream:45:
In file included from TMPDIR/work/cortexa57-yoe-linux-musl/apt/3.0.3/recipe-sysroot/usr/include/c++/v1/ios:228:
In file included from TMPDIR/work/cortexa57-yoe-linux-musl/apt/3.0.3/recipe-sysroot/usr/include/c++/v1/__locale:28:
In file included from TMPDIR/work/cortexa57-yoe-linux-musl/apt/3.0.3/recipe-sysroot/usr/include/c++/v1/string:654:
TMPDIR/work/cortexa57-yoe-linux-musl/apt/3.0.3/recipe-sysroot/usr/include/c++/v1/string_view:310:42: error: implicit instantiation of undefined template 'std::char_traits<unsigned char>'
  310 |   static_assert(is_same<_CharT, typename traits_type::char_type>::value,
      |                                          ^
TMPDIR/work/cortexa57-yoe-linux-musl/apt/3.0.3/sources/apt-3.0.3/apt-pkg/contrib/hashes.cc:304:26: note: in instantiation of template class 'std::basic_string_view<unsigned char>' requested here
  304 |    std::string Result(Sum.size() * 2, 0);
      |                          ^
TMPDIR/work/cortexa57-yoe-linux-musl/apt/3.0.3/recipe-sysroot/usr/include/c++/v1/__string/char_traits.h:46:8: note: template is declared here
   46 | struct char_traits;
      |        ^
TMPDIR/work/cortexa57-yoe-linux-musl/apt/3.0.3/sources/apt-3.0.3/apt-pkg/contrib/hashes.cc:355:25: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension]
  355 |       unsigned char Sum[Size];
      |                         ^~~~
TMPDIR/work/cortexa57-yoe-linux-musl/apt/3.0.3/sources/apt-3.0.3/apt-pkg/contrib/hashes.cc:355:25: note: read of non-const variable 'Size' is not allowed in a constant expression
TMPDIR/work/cortexa57-yoe-linux-musl/apt/3.0.3/sources/apt-3.0.3/apt-pkg/contrib/hashes.cc:354:12: note: declared here
  354 |       auto Size = EVP_MD_size(algo.evpLink());
      |            ^
1 warning and 1 error generated.
[19/168] Building CXX object apt-pkg/CMakeFiles/apt-pkg.dir/contrib/mmap.cc.o
[20/168] Building CXX object apt-pkg/CMakeFiles/apt-pkg.dir/contrib/netrc.cc.o
[21/168] Building CXX object apt-pkg/CMakeFiles/apt-pkg.dir/contrib/configuration.cc.o
[22/168] Building CXX object apt-pkg/CMakeFiles/apt-pkg.dir/contrib/progress.cc.o
[23/168] Building CXX object apt-pkg/CMakeFiles/apt-pkg.dir/contrib/gpgv.cc.o
[24/168] Building CXX object apt-pkg/CMakeFiles/apt-pkg.dir/contrib/proxy.cc.o
[25/168] Building CXX object apt-pkg/CMakeFiles/apt-pkg.dir/contrib/srvrec.cc.o
TMPDIR/work/cortexa57-yoe-linux-musl/apt/3.0.3/sources/apt-3.0.3/apt-pkg/contrib/srvrec.cc:88:21: warning: cast from 'unsigned char *' to 'HEADER *' increases required alignment from 1 to 4 [-Wcast-align]
   88 |    HEADER *header = (HEADER*)answer;
      |                     ^~~~~~~~~~~~~~~
TMPDIR/work/cortexa57-yoe-linux-musl/apt/3.0.3/sources/apt-3.0.3/apt-pkg/contrib/srvrec.cc:104:54: warning: variable 'dlen' set but not used [-Wunused-but-set-variable]
  104 |       u_int16_t type, klass, priority, weight, port, dlen;
      |                                                      ^
2 warnings generated.
[26/168] Building CXX object apt-pkg/CMakeFiles/apt-pkg.dir/contrib/fileutl.cc.o
In file included from TMPDIR/work/cortexa57-yoe-linux-musl/apt/3.0.3/sources/apt-3.0.3/apt-pkg/contrib/fileutl.cc:35:
In file included from TMPDIR/work/cortexa57-yoe-linux-musl/apt/3.0.3/build/include/apt-pkg/pkgsystem.h:39:
TMPDIR/work/cortexa57-yoe-linux-musl/apt/3.0.3/build/include/apt-pkg/pkgcache.h:638:39: warning: unknown attribute 'gnu::unavailable' ignored [-Wunknown-attributes]
  638 |    map_pointer<Version> VersionList [[gnu::unavailable("not yet available")]];
      |                                       ^~~~~~~~~~~~~~~~
TMPDIR/work/cortexa57-yoe-linux-musl/apt/3.0.3/build/include/apt-pkg/pkgcache.h:639:51: warning: unknown attribute 'gnu::unavailable' ignored [-Wunknown-attributes]
  639 |    map_pointer<SourceVersion> NextSourceVersion [[gnu::unavailable("not yet available")]];
      |                                                   ^~~~~~~~~~~~~~~~
In file included from TMPDIR/work/cortexa57-yoe-linux-musl/apt/3.0.3/sources/apt-3.0.3/apt-pkg/contrib/fileutl.cc:35:
In file included from TMPDIR/work/cortexa57-yoe-linux-musl/apt/3.0.3/build/include/apt-pkg/pkgsystem.h:39:
In file included from TMPDIR/work/cortexa57-yoe-linux-musl/apt/3.0.3/build/include/apt-pkg/pkgcache.h:827:
TMPDIR/work/cortexa57-yoe-linux-musl/apt/3.0.3/build/include/apt-pkg/cacheiterators.h:423:54: warning: misleading indentation; statement is not part of the previous 'if' [-Wmisleading-indentation]
  423 |            (Type == PrvVer?S->NextPkgProv:S->NextProvides); return *this;}
      |                                                             ^
TMPDIR/work/cortexa57-yoe-linux-musl/apt/3.0.3/build/include/apt-pkg/cacheiterators.h:422:37: note: previous statement is here
  422 |         inline PrvIterator& operator ++() {if (S != Owner->ProvideP) S = Owner->ProvideP +
      |                                            ^
TMPDIR/work/cortexa57-yoe-linux-musl/apt/3.0.3/sources/apt-3.0.3/apt-pkg/contrib/fileutl.cc:3425:25: warning: unused parameter 'what' [-Wunused-parameter]
 3425 | int Inhibit(const char *what, const char *who, const char *why, const char *mode) /*{{{*/
      |                         ^
TMPDIR/work/cortexa57-yoe-linux-musl/apt/3.0.3/sources/apt-3.0.3/apt-pkg/contrib/fileutl.cc:3425:43: warning: unused parameter 'who' [-Wunused-parameter]
 3425 | int Inhibit(const char *what, const char *who, const char *why, const char *mode) /*{{{*/
      |                                           ^
TMPDIR/work/cortexa57-yoe-linux-musl/apt/3.0.3/sources/apt-3.0.3/apt-pkg/contrib/fileutl.cc:3425:60: warning: unused parameter 'why' [-Wunused-parameter]
 3425 | int Inhibit(const char *what, const char *who, const char *why, const char *mode) /*{{{*/
      |                                                            ^
TMPDIR/work/cortexa57-yoe-linux-musl/apt/3.0.3/sources/apt-3.0.3/apt-pkg/contrib/fileutl.cc:3425:77: warning: unused parameter 'mode' [-Wunused-parameter]
 3425 | int Inhibit(const char *what, const char *who, const char *why, const char *mode) /*{{{*/
      |                                                                             ^
7 warnings generated.
[27/168] Building CXX object apt-pkg/CMakeFiles/apt-pkg.dir/acquire-item.cc.o
In file included from TMPDIR/work/cortexa57-yoe-linux-musl/apt/3.0.3/sources/apt-3.0.3/apt-pkg/acquire-item.cc:17:
In file included from TMPDIR/work/cortexa57-yoe-linux-musl/apt/3.0.3/build/include/apt-pkg/acquire-item.h:24:
In file included from TMPDIR/work/cortexa57-yoe-linux-musl/apt/3.0.3/build/include/apt-pkg/indexfile.h:25:
TMPDIR/work/cortexa57-yoe-linux-musl/apt/3.0.3/build/include/apt-pkg/pkgcache.h:638:39: warning: unknown attribute 'gnu::unavailable' ignored [-Wunknown-attributes]
  638 |    map_pointer<Version> VersionList [[gnu::unavailable("not yet available")]];
      |                                       ^~~~~~~~~~~~~~~~
TMPDIR/work/cortexa57-yoe-linux-musl/apt/3.0.3/build/include/apt-pkg/pkgcache.h:639:51: warning: unknown attribute 'gnu::unavailable' ignored [-Wunknown-attributes]
  639 |    map_pointer<SourceVersion> NextSourceVersion [[gnu::unavailable("not yet available")]];
      |                                                   ^~~~~~~~~~~~~~~~
In file included from TMPDIR/work/cortexa57-yoe-linux-musl/apt/3.0.3/sources/apt-3.0.3/apt-pkg/acquire-item.cc:17:
In file included from TMPDIR/work/cortexa57-yoe-linux-musl/apt/3.0.3/build/include/apt-pkg/acquire-item.h:24:
In file included from TMPDIR/work/cortexa57-yoe-linux-musl/apt/3.0.3/build/include/apt-pkg/indexfile.h:25:
In file included from TMPDIR/work/cortexa57-yoe-linux-musl/apt/3.0.3/build/include/apt-pkg/pkgcache.h:827:
TMPDIR/work/cortexa57-yoe-linux-musl/apt/3.0.3/build/include/apt-pkg/cacheiterators.h:423:54: warning: misleading indentation; statement is not part of the previous 'if' [-Wmisleading-indentation]
  423 |            (Type == PrvVer?S->NextPkgProv:S->NextProvides); return *this;}
      |                                                             ^
TMPDIR/work/cortexa57-yoe-linux-musl/apt/3.0.3/build/include/apt-pkg/cacheiterators.h:422:37: note: previous statement is here
  422 |         inline PrvIterator& operator ++() {if (S != Owner->ProvideP) S = Owner->ProvideP +
      |                                            ^
TMPDIR/work/cortexa57-yoe-linux-musl/apt/3.0.3/sources/apt-3.0.3/apt-pkg/acquire-item.cc:599:21: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension]
  599 |                      char partial[Buf.st_size + 1];
      |                                   ^~~~~~~~~~~~~~~
TMPDIR/work/cortexa57-yoe-linux-musl/apt/3.0.3/sources/apt-3.0.3/apt-pkg/acquire-item.cc:599:21: note: read of non-constexpr variable 'Buf' is not allowed in a constant expression
TMPDIR/work/cortexa57-yoe-linux-musl/apt/3.0.3/sources/apt-3.0.3/apt-pkg/acquire-item.cc:594:21: note: declared here
  594 |                struct stat Buf;
      |                            ^
In file included from TMPDIR/work/cortexa57-yoe-linux-musl/apt/3.0.3/sources/apt-3.0.3/apt-pkg/acquire-item.cc:17:
TMPDIR/work/cortexa57-yoe-linux-musl/apt/3.0.3/build/include/apt-pkg/acquire-item.h:371:17: warning: private field 'd' is not used [-Wunused-private-field]
  371 |    void * const d;
      |                 ^
TMPDIR/work/cortexa57-yoe-linux-musl/apt/3.0.3/build/include/apt-pkg/acquire-item.h:409:17: warning: private field 'd' is not used [-Wunused-private-field]
  409 |    void * const d;
      |                 ^
TMPDIR/work/cortexa57-yoe-linux-musl/apt/3.0.3/build/include/apt-pkg/acquire-item.h:535:17: warning: private field 'd' is not used [-Wunused-private-field]
  535 |    void * const d;
      |                 ^
TMPDIR/work/cortexa57-yoe-linux-musl/apt/3.0.3/build/include/apt-pkg/acquire-item.h:565:17: warning: private field 'd' is not used [-Wunused-private-field]
  565 |    void * const d;
      |                 ^
TMPDIR/work/cortexa57-yoe-linux-musl/apt/3.0.3/build/include/apt-pkg/acquire-item.h:602:17: warning: private field 'd' is not used [-Wunused-private-field]
  602 |    void * const d;
      |                 ^
TMPDIR/work/cortexa57-yoe-linux-musl/apt/3.0.3/build/include/apt-pkg/acquire-item.h:712:17: warning: private field 'd' is not used [-Wunused-private-field]
  712 |    void * const d;
      |                 ^
TMPDIR/work/cortexa57-yoe-linux-musl/apt/3.0.3/build/include/apt-pkg/acquire-item.h:950:17: warning: private field 'd' is not used [-Wunused-private-field]
  950 |    void * const d;
      |                 ^
TMPDIR/work/cortexa57-yoe-linux-musl/apt/3.0.3/build/include/apt-pkg/acquire-item.h:1143:17: warning: private field 'd' is not used [-Wunused-private-field]
 1143 |    void * const d;
      |                 ^
TMPDIR/work/cortexa57-yoe-linux-musl/apt/3.0.3/build/include/apt-pkg/acquire-item.h:1199:28: warning: private field 'Owner' is not used [-Wunused-private-field]
 1199 |    pkgAcquire::Item *const Owner;
      |                            ^
13 warnings generated.
ninja: build stopped: subcommand failed.
WARNING: TMPDIR/work/cortexa57-yoe-linux-musl/apt/3.0.3/temp/run.do_compile.2610935:153 exit 1 from 'eval ${DESTDIR:+DESTDIR=${DESTDIR} } cmake --build 'TMPDIR/work/cortexa57-yoe-linux-musl/apt/3.0.3/build' "$@" -- ${EXTRA_OECMAKE_BUILD}'
WARNING: Backtrace (BB generated script): 
	#1: cmake_runcmake_build, TMPDIR/work/cortexa57-yoe-linux-musl/apt/3.0.3/temp/run.do_compile.2610935, line 153
	#2: cmake_do_compile, TMPDIR/work/cortexa57-yoe-linux-musl/apt/3.0.3/temp/run.do_compile.2610935, line 147
	#3: do_compile, TMPDIR/work/cortexa57-yoe-linux-musl/apt/3.0.3/temp/run.do_compile.2610935, line 142
	#4: main, TMPDIR/work/cortexa57-yoe-linux-musl/apt/3.0.3/temp/run.do_compile.2610935, line 166

Error details

Submitted on:
10/09/25 01:14
Error type:
Recipe
Task:
do_compile
Recipe:
apt
Recipe version:
3.0.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:
33ad9a401644f4191c8f1fd40b8eaf297509cef3
Build:
#216211
Submitter:
ab@rdk
Similar errors:
2
Open a bug