Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.
Hello, I've been toying with MacPorts for a while but I've always had rather little luck with it. It was the best when I started using it about a year or so ago but more and more things have broken since then and I don't know how to fix them since I am more of a Linux person. I keep having the strangest problems. Nevertheless I don't want to give up and I gave PPCports a shot.

I am trying to compile QMPlay2 on a PowerMac G4 running MacOS 10.5.8. After it compiled a few dozen dependencies I got the following:


Code:
Error: The following dependencies were not installed because all of them have unmet dependencies (likely due to a dependency cycle): cmake pkgconfig gcc14 qt4-mac QJson4 ffmpeg libass libcddb libcdio portaudio taglib zlib libgcc yt-dlp curl libarchive xz nghttp2 libidn2 libpsl openssl zstd gettext libiconv gettext-runtime gettext-tools-libs libtextstyle autoconf m4 libunistring libtool python310 sqlite3 openssl3 perl5 perl5.34 gdbm libb2 libxml2 icu python27 openssl11 texinfo gmp isl-devel libmpc mpfr help2man p5.34-locale-gettext dbus tiff libpng libmng libjpeg-turbo lerc libdeflate lcms2 gmake dav1d fontconfig freetype fribidi gnutls harfbuzz lame libbluray libmodplug libogg libopus librsvg libtheora libvorbis openjpeg soxr speex webp zimg zvbi aom svt-av1 libvidstab x264 x265 XviD meson ninja py313-meson py313-build py313-installer py313-setuptools py313-wheel python313 py313-packaging py313-pyproject_hooks mpdecimal re2c python311 bison python312 p11-kit nettle libxslt cairo glib2 graphite2 gobject-introspection libpixman xrender xorg-libXext xorg-xcb-util xorg-libX11 xorg-libXdmcp xorg-libXau xorg-libxcb xorg-xcb-proto libelf pcre2 py313-cython py313-mako py313-markdown py313-markupsafe gdk-pixbuf2 pango vala libcroco gi-docgen gtk-doc py312-docutils shared-mime-info py313-jinja2 py313-pygments py313-toml py313-typogrify py313-smartypants itstool py313-anytree py313-lxml py313-libxml2 py312-roman xmlto bash coreutils util-linux w3m boehmgc Xft2 flex graphviz gd2 gts libLASi xorg-libXaw urw-fonts libheif xpm libde265 openh264 kvazaar gtest xorg-libXt xorg-libsm xorg-libice libnetpbm xorg-libXmu git rsync p5.34-authen-sasl p5.34-error p5.34-net-smtp-ssl p5.34-term-readkey p5.34-cgi popt p5.34-digest-hmac p5.34-gssapi p5.34-digest-sha1 kerberos5 libcomerr p5.34-io-socket-ssl p5.34-scalar-list-utils p5.34-net-ssleay p5.34-uri p5.34-test-exception p5.34-test-nowarnings p5.34-test-warn p5.34-sub-uplevel p5.34-mime-base32 p5.34-mime-base64 p5.34-regexp-ipv6 p5.34-html-parser p5.34-html-tagset p5.34-http-message p5.34-clone p5.34-compress-raw-bzip2 p5.34-compress-raw-zlib p5.34-encode p5.34-encode-locale p5.34-http-date p5.34-io-compress p5.34-io-html p5.34-lwp-mediatypes p5.34-b-cow p5.34-test-simple p5.34-xsloader p5.34-data-dumper p5.34-term-table p5.34-time-hires p5.34-term-size-any p5.34-unicode-linebreak p5.34-devel-hide p5.34-module-load-conditional p5.34-term-size-perl p5.34-locale-maketext-simple p5.34-module-load p5.34-params-check p5.34-version p5.34-mime-charset p5.34-encode-din66003 p5.34-encode-eucjpascii p5.34-encode-hanextra p5.34-encode-jisx0213 p5.34-pod2-base p5.34-encode-iso2022 p5.34-test-cpan-meta p5.34-test-cpan-meta-json p5.34-test-pod p5.34-json p5.34-json-xs p5.34-canary-stability p5.34-common-sense p5.34-types-serialiser p5.34-pod-simple p5.34-pod-escapes p5.34-time-local p5.34-timedate libgcc14 py313-pycryptodome AtomicParsley
Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug.
Error: Processing of port QMPlay2 failed

Am I missing something? Does it only work on a G5 or on 10.6? Any pointers would be really appreciated, thanks a lot!

Edit: any major package seems to have unmet dependencies now, what the heck?

Could you please run `sudo port sync` and try again?

I suspect it is the issue which I noticed and fixed today.

P. S. Boring details: for god know what reason `libiconv` in its latest version introduced dependency on autotools (see, for example, Homebrew formula for it). Now the problem turned out that it created a circular dependency: from libiconv via autotools via m4 back to libiconv. It did not show up for me, because autotools are a build dependency, and once you have a port already built, they are ignored. Yesterday I started compiling stuff on 10.5 to test something unrelated, and bumped into this issue. I believe, it should have been resolved with the today’s commits.
 
Last edited:
  • Like
Reactions: Matias_
This is surprising. What do you get with `port -v rdeps librsvg`?
I get the following. There's more still. I'm not sure what specifically you are looking for?
Also, given boost181 takes hours to fail and I think I already cleaned the log, I will try that some other time and get back to you
 

Attachments

  • IMG_20250708_082250.jpg
    IMG_20250708_082250.jpg
    300.5 KB · Views: 24
  • IMG_20250708_082245.jpg
    IMG_20250708_082245.jpg
    354.6 KB · Views: 17
  • IMG_20250708_082241.jpg
    IMG_20250708_082241.jpg
    349.2 KB · Views: 17
  • IMG_20250708_082238.jpg
    IMG_20250708_082238.jpg
    367.4 KB · Views: 18
  • IMG_20250708_082234.jpg
    IMG_20250708_082234.jpg
    191.7 KB · Views: 19
  • IMG_20250708_082229.jpg
    IMG_20250708_082229.jpg
    268.4 KB · Views: 23
Okay so I wiped the old broken MacPorts installation on my G5 (got tired of the waiting days for the G4 to finish compiling) and installed PPCports. Now I can't install anything:

Code:
Error: Unable to execute port QMPlay2: sqlite error: string or blob too big (18) while executing query: SELECT id FROM registry.files INDEXED BY file_actual_nocase WHERE (actual_path = ? COLLATE NOCASE) AND active

:(

EDIT: not sure what is going on. Wiped /opt/ and reinstalled PPCports, still getting the sqlite error. Wiped everything again and installed regular MacPorts, that works fine. But PPCports refuses to work.
 
Last edited:
Alright so I tried again, I've gotten a little bit more familiar with MacPorts in the meantime.

I started with a fresh install of Leopard, updated to 10.5.8 and with XCode 3.1.4. I installed PPCports and ran a port sync and port selfupdate.

I'm having a major problem:

Any port that depends on a specific commit (so far I've had htop and darwin-xtools) seem to not install, it can't fetch the files. Does this mean that bootstrap curl is nonfunctional?

Code:
--->  Fetching archive for htop
--->  Attempting to fetch htop-3.4.1_1.darwin_9.ppc.tbz2 from http://macos-powerpc.org/packages/htop
--->  Fetching distfiles for htop
--->  Attempting to fetch htop-7720dbdfb33003dc271d9687f6d926fb544ad6e1.tar.gz from http://distfiles.macports.org/htop
--->  Attempting to fetch htop-7720dbdfb33003dc271d9687f6d926fb544ad6e1.tar.gz from https://github.com/htop-dev/htop/archive/7720dbdfb33003dc271d9687f6d926fb544ad6e1
--->  Attempting to fetch htop-7720dbdfb33003dc271d9687f6d926fb544ad6e1.tar.gz from http://mse.uk.distfiles.macports.org/htop
--->  Attempting to fetch htop-7720dbdfb33003dc271d9687f6d926fb544ad6e1.tar.gz from http://fra.de.distfiles.macports.org/htop
--->  Attempting to fetch htop-7720dbdfb33003dc271d9687f6d926fb544ad6e1.tar.gz from http://vie.at.distfiles.macports.org/htop
--->  Attempting to fetch htop-7720dbdfb33003dc271d9687f6d926fb544ad6e1.tar.gz from http://cph.dk.distfiles.macports.org/htop
--->  Attempting to fetch htop-7720dbdfb33003dc271d9687f6d926fb544ad6e1.tar.gz from http://nue.de.distfiles.macports.org/htop
--->  Attempting to fetch htop-7720dbdfb33003dc271d9687f6d926fb544ad6e1.tar.gz from http://fco.it.distfiles.macports.org/htop
--->  Attempting to fetch htop-7720dbdfb33003dc271d9687f6d926fb544ad6e1.tar.gz from http://lis.pt.distfiles.macports.org/htop
--->  Attempting to fetch htop-7720dbdfb33003dc271d9687f6d926fb544ad6e1.tar.gz from http://bos.us.distfiles.macports.org/htop
--->  Attempting to fetch htop-7720dbdfb33003dc271d9687f6d926fb544ad6e1.tar.gz from http://ykf.ca.distfiles.macports.org/MacPorts/mpdistfiles/htop
--->  Attempting to fetch htop-7720dbdfb33003dc271d9687f6d926fb544ad6e1.tar.gz from http://ywg.ca.distfiles.macports.org/mirror/macports/distfiles/htop
--->  Attempting to fetch htop-7720dbdfb33003dc271d9687f6d926fb544ad6e1.tar.gz from http://mirror.fcix.net/macports/distfiles/htop
--->  Attempting to fetch htop-7720dbdfb33003dc271d9687f6d926fb544ad6e1.tar.gz from http://jog.id.distfiles.macports.org/macports/distfiles/htop
--->  Attempting to fetch htop-7720dbdfb33003dc271d9687f6d926fb544ad6e1.tar.gz from http://pek.cn.distfiles.macports.org/macports/distfiles/htop
--->  Attempting to fetch htop-7720dbdfb33003dc271d9687f6d926fb544ad6e1.tar.gz from http://kmq.jp.distfiles.macports.org/htop
--->  Attempting to fetch htop-7720dbdfb33003dc271d9687f6d926fb544ad6e1.tar.gz from http://cjj.kr.distfiles.macports.org/htop
--->  Attempting to fetch htop-7720dbdfb33003dc271d9687f6d926fb544ad6e1.tar.gz from http://aarnet.au.distfiles.macports.org/pub/macports/distfiles/htop
--->  Attempting to fetch htop-7720dbdfb33003dc271d9687f6d926fb544ad6e1.tar.gz from http://atl.us.distfiles.macports.org/htop
Error: Failed to fetch htop: The requested URL returned error: 404
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_macos-powerpc.org_macos-powerpc_PPCPorts_ports_sysutils_htop/htop/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe there
is a bug.
Error: Processing of port htop failed
 
Last edited:
Alright so I tried again, I've gotten a little bit more familiar with MacPorts in the meantime.

I started with a fresh install of Leopard, updated to 10.5.8 and with XCode 3.1.4. I installed PPCports and ran a port sync and port selfupdate.

I'm having a major problem:

Any port that depends on a specific commit (so far I've had htop and darwin-xtools) seem to not install, it can't fetch the files. Does this mean that bootstrap curl is nonfunctional?

Code:
--->  Fetching archive for htop
--->  Attempting to fetch htop-3.4.1_1.darwin_9.ppc.tbz2 from http://macos-powerpc.org/packages/htop
--->  Fetching distfiles for htop
--->  Attempting to fetch htop-7720dbdfb33003dc271d9687f6d926fb544ad6e1.tar.gz from http://distfiles.macports.org/htop
--->  Attempting to fetch htop-7720dbdfb33003dc271d9687f6d926fb544ad6e1.tar.gz from https://github.com/htop-dev/htop/archive/7720dbdfb33003dc271d9687f6d926fb544ad6e1
--->  Attempting to fetch htop-7720dbdfb33003dc271d9687f6d926fb544ad6e1.tar.gz from http://mse.uk.distfiles.macports.org/htop
--->  Attempting to fetch htop-7720dbdfb33003dc271d9687f6d926fb544ad6e1.tar.gz from http://fra.de.distfiles.macports.org/htop
--->  Attempting to fetch htop-7720dbdfb33003dc271d9687f6d926fb544ad6e1.tar.gz from http://vie.at.distfiles.macports.org/htop
--->  Attempting to fetch htop-7720dbdfb33003dc271d9687f6d926fb544ad6e1.tar.gz from http://cph.dk.distfiles.macports.org/htop
--->  Attempting to fetch htop-7720dbdfb33003dc271d9687f6d926fb544ad6e1.tar.gz from http://nue.de.distfiles.macports.org/htop
--->  Attempting to fetch htop-7720dbdfb33003dc271d9687f6d926fb544ad6e1.tar.gz from http://fco.it.distfiles.macports.org/htop
--->  Attempting to fetch htop-7720dbdfb33003dc271d9687f6d926fb544ad6e1.tar.gz from http://lis.pt.distfiles.macports.org/htop
--->  Attempting to fetch htop-7720dbdfb33003dc271d9687f6d926fb544ad6e1.tar.gz from http://bos.us.distfiles.macports.org/htop
--->  Attempting to fetch htop-7720dbdfb33003dc271d9687f6d926fb544ad6e1.tar.gz from http://ykf.ca.distfiles.macports.org/MacPorts/mpdistfiles/htop
--->  Attempting to fetch htop-7720dbdfb33003dc271d9687f6d926fb544ad6e1.tar.gz from http://ywg.ca.distfiles.macports.org/mirror/macports/distfiles/htop
--->  Attempting to fetch htop-7720dbdfb33003dc271d9687f6d926fb544ad6e1.tar.gz from http://mirror.fcix.net/macports/distfiles/htop
--->  Attempting to fetch htop-7720dbdfb33003dc271d9687f6d926fb544ad6e1.tar.gz from http://jog.id.distfiles.macports.org/macports/distfiles/htop
--->  Attempting to fetch htop-7720dbdfb33003dc271d9687f6d926fb544ad6e1.tar.gz from http://pek.cn.distfiles.macports.org/macports/distfiles/htop
--->  Attempting to fetch htop-7720dbdfb33003dc271d9687f6d926fb544ad6e1.tar.gz from http://kmq.jp.distfiles.macports.org/htop
--->  Attempting to fetch htop-7720dbdfb33003dc271d9687f6d926fb544ad6e1.tar.gz from http://cjj.kr.distfiles.macports.org/htop
--->  Attempting to fetch htop-7720dbdfb33003dc271d9687f6d926fb544ad6e1.tar.gz from http://aarnet.au.distfiles.macports.org/pub/macports/distfiles/htop
--->  Attempting to fetch htop-7720dbdfb33003dc271d9687f6d926fb544ad6e1.tar.gz from http://atl.us.distfiles.macports.org/htop
Error: Failed to fetch htop: The requested URL returned error: 404
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_macos-powerpc.org_macos-powerpc_PPCPorts_ports_sysutils_htop/htop/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe there
is a bug.
Error: Processing of port htop failed

Could you say which version of PPCPorts you installed? The issue is likely caused by an archaic system curl. Installers which are linked to macos-powerpc.org page assume that bootstrap curl is installed along with the base, which should sort you out.
 
I installed curl-Leopard-8.13.0.mpkg and PPCPorts-Leo-2.11.2_ppc_ppc64.pkg

I have some rather outdated version of curl on my 10.5.8 on the Quad and ppc-only, not universal. Not really sure why, perhaps I tested the installer on 2.3DC machine and forgot to update it on the Quad. Anyway, I will see now whether the current installer is broken and, if yes, replace it.
 
@Matias_ Seems to work fine on my end with the current universal version:

IMG_6634.jpeg


A patch fails to apply for htop, I will fix that now.

Could you check what —version shows for bootstrap curl?
Also, the output of `printenv`.
 
  • Like
Reactions: Matias_
Code:
PMG5:~ matias$ curl --version
curl 7.16.4 (i386-apple-darwin9.0) libcurl/7.16.4 OpenSSL/0.9.7l zlib/1.2.3
Protocols: tftp ftp telnet dict ldap http file https ftps
Features: GSS-Negotiate IPv6 Largefile NTLM SSL libz

PMG5:~ matias$ printenv
MANPATH=/opt/local/share/man:/usr/share/man:/usr/local/share/man:/usr/X11/man
TERM=xterm
SHELL=/bin/bash
SSH_CLIENT=192.168.0.109 50232 22
SSH_TTY=/dev/ttys000
USER=matias
MAIL=/var/mail/matias
PATH=/opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin
PWD=/Users/matias
SHLVL=1
HOME=/Users/matias
LOGNAME=matias
SSH_CONNECTION=192.168.0.109 50232 192.168.0.224 22
_=/usr/bin/printenv
PMG5:~ matias$
 
Code:
PMG5:~ matias$ curl --version
curl 7.16.4 (i386-apple-darwin9.0) libcurl/7.16.4 OpenSSL/0.9.7l zlib/1.2.3

This shows a version of system curl (which is expected, as long as you do not have /opt/local/bin/curl active).
What is needed is `/opt/bootstrap/bin/curl --version`.
 
Ah, sorry. Here it is:

Code:
PMG5:~ matias$ /opt/bootstrap/bin/curl --version
curl 8.13.0 (powerpc-apple-darwin9.8.0) libcurl/8.13.0 OpenSSL/3.5.0 zlib/1.3.1 zstd/1.5.6 libidn2/2.3.8 libpsl/0.21.5 nghttp2/1.65.0
Release-Date: 2025-04-02
Protocols: dict file ftp ftps gopher gophers http https imap imaps ipfs ipns mqtt pop3 pop3s rtsp smb smbs smtp smtps telnet tftp ws wss
Features: alt-svc AsynchDNS HSTS HTTP2 HTTPS-proxy IDN IPv6 Largefile libz NTLM PSL SSL threadsafe TLS-SRP UnixSockets zstd
 
Ah, sorry. Here it is:

Code:
PMG5:~ matias$ /opt/bootstrap/bin/curl --version
curl 8.13.0 (powerpc-apple-darwin9.8.0) libcurl/8.13.0 OpenSSL/3.5.0 zlib/1.3.1 zstd/1.5.6 libidn2/2.3.8 libpsl/0.21.5 nghttp2/1.65.0
Release-Date: 2025-04-02
Protocols: dict file ftp ftps gopher gophers http https imap imaps ipfs ipns mqtt pop3 pop3s rtsp smb smbs smtp smtps telnet tftp ws wss
Features: alt-svc AsynchDNS HSTS HTTP2 HTTPS-proxy IDN IPv6 Largefile libz NTLM PSL SSL threadsafe TLS-SRP UnixSockets zstd

Thank you, looks good. Honestly I do not have immediate versions why it can fail, but let’s check two things more:

1. Are ports sources reasonably recent? (They do not have to be the latest.)
2. Does bootstrap curl work on its own? Try this, for example:
Code:
cd ~
/opt/bootstrap/bin/curl -LO https://github.com/htop-dev/htop/archive/7720dbdfb33003dc271d9687f6d926fb544ad6e1/htop-7720dbdfb33003dc271d9687f6d926fb544ad6e1.tar.gz
Do you get `htop-7720dbdfb33003dc271d9687f6d926fb544ad6e1.tar.gz` in your Home directory? This does work for me on 10.5.8.
 
1. Are ports sources reasonably recent? (They do not have to be the latest.)
2. Does bootstrap curl work on its own? Try this, for example:
1. I think they are, is there any way to double check?
2. Yep that works, I get a 420 KB tarball containing the htop source. Very strange then that it's not working in combination with ports.


Edit: running sudo port -d install htop

Code:
--->  Attempting to fetch htop-7720dbdfb33003dc271d9687f6d926fb544ad6e1.tar.gz from https://github.com/htop-dev/htop/archive/7720dbdfb33003dc271d9687f6d926fb544ad6e1

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:--  0:00:01 --:--:--     0DEBUG: Fetching distfile failed: error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version
So it seems it's still trying to use the system curl?

Edit 2: I tried renaming system curl and symlinking it to the never version but that had no effect
 
Last edited:
So it seems it's still trying to use the system curl?
Edit 2: I tried renaming system curl and symlinking it to the never version but that had no effect

Could you check if you have anything installed in `/usr/local`? Binaries and/or libs.

P. S. You can check if the base is linked to the right (bootstrap) curl by temporarily renaming /opt/bootstrap to something else. For example:
Code:
sudo mv /opt/bootstrap /opt/bootstrap_bak
port -v
This should return an error, if everything is correct. (You can then rename it back, of course.)
 
Last edited:
Renaming has no effect, not getting any errors. It happily dumps me into the MacPorts shell in both cases :(

Hmm, that is probably the reason. Let me verify the installer again and then I will request you to use that specific one (it can be done on top of existing).

P. S. Since there is 2.11.3 now (lol, I know), I can make a new one in fact.
 
Renaming has no effect, not getting any errors. It happily dumps me into the MacPorts shell in both cases :(

Could you try this, please?

Work correctly on my end:
Code:
$ port -v 
MacPorts 2.11.3
Entering shell mode... ("help" for help, "quit" to quit)
[Users/svacchanda] > quit
Goodbye

$ sudo mv /opt/bootstrap /opt/bootstrap_test
Password:
$ port -v 
dlopen(/opt/local/libexec/macports/lib/pextlib1.0/Pextlib.dylib, 6): Library not loaded: /opt/bootstrap/lib/libcurl.4.dylib
  Referenced from: /opt/local/libexec/macports/lib/pextlib1.0/Pextlib.dylib
  Reason: Incompatible library version: Pextlib.dylib requires version 13.0.0 or later, but libcurl.4.dylib provides version 5.0.0
    while executing
"load /opt/local/libexec/macports/lib/pextlib1.0/Pextlib.dylib"
    ("package ifneeded Pextlib 1.0" script)
    invoked from within
"package require Pextlib 1.0"
    (file "/opt/local/libexec/macports/lib/registry2.0/receipt_flat.tcl" line 37)
    invoked from within
"source /opt/local/libexec/macports/lib/registry2.0/receipt_flat.tcl"
    ("package ifneeded receipt_flat 1.0" script)
    invoked from within
"package require receipt_flat 1.0"
    (file "/opt/local/libexec/macports/lib/registry2.0/registry.tcl" line 36)
    invoked from within
"source /opt/local/libexec/macports/lib/registry2.0/registry.tcl"
    ("package ifneeded registry 1.0" script)
    invoked from within
"package require registry 1.0"
    (file "/opt/local/libexec/macports/lib/registry2.0/portuninstall.tcl" line 35)
    invoked from within
"source /opt/local/libexec/macports/lib/registry2.0/portuninstall.tcl"
    ("package ifneeded registry_uninstall 2.0" script)
    invoked from within
"package require registry_uninstall 2.0"
    (file "/opt/local/libexec/macports/lib/macports1.0/reclaim.tcl" line 52)
    invoked from within
"source /opt/local/libexec/macports/lib/macports1.0/reclaim.tcl"
    ("package ifneeded reclaim 1.0" script)
    invoked from within
"package require reclaim 1.0"
    (file "/opt/local/libexec/macports/lib/macports1.0/diagnose.tcl" line 67)
    invoked from within
"source /opt/local/libexec/macports/lib/macports1.0/diagnose.tcl"
    ("package ifneeded diagnose 1.0" script)
    invoked from within
"package require diagnose 1.0"
    (file "/opt/local/libexec/macports/lib/macports1.0/macports.tcl" line 38)
    invoked from within
"source /opt/local/libexec/macports/lib/macports1.0/macports.tcl"
    ("package ifneeded macports 1.0" script)
    invoked from within
"package require macports"
    (file "/opt/local/bin/port" line 46)

$ sudo mv /opt/bootstrap_test /opt/bootstrap
$ port -v
MacPorts 2.11.3
Entering shell mode... ("help" for help, "quit" to quit)
[Users/svacchanda] > quit
Goodbye

$ sudo port clean --all htop
--->  Cleaning htop

$ sudo port -v -n patch htop
--->  Fetching distfiles for htop
--->  htop-7720dbdfb33003dc271d9687f6d926fb544ad6e1.tar.gz does not exist in /opt/local/var/macports/distfiles/htop
--->  Attempting to fetch htop-7720dbdfb33003dc271d9687f6d926fb544ad6e1.tar.gz from https://github.com/htop-dev/htop/archive/7720dbdfb33003dc271d9687f6d926fb544ad6e1
  % 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  419k    0  419k    0     0   300k      0 --:--:--  0:00:01 --:--:-- 1567k
--->  Verifying checksums for htop
--->  Checksumming htop-7720dbdfb33003dc271d9687f6d926fb544ad6e1.tar.gz
--->  Extracting htop
--->  Extracting htop-7720dbdfb33003dc271d9687f6d926fb544ad6e1.tar.gz
Executing:  cd "/opt/local/var/macports/build/htop-2ae99ee4/work" && /usr/bin/gzip -dc '/opt/local/var/macports/distfiles/htop/htop-7720dbdfb33003dc271d9687f6d926fb544ad6e1.tar.gz' | /usr/bin/gnutar --no-same-owner -xf - 
--->  Applying patches to htop
--->  Applying patch-DarwinProcess-leopard.diff
Executing:  cd "/opt/local/var/macports/build/htop-2ae99ee4/work/htop-7720dbdfb33003dc271d9687f6d926fb544ad6e1" && /usr/bin/patch -t -N -p0 < '/opt/local/var/macports/sources/macos-powerpc.org/macos-powerpc/PPCPorts/ports/sysutils/htop/files/patch-DarwinProcess-leopard.diff'
patching file darwin/DarwinProcess.c
 

Attachments

  • PPCPorts-Leo-2.11.2_ppc_ppc64.zip
    5 MB · Views: 5
I tried this installer but the problem has remained the same unfortunately.

For the record I also tried another fresh reinstall of Leopard (happens quite fast with an SSD) and tried with XCode 3.1.2 instead of 3.1.4 but it made no difference.

I'm really at a loss here.
 
I tried this installer but the problem has remained the same unfortunately.

For the record I also tried another fresh reinstall of Leopard (happens quite fast with an SSD) and tried with XCode 3.1.2 instead of 3.1.4 but it made no difference.

I'm really at a loss here.

😐

I will try making a clean install of Leopard and install everything there from scratch. There is no way this is not reproducible, we are just missing something, but I don’t know what.
We may have different config files (installation does not overwrite those if they exist), but I don’t think there is a way to break interaction with curl via those files.
I should have standard Xcode 3.1.4 on both machines.

Sorry, I can imagine it is frustrating, but I need to find a way to reproduce the failure in order to address it.

Just in case, is there any way to access that specific machine remotely?
 
Okay so I wiped the old broken MacPorts installation on my G5 (got tired of the waiting days for the G4 to finish compiling) and installed PPCports. Now I can't install anything:

Code:
Error: Unable to execute port QMPlay2: sqlite error: string or blob too big (18) while executing query: SELECT id FROM registry.files INDEXED BY file_actual_nocase WHERE (actual_path = ? COLLATE NOCASE) AND active

:(

EDIT: not sure what is going on. Wiped /opt/ and reinstalled PPCports, still getting the sqlite error. Wiped everything again and installed regular MacPorts, that works fine. But PPCports refuses to work.

I overlooked this comment. sqlite errors likely result from incompatible versions of ports database. This happens if you downgrade from newer version, or install a newer one without letting it rebuild database (for example, by quitting the installer before it finished).
I don’t think I saw these on any of my systems recently, as long as updates are sequential and uninterrupted.
 
I overlooked this comment. sqlite errors likely result from incompatible versions of ports database. This happens if you downgrade from newer version, or install a newer one without letting it rebuild database (for example, by quitting the installer before it finished).
I don’t think I saw these on any of my systems recently, as long as updates are sequential and uninterrupted.
I think you can safely ignore this, this happened when I tried installing PPCPorts over regular MacPorts which didn't work. What I ended up doing was restoring stock MacPorts and occasionally pulling in portfiles and fixes from PPCPorts manually.

I built a lot of ports this way but it is a pain and is obviously unsustainable, hence I am now trying to setup PPCports on a clean 10.5 install.

Just in case, is there any way to access that specific machine remotely?
Absolutely, I would gladly do so! I've given friends access to my machine in the past for x265 porting (we hit a roadblock there unfortunately as the AltiVec code is glitchy on Big Endian).

If you can provide me with an IP address from which you would like to access the machine, I can open up the port and provide SSH credentials.(through private message or something)
 
I built a lot of ports this way but it is a pain and is obviously unsustainable, hence I am now trying to setup PPCports on a clean 10.5 install.

By the way, before we proceed with remote access etc., could you try building MacPorts or PPCPorts from source yourself, passing --with-curlprefix=/opt/bootstrap (assuming there is curl and everything else installed, and it is confirmed to work on its own, like we did earlier)?
It should not really matter whether you build from upstream master or my fork. Perhaps it is better to build the official one, since if you still get a broken setup, there is something very wrong locally (MacPorts supports using external curl).

Basically, this should do, after you download official source https://github.com/macports/macports-base/releases/download/v2.11.3/MacPorts-2.11.3.tar.gz and extract it (and `cd` to there):
Code:
export PATH=/usr/bin:/bin:/usr/sbin:/sbin
./configure --with-universal-archs="ppc ppc64" --with-curlprefix=/opt/bootstrap
make
sudo make install

(MacPorts by default sets universal archs to `i386 ppc`, and that will not link to my curl. So either use `ppc ppc64` or any one of those.)

P. S. Clean the path when building MacPorts from source, so that nothing is picked from its prefix. I have updated the code above with that.
 
Last edited:
  • Like
Reactions: Matias_
Also, given boost181 takes hours to fail and I think I already cleaned the log, I will try that some other time and get back to you

Well, I may assist with specific errors, but I do not want to run actual builds of anything on Tiger. So the only way here is to generate logs. By the way, if you are debugging something, you can disable autoclean and deleting logs, so that everything stays even after a port is installed (certainly it is a waste to rebuild the whole boost, for example, if the only point is to tweak a single file).
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.