@ChrisCharman
I have done a clean install of 10a190 image on a FireWire partition, created a random user (different name from my main system) and installed Xcode from 10a190 iso.
(The only change done after that was to remove two AHCI kexts, because they have issues with my PCIe card in the Quad.)
Then I downloaded two distro archives:
(System curl works for this, since no https needed.)Code:curl -O http://macos-powerpc.org/MacPorts/MacPorts-2.10.0.pkg.zip curl -O http://macos-powerpc.org/MacPorts/bootstrap_curl.zip
Extract both archives, install bootstrap_curl, then install MacPorts.
Rename files:
Code:sudo mv /opt/local/etc/macports/archive_sites.conf.default /opt/local/etc/macports/archive_sites.conf sudo mv /opt/local/etc/macports/macports.conf.default /opt/local/etc/macports/macports.conf sudo mv /opt/local/etc/macports/pubkeys.conf.default /opt/local/etc/macports/pubkeys.conf sudo mv /opt/local/etc/macports/sources.conf.default /opt/local/etc/macports/sources.conf sudo mv /opt/local/etc/macports/variants.conf.default /opt/local/etc/macports/variants.conf
Run this in Terminal:
Code:export PATH=/opt/local/bin:/opt/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin sudo port -v sync
The archive with ports downloaded, extracted, and now indexing is running.
No issues whatsoever so far.
I will update again once indexing completes and I can install a few ports to verify everything works.
P. S. While upgrading from existing MacPorts is expected to work, it is not properly tested.
So please, do this as a clean install and do not interrupt any stage.
At the moment we need to make sure a standard process works reproducibly (on my end it does).
Once that is established, experimenting can be done.
View attachment 2406497Well, everything works normally as expected. Indexing completed with no errors and ports install pre-built.
The same process was followed exactly on the Quicksilver; it is a clean install (with only CUPS updated) with no previous MacPorts to overwrite. I removed your version of MacPorts 3 x times fully from the system and tried again, and it still did not work.
MacPorts works as expected on the same machine under 10.5 Leopard, which should rule out any hardware quirks that may be interfering.
Short of installing on my other machines there’s really not much else I can do to test these packages, and if they do indeed work as intended then it should be working on the PowerMac Quicksilver G4.
I’m currently busy modifying the old 733mhz Quicksilver daughterboard to go into the Digital Audio machine as i pinched the GigaDesign upgrade from it.
If i find time to test your MacPorts packages further i’ll post on this thread.
Interesting that it works properly for you on the G5. Is it also confirmed to work properly on any G4 machines?
@barracuda156 I can confirm that this is working correctly on my PowerMac G4 Digital Audio.
View attachment 2406831
I will nuke and retry the Quicksilver again soon - may have been corrupt packages or some other unrelated issue on that system.
One step ahead of you mate. The G4 was installing Xorg-Server-Legacy when i left for work. Will check on it when i get home later tonight.Ok, great. Thank you for checking this.
Now when you have time, I need two things to be checked:
1. Whether Qt4-based stuff works correctly (it should, but just in case). A good test will be to install QMPlay2 and try playing some video file (local one, YouTube works only via SMTube, not directly). The app will be in /Applications/MacPorts.
2. Whether X11 ports work. A bit more tricky, but I hope it will. What is needed here:
– wipe out Apple X11 (see above);
– install xorg-server-legacy, reboot the machine;
– install some X11 or GTK app, for example transmission-x11, try launching it.
If the app starts normally with GUI, that’s a success.
36-25% port deps gcc14
Full Name: gcc14 @14.2.0_1+stdlib_flag
Extract Dependencies: xz
Build Dependencies: texinfo, gcc10-bootstrap
Library Dependencies: cctools, gmp, isl-devel, ld64, libiconv, libmpc, mpfr,
zlib, zstd
Runtime Dependencies: gcc_select, libgcc, gcc14-libcxx
36-25% port deps gcc14-libcxx
gcc14-libcxx @14.2.0_1 has no dependencies.
Thank you. It should not be building it from source.
Could you please show what `port -v deps xorg-server-legacy` shows?
Here is what is available: http://macos-powerpc.org/packages/xorg-server-legacy
You need 1.20.10_2 +dispatch.
Which is what my portfile is supposed to set: https://github.com/barracuda156/pow...87da0f300dbd7/x11/xorg-server-legacy/Portfile
`port -v deps xorg-server-legacy` will show which exactly version your installation asks for. Apparently for some reason it differs from the one which is needed.
If your portfile has something else, you could manually change revision to 2 and install as `sudo port -v -b install xorg-server-legacy +dispatch`. Please also run `sudo port clean xorg-server-legacy` first.
P. S. I will deal with fixing the build from source later. (There was some mess with patches, so it may indeed fail at the moment.) Let’s first ensure pre-built version installs, since that is what I use myself at the moment.
I don’t have enough free time to continue to test and debug MacPorts unfortunately as any free tinkering time i’d rather spend on SL_PPC or hardware mods that i have a backlog of.
Hopefully some other users can provide assistance with testing? All they need to do is install the 10A190 image and the packages. Anyone with free time can help.
@barracuda156. I currently compile any software that isn’t already provided with an installer directly from source. The only benefit of MacPorts for me is that it just builds everything for me after i enter a string. If it doesn’t do that then it isn’t useful to me. If i have to tinker with MacPorts or Port files then I may as well just build from source directly.
Furthermore, when i asked you to verify that you had tested on a G4, you stated twice that you cancelled when the machine was indexing still.
Maybe don’t expect others to put more time into testing on actual hardware than you’re willing to do yourself?
I was assuming you actually intend to use some software. Of course, no favors needed or expected here.
From what you have shown above it follows that 1 (one) port did not install pre-built for some reason. I think that you may have an outdated file, which is why I asked for the output of `port -v deps`.
But yes, if the expectation is that literally everything will install smoothly, always, I can assure this will never be the case. If you find a package manager that works that way, let us know, then nobody will need MacPorts, Homebrew and pkgsrc. Good luck finding it though.
I only needed to verify that no errors happen in the process on some other machine (what you reported above happened much earlier than completion of port index). Indexing was tested in full earlier already, several times, on my PowerMac.
I am slightly surprised to read this LOL
First of all, as it turned out, the issue was with your machine, so it is me who wasted a few hours re-running tests unnecessarily, when everything was working correctly from the beginning.
Secondly, if you think that I spent less than several hours for 3 days on making this work, do some math: even assuming that human involvement takes strictly no time at all, hardware does not do things instantly. A single build of gcc takes about 4 hours on G5 Quad.
Sorry to take your time, I won't ask you anything, ever.
Do not think that the time that you choose to spend on your hobby entitles you to other peoples time.
I really don’t understand your attitude at all but i don’t appreciate it.
It obviously does not, and I dunno why you make an assumption that in my view it does.
And just like my choices do not entitle me to anything, your choices do not entitle you – fair position, right? Yet you blame me for electricity you spent.
Well, maybe you re-read your own reply above.
Yeah it shouldn’t be building from source.
Sorry mate. I appreciate all the work continue to put into this but my Digital Audio has an uptime of 1 day and 6 hours at this point trying to get your MacPorts packages up and running, plus the time spent thrice on the Quicksilver.
I don’t have enough free time to continue to test and debug MacPorts unfortunately as any free tinkering time i’d rather spend on SL_PPC or hardware mods that i have a backlog of.
Hopefully some other users can provide assistance with testing? All they need to do is install the 10A190 image and the packages. Anyone with free time can help.
P.S the MacPorts installed from your package on this machine and is downloading from your repo so the port files should be whatever you have them set as, it’s not pulling it from anywhere else.
I was assuming you actually intend to use some software. Of course, no favors needed or expected here.
Which was followed by the above sarcastic and ungrateful response.
This isn’t GitHub.That was a factual statement. I do not want anyone extending favors, because that ends up like this: more time is spent on complaints that something was said with insufficient gratitude than on dealing with a specific technical problem. And everything collapses when I ask to show an output of a single line command – to figure out what did not work.
There is no need to “help me” as long as that does not entail helping yourself as well, and primarily yourself. If you do not plan to use the software, better spend time on something else. This is not sarcastic: the only way to have a productive cooperation is to have self-interested but willing to work together people.
What you mistook for me feeling “entitled” is a reasonable expectation that if someone agrees to do a task, he will follow through. This normally works fine: you won’t see people on GitHub going on a rant re having to spend a few hours on a project which they voluntarily decided to contribute to.
To others: anyone who sees a personal benefit in having a working MacPorts on their PowerPC setup, you are welcome to cooperate on this: generally, everything works, but more testing needed.
I can confirm that Neofetch installed and ran, as did Htop. X11-Server-Legacy did not and this attempted to build from source which took all day - further testing and feedback required from those interested with machines and time to spare.To others: anyone who sees a personal benefit in having a working MacPorts on their PowerPC setup, you are welcome to cooperate on this: generally, everything works, but more testing needed.
I can confirm that Neofetch installed and ran, as did Htop. X11-Server-Legacy did not and this attempted to build from source which took all day - further testing and feedback required from those interested with machines and time to spare.
I can confirm that Neofetch installed and ran, as did Htop. X11-Server-Legacy did not and this attempted to build from source which took all day - further testing and feedback required from those interested with machines and time to spare.
Ok, some intermediate results:
1. Indexing works fine on G4, tested on 10a190 and 10a222.
2. It looks that MacPorts prefers installing from source no-arch ports. This is probably nothing specific to my packaging, but it is desirable to fix that, since there are some ports which install only headers but build tests by default, for example. We would not want those to be built from source, it is a time-waste. Not a big deal, but I will look into that.
3. I think I know why you got xorg-server-legacy built from source: it was a rebuild, since installed version was assumed to be broken by MacPorts. It is not broken in fact, however it is linked to a library which is not listed among dependencies. That happens in cases when a) port was written without considering that everything unused must be disabled if not disabled by default and b) build is done in an environment where optional dependencies are present (so the build enables extra stuff, but portfile does not know about that).
This is annoying, but there is no way to completely avoid it, unless you set up proper buildbots. This problem is not caused by my packaging, it can happen with standard MacPorts on any arch and system, as long as you do not do every build like on buildbots: deactivating everything and installing from zero.
I think I have fixed this specific issue in revision 3 of xorg-server-legacy, but there was an unrelated problem with that version, which I had no time to deal with yet, so I reverted to revision 2, which did not have a fix for this dependency issue.
In a general case, a solution is either to rebuild or install a dependency which a port is linked to (and which is undeclared).
I will sort out xorg-server-legacy in a couple of days. Need to make sure it also builds from source correctly.
Following a port sync which took a while i can confirm that xorg-server-legacy correctly installed as a pre-built port on the G4 Digital Audio.Dependencies issues should be fixed for xorg-server-legacy. (The same effect can be achieved with installing xorg-libxshmfence and libunistring, that will fix existing installation from earlier version. Building from source of xorg-server-legacy will not yet work, I need to change something. Installing pre-built port should work fine, it installs a version which I use myself – trust me, it works.)