Gentoo Archives: gentoo-dev

From: "M. J. Everitt" <m.j.everitt@×××.org>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] FEATURES=splitdebug and debugedit
Date: Fri, 13 Oct 2017 02:05:30
Message-Id: 08f466e8-bd65-77b0-468d-65be89f74ab5@iee.org
In Reply to: [gentoo-dev] FEATURES=splitdebug and debugedit by Francesco Riosa
1 On 12/10/17 22:24, Francesco Riosa wrote:
2 > hi,
3 >
4 > FEATURES=splitdebug at the moment require package dev-util/debugedit
5 > which is a lagging behind upstream.
6 > However package app-arch/rpm (from which debugedit is forked) always
7 > install the same binary in ${ROOT}/usr/libexec/rpm/debugedit.
8 >
9 > In 2017 I don't see much value in maintaining a fork from a package
10 > (rpm) that weight less than 3MB when the functionality we need is
11 > already all upstreamed. But if there is someone willing to keep it up to
12 > date, that's totally fine.
13 >
14 > Provided we^W you keep dev-util/debugedit indefinitely it's possible to
15 > provide more useful choices to the users with at least two courses of
16 > action:
17 >
18 > 1) instruct ${package_manager} to search for `debugedit` first in
19 > ${PATH} _and_ then in /usr/libexec/rpm/debugedit.
20 > This way dev-util/debugedit take precedence, if it's not installed and
21 > app-arch/rpm is, then the latter will be used.
22 >
23 > 2) optionally (via useflag) create a symlink in /usr/bin to the libexec
24 > debugedit when installing rpm. Obviously the two package must block each
25 > other.
26 > the rpm package implementing this solution (revbumped to latest) is
27 > available here:
28 > https://github.com/vivo75/vivovl/blob/master/app-arch/rpm/rpm-4.14.0.ebuild
29 >
30 > thanks for reading and please share your thoughts
31 >
32 > -- Francesco (vivo) Riosa
33 >
34 Sounds to me like a potential case of a 'virtual/debugedit' package,
35 depending on one of rpm or debugedit to be installed, perhaps?
36
37 MJE

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-dev] FEATURES=splitdebug and debugedit Francesco Riosa <vivo75@×××××.com>