On Thu, Jan 12, 2023 at 12:54 PM Laurence Perkins <
[email protected]>
wrote:
I’m not sure if I’m doing something horribly wrong, or missing something blindingly obvious, but I’ve just had to boot a rescue shell yet again, so I’m going to ask.
To save time and effort, I have my big, powerful machine create
binpackages for everything when it updates, and then let all my smaller machines pull from that. It works pretty well for the most part.
I do something quite similar, but have never had a glibc problem. Maybe the problem lies in differences between the specific details of our two
approaches.
I have 3 boxes with different hardware but identical portage setup,
identical world file, identical o.s., etc, even identical CFLAGS, CPPFLAGS
and CPU_FLAGS_X86 despite different processors. Like you, I build on my
fastest box (but offload work via distcc), and save binpkgs. After a world update (emerge -DuNv —changed-deps @world) , I rsync all repositories and binpkgs from the fast box to the others. An emerge -DuNv —changed-deps —usepkgonly @world on the other boxes completes the update. I do this anywhere from daily to (rarely) weekly. Portage determines when to update
glibc relative to other packages. There hasn’t been a problem in years with glibc.
I believe there are more sophisticated ways to supply updated portage trees
and binary packages across a local network. I think there are others on
the list using these more sophisticated techniques successfully. Just a
plain rsync satisfies my needs.
It’s not clear to me whether you have the problem on your big powerful machine or on your other machines. If it’s the other machines, that
suggests that portage knows the proper build sequence on the big machine
and somehow doesn’t on the lesser machines. Why? What’s different?
Perhaps there’s something in my update frequency or maintaining an
identical setup on all my machines that avoids the problem you’re having?
If installing glibc first works, then maybe put a wrapper around your
emerge? Something that installs glibc first if there’s a new binpkg then
goes on to the remaining updates.
Just offered in case there’s a useful hint from my experience - not arguing that mine is the one true way (tm).
HTH,
John Blinka
<div><br></div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Jan 12, 2023 at 12:54 PM Laurence Perkins <<a href="mailto:
[email protected]">
[email protected]</a>> wrote:<br></div><blockquote class="gmail_quote"
style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="EN-US" link="#0563C1" vlink="#954F72" style="word-wrap:break-word"> <div class="m_3838989122920637813WordSection1">
<p class="MsoNormal">I’m not sure if I’m doing something horribly wrong, or missing something blindingly obvious, but I’ve just had to boot a rescue shell yet again, so I’m going to ask.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">To save time and effort, I have my big, powerful machine create binpackages for everything when it updates, and then let all my smaller machines pull from that. It works pretty well for the most part.</p></div></div></blockquote><
div dir="auto"><br></div><div dir="auto">I do something quite similar, but have never had a glibc problem. Maybe the problem lies in differences between the specific details of our two approaches.</div><div dir="auto"><br></div><div dir="auto">I have 3
boxes with different hardware but identical portage setup, identical world file, identical o.s., etc, even identical CFLAGS, CPPFLAGS and CPU_FLAGS_X86 despite different processors. Like you, I build on my fastest box (but offload work via distcc), and
save binpkgs. After a world update (emerge -DuNv —changed-deps @world) , I rsync all repositories and binpkgs from the fast box to the others. An emerge -DuNv —changed-deps —usepkgonly @world on the other boxes completes the update. I do this
anywhere from daily to (rarely) weekly. Portage determines when to update glibc relative to other packages. There hasn’t been a problem in years with glibc.</div><div dir="auto"><br></div><div dir="auto">I believe there are more sophisticated ways to
supply updated portage trees and binary packages across a local network. I think there are others on the list using these more sophisticated techniques successfully. Just a plain rsync satisfies my needs. </div><div dir="auto"><br></div><div dir="auto"
It’s not clear to me whether you have the problem on your big powerful machine or on your other machines. If it’s the other machines, that suggests that portage knows the proper build sequence on the big machine and somehow doesn’t on the lesser
machines. Why? What’s different?</div><div dir="auto"><br></div><div dir="auto">Perhaps there’s something in my update frequency or maintaining an identical setup on all my machines that avoids the problem you’re having?</div><div dir="auto"><br></
<div dir="auto">If installing glibc first works, then maybe put a wrapper around your emerge? Something that installs glibc first if there’s a new binpkg then goes on to the remaining updates.</div><div dir="auto"><br></div><div dir="auto">Just
offered in case there’s a useful hint from my experience - not arguing that mine is the one true way (tm).</div><div dir="auto"><br></div><div dir="auto">HTH,</div><div dir="auto"><br></div><div dir="auto">John Blinka</div><blockquote class="gmail_
quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div lang="EN-US" link="#0563C1" vlink="#954F72" style="word-wrap:break-word"><div class="m_3838989122920637813WordSection1"><p class="MsoNormal" dir="auto"></p>
</div>
</div>
</blockquote></div></div>
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)