Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Binary hosts online
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo Chat
View previous topic :: View next topic  
Author Message
psycho
Guru
Guru


Joined: 22 Jun 2007
Posts: 542
Location: New Zealand

PostPosted: Fri Dec 29, 2023 11:59 pm    Post subject: Binary hosts online Reply with quote

It's great to see that the convenience of a complete (for amd64 stable) binary distribution is available to Gentoo users now. Should make the resurrection of ancient Gentoo boxes much quicker and easier.
Back to top
View user's profile Send private message
Q-collective
Advocate
Advocate


Joined: 22 Mar 2004
Posts: 2076

PostPosted: Sat Dec 30, 2023 1:10 am    Post subject: Reply with quote

If those ancient boxes support AMD64 :wink:

But yeah, I heard this was in the pipe line for a long time now, but was surprised by the sudden announcement in my rss reader.

Easy setup, looks completely transparent so far, or maybe I haven't pulled in any binaries yet. Are updates transparently going to be replaced with binaries now when --getbinpkg is enabled? That's how I understood it to go.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Sat Dec 30, 2023 11:12 am    Post subject: Reply with quote

Q-collective,

Yes, if USE flags are compatible. If not, portage will want to build as normal.
_________________
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
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 5095
Location: Bavaria

PostPosted: Sat Dec 30, 2023 1:46 pm    Post subject: Reply with quote

NeddySeagoon wrote:
Yes, if USE flags are compatible. If not, portage will want to build as normal.


... or you are using the dangerous --binpkg-respect-use=n.

See more: https://wiki.gentoo.org/wiki/Binary_package_quickstart#--binpkg-respect-use.3Dy
_________________
https://wiki.gentoo.org/wiki/User:Pietinger
Back to top
View user's profile Send private message
eeckwrk99
Apprentice
Apprentice


Joined: 14 Mar 2021
Posts: 231
Location: Gentoo forums

PostPosted: Sat Dec 30, 2023 2:36 pm    Post subject: Reply with quote

I own a Compaq 6710b (Core 2 Duo T7300 @2.0 GHz / 4GB of RAM). I have always been reluctant to install Gentoo on it because compile times would be very long, so I went with Arch Linux instead.
This is a backup machine I never really use unless I'm traveling or have a serious issue with my main one. I wouldn't mind having to wait for packages to compile as I wouldn't be using the system during that time, but it wouldn't be worth the CPU usage and electricity consumption in my opinion. I was also not too keen on learning how to set up a binhost.

Gentoo now offering official binary packages, I might reconsider that.
Back to top
View user's profile Send private message
doalwa
Tux's lil' helper
Tux's lil' helper


Joined: 03 Mar 2003
Posts: 142
Location: Old Europe

PostPosted: Tue Jan 02, 2024 11:20 am    Post subject: Reply with quote

Stumbled upon this news, as well.

This is great news for me. I have multiple Gentoo installations at home, one is running on a rather ancient Thinkpad X200. World updates are, obviously, a pain.

Can't wait to try it on this machine later on...hopefully the USE flags are compatible :!:
_________________
Keepin' the Funk alive since 1983!
Back to top
View user's profile Send private message
Q-collective
Advocate
Advocate


Joined: 22 Mar 2004
Posts: 2076

PostPosted: Tue Jan 02, 2024 12:16 pm    Post subject: Reply with quote

Please note when you setup /etc/portage/binrepos.conf/gentoobinhost.conf that you specify a full path to the mirror of your choosing. So:

1. Go to https://www.gentoo.org/downloads/mirrors/ and select any mirror you want to use.
2. Go to the directory /releases/amd64/binpackages/17.1/x86-64/ (if you're on AMD64)

This is the url you'll need to enter.

It tripped me up, so I thought I'd share!


Last edited by Q-collective on Tue Jan 02, 2024 12:42 pm; edited 1 time in total
Back to top
View user's profile Send private message
eeckwrk99
Apprentice
Apprentice


Joined: 14 Mar 2021
Posts: 231
Location: Gentoo forums

PostPosted: Tue Jan 02, 2024 12:33 pm    Post subject: Reply with quote

Q-collective wrote:
Please note when you setup /etc/portage/binrepos.conf/gentoobinhost.conf that you specify a full path to the mirror of your choosing. So:

1. Go to https://www.gentoo.org/downloads/mirrors/ and select any mirror you want to use.
2. Go to the directory /releases/amd64/binpackages/17.1/ (if you're on AMD64)

This is the url you'll need to enter.

It tripped me up, so I thought I'd share!

The Gentoo Wiki examples contain the full URLs.

Gentoo Wiki - Binary Package quickstart - binrepos.conf wrote:

Code:
# /etc/portage/binrepos.conf/gentoobinhost.conf - UK Mirror Example, amd64
[binhost]
priority = 9999
sync-uri = https://mirror.bytemark.co.uk/gentoo/releases/amd64/binpackages/17.1/x86-64/

# /etc/portage/binrepos.conf/gentoobinhost.conf - CN Mirror Example, arm64
[binhost]
priority = 9999
sync-uri = https://mirrors.aliyun.com/gentoo/releases/arm64/binpackages/17.0/arm64
Back to top
View user's profile Send private message
Q-collective
Advocate
Advocate


Joined: 22 Mar 2004
Posts: 2076

PostPosted: Tue Jan 02, 2024 12:42 pm    Post subject: Reply with quote

eeckwrk99 wrote:
The Gentoo Wiki examples contain the full URLs.

Gentoo Wiki - Binary Package quickstart - binrepos.conf wrote:

Code:
# /etc/portage/binrepos.conf/gentoobinhost.conf - UK Mirror Example, amd64
[binhost]
priority = 9999
sync-uri = https://mirror.bytemark.co.uk/gentoo/releases/amd64/binpackages/17.1/x86-64/

# /etc/portage/binrepos.conf/gentoobinhost.conf - CN Mirror Example, arm64
[binhost]
priority = 9999
sync-uri = https://mirrors.aliyun.com/gentoo/releases/arm64/binpackages/17.0/arm64

Correct, but both the news item and mirror list page do not, so thought I'd share :)
Back to top
View user's profile Send private message
doalwa
Tux's lil' helper
Tux's lil' helper


Joined: 03 Mar 2003
Posts: 142
Location: Old Europe

PostPosted: Thu Jan 04, 2024 9:28 am    Post subject: Reply with quote

Q-collective wrote:
eeckwrk99 wrote:
The Gentoo Wiki examples contain the full URLs.

Gentoo Wiki - Binary Package quickstart - binrepos.conf wrote:

Code:
# /etc/portage/binrepos.conf/gentoobinhost.conf - UK Mirror Example, amd64
[binhost]
priority = 9999
sync-uri = https://mirror.bytemark.co.uk/gentoo/releases/amd64/binpackages/17.1/x86-64/

# /etc/portage/binrepos.conf/gentoobinhost.conf - CN Mirror Example, arm64
[binhost]
priority = 9999
sync-uri = https://mirrors.aliyun.com/gentoo/releases/arm64/binpackages/17.0/arm64

Correct, but both the news item and mirror list page do not, so thought I'd share :)


Thanks for sharing!

Finished setting up my three Gentoo boxes comprising of a Lenovo Thinkpad X200, Dell Latitude E6440 and my main machine, a desktop equipped with an AMD Ryzen 7 5800X3D CPU and a Radeon 7900 xt.

World upgrade went fine on all three machines. It's a very nice touch that you can tell at a glance if Portage will build from source or grab a binary.

The Thinkpad and my Desktop are running Gnome, the Latitude is running KDE Plasma.

I'd say that about 75 to 80 % of the upgraded packages were binaries, the rest had to be compiled from source.

All in all, a great new feature especially for older machines!
_________________
Keepin' the Funk alive since 1983!
Back to top
View user's profile Send private message
eeckwrk99
Apprentice
Apprentice


Joined: 14 Mar 2021
Posts: 231
Location: Gentoo forums

PostPosted: Thu Jan 04, 2024 11:22 am    Post subject: Reply with quote

doalwa wrote:
I'd say that about 75 to 80 % of the upgraded packages were binaries, the rest had to be compiled from source.

I did a base install on a virtual machine and observed similar ratio. Maybe slightly less due to some USE flags mismatch, something like 65/70%. This was with default/linux/amd64/17.1/desktop/plasma/systemd/merged-usr (stable) profile. However, most of the extra packages I usually install are not (yet?) available as binary but they compile fairly quickly anyway.

How long did it take you with your X200 until getting GNOME running?
Back to top
View user's profile Send private message
doalwa
Tux's lil' helper
Tux's lil' helper


Joined: 03 Mar 2003
Posts: 142
Location: Old Europe

PostPosted: Thu Jan 04, 2024 11:26 am    Post subject: Reply with quote

eeckwrk99 wrote:
doalwa wrote:
I'd say that about 75 to 80 % of the upgraded packages were binaries, the rest had to be compiled from source.

I did a base install on a virtual machine and observed similar ratio. Maybe slightly less due to some USE flags mismatch, something like 65/70%. This was with default/linux/amd64/17.1/desktop/plasma/systemd/merged-usr (stable) profile. However, most of the extra packages I usually install are not (yet?) available as binary but they compile fairly quickly anyway.

How long did it take you with your X200 until getting GNOME running?


I'm really not sure how long it took to get Gnome going on that machine...I basically emerged Gnome and let it sit for one or two days..

The machine basically just sits in the back of my office and rarely gets any use...I just hate throwing stuff away, even though it's really not that feasible to use the modern internet on such an ancient machine.

But you never know..the day might come where none of my 10 other machines seem to work anymore and this will be the day the good, old Thinkpad will shine :lol:
_________________
Keepin' the Funk alive since 1983!
Back to top
View user's profile Send private message
NichtDerHans
Apprentice
Apprentice


Joined: 27 Jan 2023
Posts: 177

PostPosted: Sun Jan 07, 2024 10:42 am    Post subject: Reply with quote

I am currently testing this. The day before yesterday there were 125 updates, of which about 120 were binary packages. Today there are about 20 updates and no binary packages.

Will the binary packages be built later at intervals? If so, what are the intervals?
Back to top
View user's profile Send private message
eschwartz
Developer
Developer


Joined: 29 Oct 2023
Posts: 219

PostPosted: Wed Mar 06, 2024 6:30 am    Post subject: Reply with quote

Approximately once a day for amd64, so unless you have good timing you can easily end up inside the window when new packages have been pushed to the rsync repos but not built yet. Waiting a bit after you sync but before you update may help. ;)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo Chat 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