Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#70048 - [xz] build failure
Attached to Project:
Arch Linux
Opened by Michal Wojdyla (micwoj92) - Thursday, 18 March 2021, 09:33 GMT
Last edited by Pierre Schmitz (Pierre) - Friday, 17 September 2021, 09:47 GMT
Opened by Michal Wojdyla (micwoj92) - Thursday, 18 March 2021, 09:33 GMT
Last edited by Pierre Schmitz (Pierre) - Friday, 17 September 2021, 09:47 GMT
|
DetailsDescription: xz fails to build with error
Additional info: * package version(s) 5.2.5-1 Steps to reproduce: 1. download PKGBUILD 2. makepkg -si 3. build fails with error message.c: In function ‘progress_speed.part.0’: message.c:384:35: error: ‘%s’ directive output may be truncated writing up to 23 bytes into a region of size between 0 and 14 [-Werror=format-truncation=] I've found same error with artix lib32-xz https://lists.artixlinux.org/archives/artix-build-failures/2020-September.txt After applying `export CFLAGS="$CFLAGS -Wno-format-truncation"` in PKGBUILD same as artix does then the package can be built. https://gitea.artixlinux.org/artixlinux/packages-lib32/commit/3cf12aa86d30b9123cc57cce07f9bf14e322ad2f |
This task depends upon
Comment by Michal Wojdyla (micwoj92) -
Thursday, 18 March 2021, 09:42 GMT
Oh, I just found that lib32-xz in Arch Linux has same fix for this error.
Comment by Pierre Schmitz (Pierre) -
Friday, 17 September 2021, 09:47 GMT
Thanks for the hint; I have updated the package.