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.
If you got a decent hardware and rebuilding does not take hours, maybe first try replacing `#if defined(__APPLE__) && (MAC_OS_X_VERSION_MAX_ALLOWED < 1060)` with `#if defined(__APPLE__) && (MAC_OS_X_VERSION_MIN_REQUIRED < 1060)` in the patch itself, and do a clean build.

I also ran into this same build failure while trying to build QMPlay2 on 10.5. I haven't updated Macports in a few months though, so I do not know if this is still a problem or if the fix has been merged.

What I can say is @barracuda156 the files in your GitHub worked as-is without having to do any modifications. Thanks again for all your work for the PPC community.
 
I also ran into this same build failure while trying to build QMPlay2 on 10.5. I haven't updated Macports in a few months though, so I do not know if this is still a problem or if the fix has been merged.

What I can say is @barracuda156 the files in your GitHub worked as-is without having to do any modifications. Thanks again for all your work for the PPC community.

Is QMplay2 error on Leopard still relevant?

P. S. I cannot test anything on 10.5 now, and on 10.4 it gonna fail for other reasons (and perhaps dependencies will fail to begin with); on 10.6 it should build fine, I believe.
 
Can anyone try fastfetch on 10.5 by the way?

fastfetch_ppc.png
 
Is QMplay2 error on Leopard still relevant?

P. S. I cannot test anything on 10.5 now, and on 10.4 it gonna fail for other reasons (and perhaps dependencies will fail to begin with); on 10.6 it should build fine, I believe.
I debated on my posting my initial reply because, having outdated macports tree, I do not know if it is still relevant or not for an up-to-date system. And now I fear I've muddied the waters.

You had asked about
Code:
#if defined(__APPLE__) && (MAC_OS_X_VERSION_MAX_ALLOWED < 1060)` with `#if defined(__APPLE__) && (MAC_OS_X_VERSION_MIN_REQUIRED < 1060)`
being placed in a patch, so I did not know if you still needed this tested. My post was simply to state that I used your Portfile for QMPlay2 as-is out of your GitHub and it worked great.
 
I get this when building on 10.5:

Code:
gcc-mp-13: error: unrecognized command-line option '-fobjc-arc'; did you mean '-fobjc-gc'?
.

Build log attached.

Looks like you did not run `port sync`. The current version is 2.21.0. Your log shows 2.8.6. That will not build, since fixes were merged with 2.20.0 and updated with 2.21.0.

The flag was fixed in https://github.com/fastfetch-cli/fastfetch/commit/1d95f9b22468a5b58a892f92c25c5e88965ba93c (so there is no patch for it in MacPorts, it is unneeded).
 
My post was simply to state that I used your Portfile for QMPlay2 as-is out of your GitHub and it worked great.

Ah, okay, thank you. I think I do not have any special fixes for QMPlay2 in MacPorts tree, so it should be identical to what MacPorts’ master has.
 
Looks like you did not run `port sync`. The current version is 2.21.0. Your log shows 2.8.6. That will not build, since fixes were merged with 2.20.0 and updated with 2.21.0.

The flag was fixed in https://github.com/fastfetch-cli/fastfetch/commit/1d95f9b22468a5b58a892f92c25c5e88965ba93c (so there is no patch for it in MacPorts, it is unneeded).

Wow, I had literally just posted that my tree was out of date. I need to sleep more, eh? Thank you for the gentle reply and not calling out my rookie mistake, which you were well within your rights to do.

I haven't the stomach for a full sync at the moment, mostly because I'm too lazy to do the work to remove references to older gcc make gcc13 the default again (yes, I know it's not that much work, but I'm thinking of a way to automate that process before I do it). Unless...is there a way to make sync not overwrite those .tcl files? Does that only happen during a selfupdate?

At any rate, I grabbed the Portfile from your repo and get a different set of errors aound undeclared functions. Log attached.
 

Attachments

  • fastfetch.log.txt
    683.3 KB · Views: 19
I haven't the stomach for a full sync at the moment, mostly because I'm too lazy to do the work to remove references to older gcc make gcc13 the default again (yes, I know it's not that much work, but I'm thinking of a way to automate that process before I do it). Unless...is there a way to make sync not overwrite those .tcl files? Does that only happen during a selfupdate?

Well, you could perhaps use your git repo as an overlay for all ports and portgroups, this will ensure you portgroups and whats not gonna be used consistently.

Or you can tweak the base to fetch your own port sources and discard upstream ones. (Not recommended unless you know what you are doing.)

Or tolerate two lines of code to execute following every sync (you do not do it every hour anyway), to overwrite the portgroup and compiler settings tcl.
It is perhaps not too hard to replace two files manually in Finder too.

At any rate, I grabbed the Portfile from your repo and get a different set of errors aound undeclared functions. Log attached.

This is not a fastfetch error, you have an old yyjson:
Code:
:debug:main yyjson 0.8.0_0 exists in the ports tree
:debug:main yyjson 0.8.0_0  is the latest installed
:debug:main yyjson 0.8.0_0  is active
. . .
error: 'YYJSON_WRITE_NEWLINE_AT_END' undeclared (first use in this function)

You need to update it. The master has 0.10.0. (Perhaps configure should really require a specific version of it and fail rightaway.)
 
Last edited:
This is not a fastfetch error, you have an old yyjson:
Code:
:debug:main yyjson 0.8.0_0 exists in the ports tree
:debug:main yyjson 0.8.0_0  is the latest installed
:debug:main yyjson 0.8.0_0  is active
. . .
error: 'YYJSON_WRITE_NEWLINE_AT_END' undeclared (first use in this function)

You need to update it. The master has 0.10.0. (Perhaps configure should really require a specific version of it and fail rightaway.)
Sigh, alright. I'll bite the bullet and do a sync. Thanks!
 
Sigh, alright. I'll bite the bullet and do a sync. Thanks!

There is perhaps no real need to update everything, sudo port -v -n upgrade yyjson will do (and then sudo port -v -n install fastfetch), if you wanna save time or just check if the thing builds and works.
 
I managed to compile windowmaker on Tiger 10.4. I use as my main X11 DE. I had to fix the portfile to make it works (I already opened a defect).
I also compiled FSViewer, WMclock, Xearth and Irssi to make it more usable.
 
  • Like
Reactions: barracuda156
I managed to compile windowmaker on Tiger 10.4. I use as my main X11 DE. I had to fix the portfile to make it works (I already opened a defect).
I also compiled FSViewer, WMclock, Xearth and Irssi to make it more usable.

Could you try the new version? (0.96.0, merged here)

I did not add legacysupport yet, we need your logs to see what fails. Compilation with gcc-4.2 should be fixed now.
 
Last edited:
If anyone interested in xxdiff, the app works fine, but has to be launched as a binary (i.e. just clicking on the app icon will not work, it crashes). From Terminal do:
Code:
/Applications/MacPorts/xxdiff.app/Contents/MacOS/xxdiff

xdiff.png
 
  • Like
Reactions: TheShortTimer
Podcasts working on PowerPC via gPodder

View attachment 2394087


Seems to be a nice app! I Tried to compile it via macports on my 10.5.8 PB, it compiled without errors, an app can be found under /Applications/MacPorts but there is a sign which marks gpodder as incompatible with 10.5. if I start gpodder in a terminal, following error occurs:



Code:
gpodder
1728589023.862406 [gpodder.log] ERROR: Uncaught exception: Traceback (most recent call last):
  File "/opt/local/bin/gpodder", line 181, in <module>
    main()
  File "/opt/local/bin/gpodder", line 173, in main
    from gpodder.gtkui import app
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/gpodder/gtkui/app.py", line 31, in <module>
    from gpodder import core, util
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/gpodder/core.py", line 25, in <module>
    from gpodder import config, dbsqlite, extensions, model, util
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/gpodder/config.py", line 33, in <module>
    from gpodder import jsonconfig, util
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/gpodder/util.py", line 60, in <module>
    import requests
ModuleNotFoundError: No module named 'requests'

Traceback (most recent call last):
  File "/opt/local/bin/gpodder", line 181, in <module>
    main()
  File "/opt/local/bin/gpodder", line 173, in main
    from gpodder.gtkui import app
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/gpodder/gtkui/app.py", line 31, in <module>
    from gpodder import core, util
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/gpodder/core.py", line 25, in <module>
    from gpodder import config, dbsqlite, extensions, model, util
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/gpodder/config.py", line 33, in <module>
    from gpodder import jsonconfig, util
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/gpodder/util.py", line 60, in <module>
    import requests
ModuleNotFoundError: No module named 'requests'
 

if I understand the nomenclature regarding VLC correctly there is

a) VLC vers. 3, not supported on 10.5 ppc. @barracuda156 with his wizardry compiled a headless version of it. How to get it? Do I have to mix my installation repo with your 10.6 repo then?

b) VLC2, up to version 2.2.8, supporting 10.5 ppc

on 10.5 with MP I tried to compile it but I threw out errors at the very end.


log attached. it seems you, @barracuda156, fixed it for 10.6, is the same possible for 10.5 ?
 

Attachments

  • vlc2.txt
    4 MB · Views: 13
  • vlc2.txt
    4 MB · Views: 9
Seems to be a nice app! I Tried to compile it via macports on my 10.5.8 PB, it compiled without errors, an app can be found under /Applications/MacPorts but there is a sign which marks gpodder as incompatible with 10.5. if I start gpodder in a terminal, following error occurs:



Code:
gpodder
1728589023.862406 [gpodder.log] ERROR: Uncaught exception: Traceback (most recent call last):
  File "/opt/local/bin/gpodder", line 181, in <module>
    main()
  File "/opt/local/bin/gpodder", line 173, in main
    from gpodder.gtkui import app
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/gpodder/gtkui/app.py", line 31, in <module>
    from gpodder import core, util
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/gpodder/core.py", line 25, in <module>
    from gpodder import config, dbsqlite, extensions, model, util
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/gpodder/config.py", line 33, in <module>
    from gpodder import jsonconfig, util
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/gpodder/util.py", line 60, in <module>
    import requests
ModuleNotFoundError: No module named 'requests'

Traceback (most recent call last):
  File "/opt/local/bin/gpodder", line 181, in <module>
    main()
  File "/opt/local/bin/gpodder", line 173, in main
    from gpodder.gtkui import app
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/gpodder/gtkui/app.py", line 31, in <module>
    from gpodder import core, util
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/gpodder/core.py", line 25, in <module>
    from gpodder import config, dbsqlite, extensions, model, util
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/gpodder/config.py", line 33, in <module>
    from gpodder import jsonconfig, util
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/gpodder/util.py", line 60, in <module>
    import requests
ModuleNotFoundError: No module named 'requests'

Could you install `py312-requests` and try launching `gpodder` again? Python software is a pain, since it allows to install it without checking if needed dependencies actually exist.

UPD. Wait, something besides that also needed. I get same error on Sonoma, it is nothing about powerpc.

UPD2. Okay, the problem is this: https://github.com/gpodder/gpodder/issues/1614

Just do the following now:
Code:
sudo port -v install py311-requests
sudo port -v upgrade --enforce-variants gpodder -python312 +python311

In the meanwhile I will submit a fix to MacPorts.
 
Last edited:
  • Like
Reactions: TheShortTimer
on 10.5 with MP I tried to compile it but I threw out errors at the very end.

Could you try replacing contents of src/darwin/netconf.c with this:


And just resume the build from there. (I cannot check this, but this is an earlier version of the code, where 10.6-specific stuff is used only for iOS, so it may work on 10.5.)
 
Could you install `py312-requests` and try launching `gpodder` again? Python software is a pain, since it allows to install it without checking if needed dependencies actually exist.

UPD. Wait, something besides that also needed. I get same error on Sonoma, it is nothing about powerpc.

UPD2. Okay, the problem is this: https://github.com/gpodder/gpodder/issues/1614

Just do the following now:
Code:
sudo port -v install py311-requests
sudo port -v upgrade --enforce-variants gpodder -python312 +python311

In the meanwhile I will submit a fix to MacPorts.


gpodder is installed! I read in an archlinux forum about incompatibilities between gpodder and python 3.12.

wenn i start gpodder, there is a small error on the command line . . .

Code:
admin$ gpodder
1728642607.596081 [gpodder.util] WARNING: html5lib was not found, fall-back to HTMLParser

    Warning: pyobjc not found. Disabling "Subscribe with" events handling


I searched for html5lib and pyobjc, there are many variants like py-pyobjc or py311-pyobjc and so on. both seems to fail (there is a warning). what do you recommend cause both installs are dragging a lot of python stuff with them to compile . . .
 
I searched for html5lib and pyobjc, there are many variants like py-pyobjc or py311-pyobjc and so on. both seems to fail (there is a warning). what do you recommend cause both installs are dragging a lot of python stuff with them to compile . . .

The last version to build on ppc is with Python 3.10. See: https://ports.macports.org/port/py-pyobjc6
I.e. you can try installing `py310-pyobjc6` (and obviously use the same python with gpodder).

I think it should work without it though.
 
  • Like
Reactions: saxfun
Could you try replacing contents of src/darwin/netconf.c with this:


And just resume the build from there. (I cannot check this, but this is an earlier version of the code, where 10.6-specific stuff is used only for iOS, so it may work on 10.5.)


Code:
cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_VLC2/VLC2/work/vlc-2.2.8/src/

i edited the whole file with the replacement text.

log attached.
 

Attachments

  • vlc.txt
    4.5 MB · Views: 13
Code:
cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_VLC2/VLC2/work/vlc-2.2.8/src/

i edited the whole file with the replacement text.

log attached.

Ok thank you. Apparently these symbols are referred to elsewhere as well, and then the linker cannot find them.
I will make a fix soon, need to look through the code and commit history.
I am sure we can make it build, but it may take a few iterations, since I have no way of knowing what gonna fail in advance.

UPD. Nah, these are different symbols and they are available in 10.5:

So perhaps it just needs to link so the correct framework, maybe simply `-framework SystemConfiguration`.
I will make a patch to pass this to the linker, but you will need to do the clean build. (It seems to be the start of the build, so hopefully won’t waste much time.)
 
Last edited:
Code:
cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_VLC2/VLC2/work/vlc-2.2.8/src/

i edited the whole file with the replacement text.

log attached.

Ok, could you try building this? https://github.com/barracuda156/powerpc-ports/commit/4e2ea4645bd266f89e4f048243dc30332999d939

P. S. Make sure to run `sudo port clean VLC2` first. It is known to produce weird errors when port clean is not done explicitly before rebuilding (no idea why).
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.