Created attachment 658510 [details] stage3.log * Error: circular dependencies: (virtual/libcrypt-1-r1:0/1::gentoo, ebuild scheduled for merge) depends on (sys-libs/glibc-2.32-r1:2.2/2.2::gentoo, ebuild scheduled for merge) (runtime) (dev-lang/python-3.7.9:3.7/3.7m::gentoo, ebuild scheduled for merge) (buildtime) (virtual/libcrypt-1-r1:0/1::gentoo, ebuild scheduled for merge) (buildtime_slot_op) * Note that circular dependencies can often be avoided by temporarily * disabling USE flags that trigger optional dependencies. Hmmmm, I was already afraid of this to happen. Running /home/user/.local/gentoo/bin/bash ./bootstrap-prefix.sh "/home/user/.local/gentoo" stage3 somewhere failed :( Details might be found in the build log: /home/user/.local/gentoo/var/tmp/portage/dev-lang/perl-5.30.3-r1/temp/build.log In build.log Processing VerticalOrientation.txt /home/user/.local/gentoo/bin/pwd: cannot open directory '../../../../../../../../../../../..': Permission denied Can't figure out your cwd! at /home/user/.local/gentoo/var/tmp/portage/dev-lang/perl-5.30.3-r1/work/perl-5.30.3/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MakeMaker.pm line 237. Processing EquivalentUnifiedIdeograph.txt Unsuccessful Makefile.PL(cpan/Encode): code=256 at make_ext.pl line 518. make: *** [makefile:575: lib/auto/Encode/Encode.so] Error 2 make: *** Waiting for unfinished jobs.... Processing EmojiData.txt Finishing processing Unicode properties Compiling Perl properties Creating Perl synonyms Writing tables Making pod file Making test script Updating 'mktables.lst' * ERROR: dev-lang/perl-5.30.3-r1::gentoo failed (compile phase): * emake failed When I try to run emerge, I get $tmp/bin/emerge --info '=dev-lang/perl-5.30.3-r1::gentoo' !!! Section 'gentoo' in repos.conf has location attribute set to nonexistent directory: '/home/user/.local/gentoo/tmp/var/db/repos/gentoo' !!! Invalid Repository Location (not a dir): '/home/user/.local/gentoo/tmp/var/db/repos/gentoo' !!! BINPKG_COMPRESS unsupported zstd. Missing package: app-arch/zstd
Created attachment 658512 [details] Attaching /home/user/.local/gentoo/var/tmp/portage/dev-lang/perl-5.30.3-r1/temp/build.log
Have a look at the fix here: https://bugs.gentoo.org/755551#c16?
Have a look at the workaround here? https://bugs.gentoo.org/755551#c16
Thanks Sam. If I understand correctly, I am to create a file $PREFIX/etc/portage/profile/package.provided containing: sys-libs/glibc-2.32-r1 I did that and it has no effect on the error produced. I'm having my own bootstrapping problem here. Both my attempts to install gentoo, -prefix on this server and basically vanilla gentoo on my thinkpad, are failing. I can't install gentoo, so that I can learn about gentoo, which is needed to install gentoo. :/
I also tried putting it in: $PREFIX/etc/portage/package.provided as it was described here, in opposition to the wiki: https://bugs.gentoo.org/755551#c14 https://wiki.gentoo.org/wiki//etc/portage/profile/package.provided That produced the same result. I am simply leaving all files from the first runs in place, and then running the bootstrap script again.
(In reply to Diagon from comment #5) > I also tried putting it in: > > $PREFIX/etc/portage/package.provided > > as it was described here, in opposition to the wiki: > https://bugs.gentoo.org/755551#c14 > https://wiki.gentoo.org/wiki//etc/portage/profile/package.provided > > That produced the same result. I am simply leaving all files from the first > runs in place, and then running the bootstrap script again. Can you try $PREFIX/tmp/etc/portage/... too?
Created attachment 676345 [details] stage3.log.xz
Created attachment 676348 [details] coreutils-8.32-r1.build.log.xz
Created attachment 676351 [details] perl-5.30.3-r1.build.log.xz
Alright, I put it in: $PREFIX/tmp/etc/portage/profile/package.provided It got substantially further, but again failed at: Package 'sys-apps/coreutils-8.32-r1' NOT merged due to internal collisions between non-identical files. Relevant logs attached: stage3, coreutils & perl build logs.
Hi Diagon, what is your host system? I would like to set up an environment to reproduce it.
(In reply to Benda Xu from comment #11) > Hi Diagon, what is your host system? I would like to set up an environment > to reproduce it. Sorry, read the title to know it's CentOS 7.8.2003.
Ya, thanks. I'm still interested, but there's been a lot of gentoo email of late. Let me know if you want me to try anything out.
if you would be so kind to re-start a bootstrap using the latest script?
@Fabian - am I restarting or starting from scratch?
Ok, attempting to restart failed right away, so I ran the install over from the beginning. It also fails: ERROR: dev-lang/perl-5.32.0-r1::gentoo failed (compile phase): * emake failed I am attaching multiple logs.
Created attachment 682591 [details] stage3.log.xz
Created attachment 682594 [details] build.log.xz
Created attachment 682597 [details] emerge.perl.info.xz
Created attachment 682600 [details] emerge.perl.pqv.xz
Created attachment 682603 [details] environment.xz
Since the failure appeared to my untrained eye to be at a similar point to the previous, I tried the same work-around. I created the file: $PREFIX/tmp/etc/portage/profile/package.provided containing: sys-libs/glibc-2.32-r1 It still fails: `Failed to emerge dev-lang/perl-5.32.0-r1` I am posting logs also post-work-around.
Created attachment 682606 [details] stage3.log.post-work-around.xz
Created attachment 682609 [details] build.log.post-work-around.xz
Created attachment 682612 [details] emerge.perl.info.post-work-around.xz
Created attachment 682615 [details] emerge.perl.pqv.post-work-around.xz
Created attachment 682618 [details] environment.post-work-around.xz
Ok, from the stage3 log: * Triggering Linux RAP bootstrap that should pull in glibc for you >>> Emerging (1 of 1) sys-libs/glibc-2.32-r7::gentoo which it does then later, with perl, I see this happening a few times: /home/dev/.local/gentoo/bin/pwd: cannot open directory '../../../../../../../../../../../..': Permission denied at least for the Encode module this appears to be a problem: LD_LIBRARY_PATH=/home/dev/.local/gentoo/var/tmp/portage/dev-lang/perl-5.32.0-r1/ work/perl-5.32.0 ./miniperl -Ilib make_ext.pl lib/auto/Encode/Encode.so MAKE="m ake" LIBPERL_A=libperl.so.5.32.0 LINKTYPE=dynamic /home/dev/.local/gentoo/bin/pwd: cannot open directory '../../../../../../../../ ../../../..': Permission denied Can't figure out your cwd! at /home/dev/.local/gentoo/var/tmp/portage/dev-lang/p erl-5.32.0-r1/work/perl-5.32.0/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MakeMaker.pm line 237. Unsuccessful Makefile.PL(cpan/Encode): code=256 at make_ext.pl line 536. make: *** [makefile:575: lib/auto/Encode/Encode.so] Error 2 make: *** Waiting for unfinished jobs.... So I think we need to figure out why pwd runs into permission denied, because that's upsetting Perl in this case.
So what is the base directory that we are moving up (I count) 12 levels from?
don't know, but what does pwd do for you from the perl build dir? does it give the same error?
$ pwd /home/dev/.local/gentoo/bin $ ./pwd ./pwd: cannot open directory '../../../..': Permission denied Hm. $ pwd /home/dev $ /home/dev/.local/gentoo/bin/pwd /home/dev/.local/gentoo/bin/pwd: cannot open directory '..': Permission denied ok.... $ pwd /home $ /home/dev/.local/gentoo/bin/pwd /home $ ls ls: cannot open directory .: Permission denied
does your system (filesystem your Prefix is in) rely on xattr or something?
I doubt it, but if you tell me something to check, I will. All I can tell you is that the output of mount is: /dev/vda2 on / type ext4 (rw,noatime,seclabel,data=ordered) It seems to me that when not located in /home, prefix's pwd is trying to access the /home directory in order to generate any response. Isn't this a bug in pwd?
https://unix.stackexchange.com/questions/191183/what-does-the-seclabel-mount-option-do There you go, seems we don't handle this for we need to disable xattr during bootstrap, as it gives us other issues we cannot handle.
I think this is a good source of our FAQ on the wiki.