by dobo » Mon May 24, 2021 8:20 pm
$this->bbcode_second_pass_quote('', 'I') noticed that these tools were up to version 11 on X86 but not on ARM so I thought I'd try building them myself. The first issue is that the compiler option -Werror=format-security from /etc/makepkg.conf causes an early faiilure where a format string is passed in to a function which in turn uses a printf-like function.
Removing that option allows gcc to build but there are significant failures in the test suite. The PKGBUILD does allow it to be packaged despite the failures but then there is another error in doing the packaging. This obviously needs some work before it will be ready to use.
@Amphitryon you've probably hit similar issue to mine on Arch Linux x86. Official Arch Linux packages are compiled with CFLAGS/CXXFLAGS from
devtools package (
/usr/share/devtools/makepkg-x86_64.conf) not with the ones from
pacman (
/etc/makepkg.conf). Source:
https://bbs.archlinux.org/viewtopic.php?id=266478I presume that ALARM uses flags from
pacman as
devtools and
devtools-alarm contain only flags for x86_64 architecture. So, it seems that ALARM build machines compile with flags that will be introduced in pacman 6.0. Source:
https://bbs.archlinux.org/viewtopic.php?id=266352. Probably those new flags complicate building of some packages (at least for
glibc, that I'm sure).