IRC channel logs

2021-04-20.log

back to list of logs

<stikonas>I think c4droid left some time ago
<stikonas>live-bootstrap.pdf is now a bit out of date...
<stikonas>with that untar.c I reordered/changed a few things at the beginning
<OriansJ`>stikonas[m]: hopefully they look at the IRC log but if not, I hope they find the answers that they are looking for.
<OriansJ`>As for the changes in live-bootstrap that I haven't updated; I'll attempt to make it more accurate this weeked or I'll merge a pull request if someone updates it sooner.
<OriansJ`>hmm It appears chmod doesn't belong in unistd.h but sys/stat.h https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/sys_stat.h.html
<OriansJ`>hmm struct stat needs support for short in the struct
<OriansJ`>so https://paste.debian.net/1194353/
<OriansJ`>adding support for shorts as a type is simple but getting shorts written and read correctly would take a bit more work
<OriansJ`>but I don't think the stat family of syscall primitives are needed yet.
<OriansJ`>but it'll add mknod and mkdir, fchmod and umask to M2libc
<OriansJ`>the diff for each architecture however seems simple enough: https://paste.debian.net/1194354/
<OriansJ`>thank god I made a copy of the syscall tables for AArch64, armv7l, x86 and armv7l; (probably need to find ones for PowerPC and PowerPC64le
<OriansJ`>knight will have to be updated later to support such primitives but I'll just add it to my ever growing todo list
<OriansJ`>I'll get AArch64 done tomorrow
<OriansJ`>but first draft of sys/stat.h support in M2libc is now up
<OriansJ`>(proper testing later when I get the chance)
<pabs3>Kotlin bootstrapping continues https://github.com/ebourg/kotlin-bootstrapping
<gforce_de1977>fossy: can you please merge the 2 pending pull requests?
<fossy>ill look at those again shortly
<fossy>I have a reasonably large pr coming up
<fossy>with all the Perl stuff
***ChanServ sets mode: +o rekado_
***rekado_ is now known as rekado
<fossy>stikonas: what do you think of https://github.com/fosslinux/live-bootstrap/pull/105/files#diff-41f5e4a26ef4d37c4849977d750e42efad96633eb851616f15f2e8fab04a1c27R100
<stikonas>I guess it looks fine
<stikonas>it basically just updates to newer version of that script
<stikonas>with some improvements in readability
<stikonas>oh but yes, there are those os.system calls
<stikonas>which are kind of deprecated in favour of subprocess
<fossy>the adding of the log?
<stikonas>no, I meant new lines, etc...
<stikonas>well, log too I guess
<stikonas>so which perl have you got working?
<fossy>5.32.1 is close to done
<fossy>i had to go back to 5.10 and add extensions for one regen script but that wasn't too bad
<stikonas>oh nice
<stikonas>maybe then I can add some stuff that needs newer perl
<stikonas>like latest automake and maybe new texinfo (we have none right now)
<stikonas>we also need to build guile :( ...
<fossy>yeah thats my plan for after perl
<stikonas>gforce_de1977: 'git clone' -> 'git', 'clone' I think...
<bauen1>also i've just noticed that we appear to be mixing tabs and spaces in some scripts already
<stikonas>bauen1: where? might be accidental
<stikonas>should be 4 spaces
<stikonas>I probably should switch my emacs config not to use tabs
<stikonas>(which is default for emacs)
<bauen1>stikonas: it was a script that uses `--srcdir` and was recently edited (added MAKEINFO=true) where i noticed it
<bauen1>that's how i noticed, because my neovim had converted the tab to 4 spaces in my commit
<bauen1>stikonas: maybe there are other such cases mixed in my wip commits on add-gnu-stow
<stikonas>ok, I can fix that a bit later today
<gforce_de1977>sorry, stikonas: fossy: fixed the commit: https://github.com/fosslinux/live-bootstrap/pull/105 - i really have to be more careful
<gforce_de1977>for the space vs. tab issue: is it possible to add a checker for this?
<stikonas>gforce_de1977: possibly, although, we have some upstream files, which might have different coding style
<stikonas>gforce_de1977: there are still two pylint issues https://github.com/fosslinux/live-bootstrap/pull/105/checks
<gforce_de1977>stikonas: sorry, will fix it tomorrow, too tired now, sleeping...
<OriansJ`>gforce_de1977: did adding sync solve the bug?