Re: [gentoo-user] split-usr

2024-01-12 Thread Felix Kuperjans

Am 12.01.24 um 08:24 schrieb William Kenworthy:
Some years back I did the usr-merge and my laptop has continued on 
more or less ok.


Now, I suddenly have a number of packages failing to build with 
internal collisions as they try and install (for example) a binary 
into /bin and /usr/bin and collide.  "emerge --info" is showing the 
split-usr flag enabled on my profile (5):


  [5]   default/linux/amd64/17.1/desktop (stable)
  [6]   default/linux/amd64/17.1/desktop/gnome (stable)
  [7]   default/linux/amd64/17.1/desktop/gnome/systemd (stable)
  [8]   default/linux/amd64/17.1/desktop/gnome/systemd/merged-usr 
(stable)

  [9]   default/linux/amd64/17.1/desktop/plasma (stable)
  [10]  default/linux/amd64/17.1/desktop/plasma/systemd (stable)
  [11]  default/linux/amd64/17.1/desktop/plasma/systemd/merged-usr 
(stable)

  [12]  default/linux/amd64/17.1/desktop/systemd (stable)
  [13]  default/linux/amd64/17.1/desktop/systemd/merged-usr (stable)

So which profile should I use for an XFCE4 desktop.  This laptop is 
openrc and predates the devils spawn (systemd) and I dont use gnome or 
plasma?


BillK


Hello William,

from the profiles listed you probably go with the plain desktop profile 
[5] at best.


In the 23.0 profiles the /usr merge will be properly addressed, until 
then you'll need to do the adjustments in your /etc/portage/.


To see what is needed, you can check the actual changes which the 
merged-usr profiles introduce in ::gentoo repository:


profiles/features/merged-usr/

From what you're describing I think you you're not properly masking the 
split-usr USE flag, i.e. check especially use.force and use.mask.


Cheers
Felix




Re: [gentoo-user] split-usr

2024-01-12 Thread Michael
On Friday, 12 January 2024 17:45:44 GMT ralfconn wrote:
> Il 12/01/24 08:24, William Kenworthy ha scritto:
> > Some years back I did the usr-merge and my laptop has continued on
> > more or less ok.
> > 
> > Now, I suddenly have a number of packages failing to build with
> > internal collisions as they try and install (for example) a binary
> > into /bin and /usr/bin and collide.  "emerge --info" is showing the
> > split-usr flag enabled on my profile (5):
> > 
> >   [5]   default/linux/amd64/17.1/desktop (stable)
> >   [6]   default/linux/amd64/17.1/desktop/gnome (stable)
> >   [7]   default/linux/amd64/17.1/desktop/gnome/systemd (stable)
> >   [8] default/linux/amd64/17.1/desktop/gnome/systemd/merged-usr (stable)
> >   [9]   default/linux/amd64/17.1/desktop/plasma (stable)
> >   [10]  default/linux/amd64/17.1/desktop/plasma/systemd (stable)
> >   [11] default/linux/amd64/17.1/desktop/plasma/systemd/merged-usr
> > (stable)
> >   [12]  default/linux/amd64/17.1/desktop/systemd (stable)
> >   [13]  default/linux/amd64/17.1/desktop/systemd/merged-usr (stable)
> > 
> > So which profile should I use for an XFCE4 desktop.  This laptop is
> > openrc and predates the devils spawn (systemd) and I dont use gnome or
> > plasma?
> > 
> > BillK
> 
> [5] is what I have been using here for years and I am also an
> XFCE/openrc addict. I recently switched to a merged
> desktop[5]/hardened[3] profile. split-usr is set but it's the first time
> I notice it and I don't know what the usr-merge is. No issues with
> merges. Not much help for your problem, I know.
> 
> raf

Directories like /bin, /sbin, /lib* will soon/eventually migrate to /usr and 
merge with their synonyms there.  This has already taken place on systemd and 
a migration is on the cards for openrc.  The baselayout package will change 
among others and I expect some migration script would be provided.  Otherwise 
it would be a manual job of shifting directories around.  Leaving the split-
usr flag set is what should be used with the stable packages at the moment and 
it won't cause any problems.

More info here:  https://wiki.gentoo.org/wiki/Merge-usr

and here (for systemd):  
https://www.gentoo.org/support/news-items/2022-12-01-systemd-usrmerge.html



signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] split-usr

2024-01-12 Thread ralfconn

Il 12/01/24 08:24, William Kenworthy ha scritto:
Some years back I did the usr-merge and my laptop has continued on 
more or less ok.


Now, I suddenly have a number of packages failing to build with 
internal collisions as they try and install (for example) a binary 
into /bin and /usr/bin and collide.  "emerge --info" is showing the 
split-usr flag enabled on my profile (5):


  [5]   default/linux/amd64/17.1/desktop (stable)
  [6]   default/linux/amd64/17.1/desktop/gnome (stable)
  [7]   default/linux/amd64/17.1/desktop/gnome/systemd (stable)
  [8] default/linux/amd64/17.1/desktop/gnome/systemd/merged-usr (stable)
  [9]   default/linux/amd64/17.1/desktop/plasma (stable)
  [10]  default/linux/amd64/17.1/desktop/plasma/systemd (stable)
  [11] default/linux/amd64/17.1/desktop/plasma/systemd/merged-usr 
(stable)

  [12]  default/linux/amd64/17.1/desktop/systemd (stable)
  [13]  default/linux/amd64/17.1/desktop/systemd/merged-usr (stable)

So which profile should I use for an XFCE4 desktop.  This laptop is 
openrc and predates the devils spawn (systemd) and I dont use gnome or 
plasma?


BillK

[5] is what I have been using here for years and I am also an 
XFCE/openrc addict. I recently switched to a merged 
desktop[5]/hardened[3] profile. split-usr is set but it's the first time 
I notice it and I don't know what the usr-merge is. No issues with 
merges. Not much help for your problem, I know.


raf




[gentoo-user] split-usr

2024-01-11 Thread William Kenworthy
Some years back I did the usr-merge and my laptop has continued on more 
or less ok.


Now, I suddenly have a number of packages failing to build with internal 
collisions as they try and install (for example) a binary into /bin and 
/usr/bin and collide.  "emerge --info" is showing the split-usr flag 
enabled on my profile (5):


  [5]   default/linux/amd64/17.1/desktop (stable)
  [6]   default/linux/amd64/17.1/desktop/gnome (stable)
  [7]   default/linux/amd64/17.1/desktop/gnome/systemd (stable)
  [8]   default/linux/amd64/17.1/desktop/gnome/systemd/merged-usr (stable)
  [9]   default/linux/amd64/17.1/desktop/plasma (stable)
  [10]  default/linux/amd64/17.1/desktop/plasma/systemd (stable)
  [11]  default/linux/amd64/17.1/desktop/plasma/systemd/merged-usr (stable)
  [12]  default/linux/amd64/17.1/desktop/systemd (stable)
  [13]  default/linux/amd64/17.1/desktop/systemd/merged-usr (stable)

So which profile should I use for an XFCE4 desktop.  This laptop is 
openrc and predates the devils spawn (systemd) and I dont use gnome or 
plasma?


BillK