Summary: | app-forensics/magicrescue-1.1.9 installs broken dupemap | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Andrew Savchenko <bircoph> |
Component: | Current packages | Assignee: | Forensics Herd [disbanded] <forensics+obsolete> |
Status: | RESOLVED FIXED | ||
Severity: | normal | Keywords: | PATCH |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
emerge --info
magicrescue-1.1.9-ldflags.patch magicrescue-1.1.9.ebuild.patch magicrescue-1.1.9-ldflags.patch |
Description
Andrew Savchenko
2012-05-13 03:00:15 UTC
Created attachment 311559 [details]
emerge --info
Not really needed, bug was tested on multiple Gentoo boxes with rather different setup each.
Created attachment 311561 [details, diff]
magicrescue-1.1.9-ldflags.patch
In configure $LDFLAGS contains both linking flags and linking libraries. The most proper way to fix this will be to separate $LDFLAGS to $LDFLAGS and $LFLAGS, but this will require a complete rewrite of all configure and config.d.
The simpler way is just to duplicate $LDFLAGS after object file(s).
Created attachment 311563 [details, diff]
magicrescue-1.1.9.ebuild.patch
Another change required is gdbm dependency: gdbm must be build with berkdb support.
Comment on attachment 311561 [details, diff]
magicrescue-1.1.9-ldflags.patch
Patch is not working in all cases...
Created attachment 311565 [details, diff]
magicrescue-1.1.9-ldflags.patch
This patch fixes problem properly.
Build system was not as-needed-friendly at all.
+ 11 Apr 2013; Patrick Lauer <patrick@gentoo.org> + +files/magicrescue-1.1.9-ldflags.patch, magicrescue-1.1.9.ebuild: + Build fix for dupemap #415685 Thanks! |