shinohai[asciilifeform]: Morning #pest
shinohai[asciilifeform]: http://logs.bitdash.io/pest/2022-05-09#1005345 << plan to tackle tcl today after cafecito, since the bsd-headers aren't that girthy just gonna add 'em and link for now.
bitbot: Logged on 2022-05-09 02:20:21 signpost[asciilifeform]: imho the correct thing is to capture the dependency as-is, taking care to not introduce *unnecessary* cross-dependency by disabling optional features, and once captured as vpatches, lop off complexity as feasible.
shinohai[asciilifeform]: Adding the bsd headers got me further, now tcl fails with `find: unrecognized: -empty` and ` [Makefile:784: libtcl9.0a4.zip] Error 1`
shinohai[asciilifeform]: (so gotta dig into that now)
shinohai[asciilifeform]: Finally build success using tcl8.6.11 & sqlite 33.8
shinohai[asciilifeform]: Avoid the Shithub repos at all costs.
signpost[asciilifeform]: shinohai: https://wiki.musl-libc.org/faq.html << mentions that queue.h is self-contained.
signpost[asciilifeform]: if so would be best to isolate that as it's own pbuild rather than whole wad of bsd's headers.
signpost[asciilifeform]: but nice!
shinohai[asciilifeform]: lol yeah I cheated and used queue.h by itself, ugly hack but it worx
signpost[asciilifeform]: ah ok, just copied it in?
signpost[asciilifeform]: yeah, I typically do the same thing, just get something to build with own hands first, then carve off into tidy vpatches
signpost[asciilifeform] bbl after pouring a coffee into his head as well
shinohai[asciilifeform]: annnnnd blatta now runs after recompiling python2.7 w/ sqlite
signpost[asciilifeform]: awesome.
signpost[asciilifeform] gets to work on cutting the pentacle_genesis.vpatch, 'bout time
shinohai[asciilifeform] expecting weechat to be a whole 'nother nightmare if using it for client side of blatta ....
signpost[asciilifeform]: so long as the minimal set of software remains small I don't see a problem with pulling in what we actually use.
signpost[asciilifeform]: rather than pretending to ideological purity while you know, installing gnome on ubuntu on the dl.
signpost[asciilifeform]: this way we actually get a handle on what makes our computers useful, and using a tool with which we can crank it smaller.
signpost[asciilifeform]: same problem as trb, just more shitwad.
signpost[asciilifeform]: I expect we'll see a PHP in this thing, mysql, etc.
signpost[asciilifeform]: problem becomes when some dork decides he'll e.g. rewrite pbuild in PHP, for reasons, and everything under the sun ends up hauled in for everybody.
signpost[asciilifeform]: *arises when
signpost[asciilifeform]: "tangled hierarchy"
signpost[asciilifeform]: which is not to say hierarchy isn't already tangled. I don't know what business an ADA compiler has being written in ADA, or c compiler in c.
signpost[asciilifeform]: *Ada
awt[asciilifeform|billymg]: shinohai: nice!
shinohai[asciilifeform]: I like pbuild exactly because simple and won't stop working when python "upgrades" in 6 months.
signpost[asciilifeform]: 10k man-years of "just want to" in all directions, you know? "wouldn't I be clever if gnat were written in... itself!"
signpost[asciilifeform]: fact is it's not fucking written in itself; it's written in the previous version, which is written in the previous version, which is...
signpost[asciilifeform]: the dependency chain of such an artifact is gigantic.
billymg: signpost: i'm building pentacle now. when i first tried i got the error "couldn't work out current architecture". i added '--arch=amd64' right after line 60 in bootstrap-debian.sh and now it seems to be working
signpost[asciilifeform]: interesting. what is uname -m on your host machine?
signpost[asciilifeform]: and what's the host distro?
billymg: `uname -m`: x86_64. glibc gentoo host
signpost[asciilifeform]: might be interesting to grep for that string in debootstrap and see what it uses to infer host arch
billymg: i found this when looking up the error message: https://bugzilla.redhat.com/show_bug.cgi?id=710829
billymg: which just says to explicitly set --arch if 'dpkg' is not installed
signpost[asciilifeform]: ah ok, my gentoo system has dpkg installed, and I wager debootstrap calls dpkg-architecture for this info.
signpost[asciilifeform]: cool, I will alter the bootstrap process to not rely upon this. thanks!
signpost[asciilifeform]: yeah, debootstrap#538
signpost[asciilifeform]: I'll add that --arch flag to bootstrap-debian.sh
billymg: nice, np
billymg: realized i forgot to set JOBS (even though i had planned to) so building will take a while
signpost[asciilifeform]: can always ctrl-c and run ./clean.sh if you want, or just wait
billymg: yeah i'll just wait for this one. there's another box i have in mind that i'll test it on later too
shinohai[asciilifeform]: $ticker btc usd
busybot[asciilifeform]: Current BTC price in USD: $31080.08
signpost[asciilifeform]: looks like musl and several other items "settle" into binary reproducibility after another post-bootstrap rebuild.
signpost[asciilifeform]: makes some sense. it's only at this point that the thing was built with a gcc which was itself linked with musl.
signpost[asciilifeform]: still bit-churn elsewhere, looks to involve order of linking and possibly optimization. fiddling with ld, etc.
signpost[asciilifeform]: perl jams timestamps all over the damned place.
signpost[asciilifeform]: http://paste.deedbot.org/?id=RuWn << not too much churning. gcc is the bulk of it.