Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Gentoo prefix bootstrap failing on Mac OS X 10.11.1 El Cap
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index Gentoo on Alternative Architectures
View previous topic :: View next topic  
Author Message
opakapaka2002
n00b
n00b


Joined: 14 Jan 2005
Posts: 8

PostPosted: Sun Mar 27, 2016 1:05 pm    Post subject: Gentoo Prefix on El Capitan OS X 10.11.4 - missing overlay Reply with quote

unixj wrote:
Just a heads up to anyone interested: the latest bootstrap on El Capitan (10.11.3) seems to be working as of a couple weeks ago. A couple people reported an issue with ca-certificates but it can be worked around. Personally I had no issue.

Big thanks to Fabian Groffen for getting it working.


Now, I am trying again to bootstrap gentoo prefix on El Capitan (OS X 10.11.4), and am getting the following error:

Quote:
* Fetching prefix-overlay-20160324.tar.bz2
--2016-03-27 08:54:27-- http://distfiles.gentoo.org/distfiles/prefix-overlay-20160324.tar.bz2
Resolving distfiles.gentoo.org... 64.50.236.52, 216.165.129.135, 137.226.34.46, ...
Connecting to distfiles.gentoo.org|64.50.236.52|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2016-03-27 08:54:27 ERROR 404: Not Found.
--2016-03-27 08:54:27-- http://dev.gentoo.org/~grobian/distfiles/prefix-overlay-20160324.tar.bz2
Resolving dev.gentoo.org... 140.211.166.183, 2001:470:ea4a:1:5054:ff:fec7:86e4
Connecting to dev.gentoo.org|140.211.166.183|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2016-03-27 08:54:27 ERROR 404: Not Found.
!!! downloading http://dev.gentoo.org/~grobian/distfiles/prefix-overlay-20160324.tar.bz2 failed!


Does anyone know where this overlay file can be found? I didn't see it in the ~grobian/distfiles directory.
Back to top
View user's profile Send private message
unixj
Tux's lil' helper
Tux's lil' helper


Joined: 18 Jul 2003
Posts: 147

PostPosted: Sun Mar 27, 2016 3:06 pm    Post subject: Reply with quote

The file was misnamed. I reported it this morning and it was fixed a few minutes later.
Back to top
View user's profile Send private message
opakapaka2002
n00b
n00b


Joined: 14 Jan 2005
Posts: 8

PostPosted: Mon Mar 28, 2016 1:50 am    Post subject: Additional problems trying to bootstrap prefix on OS X 10.11 Reply with quote

unixj wrote:
The file was misnamed. I reported it this morning and it was fixed a few minutes later.


Thank you very much for reporting the overlay filename issue, which was fixed as you noted.

After overcoming this issue, we proceeded with the bootstrap. One problem was that llvm-3.4.2 compilation fails with "ld: library not found for -lc++", so we followed the advice that was given to use the Xcode command line tools sudo xcode-select -s /Library/Developer/CommandLineTools, which solved that problem. Then, halfway through stage3, we got a "use flags" error saying that three different versions of dev-lang/python needed +ssl as a use flag. We tried to use package.use, but couldn't get it to work, so we used the following to get the bootstrap to continue: USE="ssl" ./bootstrap-prefix.sh

Eventually the bootstrap got almost all the way to the end (where the bootstrap-prefix.sh script calls emerge-webrsync), but then we got the following error:

Quote:
>>> Install os-headers-0 into /Users/daniel/Gentoo/tmp/var/tmp/portage/virtual/os-headers-0/image/ category virtual
>>> Completed installing os-headers-0 into /Users/daniel/Gentoo/tmp/var/tmp/portage/virtual/os-headers-0/image/

* Final size of build directory: 0 KiB
* Final size of installed tree: 0 KiB


>>> Installing (1 of 1) virtual/os-headers-0::gentoo_prefix
* checking 0 files for package collisions
>>> Merging virtual/os-headers-0 to /
>>> virtual/os-headers-0 merged.
>>> Auto-cleaning packages...

>>> No outdated packages were found on your system.
Failed to validate a sane '/dev'.
bash process substitution doesn't work; this may be an indication of a broken '/dev/fd'.
./bootstrap-prefix.sh: /Users/daniel/Gentoo/usr/bin/emerge-webrsync: /Users/daniel/Gentoo/tmp/bin/bash: bad interpreter: No such file or directory


Does anyone know why we are getting this error, or what we should do to finish the stage3 bootstrap?
Back to top
View user's profile Send private message
chopin_b
n00b
n00b


Joined: 28 Mar 2016
Posts: 3

PostPosted: Mon Mar 28, 2016 4:55 pm    Post subject: Re: Additional problems trying to bootstrap prefix on OS X 1 Reply with quote

I've just gone through all the same issues and got stuck with broken /dev
Back to top
View user's profile Send private message
unixj
Tux's lil' helper
Tux's lil' helper


Joined: 18 Jul 2003
Posts: 147

PostPosted: Tue Mar 29, 2016 8:13 pm    Post subject: Reply with quote

Okay, either something has broken in the bootstrap in the last month, or there is something different about our setup.

@chopin_b are you also using 10.11.4?

What is the output of these commands?

Code:
$ xcode-select -p
$ xcode-select -v
$ sw_vers
$ shasum bootstrap-prefix.sh
$ which bash
$ bash -version
Back to top
View user's profile Send private message
chopin_b
n00b
n00b


Joined: 28 Mar 2016
Posts: 3

PostPosted: Tue Mar 29, 2016 9:32 pm    Post subject: Reply with quote

unixj wrote:
Okay, either something has broken in the bootstrap in the last month, or there is something different about our setup.

@chopin_b are you also using 10.11.4?

What is the output of these commands?

Code:
$ xcode-select -p
$ xcode-select -v
$ sw_vers
$ shasum bootstrap-prefix.sh
$ which bash
$ bash -version


osx 10.11.3

Code:
bash-3.2$ xcode-select -p
/Library/Developer/CommandLineTools
bash-3.2$ xcode-select -v
xcode-select version 2343.
bash-3.2$ shasum ./Downloads/bootstrap-prefix.sh
ce68b7d888cd945ef6780745acee1a2bb501aef1  ./Downloads/bootstrap-prefix.sh
bash-3.2$ which bash
/bin/bash
bash-3.2$ bash -version
GNU bash, version 3.2.57(1)-release (x86_64-apple-darwin15)
Copyright (C) 2007 Free Software Foundation, Inc.
Back to top
View user's profile Send private message
unixj
Tux's lil' helper
Tux's lil' helper


Joined: 18 Jul 2003
Posts: 147

PostPosted: Wed Mar 30, 2016 4:08 pm    Post subject: Reply with quote

That's the same as me. I can reproduce the problem with stage3 failing doing a fresh bootstrap. I've updated the bug with this info.
Back to top
View user's profile Send private message
chopin_b
n00b
n00b


Joined: 28 Mar 2016
Posts: 3

PostPosted: Mon Apr 04, 2016 4:13 am    Post subject: Reply with quote

@unixj, could you please provide a bug link here and/or post updates when the problem is resolved. Thanks!
Back to top
View user's profile Send private message
unixj
Tux's lil' helper
Tux's lil' helper


Joined: 18 Jul 2003
Posts: 147

PostPosted: Mon Apr 04, 2016 4:46 am    Post subject: Reply with quote

I mentioned the bug earlier:
https://bugs.gentoo.org/show_bug.cgi?id=564814

I'll update when there's a change. I think it's currently waiting on a different bug involving openssl.
Back to top
View user's profile Send private message
unixj
Tux's lil' helper
Tux's lil' helper


Joined: 18 Jul 2003
Posts: 147

PostPosted: Thu Apr 07, 2016 6:15 am    Post subject: Reply with quote

The latest bootstrap-prefix.sh works for me. Thanks to Fabian Groffen for getting it working again.
Back to top
View user's profile Send private message
elmar283
Guru
Guru


Joined: 06 Dec 2004
Posts: 316
Location: Haarlem, Netherlands

PostPosted: Sun Jul 17, 2016 1:46 pm    Post subject: Reply with quote

For me it doesn't work, see: https://forums.gentoo.org/viewtopic-t-1048342.html
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on Alternative Architectures All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum