[gentoo-user] Question about emerge sync and where it all goes.

2024-03-24 Thread Dale
Howdy,

I've mentioned before that I build my packages in a chroot.  I have a OS
copy on a separate drive.  I do this because of the long compile times
of some packages.  On occasion tho, I catch the tree in a bad place. 
Some conflict or other happens and I need to sync again to get fixes
etc.  Given my process tho, I don't want to sync the chroot without also
syncing my main system because the two will not be in sync and I'll lose
my update since it deletes files as well including any updates I did
emerge successfully.  I need the two to be identical.  So, I'd like to
sync my main system and then copy the new data over to the chroot
without copying the rest of the OS.  I did this with the following
command earlier. 

rsync -av --progress --delete  /var/cache/portage/tree/*
/backup/gentoo-build/var/cache/portage/tree/

As you can see, my tree location is not the default.  It is located at
/var/cache/portage/tree/.  It's the same on the chroot obviously.  Would
the above command copy all the needed files/directories over that it
needs after a emerge sync or is there more to it?  The reason I think it
needs more, when I tried to do the usual emerge -aukDN world on my main
system, it wanted to emerge more packages than the chroot did.  I
suspect there is more to it than just the tree directory. 

Anyone have the details on this?  Anyone know what other
files/directories need to be copied over as well?

Thanks.

Dale

:-)  :-) 



Re: [gentoo-user] New profiles 23.0

2024-03-24 Thread Michael
On Sunday, 24 March 2024 18:31:37 GMT Björn Fischer wrote:
> Hi folks,
> 
> my current profile is default/linux/amd64/17.1, but I already migrated
> to merged-usr some while ago (I know, that is not supported, really).
> 
> Any advice how to migrate to 23.0?
> 
> Cheers,
> Björn

The default OpenRC 23.0 profiles now use merged-usr.  So select a flavour to 
suit your needs which does NOT show split-usr.


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


Re: [gentoo-user] New profiles 23.0

2024-03-24 Thread Björn Fischer

Hi folks,

my current profile is default/linux/amd64/17.1, but I already migrated
to merged-usr some while ago (I know, that is not supported, really).

Any advice how to migrate to 23.0?

Cheers,
Björn



Re: [gentoo-user] New profiles 23.0

2024-03-24 Thread ralfconn

Il 23/03/24 20:37, ralfconn ha scritto:
In the meanwhile I tried to switch to my merged 23.0 profile, in step 
9 binutils updates fine while gcc builds but fails to install with no 
error message, so for now I'm back to 'merged' 17.1. Tomorrow I'll try 
to analyze the install log better.


Looks like the problem was self-induced. I run a KSPP kernel, one 
recommended setting blocks ptrace. Looking at yesterday's gcc failed 
merge log I found that the kernel had blocked several attempts to call 
ptrace. I disabled the option, gcc built fine and now I am running the 
last step (rebuild world).


raf




Re: [gentoo-user] New profile, gcc-13.2.1_p20240210 fails to build. ATTN: Peter Humphrey.

2024-03-24 Thread Paul Colquhoun
On Sunday, March 24, 2024 8:49:28 A.M. AEDT Dale wrote:
> Michael wrote:
> >> Nice to know I'm not alone.  I forgot to mention, it wanted to update
> >> glibc first.  The news item said NOT to let it do that and use the
> >> --nodeps option instead.  So, the command I used had that option.  I've
> >> since restarted it, just in case it finishes.  I'll post back if it
> >> does.  I find it odd that it builds fine one time but fails on others.
> >> Strange things happen tho.
> >> 
> >> Dale
> >> 
> >> :-)  :-)
> > 
> > There's a new patch for gcc.  You need to follow the guide as you did,
> > then
> > resync portage to fetch the latest ebuild for gcc, before you start the
> > emerge --emptytree world.  This is how I managed to get ggc to build
> > after previous attempts with 'no error' failures.  Hope this works for
> > you.
> 
> It just failed the second attempt.  I'll sync again and hopefully the
> new ebuild will fix things.  If nothing else, they working out the
> kinks.  Since I'm in a chroot, messing up won't matter. 
> 
> Maybe Peter will see this, update and try again.  May help him as well. 


I had the gcc compile fail, but was successful after removing the "objc" use 
flag.

Unfortunately, it seemd to be required by app-arch/unar during step 16, 
rebuild world.

I'm re-enbleing it and will see how it all goes.


-- 
Reverend Paul Colquhoun, ULC. http://andor.dropbear.id.au/
  Asking for technical help in newsgroups?  Read this first:
 http://catb.org/~esr/faqs/smart-questions.html#intro