Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.
Status
The first post of this thread is a WikiPost and can be edited by anyone with the appropiate permissions. Your edits will be public.

Should continued work on 10.6.8 PowerPC and Xcode 3.2.X have its own dedicated thread?

  • Yes - I would like to be able to follow and/or contribute to a Developer Preview thread specifically

    Votes: 0 0.0%
  • Indifferent - I don't care either way i just appreciate the work that's being done

    Votes: 0 0.0%

  • Total voters
    15
  • Poll closed .
WDYM Java is not working? I can assure you OpenJDK 8 is working fine, I have used it for Java packages in R, which pass tests, I have also compiled ABCL Lisp compiler (it is in Java) and i2p implementation in Java (confirmed to work).

What is lacking is GUI support in Java.
I got Xcode, MacPorts, and everything installed, but I'm having trouble getting Java itself installed. I found this command:
sudo port install openjdk8-powerpc

but it returns:
Error: Port openjdk8-powerpc not found

Is there another command, or am I just doing it wrong? Thanks in advance.
 
I got Xcode, MacPorts, and everything installed, but I'm having trouble getting Java itself installed. I found this command:
sudo port install openjdk8-powerpc

but it returns:
Error: Port openjdk8-powerpc not found

Is there another command, or am I just doing it wrong? Thanks in advance.

Did you run `sudo port -v sync`? That should download ports and index them. If something fails to index, it will be noted in the output.

I am pretty sure if should work, since I get no error for openjdk8-powerpc both from my PPCPorts source and MacPorts official one.
 
Did you run `sudo port -v sync`? That should download ports and index them. If something fails to index, it will be noted in the output.

I am pretty sure if should work, since I get no error for openjdk8-powerpc both from my PPCPorts source and MacPorts official one.
Thanks, I missed that step. Running it now. Looks like it's going to take a really long time lol.
 
  • Like
Reactions: barracuda156
Did you run `sudo port -v sync`? That should download ports and index them. If something fails to index, it will be noted in the output.

I am pretty sure if should work, since I get no error for openjdk8-powerpc both from my PPCPorts source and MacPorts official one.
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+
 

Attachments

  • Screenshot 7-9-25 9.59.10p.png
    Screenshot 7-9-25 9.59.10p.png
    28.2 KB · Views: 4
  • config.log.zip
    4.6 KB · Views: 3
  • Screenshot 7-10-25 1.02.09p.png
    Screenshot 7-10-25 1.02.09p.png
    24.7 KB · Views: 3
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.
 
Last edited:
I will try to allocate time tomorrow to write a step-wise instruction so that I can just refer to the link next time. (It can expectedly be confusing, because there is no easy and direct mechanism to update Xcode installation with restoring missing ppc slices.)
 
  • Like
Reactions: Edgecrusherr
I will try to allocate time tomorrow to write a step-wise instruction so that I can just refer to the link next time. (It can expectedly be confusing, because there is no easy and direct mechanism to update Xcode installation with restoring missing ppc slices.)
I REALLY appreciate you!
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.