Hi there! I ran into an issue while running bootstrap-prefix.sh. I am trying this on OSX 10.14.1 (mojave) and I am getting the following: * m4-1.4.17 successfully bootstrapped * setting up some guessed defaults !!! UNKNOWN ARCH: You need to set up a make.profile symlink to a !!! profile in /Users/manuel/gentoo/usr/portage for your CHOST x86_64-apple-darwin18 Any help is appreciated =)
Created attachment 555764 [details] Here's the log file
Hi, we're missing profiles for Mojave. I'll add them and see if that helps for tomorrow's build.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=7b447d8c44a11f40342d312ffa3e0ab2b06b12cf commit 7b447d8c44a11f40342d312ffa3e0ab2b06b12cf Author: Fabian Groffen <grobian@gentoo.org> AuthorDate: 2018-11-20 08:37:16 +0000 Commit: Fabian Groffen <grobian@gentoo.org> CommitDate: 2018-11-20 08:37:16 +0000 scripts/bootstrap-prefix: support macOS 10.14 Mojave (darwin18) Bug: https://bugs.gentoo.org/671546 Signed-off-by: Fabian Groffen <grobian@gentoo.org> scripts/bootstrap-prefix.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
Awesome, thanks for the quick reply! I have some things compiling now. it gets to this point: * Unpacking, this may take a while * setting up some guessed defaults * Your profile is set to /Users/manuel/gentoo/usr/portage/profiles/prefix/darwin/macos/10.14/x64. ./bootstrap-prefix.sh: line 484: /Users/manuel/gentoo/etc/portage/make.profile/package.use: No such file or directory ./bootstrap-prefix.sh: line 494: /Users/manuel/gentoo/etc/portage/make.profile/package.use: No such file or directory I tried both the default prefix-overlay-20180629.tar.bz2 and also setting LATEST_TREE_YES=1 to force the script to use portage-latest.tar.bz2 but I got the same result. I am not sure what should be on that folder, but just for fun I tried copying the 10.13 folder manually and did cd usr/portage/profiles/prefix/darwin/macos cp -r 10.13 10.14 cd 10.14 find . -type f -exec sed -i '' "s/13/14/g" '{}' + find . -type f -exec sed -i '' "s/darwin17/darwin18/g" {} + And I got past that and then the script complained about wget not supporting https Location: https://dev.gentoo.org/~grobian/distfiles/prefix-portage-2.3.40.3.tar.bz2 [following] https://dev.gentoo.org/~grobian/distfiles/prefix-portage-2.3.40.3.tar.bz2: HTTPS support not compiled in. !!! downloading http://dev.gentoo.org/~grobian/distfiles/prefix-portage-2.3.40.3.tar.bz2 failed! But I downloaded the file and put it in the distfiles folder and it build stage1. However while building stage2 I got this error libtool: link: x86_64-apple-darwin18-dsymutil .libs/libarchive.13.3.3.dylib || : fatal error: dsymutil: can't find: dsymutil (No such file or directory) I googled and googled but I cannot figure out why dsymutil isn't happy. perhaps there is more magic missing in that profile folder that I missed
Created attachment 555788 [details] newer stage1 log
Created attachment 555790 [details] stage2 log
Do you have a /usr/bin/dsymutil? I assume you have Xcode command line utilities installed, is that correct?
yes it is there, manuel@argente ~/gentoo $ /usr/bin/dsymutil -version Apple LLVM version 10.0.0 (clang-1000.10.44.4) Optimized build. Default target: x86_64-apple-darwin18.2.0 Host CPU: skylake I also did xcode-select --install
this is fixed now