Summary: | PMS and Portage disagree about econf --libdir logic | ||
---|---|---|---|
Product: | Gentoo Hosted Projects | Reporter: | Ulrich Müller <ulm> |
Component: | PMS/EAPI | Assignee: | PMS/EAPI <pms> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | dev-portage, mgorny |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | https://projects.gentoo.org/pms/8/pms.html#x1-128002r2 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 563798 | ||
Attachments: | pkg-mgr-commands.tex: Fix econf --libdir logic |
Description
Ulrich Müller
2021-08-04 10:03:42 UTC
So, given that: - Portage behaviour predates PMS - Pkgcore and Paludis look at --exec-prefix too (but they don't agree on order) - Autoconf default for libdir is relative to exec_prefix I tend to say that we should update PMS retroactively. Any other opinions? Created attachment 730084 [details, diff]
pkg-mgr-commands.tex: Fix econf --libdir logic
If we should decide to update the spec, the fix would look like this.
(In reply to Ulrich Müller from comment #2) > Created attachment 730084 [details, diff] [details, diff] > pkg-mgr-commands.tex: Fix econf --libdir logic > > If we should decide to update the spec, the fix would look like this. WFM. I'm going to try cutting a new release today. That is, if I don't forget. (In reply to Michał Górny from comment #4) > I'm going to try cutting a new release today. That is, if I don't forget. Wrong bug. :) The bug has been closed via the following commit(s): https://gitweb.gentoo.org/proj/pms.git/commit/?id=140aac7de90b44e7a14b4f5aaf5952911ad074ea commit 140aac7de90b44e7a14b4f5aaf5952911ad074ea Author: Ulrich Müller <ulm@gentoo.org> AuthorDate: 2021-08-04 10:10:59 +0000 Commit: Ulrich Müller <ulm@gentoo.org> CommitDate: 2021-08-04 10:10:59 +0000 pkg-mgr-commands.tex: Fix econf --libdir logic Portage uses both --exec-prefix and --prefix in its econf logic, introduced in 2005: https://gitweb.gentoo.org/archive/proj/portage-cvs.git/commit/?h=portage_2_0&id=865508e5cb2fd3e6ef7c312b6a7bb88cf8799f9c Pkgcore agrees with Portage. Paludis uses --prefix first, then --exec-prefix. Closes: https://bugs.gentoo.org/806374 Signed-off-by: Ulrich Müller <ulm@gentoo.org> pkg-mgr-commands.tex | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) |