Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Per-package getbinpkg feature.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
sokhapkin
n00b
n00b


Joined: 13 Jan 2005
Posts: 45
Location: N Ft Myers, FL

PostPosted: Tue Jan 16, 2024 3:15 pm    Post subject: Per-package getbinpkg feature. Reply with quote

How to set getbinpkg feature per package? I want to compile most of packages, but use some binary packages. I tried package.env route, but it doesn't work. For example, I added to package.env
Code:

sys-devel/llvm use_binpkg

and created /etc/portage/env/use_binpkg:
Code:

FEATURES="binpkg-request-signature getbinpkg"

emerge even don't try to use binary packages unless I start "emerge -g" or set FEATURES="binpkg-request-signature getbinpkg" in make.conf. But this causes emerge to use all available binary packages instead of the subset I want. Any other ideas how to force portage to use binary packages for a predefined set of packages?
_________________
Sergey Okhapkin
http://www.callwithus.com
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30923
Location: here

PostPosted: Tue Jan 16, 2024 3:24 pm    Post subject: Reply with quote

Look at bug #463964.
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Genone
Retired Dev
Retired Dev


Joined: 14 Mar 2003
Posts: 9533
Location: beyond the rim

PostPosted: Fri Jan 19, 2024 2:36 pm    Post subject: Reply with quote

As noted in the linked bug report, FEATURES are not fully supported in package.env as they can cause circular effects (e.g. getbinpkg may cause a different version to get selected, which can result in the package.env entry no longer being applicable).
Back to top
View user's profile Send private message
mani001
Guru
Guru


Joined: 04 Dec 2004
Posts: 485
Location: Oleiros

PostPosted: Fri Mar 29, 2024 8:39 pm    Post subject: Reply with quote

Just in case...still no workaround for this, right? In my old computer, compiling is fine for *almost* every package, but not all of them (e.g., qtwebengine) :?
Back to top
View user's profile Send private message
logrusx
Veteran
Veteran


Joined: 22 Feb 2018
Posts: 1547

PostPosted: Sat Mar 30, 2024 4:19 am    Post subject: Reply with quote

mani001 wrote:
Just in case...still no workaround for this, right? In my old computer, compiling is fine for *almost* every package, but not all of them (e.g., qtwebengine) :?


You can manually update qtwebengine with --getbinpkg and update the rest normally.

You can terminate emerge when qtwebengine starts, manually update it, then relaunch emerge process.

You can exclude qtwebengine, then manually update it afterwards.

Best Regards,
Georgi
Back to top
View user's profile Send private message
mani001
Guru
Guru


Joined: 04 Dec 2004
Posts: 485
Location: Oleiros

PostPosted: Sat Mar 30, 2024 8:17 am    Post subject: Reply with quote

Thanks for the hints! I finally went with the emerge's --exclude option.

Cheers.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum