Ok, I was able to run "sudo port -v sync" (took about 6 hours lol), but running "sudo port install openjdk8-powerpc" failed
"Error: Processing of port openjdk8-powerpc"
See screenshot of full error, and if you want, I've attached the config logs that it referenced. I forgot to gran the main log, and it's no longer there. I re-ran the command today to get a copy of main.log, but got a different error today:
"Error: process_emd failed: couldn't change working directory to "~": no such file or directory". Screenshot also attached.
After doing this, I realized I was trying the "older" method you had recommend. You had also linked to
https://github.com/macos-powerpc/po...040d53df500a79/java/openjdk8-powerpc/Portfile for the newer method you're using. I'm not sure how to use that. Is that a script? I tired turning it to an executable .sh to see what would happen, but it errored out. I'm sorry I'm taking up so much of your time on this. I'm just trying to get manual fan controls on this so I can run 10.6.8 without the PowerBook running at 160F+
The first screenshot has an unrelated error. libpng from official MacPorts fails to configure. I don’t know why without more info, but it was updated today, and possibly something got broken. It did build normally for me on 10.6 though.
Something of jdk dependencies depend on libpng, which is why it will try to install (if missing) or upgrade (if outdated).
You can bypass upgrading dependencies by `-n` flag. Like `sudo port -v -n install` will skip upgrading anything on the way. Generally this is not recommended to do and may result in broken ports.
> "Error: process_emd failed: couldn't change working directory to "~": no such file or directory"
The error says literally what’s the issue. You changed to some directory which was then deleted (whether by you or by a process). Just move anywhere else. `cd ~` will do.
Upd. I looked into the log, it is a generic error which usually means that either something is wrong with toolchain or wrong flags are used. I suspect you just didn’t install required components, and gcc tries to use ld64, which is x86-only, and that fails, as expected.
To have anything building on 10.6.x on a physical powerpc you need to update or replace several Unix tools, which Apple in its wisdom decided not to compile for ppc (just so that users suffer; there is absolutely no technical reason otherwise). This is orthogonal to whether you use my PPCPorts, MacPorts or build manually.
Correct solution is to do either one of the following after installing Xcode:
1. Install darwin-xtools and sl-make from installers which I linked (they are also publicly accessible on the website).
2. Or use tools built from Apple Opensource (a few required ones were posted here, for example).
You may also need to replace bsdtar in /usr/bin with bsdtar from standard 10.6.8, if you see archives fail to extract.
A lazy and quick solution is to pull over needed binaries from 10a190. They are somewhat older but compatible.
The minimum to get is as, ar, ld and make. This is not sufficient to build many ports from source, but usually will do.
Try this, and configure error should go.