🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.gentoo.user
Article #193

Re: [gentoo-user] emerge conflict

#193
From: Eli Schwartz
Date: Wed, 18 Nov 2026 02:40
111 lines
6581 bytes
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--------------4Fo11Is7TRc29UjhR2k77xGW
Content-Type: multipart/mixed; boundary="------------3Mca1OxSQn8F2cD0hwWaRr08";
 protected-headers="v1"; hp="clear"
Message-ID: <31d471d5-7b14-4685-8f8c-b420d2e30a3e@gentoo.org>
Date: Tue, 17 Nov 2026 21:30:17 -0500
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Subject: Re: [gentoo-user] emerge conflict
To: gentoo-user@lists.gentoo.org
References: <2d5739bf-ede8-40cd-bcd1-8d72da2f0456@oldfart.online>
 <8c010257-dba7-422b-b69e-1cb486db94b0@app.fastmail.com>
 <caae8d30-3684-41ec-b0cd-6f7bfd6bea31@oldfart.online>
 <87se0z3xpq.fsf@gmail.com>
 <63e9954a-99f4-4ac0-b4a7-71f2da164c4d@oldfart.online>
 <87jymb3uv7.fsf@gmail.com>
 <7a22fe19-8c9d-4869-8404-90b41da54e89@oldfart.online>
Content-Language: en-US
From: Eli Schwartz <eschwartz@gentoo.org>
Autocrypt: addr=eschwartz@gentoo.org; keydata=
 xjMEZmeRNBYJKwYBBAHaRw8BAQdAYNZ7pUDWhx1i2f3p6L2ZLu4FcY18UoeGC04Gq/khqwfN
 I0VsaSBTY2h3YXJ0eiA8ZXNjaHdhcnR6QGdlbnRvby5vcmc+wpYEExYKAD4CGwMFCwkIBwMF
 FQoJCAsFFgIDAQACHgUCF4AWIQTvUdMIsc4jCIi+DYTqQj6ToWND8QUCauABDQUJCJCIWQAK
 CRDqQj6ToWND8bXlAQDhi6hUxiss56cdPbsemrWdVQe3CtkpqlQccxV/4a4/QgD/dUCR+SGn
 YxNZj6lir6i/TBr0yfSSrMtKgGO1+lClSwLOOARmZ5E0EgorBgEEAZdVAQUBAQdATT46Z06b
 1X9xjXFCYFxmq/Tj3tSEKZInDWTpoHQp4l8DAQgHwn4EGBYKACYCGwwWIQTvUdMIsc4jCIi+
 DYTqQj6ToWND8QUCauABGAUJCJCIZAAKCRDqQj6ToWND8c4xAQCWj7iWpgEJUM+wf2bZCkgM
 EKEVVdv5aBJrj6Xa22UhIQEA0bIv2t9jUqUeBMHl/6i0L28s5Mrtr0ZSX3Sg/zeyrAM=
X-Clacks-Overhead: GNU Terry Pratchett
In-Reply-To: <7a22fe19-8c9d-4869-8404-90b41da54e89@oldfart.online>

--------------3Mca1OxSQn8F2cD0hwWaRr08
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

On 11/17/26 6:56 PM, Pocket wrote:
>=20
>=20
> On 11/17/26 18:23, Alexis wrote:
>> Pocket <pocket@oldfart.online> writes:
>>
>>> But sys-devel/bc pulls in app-alternatives/bc
>>
>> Yes, it's a PDEPEND in the ebuild for the former:
>>
>> ```
>> PDEPEND=3D"app-alternatives/bc"
>> ```
>>
>> A PDEPEND is a "post dependency":
>>
>> "The PDEPEND variable specifies runtime dependencies that do not
>> strictly require being satisfied immediately. They can be merged after=

>> the package. This variable is used purely to resolve circular
>> dependencies, while in general case RDEPEND should be used instead."
>=20
>=20
> I changed the RDEPEND to BDEPEND
>=20
> From looking at the app-alternatives/bc it appears it only creates two
> symlinks, if I am correctly reading the app-alternatives/bc ebuild file=
=2E


Yes. For packages in app-alternatives/* it means that users may wish to
choose between multiple implementations of some software.

So for bc, for example, sys-devel/bc installs:

/usr/bin/bc-reference
/usr/bin/dc-reference

and creates *untracked* symlinks "bc" and "dc" if they don't exist.

Later on in the same emerge process, app-alternatives/bc is installed,
and exists to package up these two symlinks (which it takes ownership
of, if they already existed as untracked symlinks):

/usr/bin/bc -> bc-reference
/usr/bin/dc -> dc-reference

If you just want a bc program and you do not care which one, then depend
on app-alternatives/bc. If you care which one, you can have programs
which run `bc-reference`, or depend on `app-alternatives/bc[gnu]`, but I
suspect it will be unlikely you have programs which specifically need
the gnu version and cannot use "bc-gh" (the other implementation).

Any ebuilds which "inherit kernel-build" will automatically have a
BDEPEND on app-alternatives/bc (and various other packages).


--=20
Eli Schwartz

--------------3Mca1OxSQn8F2cD0hwWaRr08--

--------------4Fo11Is7TRc29UjhR2k77xGW
Content-Type: application/pgp-signature; name="OpenPGP_signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="OpenPGP_signature.asc"

-----BEGIN PGP SIGNATURE-----

wnsEABYIACMWIQTnFNnmK0TPZHnXm3qEp9ErcA0vVwUCav0NuQUDAAAAAAAKCRCEp9ErcA0vV6eA
AP4jLBm7bMzDfFtJchw/wQHhc7KA4OTOCVxYV39q3fXA3gEA/oWdSDZm69SNHy32u/AKOn/3YZ5L
00UiiJb3jrjPHAc=
=d2Vt
-----END PGP SIGNATURE-----

--------------4Fo11Is7TRc29UjhR2k77xGW--
Technical Details
Message-ID: <O0DKx-czmj-15@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!newsfeed.bofh.team!weretis.net!feeder8.news.weretis.net!fu-berlin.de!bofh.it!news.nic.it!robomod
References: <O0wpH-cvr7-1@gated-at.bofh.it> <O0wzn-cvuA-1@gated-at.bofh.it> <O0wJ4-cvGY-9@gated-at.bofh.it> <O0zQB-cxhP-5@gated-at.bofh.it> <O0A0i-cxln-9@gated-at.bofh.it> <O0AMF-cxPu-1@gated-at.bofh.it> <O0BfH-cy2f-3@gated-at.bofh.it>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!newsfeed.bofh.team!weretis.net!feeder8.news.weretis.net!fu-berlin.de!bofh.it!news.nic.it!robomod
From: Eli Schwartz <eschwartz@gentoo.org>
Newsgroups: linux.gentoo.user
Subject: Re: [gentoo-user] emerge conflict
Date: Wed, 18 Nov 2026 03:40:01 +0100
Message-ID: <O0DKx-czmj-15@gated-at.bofh.it>
References: <O0wpH-cvr7-1@gated-at.bofh.it> <O0wzn-cvuA-1@gated-at.bofh.it> <O0wJ4-cvGY-9@gated-at.bofh.it> <O0zQB-cxhP-5@gated-at.bofh.it> <O0A0i-cxln-9@gated-at.bofh.it> <O0AMF-cxPu-1@gated-at.bofh.it> <O0BfH-cy2f-3@gated-at.bofh.it>
X-Original-To: gentoo-user@lists.gentoo.org
List-ID: Gentoo Linux mail <gentoo-user.gentoo.org>
Reply-To: gentoo-user@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Content-Language: en-US
Autocrypt: addr=eschwartz@gentoo.org; keydata=
 xjMEZmeRNBYJKwYBBAHaRw8BAQdAYNZ7pUDWhx1i2f3p6L2ZLu4FcY18UoeGC04Gq/khqwfN
 I0VsaSBTY2h3YXJ0eiA8ZXNjaHdhcnR6QGdlbnRvby5vcmc+wpYEExYKAD4CGwMFCwkIBwMF
 FQoJCAsFFgIDAQACHgUCF4AWIQTvUdMIsc4jCIi+DYTqQj6ToWND8QUCauABDQUJCJCIWQAK
 CRDqQj6ToWND8bXlAQDhi6hUxiss56cdPbsemrWdVQe3CtkpqlQccxV/4a4/QgD/dUCR+SGn
 YxNZj6lir6i/TBr0yfSSrMtKgGO1+lClSwLOOARmZ5E0EgorBgEEAZdVAQUBAQdATT46Z06b
 1X9xjXFCYFxmq/Tj3tSEKZInDWTpoHQp4l8DAQgHwn4EGBYKACYCGwwWIQTvUdMIsc4jCIi+
 DYTqQj6ToWND8QUCauABGAUJCJCIZAAKCRDqQj6ToWND8c4xAQCWj7iWpgEJUM+wf2bZCkgM
 EKEVVdv5aBJrj6Xa22UhIQEA0bIv2t9jUqUeBMHl/6i0L28s5Mrtr0ZSX3Sg/zeyrAM=
X-Clacks-Overhead: GNU Terry Pratchett
Content-Type: multipart/signed; micalg=pgp-sha256;
 protocol="application/pgp-signature";
 boundary="------------4Fo11Is7TRc29UjhR2k77xGW"
Approved: robomod@news.nic.it
Lines: 111
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Tue, 17 Nov 2026 21:30:17 -0500
X-Original-Message-ID: <31d471d5-7b14-4685-8f8c-b420d2e30a3e@gentoo.org>
X-Original-References: <2d5739bf-ede8-40cd-bcd1-8d72da2f0456@oldfart.online>
 <8c010257-dba7-422b-b69e-1cb486db94b0@app.fastmail.com>
 <caae8d30-3684-41ec-b0cd-6f7bfd6bea31@oldfart.online>
 <87se0z3xpq.fsf@gmail.com>
 <63e9954a-99f4-4ac0-b4a7-71f2da164c4d@oldfart.online>
 <87jymb3uv7.fsf@gmail.com>
 <7a22fe19-8c9d-4869-8404-90b41da54e89@oldfart.online>