the entire time it runs this pkgsrc bootstrap we're just expecting to get some impossible-to-debug ELF symbol error telling us something about SPARCv8+ not being supported on this processor, or that our compiler is too old and doesn't support C11 features (cause it doesn't, we're gonna have to boostrap a new gcc for that) or some other error that basically tells us "you are 100% shit out of luck"
@12 I'm not using Solaris, this is on a Steam Deck which runs Linux.
@madewokherd ok so we have /Library/depot/pkgsrc/bootstrap/, is it in there? If so, where? or is it in archivers/libarchive?
@12 Mine was on the host system.
@madewokherd er. That's confusing then
@madewokherd we're running it again to try and get a fuller error so you might be able to see wtf is going on
@madewokherd well that's a warning not an error, so it hasn't hit The Problem yet:
/Library/depot/pkgsrc/bootstrap/work/bmake/var.c: In function 'Var_Export1':
/Library/depot/pkgsrc/bootstrap/work/bmake/var.c:651:6: warning: implicit declar
ation of function 'setenv' [-Wimplicit-function-declaration]
@madewokherd ok, so installing libarchive from CSW is getting it further than it was it's doing, like, stuff? oo, and it's now runing a ./configure for.... something
@madewokherd well that's the most cursed command we've ever seen:
(cd /Library/depot/pkgsrc/bootstrap/work/sed; env INSTALL='/Library/pkg/bin/install-sh -c' CPPFLAGS=' -I../libnbcompat' LDFLAGS=' -L../libnbcompat' LIBS=' -lnbcompat' /usr/bin/bash ./configure -C --prefix=/Library/pkg --infodir=/Library/pkg/info --mandir=/Library/pkg/man --sysconfdir=/Library/pkg/etc --program-transform-name='s,sed,nbsed,' && /Library/depot/pkgsrc/bootstrap/work/bin/bmake -j1
@madewokherd oo! we might have fixed it. Removed the #ifdef in ./archivers/libarchive/files/libarchive/archive_pack_dev.c:40:9
@madewokherd ah. This is on SUN-SPARC-SOLARIS2.9. We feel like adding that would just cause more rrors... We really need an ULTRASparc
@12 I'm pretty sure those macros are only used to embed metadata, so they can be safely defined out.
@madewokherd hhhhh we have no idea where that file is relative to / on our Solaris box, ngl.
@madewokherd GCC 4.6 from OpenCSW as your origin compiler? Or did you manage to find a copy of SUNWspro? If you figure a way to fix that, cause we don't really *need* libarchive, we can get away without it cause we have tar(1) and bzip2(1) and friends, let us know.