Gentoo Archives: gentoo-dev

From: Daniel Campbell <zlg@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] RFC: Ban dolib and libopts in EAPI 7
Date: Fri, 14 Oct 2016 04:21:00
Message-Id: e23a2b24-bbe7-c9cc-aa53-634c5d61cc45@gentoo.org
In Reply to: [gentoo-dev] RFC: Ban dolib and libopts in EAPI 7 by Ulrich Mueller
1 On 10/13/2016 06:53 AM, Ulrich Mueller wrote:
2 > Hi all,
3 >
4 > I suggest that we ban the dolib and libopts commands in EAPI 7.
5 >
6 > Rationale:
7 > 1. There are about 60 instances of dolib in the tree. At least one
8 > third of them appears to be wrong (e.g., should be replaced by
9 > dolib.so for correct mode).
10 > 2. libopts affects only dolib, while the more special commands dolib.a
11 > and dolib.so install libraries with fixed modes 0644 and 0755,
12 > respectively. (The latter is also consistent with dobin installing
13 > with fixed mode 0755, i.e., there is no binopts command.)
14 > 3. There is no newlib command corresponding to dolib, whereas
15 > newlib.{a,so} commands exist.
16 > 4. libopts is not used at all in the tree, which strongly indicates
17 > that there is no need for it.
18 >
19 > Replacement:
20 > Use dolib.a or dolib.so instead.
21 >
22 > Comments?
23 >
24 > Ulrich
25 >
26 Appears sane to me, though I don't work directly on any library packages
27 as of yet.
28
29 --
30 Daniel Campbell - Gentoo Developer
31 OpenPGP Key: 0x1EA055D6 @ hkp://keys.gnupg.net
32 fpr: AE03 9064 AE00 053C 270C 1DE4 6F7A 9091 1EA0 55D6

Attachments

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