Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.
Checksums are correct:
Code:
macmini:macports-base svacchanda$ sudo port clean --all libsdl2-cocoa
--->  Cleaning libsdl2-cocoa
macmini:macports-base svacchanda$ sudo port -v extract libsdl2-cocoa
--->  Fetching distfiles for libsdl2-cocoa
--->  SDL2-2.32.6.tar.gz does not exist in /opt/local/var/macports/distfiles/libsdl2-cocoa
--->  Attempting to fetch SDL2-2.32.6.tar.gz from https://github.com/libsdl-org/SDL/releases/download/release-2.32.6
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 7448k  100 7448k    0     0   362k      0  0:00:20  0:00:20 --:--:--  469k
--->  release-2.0.3.tar.gz does not exist in /opt/local/var/macports/distfiles/libsdl2-cocoa
--->  Attempting to fetch release-2.0.3.tar.gz from https://github.com/libsdl-org/SDL/releases/download/release-2.32.6
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
--->  Attempting to fetch release-2.0.3.tar.gz from https://github.com/libsdl-org/SDL/archive/refs/tags/
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 5574k    0 5574k    0     0  1375k      0 --:--:--  0:00:04 --:--:-- 1554k
--->  Verifying checksums for libsdl2-cocoa
--->  Checksumming SDL2-2.32.6.tar.gz
--->  Checksumming release-2.0.3.tar.gz
--->  Extracting libsdl2-cocoa
--->  Extracting SDL2-2.32.6.tar.gz
Executing:  cd "/opt/local/var/macports/build/libsf4KyXd/work" && /usr/bin/gzip -dc '/opt/local/var/macports/distfiles/libsdl2-cocoa/SDL2-2.32.6.tar.gz' | /usr/bin/gnutar --no-same-owner -xf -
--->  Extracting release-2.0.3.tar.gz
Executing:  cd "/opt/local/var/macports/build/libsf4KyXd/work" && /usr/bin/gzip -dc '/opt/local/var/macports/distfiles/libsdl2-cocoa/release-2.0.3.tar.gz' | /usr/bin/gnutar --no-same-owner -xf -

Could you show what exactly fails?
I do not have updated curl, so I was trying to place the source files into /opt/local/var/macports/distfiles/libsdl2-cocoa
I cannot find release-2.0.3.tar.gz from https://github.com/libsdl-org/SDL/archive/refs/tags/
I found a file manually that was SDL 2.0.3, but that is clearly not the right file.
I was posting here to see if anyone had release-2.0.3 so I don't have to rebuild my whole system against modern curl
 
I do not have updated curl, so I was trying to place the source files into /opt/local/var/macports/distfiles/libsdl2-cocoa
I cannot find release-2.0.3.tar.gz from https://github.com/libsdl-org/SDL/archive/refs/tags/
I found a file manually that was SDL 2.0.3, but that is clearly not the right file.
I was posting here to see if anyone had release-2.0.3 so I don't have to rebuild my whole system against modern curl

Sure, though you can actually do it yourself from any other machine (assuming 10.4 is not the only one).
`sudo port fetch` downloads tarballs and places into `/opt/local/var/macports/distfiles/some_port`.

Here you go: https://www.mediafire.com/file/vawypbss0i1my2n/release-2.0.3.tar.gz/file (likewise, place into distfiles/libsdl2-cocoa).
 
Sure, though you can actually do it yourself from any other machine (assuming 10.4 is not the only one).
`sudo port fetch` downloads tarballs and places into `/opt/local/var/macports/distfiles/some_port`.

Here you go: https://www.mediafire.com/file/vawypbss0i1my2n/release-2.0.3.tar.gz/file (likewise, place into distfiles/libsdl2-cocoa).
Thank you! My only machines not on 10.4/10.5 are Windows, where macports obviously doesn't work and curl gives me headaches
 

Attachments

  • main.txt
    478.4 KB · Views: 1
Thank you for all the helpful links. I may use leopard as a "sudo port extract" partition and then move the tarballs to my Tiger partition in the future.
Unfortunately, I got a build failure. I have attached the log as a txt file. Hopefully not caused by me putting the tarballs in by hand.

Nah, that’s a bug in Apple headers LOL

Try this first: https://github.com/macports/macport...3ef/graphics/wxWidgets-3.0/Portfile#L139-L145
(In effect, just pass `-faltivec` to cflags – there is no C++ code here.)

If that fails, a dirty hack would be to add `#undef __APPLE_ALTIVEC__` prior to the Carbon header which causes the breakage. See discussion for details: https://github.com/wxWidgets/wxWidgets/pull/25321
 
Nah, that’s a bug in Apple headers LOL

Try this first: https://github.com/macports/macport...3ef/graphics/wxWidgets-3.0/Portfile#L139-L145
(In effect, just pass `-faltivec` to cflags – there is no C++ code here.)

If that fails, a dirty hack would be to add `#undef __APPLE_ALTIVEC__` prior to the Carbon header which causes the breakage. See discussion for details: https://github.com/wxWidgets/wxWidgets/pull/25321
Okay, I will try adding this to the Portfile first and let you know if that fixes it
platform darwin powerpc {
if {![catch {sysctl hw.vectorunit} result] && $result > 0} {
# Work around buggy header. https://trac.macports.org/ticket/55251
configure.cxxflags-append -faltivec
configure.cflags-append -faltivec
}
}
 
Nah, that’s a bug in Apple headers LOL

Try this first: https://github.com/macports/macport...3ef/graphics/wxWidgets-3.0/Portfile#L139-L145
(In effect, just pass `-faltivec` to cflags – there is no C++ code here.)

If that fails, a dirty hack would be to add `#undef __APPLE_ALTIVEC__` prior to the Carbon header which causes the breakage. See discussion for details: https://github.com/wxWidgets/wxWidgets/pull/25321
Thank you! The first suggestion fixed the build. I created a pull request to add the fix to PPCPorts on Github.
Unfortunately, I do not have an app to test libsdl2-cocoa, as I got a build failure about sixty percent through on qmplay2-devel. The log is attached. Thank you again for your help.
 

Attachments

  • main.txt
    411.3 KB · Views: 2
Thank you! The first suggestion fixed the build. I created a pull request to add the fix to PPCPorts on Github.
Unfortunately, I do not have an app to test libsdl2-cocoa, as I got a build failure about sixty percent through on qmplay2-devel. The log is attached. Thank you again for your help.

You can test libsdl2 with ffmpeg. Make sure to use a version with libsdl2 enabled or enable it yourself in the portfile.
Also mpv uses libsdl2.

Re QMPlay2: just disable OpenGL in the port file configure options, it is straightforward. OpenGL is optional and was disabled until very recently anyway.
 
I will disable OpenGL for Tiger in the port now and push an update.

P. S. Or I can try a blind fix, if you wanna test. Let me know.
Sadly, I got my PowerBook wrapped up in compiling tenfourfox-devel, so I will be unable to test anything for quite a while. Please go ahead with whatever fixes you think best and hopefully I can confirm if they work on Tiger this weekend
 
Thank you! The first suggestion fixed the build. I created a pull request to add the fix to PPCPorts on Github.
Unfortunately, I do not have an app to test libsdl2-cocoa, as I got a build failure about sixty percent through on qmplay2-devel. The log is attached. Thank you again for your help.
FYI SDL2 itself comes with extensive tests in the "test" folder (at the same level as src and include). If you have SDL2 installed you can just "configure" and "make". If OpenGL is disabled it won't built tests for it, obviously.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.