I revived pkgsrc on AIX - Dr. Brian Robert Callahan

@bcallah the reason it think it's AIX 2 is because of the uname output, it's $OSNAME $NODENAME $MINOR $MAJOR, AIX testnode 2 7 000000000000 or similar
@freya Yes, but pkgsrc is supposed to have code to notice and do the right thing.
@bcallah we would test that, but for some reason, if we install AIX 7.2TL5 in qemu, then install DNF and update packages and all that, and reboot, we get 00C9 and it bootloops. have you experienced that?

@freya Wait, you have TL5? I only have TL4. I do not experience that bootloop issue on TL4.

TL5 is potentially more interesting than TL4 as IBM claims TL5 can run the proprietary LLVM-based xlC, which I am hoping means we could build a vanilla LLVM for AIX on TL5 (which I have been unable to do on TL4).

@bcallah sorry, no, TL4. We haven't figured out how to recover from the 00C9, we replaced the fsck64 bianry with a nul shellscript and it still does it.
@bcallah we'd olve to run 7.3, but they removed the virtio drivers and fucked up running it in kvm
@freya I know, it's a huge bummer. I'd like to run 7.3 too but I can't afford those POWER10 machines...
@bcallah why did they remove those drivers? Like, that seems.... really weird
@bcallah we're reinstalling 7.2TL4 to see if it has the same issue
@freya Yeah, I'd be curious because it works without issue here. I'm using QEMU 10 I think? Whatever comes with the latest packages for Ubuntu 25.04.
@bcallah yup same here. on windows, since that's our fastest machine
@bcallah `installp -qaXFY -d . *`, gods that's `pkgadd -d . all`
@bcallah is AIX SVR4-based? we acn never remember
@freya I believe so, yes.
@bcallah it has pkgadd(1)! cooool! ok, so if we build AIX packages they can be in the same format as our Solaris packages
@freya Oh that's very interesting. I didn't even notice that. That may obviate the need for pkgsrc (but admittedly and perhaps biasedly, I do like pkgsrc).
@bcallah we're thinking about porting FractalKit to AIX, though there's somewhat of less of a need of it than, for example, our work on getting a modern SNMP (Solaris+Nginx+MariaDB+Php) stack running on Solaris 10 SPARC

@bcallah welp, ok this is gonna be fun. installp -qaXFY -d . fractal.GNU-Nano.base

Apparently there's no nano in the AIX dnf toolbox thing. we're fixing that

@bcallah yoooooo! It is, and it has pkgadd and friends!
@bcallah alrighty. install is going pretty fast, like, weirdly fast for cross-arch emulation. we're going to reboot from the CD, grab the volume group, null out fsck64, reboot, set up tz, auth, network, install openssl and openssh, grow /opt and /var, install dnf, sync;sync;sync;reboot, and see if it comes back up