Community Packages

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!
Tasklist

FS#70534 - [toolame] FTBFS

Attached to Project: Community Packages
Opened by loqs (loqs) - Thursday, 22 April 2021, 00:03 GMT
Last edited by Sergej Pupykin (sergej) - Sunday, 25 April 2021, 12:51 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sergej Pupykin (sergej)
Architecture All
Severity Very Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
toolame fails to build from source [1] due to the -fno-common default used by gcc 10.
Fixed using toolame-02l-fno-common.patch from [2]. Also replaced toolame-02l.patch with toolame-02l-Makefile.patch, toolame-02l-uint32_t.patch and toolame-02l-uint.patch.
This adds FULL RELRO as the Makefile then uses CPPFLAGS, CFLAGS and LDFLAGS environment variables while providing the same fixes.
Removed sed -e 's|INLINE void putbits|void putbits|' -i bitstream.h # Fix build
as package built without it.

Additional info:
* toolame 02l-11
[1] toolame-02l-11-x86_64-build.log
[2] https://gitweb.gentoo.org/repo/gentoo.git/tree/media-sound/toolame/files
[3] PKGBUILD.diff

Steps to reproduce:
Build package in a clean chroot
This task depends upon

Closed by  Sergej Pupykin (sergej)
Sunday, 25 April 2021, 12:51 GMT
Reason for closing:  Fixed

Loading...