FS#70606 - [foremost] build improvements

Attached to Project: Community Packages
Opened by loqs (loqs) - Tuesday, 27 April 2021, 00:05 GMT
Last edited by Buggy McBugFace (bugbot) - Saturday, 25 November 2023, 20:02 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Jaroslav Lichtblau (Dragonlord)
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:
foremost fails to build from source [1] due to the gcc default -fno-common.
PKGBUILD.diff [2] adds patches to declare variables only once, fix printf format security violation and updates the Makefile patch to build using supplied CFLAGS CPPFLAGS LDFLAGS.
The last two patches foremost-enforce-limits.patch based on [3] and foremost-broken-jpeg.patch based on [4] address potential access violations.

Additional info:
* foremost 1.5.7-4
[1] foremost-1.5.7-4-x86_64-build.log.
[2] PKGBUILD.diff
[3] https://sources.debian.org/patches/foremost/1.5.7-8/05-enforce-limits.patch/
[4] https://src.fedoraproject.org/rpms/foremost/blob/rawhide/f/foremost-broken-jpeg.patch

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

Closed by  Buggy McBugFace (bugbot)
Saturday, 25 November 2023, 20:02 GMT
Reason for closing:  Moved
Additional comments about closing:  https://gitlab.archlinux.org/archlinux/p ackaging/packages/foremost/issues/1
Comment by Toolybird (Toolybird) - Tuesday, 09 May 2023, 07:18 GMT
Seems to be building from source these days...but the other fixes still seem warranted.
Comment by Buggy McBugFace (bugbot) - Tuesday, 08 August 2023, 19:11 GMT
This is an automated comment as this bug is open for more then 2 years. Please reply if you still experience this bug otherwise this issue will be closed after 1 month.
Comment by loqs (loqs) - Wednesday, 09 August 2023, 12:38 GMT
Updated PKGBUILD.diff for foremost 1.5.7-6 and switch to git.

Loading...