Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Is binary repositories necessarily?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
justguy
n00b
n00b


Joined: 12 Apr 2025
Posts: 22

PostPosted: Tue Apr 15, 2025 2:06 pm    Post subject: Is binary repositories necessarily? Reply with quote

I have question if i dont put any binary mirrors in make.conf, but have official gentoo mirrors will it still install binary packages?
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31603
Location: here

PostPosted: Tue Apr 15, 2025 2:19 pm    Post subject: Reply with quote

No except if the package in the official non binary repository is not a binary of its own (like google-chrome, firefox-bin and other non-open source packages).
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
justguy
n00b
n00b


Joined: 12 Apr 2025
Posts: 22

PostPosted: Tue Apr 15, 2025 2:34 pm    Post subject: Reply with quote

because i cannot access any binary repository URL (means i get error 404 then trying enter url)
Back to top
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 23360

PostPosted: Tue Apr 15, 2025 4:35 pm    Post subject: Reply with quote

justguy: when you have a question, please describe specifically what you intend to do or change. In this case, I would rewrite your initial question as:
Quote:
If I leave PORTAGE_BINHOST blank, and I want to use FEATURES=getbinpkg, what happens?
Assuming that is your question, then I would first observe the note in man 5 make.conf:
man 5 make.conf:
The
              PORTAGE_BINHOST variable is deprecated in favor  of  the  binre‐
              pos.conf configuration file (see portage(5)).
Setting that aside, I would expect the answer is that FEATURES=getbinpkg is ineffective without a binhost from which to obtain binpkgs. Ordinary Portage packages with a -bin suffix can still be installed "from source" - but note that for such packages, the source is itself just precompiled files.
Back to top
View user's profile Send private message
justguy
n00b
n00b


Joined: 12 Apr 2025
Posts: 22

PostPosted: Wed Apr 16, 2025 6:23 am    Post subject: Reply with quote

Thank u PORTAGE_BINHOST is important then enabling binary packages feature
Back to top
View user's profile Send private message
justguy
n00b
n00b


Joined: 12 Apr 2025
Posts: 22

PostPosted: Wed Apr 16, 2025 7:19 am    Post subject: Reply with quote

But idk for some reasons all working fine if i dont specify PORTAGE_BINHOST all still get binary packages i think because i have regular mirrors
Back to top
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 23360

PostPosted: Wed Apr 16, 2025 2:10 pm    Post subject: Reply with quote

In that case, perhaps my earlier speculation is wrong. I expected that FEATURES=getbinpkg would only work with PORTAGE_BINHOST set, but did not create a test environment to confirm it, and did not readily find documentation that confirmed or contradicted my expectation.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 55190
Location: 56N 3W

PostPosted: Wed Apr 16, 2025 6:09 pm    Post subject: Reply with quote

Team,

The stage3 has a default binhost set.
Code:
emerge --info
will show it.

From a Pi5 arm64 install
emerge --info:

...
Binary Repositories:

gentoobinhost
    priority: 1
    sync-uri: https://gentoo.osuosl.org/releases/arm64/binpackages/23.0/arm64
...

Others can be added too.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo 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