> On 6 Jan 2022, at 21:48, John Paul Adrian Glaubitz wrote: > > Hi Adhemerval! > > [snip] > > FAILED: apt-pkg/CMakeFiles/apt-pkg.dir/acquire.cc.o > /usr/bin/c++ -DAPT_DOMAIN=\"libapt-pkg6.0\" -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_WITH_GETLINE=1 -Dapt_pkg_EXPORTS -I/<>/obj-m68k-linux-gnu/include -I/<>/obj-m68k-linux-gnu/include/apt-pkg -g -O2 -ffile-prefix-map=/<>=. -specs=/usr/share/dpkg/pie-compile.specs -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -Wall -Wextra -Wcast-align -Wlogical-op -Wredundant-decls -Wmissing-declarations -Wunsafe-loop-optimizations -Wctor-dtor-privacy -Wdisabled-optimization -Winit-self -Wmissing-include-dirs -Wnoexcept -Wsign-promo -Wundef -Wdouble-promotion -Wsuggest-override -Werror=suggest-override -Werror=return-type -std=gnu++17 -MD -MT apt-pkg/CMakeFiles/apt-pkg.dir/acquire.cc.o -MF apt-pkg/CMakeFiles/apt-pkg.dir/acquire.cc.o.d -o apt-pkg/CMakeFiles/apt-pkg.dir/acquire.cc.o -c /<>/apt-pkg/acquire.cc > In file included from /usr/include/features.h:472, > from /usr/include/m68k-linux-gnu/c++/11/bits/os_defines.h:39, > from /usr/include/m68k-linux-gnu/c++/11/bits/c++config.h:586, > from /usr/include/c++/11/cstring:41, > from /<>/obj-m68k-linux-gnu/include/apt-pkg/hashes.h:17, > from /<>/obj-m68k-linux-gnu/include/apt-pkg/acquire.h:68, > from /<>/obj-m68k-linux-gnu/include/apt-pkg/acquire-item.h:22, > from /<>/apt-pkg/acquire.cc:17: > /usr/include/dirent.h:366:6: error: expected initializer before ‘noexcept’ > 366 | __THROW __nonnull ((2, 4)) > | ^~~~~~~ > > See the full build log here: > >> https://buildd.debian.org/status/fetch.php?pkg=apt&arch=m68k&ver=2.3.14&stamp=1641503494&raw=0 > > I have built and uploaded a custom version of the glibc package which includes your patch > so that the m68k and sh4 buildds based on qemu-user will not be affected by BZ #23960. > > Do you have any suggestion how to fix this issue? Try this version of the last commit: https://github.com/zatrazz/glibc/commit/7b990b41ea23c0464c60e6a9f0707adfb46ae587 . We had the same problem in Gentoo and azanella pushed a newer version. Best, sam