public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Skipping world rebuild with profile 23.0 upgrade?
@ 2024-06-25 14:05 Nikos Chantziaras
  2024-06-25 15:41 ` Michael Orlitzky
  2024-06-25 18:20 ` Eli Schwartz
  0 siblings, 2 replies; 3+ messages in thread
From: Nikos Chantziaras @ 2024-06-25 14:05 UTC (permalink / raw
  To: gentoo-user

So what happens if I skip the very last step in the profile 23.0 upgrade 
guide, which is:

6. Rebuild world:
    emerge --ask --emptytree @world

Is this just a security concern due to the new hardening flags, or are 
there ABI concerns?



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-user] Skipping world rebuild with profile 23.0 upgrade?
  2024-06-25 14:05 [gentoo-user] Skipping world rebuild with profile 23.0 upgrade? Nikos Chantziaras
@ 2024-06-25 15:41 ` Michael Orlitzky
  2024-06-25 18:20 ` Eli Schwartz
  1 sibling, 0 replies; 3+ messages in thread
From: Michael Orlitzky @ 2024-06-25 15:41 UTC (permalink / raw
  To: gentoo-user

On Tue, 2024-06-25 at 17:05 +0300, Nikos Chantziaras wrote:
> So what happens if I skip the very last step in the profile 23.0 upgrade 
> guide, which is:
> 
> 6. Rebuild world:
>     emerge --ask --emptytree @world
> 
> Is this just a security concern due to the new hardening flags, or are 
> there ABI concerns?
> 

I think this is akin to saying "reboot" rather than trying to carefully
describe how to restart every process on every running system.

You can probably get away with it, but at the risk of causing some
obscure issue that nobody will be able to help you with. It took me
three days of computer time to rebuild everything, but the subsequent
zero days of human time debugging was worth it (YMMV).



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-user] Skipping world rebuild with profile 23.0 upgrade?
  2024-06-25 14:05 [gentoo-user] Skipping world rebuild with profile 23.0 upgrade? Nikos Chantziaras
  2024-06-25 15:41 ` Michael Orlitzky
@ 2024-06-25 18:20 ` Eli Schwartz
  1 sibling, 0 replies; 3+ messages in thread
From: Eli Schwartz @ 2024-06-25 18:20 UTC (permalink / raw
  To: gentoo-user


[-- Attachment #1.1.1: Type: text/plain, Size: 951 bytes --]

On 6/25/24 10:05 AM, Nikos Chantziaras wrote:
> So what happens if I skip the very last step in the profile 23.0 upgrade
> guide, which is:
> 
> 6. Rebuild world:
>    emerge --ask --emptytree @world
> 
> Is this just a security concern due to the new hardening flags, or are
> there ABI concerns?


If you use the binhost packages built for profile 23.0 then you can
simply reinstall those without any compilation.

If your profile upgrade fell under the category of CHOST changes then
that's probably a worst-case scenario with regard to trying to skip an
emptytree rebuild. I would recommend NOT skipping the emptytree if you
are a musl / ppc64le / mips.

On other configurations this may be safe, but I still wouldn't skip it
unless you can describe exactly what changed and why you are confident
mixing old/new binaries is safe. Even then I strongly advise rebuilding
all toolchain-related packages.

-- 
Eli Schwartz

[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 18399 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 963 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-06-25 18:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-25 14:05 [gentoo-user] Skipping world rebuild with profile 23.0 upgrade? Nikos Chantziaras
2024-06-25 15:41 ` Michael Orlitzky
2024-06-25 18:20 ` Eli Schwartz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox