IRC channel logs

2023-10-08.log

back to list of logs

<stikonas> https://github.com/fosslinux/live-bootstrap/blob/master/sysa/musl-1.1.24/patches/avoid_set_thread_area.patch
<muurkha>stikonas: thanks! I'm surprised you can't compile musl without pthreads
<luke-jr>any hints on compiling a mes that actually works (without guix)?
<stikonas>luke-jr: which arch do you need?
<stikonas>mes works best on x86... There is work in progress on other arches especially riscv64
<stikonas>but basically you just need to set a few env variables
<stikonas> https://github.com/fosslinux/live-bootstrap/blob/master/sysa/mes-0.24.2/mes-0.24.2.kaem
<stikonas>and also make sure you have the correct version of nyacc
<stikonas>(if you want to use mescc)
<stikonas>oh and a few more env variables are mentioned here https://github.com/fosslinux/live-bootstrap/blob/master/sysa/run.kaem#L26
<stikonas>in particular GUILE_LOAD_PATH is essential
<h01ger> https://packages.debian.org/unstable/mes is available on amd64, i386 and armhf
<luke-jr>stikonas: static x86-64 (or I guess -32)
<stikonas>well, that kaem file is basically step by step instruction
<stikonas>starting from M2-Planet
<luke-jr>can't use GCC? :P
<stikonas>you can
<stikonas>then just run configure.sh
<stikonas>you still need stuff like nyacc in GUILE_LOAD_PATH
<luke-jr>hmm
<stikonas>it works on my Gentoo system...
<luke-jr>maybe part of my issue is that I'm trying to build the version desired by Guix 1.4
<luke-jr>eg had to hack in -fcommon
<luke-jr>h01ger: I don't run foreign binaries
<stikonas>which is why building it with hex0 and eventually M2-Planet is best if you don't run foreign binaries
<stikonas>and then you rebuild it with mescc
<h01ger>luke-jr: my point was to tell you that compiling mes works on !guix
<luke-jr>stikonas: that kaem file seems to assume mes is already installed? :/
<stikonas>not really, it does assume some file system layout though
<stikonas>it unpacks mes tarball
<stikonas>then executes built-in kaem script that mes ships
<stikonas>(that uses M2-Planet to compile mes-m2 binary)
<stikonas>and then rebuilds mes