-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Where to get Roots now, once SVN gone? #144
Comments
You can rebuild some of them yourself using the -nochroot flag to bootstrap, then you can use those to populate a root. |
@bhuntsman Thank you, that seems to work, but now it complains re target:
Do I need to pass some extra argument in this case? (Sorry for a stupid question, I am just unfamiliar with this build system. Once I have it working in one case, I won’t keep needing assistance.) |
Something else is missing... I'll fire up my old DarwinBuild host in a bit... |
er, sorry, those are supposed to be backticks around darwinxref currentBuild |
The only functional modification I made to plists, as of now, was to add |
I still have these files from when I decommissioned the macOS forge servers in 2016. Our goal at the time was to preserve everything that existed and redirect old URLs to new ones. It looks like at the time, everything under http://src.macosforge.org/ was configured to redirect to equivalent URLs under https://opensource.apple.com/darwinbuild/ ; see for example: https://web.archive.org/web/20201025062500/https://src.macosforge.org/Roots/ In the years since then, it appears that Apple has removed https://opensource.apple.com/darwinbuild/ and changed the src.macosforge.org redirects to point to the darwinbuild homepage. I don't know whether Apple preserved the old darwinbuild sources elsewhere or deleted them. If they deleted them and you need them I could make them available on my server. |
Oh man, anything you could publish would be extremely interesting! Also, do you know who currently has admin rights on this repo? It would be interesting if we could get Apple to turn it over to the community. |
Specifically, this was the Apache conf file I wrote: <VirtualHost *>
ServerName src.macosforge.org
RewriteEngine On
RewriteRule ^/+$ https://macosforge.github.io/darwinbuild/ [L,R=permanent]
RewriteRule ^/+Projects/+((.+)-.+\.tar\.gz)$ https://opensource.apple.com/tarballs/$2/$1 [L,R=permanent]
RewriteRule ^(.*)$ https://opensource.apple.com/darwinbuild$1 [L,R=permanent]
</VirtualHost> |
@barracuda156 I don't have the bandwidth to host these files publicly; do you? If so you could rsync them from me. It's about 8.2 GiB. |
@ryandesign Everything for 10.5.x and 10.6.x are of interest and immediate relevance, and these we can host publicly, I believe. How do I rsync from you? I mean, where exactly from? |
@bhuntsman It is very much likely that something is just missing in my set-up, since I get the same error with
On a side note, contrary to documentation, |
"normally", your build should be something like "10K540od1" to differentiate it from the stock plists. Then, if you do "darwinxref edit 10K540od1", you should have a section like this:
Under the projects key, you should have a modification for xnu: xnu = { Beyond that, I don't have anything else that jumps out as odd to me... |
And yes, the RC_ARCHS gets set by the build system regardless of what you export. You can control it by editing the project using darwinxref. |
Just reviewing some of my decade old build logs, and indeed they run make install. Looks like it's just not finding the makefile. IIRC, in the early days, up through 10.7 or .8, you had to do the build on a UFS filesystem because HFS+ is case-preserving but case insensitive. You might try setting up a sparse disk image and dropping a UFS filesystem on it and trying your build from there... |
I've sent you the address by email. |
@bhuntsman Ok, it is a silly problem: Apple renamed all archives from |
Changing one line in
however it is really not needed on 10a190 (I just tried it there, since have to do other stuff anyway at the moment). Even if it does not work on 10.6.8 natively on powerpc (after all, Xcode cannot be 100% pure 3.2.6, since source code is not available for some components, so those must be sourced from earlier builds), it should work on 10.6.8 x86, and Xcode should be able to cross-compile for ppc with no issues. Will try that in a while. |
A quick update: I am not sure why it fails to build needed stuff first when asked to build
As I suspected, MacPorts requirement for building it universal is unneeded, ppc version works fine:
|
Looks like Darwinbuild does not actually build everything from source, at least by default, and wants some pre-compiled stuff from Roots. The problem is that they are gone, and archive.org does not seem to have preserved anything. For example: page is indexed, but files are unavailable: https://web.archive.org/web/20140223045546/http://src.macosforge.org/Roots/10J869/
When I try to run a build locally, it just fails:
(The URL is different on purpose, since I moved Projects there, however I do not know where to borrow Roots from.)
The text was updated successfully, but these errors were encountered: