Created attachment 884077 [details] this is the end of the stage 3 log Installing /Users/phoenix/Gentoo/var/tmp/portage/dev-perl/Module-Build-0.423.400/image/Users/phoenix/Gentoo/usr/share/man/man3/Module::Build::Authoring.3pm Installing /Users/phoenix/Gentoo/var/tmp/portage/dev-perl/Module-Build-0.423.400/image/Users/phoenix/Gentoo/usr/share/man/man3/Module::Build::Cookbook.3pm Installing /Users/phoenix/Gentoo/var/tmp/portage/dev-perl/Module-Build-0.423.400/image/Users/phoenix/Gentoo/usr/share/man/man3/Module::Build::Platform::darwin.3pm Installing /Users/phoenix/Gentoo/var/tmp/portage/dev-perl/Module-Build-0.423.400/image/Users/phoenix/Gentoo/usr/share/man/man3/Module::Build::Platform::VOS.3pm Installing /Users/phoenix/Gentoo/var/tmp/portage/dev-perl/Module-Build-0.423.400/image/Users/phoenix/Gentoo/usr/share/man/man3/Module::Build::Platform::Unix.3pm Installing /Users/phoenix/Gentoo/var/tmp/portage/dev-perl/Module-Build-0.423.400/image/Users/phoenix/Gentoo/usr/share/man/man3/Module::Build::Platform::aix.3pm Installing /Users/phoenix/Gentoo/var/tmp/portage/dev-perl/Module-Build-0.423.400/image/Users/phoenix/Gentoo/usr/share/man/man3/Module::Build::Compat.3pm Installing /Users/phoenix/Gentoo/var/tmp/portage/dev-perl/Module-Build-0.423.400/image/Users/phoenix/Gentoo/usr/share/man/man3/Module::Build::PPMMaker.3pm Installing /Users/phoenix/Gentoo/var/tmp/portage/dev-perl/Module-Build-0.423.400/image/Users/phoenix/Gentoo/usr/share/man/man3/Module::Build::Base.3pm Installing /Users/phoenix/Gentoo/var/tmp/portage/dev-perl/Module-Build-0.423.400/image/Users/phoenix/Gentoo/usr/share/man/man3/Module::Build.3pm Installing /Users/phoenix/Gentoo/var/tmp/portage/dev-perl/Module-Build-0.423.400/image/Users/phoenix/Gentoo/usr/share/man/man3/Module::Build::Bundling.3pm Installing /Users/phoenix/Gentoo/var/tmp/portage/dev-perl/Module-Build-0.423.400/image/Users/phoenix/Gentoo/usr/share/man/man3/Module::Build::Platform::MacOS.3pm Installing /Users/phoenix/Gentoo/var/tmp/portage/dev-perl/Module-Build-0.423.400/image/Users/phoenix/Gentoo/usr/bin/config_data * Fixing installed file permissions * Fixing packlist file //Users/phoenix/Gentoo/usr/lib/perl5/vendor_perl/5.38/x86_64-darwin/auto/Module/Build/.packlist * Pruning surplus packlist entry /Users/phoenix/Gentoo/usr/share/man/man3/Module::Build.3pm * Pruning surplus packlist entry /Users/phoenix/Gentoo/usr/share/man/man3/Module::Build::API.3pm * Pruning surplus packlist entry /Users/phoenix/Gentoo/usr/share/man/man3/Module::Build::Authoring.3pm * Pruning surplus packlist entry /Users/phoenix/Gentoo/usr/share/man/man3/Module::Build::Base.3pm * Pruning surplus packlist entry /Users/phoenix/Gentoo/usr/share/man/man3/Module::Build::Bundling.3pm * Pruning surplus packlist entry /Users/phoenix/Gentoo/usr/share/man/man3/Module::Build::Compat.3pm * Pruning surplus packlist entry /Users/phoenix/Gentoo/usr/share/man/man3/Module::Build::ConfigData.3pm * Pruning surplus packlist entry /Users/phoenix/Gentoo/usr/share/man/man3/Module::Build::Cookbook.3pm * Pruning surplus packlist entry /Users/phoenix/Gentoo/usr/share/man/man3/Module::Build::Notes.3pm * Pruning surplus packlist entry /Users/phoenix/Gentoo/usr/share/man/man3/Module::Build::PPMMaker.3pm * Pruning surplus packlist entry /Users/phoenix/Gentoo/usr/share/man/man3/Module::Build::Platform::Default.3pm * Pruning surplus packlist entry /Users/phoenix/Gentoo/usr/share/man/man3/Module::Build::Platform::MacOS.3pm * Pruning surplus packlist entry /Users/phoenix/Gentoo/usr/share/man/man3/Module::Build::Platform::Unix.3pm * Pruning surplus packlist entry /Users/phoenix/Gentoo/usr/share/man/man3/Module::Build::Platform::VMS.3pm * Pruning surplus packlist entry /Users/phoenix/Gentoo/usr/share/man/man3/Module::Build::Platform::VOS.3pm * Pruning surplus packlist entry /Users/phoenix/Gentoo/usr/share/man/man3/Module::Build::Platform::Windows.3pm * Pruning surplus packlist entry /Users/phoenix/Gentoo/usr/share/man/man3/Module::Build::Platform::aix.3pm * Pruning surplus packlist entry /Users/phoenix/Gentoo/usr/share/man/man3/Module::Build::Platform::cygwin.3pm * Pruning surplus packlist entry /Users/phoenix/Gentoo/usr/share/man/man3/Module::Build::Platform::darwin.3pm * Pruning surplus packlist entry /Users/phoenix/Gentoo/usr/share/man/man3/Module::Build::Platform::os2.3pm >>> Completed installing dev-perl/Module-Build-0.423.400 into /Users/phoenix/Gentoo/var/tmp/portage/dev-perl/Module-Build-0.423.400/image * Final size of build directory: 1812 KiB (1.7 MiB) * Final size of installed tree: 632 KiB * QA Notice: the following files use invalid (possible non-prefixed) shebangs: * /Users/phoenix/Gentoo/usr/bin/config_data:/Users/phoenix/gentoo/usr/bin/perl (script config_data installed in PATH but interpreter /Users/phoenix/gentoo/usr/bin/perl not found) * ERROR: dev-perl/Module-Build-0.423.400::gentoo_prefix failed: * Aborting due to QA concerns: invalid shebangs found * * Call stack: * misc-functions.sh, line 848: Called install_qa_check * misc-functions.sh, line 134: Called source 'install_symlink_html_docs' * 05prefix, line 118: Called install_qa_check_prefix * 05prefix, line 114: Called die * The specific snippet of code: * die "Aborting due to QA concerns: invalid shebangs found" * * If you need support, post the output of `emerge --info '=dev-perl/Module-Build-0.423.400::gentoo_prefix'`, * the complete build log and the output of `emerge -pqv '=dev-perl/Module-Build-0.423.400::gentoo_prefix'`. * The complete build log is located at '/Users/phoenix/Gentoo/var/tmp/portage/dev-perl/Module-Build-0.423.400/temp/build.log'. * The ebuild environment file is located at '/Users/phoenix/Gentoo/var/tmp/portage/dev-perl/Module-Build-0.423.400/temp/environment'. * Working directory: '/Users/phoenix/Gentoo/var/tmp/portage/dev-perl/Module-Build-0.423.400/image' * S: '/Users/phoenix/Gentoo/var/tmp/portage/dev-perl/Module-Build-0.423.400/work/Module-Build-0.4234' !!! post install failed; exiting. >>> Failed to emerge dev-perl/Module-Build-0.423.400, Log file: >>> '/Users/phoenix/Gentoo/var/tmp/portage/dev-perl/Module-Build-0.423.400/temp/build.log' * Messages for package dev-libs/gmp-6.3.0-r1: * Using generic C implementation on non-amd64/x86 with USE=cpudetection * --enable-fat is a no-op on alternative arches. * To obtain an optimized build, set USE=-cpudetection, but binpkgs should not then be made. * Messages for package dev-perl/Module-Build-0.423.400: * ERROR: dev-perl/Module-Build-0.423.400::gentoo_prefix failed: * Aborting due to QA concerns: invalid shebangs found * * Call stack: * misc-functions.sh, line 848: Called install_qa_check * misc-functions.sh, line 134: Called source 'install_symlink_html_docs' * 05prefix, line 118: Called install_qa_check_prefix * 05prefix, line 114: Called die * The specific snippet of code: * die "Aborting due to QA concerns: invalid shebangs found" * * If you need support, post the output of `emerge --info '=dev-perl/Module-Build-0.423.400::gentoo_prefix'`, * the complete build log and the output of `emerge -pqv '=dev-perl/Module-Build-0.423.400::gentoo_prefix'`. * The complete build log is located at '/Users/phoenix/Gentoo/var/tmp/portage/dev-perl/Module-Build-0.423.400/temp/build.log'. * The ebuild environment file is located at '/Users/phoenix/Gentoo/var/tmp/portage/dev-perl/Module-Build-0.423.400/temp/environment'. * Working directory: '/Users/phoenix/Gentoo/var/tmp/portage/dev-perl/Module-Build-0.423.400/image' * S: '/Users/phoenix/Gentoo/var/tmp/portage/dev-perl/Module-Build-0.423.400/work/Module-Build-0.4234' * GNU info directory index is up-to-date. Hmmmm, I was already afraid of this to happen. Running /Users/phoenix/Gentoo/usr/bin/bash ./bootstrap-prefix.sh "/Users/phoenix/Gentoo" stage3 somewhere failed :( Details might be found in the build log: /Users/phoenix/Gentoo/var/tmp/portage/dev-perl/Module-Build-0.423.400/temp/build.log I have no clue, really. Please find friendly folks in #gentoo-prefix on irc.gentoo.org, gentoo-alt@lists.gentoo.org mailing list, or file a bug at bugs.gentoo.org under Gentoo/Alt, Prefix Support. This is most inconvenient, and it crushed my ego. Sorry, I give up. Should you want to give it a try, there is /Users/phoenix/Gentoo/stage3.log CHOST: x86_64-apple-darwin23 IDENT: x86_64-apple-darwin23
hmmm that's pretty inconvenient, I'll have to see if I can try x86_64 out
by chance, are there any symlinks in your EPREFIX?
=== /Users/phoenix/Gentoo/usr/bin/perl can you check if this file exists and is executable in your instance? Does resuming the bootstrap (run bootstrap-prefix.sh again with the same EPREFIX make it continue/go further or fail on the exact same step again?
>>> /Users/phoenix/Gentoo/usr/bin/podselect podselect also is a perl script with shebang to usr/bin/perl, and it succeed in your log (51 of 115) However, it seems it fails on /Users/phoenix/gentoo/usr/bin/perl which is lowercase gentoo, not Gentoo. Apparently you have case-sensitive FS? Odd that this package somehow gets (partially) lowercased version.
It seems that perl works I do think I have a copy in another part of the system but given I'm using ./ here it should be from the local directory Lego-Minifigure-52529:bin phoenix$ ./perl -v This is perl 5, version 38, subversion 2 (v5.38.2) built for x86_64-darwin-2level (with 70 registered patches, see perl -V for more detail) Copyright 1987-2023, Larry Wall Perl may be copied only under the terms of either the Artistic License or the GNU General Public License, which may be found in the Perl 5 source kit. Complete documentation for Perl, including FAQ lists, should be found on this system using "man perl" or "perldoc perl". If you have access to the Internet, point your browser at https://www.perl.org/, the Perl Home Page. Lego-Minifigure-52529:bin phoenix$ pwd /Users/phoenix/gentoo/usr/bin (In reply to Fabian Groffen from comment #3) > === /Users/phoenix/Gentoo/usr/bin/perl > > can you check if this file exists and is executable in your instance? > > Does resuming the bootstrap (run bootstrap-prefix.sh again with the same > EPREFIX make it continue/go further or fail on the exact same step again?
I am somewhat confused about the way my system is doing the path. I am running the script in /Users/phoenix/gentoo and all of the files and logs appear there. there is also /Users/phoenix/Gentoo and all of the files show up there as well. I am pretty sure that only one shows up in my home directory when I run ls tho. (In reply to Fabian Groffen from comment #4) > >>> /Users/phoenix/Gentoo/usr/bin/podselect > > podselect also is a perl script with shebang to usr/bin/perl, and it succeed > in your log (51 of 115) > > However, it seems it fails on /Users/phoenix/gentoo/usr/bin/perl which is > lowercase gentoo, not Gentoo. Apparently you have case-sensitive FS? Odd > that this package somehow gets (partially) lowercased version.
(In reply to Fabian Groffen from comment #2) > by chance, are there any symlinks in your EPREFIX? I'm not sure what that means. how would I go looking for that specifically?
(In reply to Fabian Groffen from comment #3) > === /Users/phoenix/Gentoo/usr/bin/perl > > can you check if this file exists and is executable in your instance? > > Does resuming the bootstrap (run bootstrap-prefix.sh again with the same > EPREFIX make it continue/go further or fail on the exact same step again? No it ends up failing at the same place again.
It seems there's a mismatch between what Portage thinks your EPREFIX is, and the name of the path on disk. You have two options: - rm -Rf /Users/phoenix/Gentoo - run bootstrap-prefix.sh from scratch again or - change the name of /Users/phoenix/Gentoo into what Portage thinks it is, this requires some digging and tricks, let me know if you need help to do this.
Does that mean that I should remove the /Users/phoenix/gentoo and then make a new directory /Users/Phoenix/Gentoo and run it from there? I originally created a lowercase gentoo directory that I put the script in. Thats where I was running it from. but the script created a link or something with the path /User/phoenix/Gentoo they behave like the same directory but one of them seems to be invisible. I'm pretty sure that the script made the Uppercase Gentoo directory. Idk this seems like a weird apfs bug
(In reply to Fabian Groffen from comment #9) > It seems there's a mismatch between what Portage thinks your EPREFIX is, and > the name of the path on disk. > > You have two options: > > - rm -Rf /Users/phoenix/Gentoo > - run bootstrap-prefix.sh from scratch again > > or > > - change the name of /Users/phoenix/Gentoo into what Portage thinks it is, > this requires some digging and tricks, let me know if you need help to do > this. Lego-Minifigure-52529:Gentoo phoenix$ ls ../ | grep 'gentoo' 'Gentoo' grep: Gentoo: No such file or directory Lego-Minifigure-52529:Gentoo phoenix$ ls ../ | grep 'gentoo' gentoo Lego-Minifigure-52529:Gentoo phoenix$ pwd /Users/phoenix/Gentoo Lego-Minifigure-52529:Gentoo phoenix$ ls ../ | grep 'Gentoo' Lego-Minifigure-52529:Gentoo phoenix$ I think that /Gentoo is the weird Phantom directory instead of /gentoo Im thinking I should run the script in a Real directory called /Gentoo instead of /gentoo
You can run the script from anywhere, so you don't need to create the directory at all. Just tell the script when it asks what you want your EPREFIX to be, it defaults to $HOME/Gentoo (yes capital G). In fact, best let the script create the directory for you. APFS isn't weird, this is the "feature" of any case-insentitive, but case-preserving filesystem. /Gentoo and /gentoo are the same, but things get confusing when you don't expect this to be, and most annoyingly, there's a "real" name (as stored on disk) and all the other names that happen to match. This is where it went wrong on your case I believe because you created the directory before.
(In reply to Fabian Groffen from comment #12) > You can run the script from anywhere, so you don't need to create the > directory at all. Just tell the script when it asks what you want your > EPREFIX to be, it defaults to $HOME/Gentoo (yes capital G). In fact, best > let the script create the directory for you. > > APFS isn't weird, this is the "feature" of any case-insentitive, but > case-preserving filesystem. /Gentoo and /gentoo are the same, but things > get confusing when you don't expect this to be, and most annoyingly, there's > a "real" name (as stored on disk) and all the other names that happen to > match. This is where it went wrong on your case I believe because you > created the directory before. That makes a lot more sense. I'm nuked the directory and am running the script over again in my home directory. I guess we will see how this goes. Thank you so much for your help btw.
It worked the script finally completed itself. Thank you so much for your help!
cool, thanks for the feedback!