Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 947349 - app-text/lowdown-1.4.0 fails to install on PREFIX setup
Summary: app-text/lowdown-1.4.0 fails to install on PREFIX setup
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Patrick McLean
URL:
Whiteboard:
Keywords: PATCH, PullRequest
Depends on:
Blocks:
 
Reported: 2025-01-02 10:19 UTC by Christian Ludwig
Modified: 2025-02-01 09:22 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Build log for PREFIX installation attempt (build.log,16.24 KB, text/x-log)
2025-01-02 10:20 UTC, Christian Ludwig
Details
Proposed patch (lowdown-1.3.2.patch,465 bytes, patch)
2025-01-02 10:37 UTC, Christian Ludwig
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Ludwig 2025-01-02 10:19:45 UTC
Installing app-text/lowdown-1.3.2 on a Gentoo/Prefix installation fails with a QA notice that files are outside of prefix.

Reproducible: Always
Comment 1 Christian Ludwig 2025-01-02 10:20:57 UTC
Created attachment 915736 [details]
Build log for PREFIX installation attempt
Comment 2 Christian Ludwig 2025-01-02 10:22:46 UTC
Could this ebuild use 'econf' rather than calling './configure' directly?
Comment 3 Christian Ludwig 2025-01-02 10:37:59 UTC
Created attachment 915737 [details, diff]
Proposed patch
Comment 4 Christian Ludwig 2025-01-19 14:57:57 UTC
The updated version lowdown-1.4.0 has the same problem. The patch applies to the new version, too.
Comment 5 Larry the Git Cow gentoo-dev 2025-02-01 09:22:32 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7648a2badc36c4acdc7f51667ffa613d5fa832ce

commit 7648a2badc36c4acdc7f51667ffa613d5fa832ce
Author:     NHOrus <jy6x2b32pie9@yahoo.com>
AuthorDate: 2025-01-23 15:35:33 +0000
Commit:     Florian Schmaus <flow@gentoo.org>
CommitDate: 2025-02-01 09:20:53 +0000

    app-text/lowdown: fix prefix installation
    
    We can't switch to econf from configure, because this uses oconfigure[^1]
    and oconfigure doesn't recognize `--prefix` as valid command line argument
    only `PREFIX`
    
    [^1]: https://github.com/kristapsdz/oconfigure
    
    Co-authored-by: Christian Ludwig <chrissicool@gmail.com>
    Closes: https://bugs.gentoo.org/947349
    Signed-off-by: NHOrus <jy6x2b32pie9@yahoo.com>
    Closes: https://github.com/gentoo/gentoo/pull/40274
    Signed-off-by: Florian Schmaus <flow@gentoo.org>

 app-text/lowdown/lowdown-1.3.2.ebuild | 6 +++---
 app-text/lowdown/lowdown-1.4.0.ebuild | 6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)