ChanServ changed the topic of #kisslinux to: Unnofficial KISS Linux community channel | https://kisscommunity.bvnf.space | post logs or else | song of the day https://vid.puffyan.us/H7PvgY65OxA
rohan has joined #kisslinux
phinxy has quit [Quit: WeeChat 3.5-dev]
phinxy has joined #kisslinux
midfavila has quit [Quit: Leaving.]
midfavila has joined #kisslinux
midfavila has quit [Client Quit]
phinxy has quit [*.net *.split]
rohan has quit [*.net *.split]
phinxy has joined #kisslinux
rohan has joined #kisslinux
midfavila has joined #kisslinux
<GalaxyNova> are you guys interested in plan 9?
rohan has quit [Ping timeout: 246 seconds]
rohan has joined #kisslinux
rohan has quit [Ping timeout: 272 seconds]
rohan has joined #kisslinux
<virutalmachineus> <phoebos> "c89 is comfy" <- c17 is comfy.
GalaxyNova has quit [Remote host closed the connection]
GalaxyNova has joined #kisslinux
GalaxyNova has quit [Changing host]
GalaxyNova has joined #kisslinux
chomwitt has joined #kisslinux
<wael_> Hi
ella-0_ has joined #kisslinux
ella-0 has quit [Read error: Connection reset by peer]
<virutalmachineus> Hi
<testuser[m]> Hi
<testuser[m]> GalaxyNova: no
<testuser[m]> midfavila: how did u even open that site in links
<testuser[m]> can we agree on some general guidelines for C parts of KISS
<testuser[m]> like style and usage of unsafe functions (strcat/cpy -> snprintf)
<wael_> illiliti: I already tried to replicate via snippets from your muon PR
GalaxyNova has quit [Ping timeout: 272 seconds]
psydroid has quit [Quit: Bridge terminating on SIGTERM]
iceman[m] has quit [Quit: Bridge terminating on SIGTERM]
macslash1[m] has quit [Quit: Bridge terminating on SIGTERM]
saturn[m] has quit [Quit: Bridge terminating on SIGTERM]
dotkwa[m] has quit [Quit: Bridge terminating on SIGTERM]
wael_ has quit [Quit: Bridge terminating on SIGTERM]
konimex has quit [Quit: Bridge terminating on SIGTERM]
ahmadraniri1994[ has quit [Quit: Bridge terminating on SIGTERM]
testuser[m] has quit [Quit: Bridge terminating on SIGTERM]
virutalmachineus has quit [Quit: Bridge terminating on SIGTERM]
konimex has joined #kisslinux
virutalmachineus has joined #kisslinux
testuser[m] has joined #kisslinux
iceman[m] has joined #kisslinux
wael_ has joined #kisslinux
psydroid has joined #kisslinux
dotkwa[m] has joined #kisslinux
saturn[m] has joined #kisslinux
ahmadraniri1994[ has joined #kisslinux
macslash1[m] has joined #kisslinux
<phoebos> testuser[m]: i'm not trying to set a standard for C in KISS
<phoebos> (yet)
<phoebos> virutalmachineus: what's comfy about C17
<testuser[m]> Perhaps in C47 we'll have useful generics.
<testuser[m]> But I think that by 2099, I think that Forth will have obviated all other programming languages and banished them as footenotes to the annals of history.
<wael_> if forth is so good where is fifth
lanodan has quit [Ping timeout: 264 seconds]
lanodan has joined #kisslinux
<testuser[m]> phoebos: ok
<testuser[m]> is atomic file replacement enough to not mess up kiss on updates? like if u modify a shell script in-place it randomly shows an error like "xyz: not found" cuz it tried to execute garbage
<midfavila> >KISS is to be programmed using MISRA C in a Suckless style, exclusively
<midfavila> testuser[m], in that case I didn't
<midfavila> i keep a fork of pale meme around for the handful of sites i use that require JS
<testuser[m]> pathetic
<midfavila> yes, i know, how dare i engage in even slightly contradictory behavior
sad_plan has joined #kisslinux
<sad_plan> o/
<wael_> \o
<testuser[m]> does anyone have qemu installed
<testuser[m]> can you try running `qemu-system-x86_64 -vga virtio -device virtio-vga-gl -display sdl,gl=on` after rebuilding mesa with `-Dgallium-drivers=virgl`
<testuser[m]> it trips an assertion but i need to know if its cuz of nvidia or not
<testuser[m]> cuz it should work
<illiliti> wael_: you did it wrong then
<illiliti> really, check what meson generates
<wael_> meson adds its own stuff
<wael_> to the generation file
<wael_> i ran the same command meson does and it gave me the same result as muon
<illiliti> i mean what command it generates
<illiliti> then it should work, no?
<wael_> yes its similar to meson
<wael_> apparently not
<illiliti> > + sources: headers + enum_types + marshal,
<illiliti> why did you change it?
<wael_> muon will error
<illiliti> show error
<wael_> give me a moment
<wael_> actually reverting that made compilation fail with undefined references
<illiliti> change index to 0
<wael_> same thing
<wael_> hold on im editing the wrong line oops
<wael_> yeah seems to work
<wael_> illiliti: i also cant look at glib-mkenum command because its binary of somesort
<wael_> /usr/bin/meson --internal exe --unpickle /home/wael/.local/src/libnotify-u/build/meson-
<wael_> private/meson_exe_glib-mkenums_d2257970281fb1a417d4eab6b4f27e6fed638a9c.dat
<illiliti> strace can help
<illiliti> hm
<illiliti> codeberg is pretty buggy today
<illiliti> got 500 error and then it forcefully log me out
<wael_> illiliti: strace just tells me its going to execute that command
<illiliti> you need to tell it to follow forks
<wael_> how
<illiliti> -f
<testuser[m]> illiliti: ye it's down rn
<wael_> meson generates some shit and then passes it to glib-mkenums
<illiliti> oh wait forgot one nuance
<illiliti> strace has limits for strings
<illiliti> you need to increase it
<illiliti> -s 99999
<wael_> jesus
<illiliti> so that you can have full command in log
<wael_> why does muon run a second target before the first
<wael_> i have notify-marshal_c to be ran after notify-marshal_h but notify-marshal_c runs first
<wael_> notify-marshal_c relies on notify-marshal_h so thats weird
<wael_> who knows maybe thats why it fails
<illiliti> you should make _c depend on _h
<illiliti> see depends kwarg
<wael_> how
<illiliti> depends: marshal[0],
<illiliti> something like that i guess
<wael_> i was literally unable to figure it out
<illiliti> bruh
<wael_> the differences between meson and muon in enum marshal shit
<wael_> unfortunately despite fixing that programs relying on libnotify still fail
<illiliti> i see no difference with genmarshal
<illiliti> the culprit could be mkenums
<wael_> mkenums is the part where yes
<wael_> meson puts its own shit and its hard to just put that in the meson.build
<illiliti> look at strace log
<wael_> for
<illiliti> you can't just copy its shit?
<wael_> i mean i COULD
<wael_> but its pretty big
<wael_> let me have a try
<illiliti> but this is the way
<wael_> how do i make muon ignore @example@
<wael_> it wont ignore @example@
<wael_> \@
<illiliti> try @@
<wael_> nope
<illiliti> don't remember how
<wael_> its weird that @ wont work ata all
<wael_> meson makes it work tho
<wael_> weird
<illiliti> oh shit libnotify requires dbus
<wael_> yes thats why ive been thinking of just giving up trying to fix its build with muon lmao
<wael_> i got it to build
<wael_> ignoring the thousand warnings from unknown keys because of @this@
<illiliti> nice
<wael_> well crap the thing that relies on it stiiilll fails to build
<wael_> tf is wrong hmm
<wael_> ?????????????????????????????????? it builds when meson is the one that builds libnotify with the muon patch
<wael_> so its something else
<wael_> oh my god
<wael_> it was not genmarshals or mkenums
<wael_> it was fucking pkgconfig file generated incorrectly
<wael_> Cflags is the conflicting part
<illiliti> i see nothing harmful(?)
<wael_> it is what makes it fail to build
<wael_> idk what to tell you
<illiliti> muon doesn't check versions, it's known limitation
<illiliti> but it shouldn't cause build failure
<illiliti> -DG_LOG_DOMAIN="libnotify"
<illiliti> this should be harmless too
<illiliti> technically
<wael_> this is the log i gave
<wael_> you can see <command-line>: error: 'libnotify' undeclared (first use in this function)
<illiliti> ah no, then no
<illiliti> remove it
<wael_> i have
<wael_> the glib genmarshal and mkenum giant flag mess shit was completely useless so i removed that as well
<wael_> its so weird meson didn't do that tho, it was specified when generated
rohan has quit [Ping timeout: 272 seconds]
<sad_plan> is anyone else having the same issue with android-tools? http://0x0.st/oxcl.txt
<wael_> not for me
<wael_> for me the array is iso_frame_desc[0]
rohan has joined #kisslinux
<sad_plan> hm..
Guest18 has joined #kisslinux
<wael_> illiliti: why does muon add -Wpedantic to cflags on its own
<testuser[m]> sad_plan: where did u get your linux headers fron lol
<sad_plan> from kernel.org? :p
<testuser[m]> Downgrade to lts
<testuser[m]> they changed 0 length arr to FAM
<testuser[m]> in some release
<sad_plan> yeah, it was on my todo list
<testuser[m]> so use LTS which doesn't have this breaking change
rohan has quit [Ping timeout: 272 seconds]
<sad_plan> on it already
<sad_plan> btw, what makes you guys even change the linux-headers? seeing as its on 5.15.41 I mean
<sad_plan> why not the latest lts?
<sad_plan> no real changes since then?
<testuser[m]> cuz it's useless
<testuser[m]> to update
<testuser[m]> mostly
<sad_plan> no changes to the headers at all?
<illiliti> wael_: muon is more stricter in this regard
<testuser[m]> BTW it's apparently only supposed to be a warning not an error so u should be good to do Wno-error and build
<testuser[m]> sad_plan: no notable changes
<sad_plan> I see
<sad_plan> also, that ddi indeed fix the issue
<illiliti> wael_: if project has set warning_level to 3, muon will set -Wpedantic
rohan has joined #kisslinux
<wael_> it has not
<testuser[m]> sad_plan: wno or downgrade
<sad_plan> downgrading
<illiliti> wael_: grep meson.build for pedantic, maybe project set it using project arguments
<sad_plan> I was going to do that anyway. and I actually did, but im not on that branch on my repo atm. had to redo alot of stuff, as everything just sortof broke. lol
<wael_> illiliti: nope
<Guest18> How to make kiss-linux-live-cd.iso?
rohan has quit [Ping timeout: 272 seconds]
<wael_> illiliti: does it add Wpedantic because of -Wextra in cflags?
<wael_> because nowhere on the project is warning level set
rohan has joined #kisslinux
<illiliti> no, it shouldn't be a reason
Guest18 has left #kisslinux [#kisslinux]
<wael_> then what is causing it
<wael_> not even stracing muon helps wtf
<testuser[m]> U can't strace something like muon lol
<testuser[m]> In a meaningful way
<wael_> Wpedantic isnt in strace logs
<wael_> well how then lo
<testuser[m]> grep the source
<wael_> the source leads to warning level which is not set
<wael_> so strace maybe could tell me what exactly sets it
<wael_> but it dDOESNT
<testuser[m]> bruh strace isn't gdb
<wael_> it uses Wpedantic when reading /usr/include/harfbuzz somehow
<wael_> yeah no this doesnt help that much
<testuser[m]> that's not how it works
<testuser[m]> sotruss grep setenv maybe
<wael_> let me just excplicitly set warning level
<testuser[m]> anyway u won't be able to make sense of sotruss just like with strace
<testuser[m]> just search code
<testuser[m]> And find all paths
<wael_> i said i did
<wael_> how does setting warning_level still not help
rohan has quit [Ping timeout: 260 seconds]
<wael_> this has to be some bug in muon
<illiliti> muon set warning_level to 3 by default
<illiliti> that's why it set -Wpedantic
<illiliti> not a bug but design choice
GalaxyNova has joined #kisslinux
GalaxyNova has joined #kisslinux
GalaxyNova has quit [Changing host]
rohan has joined #kisslinux
<wael_> how can it be unset
<illiliti> set it on command line
<illiliti> or in meson.build
<illiliti> to 0
rohan has quit [Ping timeout: 272 seconds]
<testuser[m]> How is wpedantic harming anything
<testuser[m]> Unless werror is sey
seer has quit [Quit: quit]
seer has joined #kisslinux
<midfavila> jfc guys when are we gonna get e-ink monitors that don't cost both kidneys
rohan has joined #kisslinux
sad_plan has quit [Quit: nyaa~]
rohan has quit [Ping timeout: 260 seconds]
rohan has joined #kisslinux
rohan has quit [Ping timeout: 272 seconds]
Torr has joined #kisslinux
rohan has joined #kisslinux
phinxy has quit [Ping timeout: 272 seconds]
phinxy has joined #kisslinux
<noocsharp> john fitzgerald cennedy?
<phoebos> hei noocsharp
phinxy has quit [Ping timeout: 260 seconds]
rohan has quit [Ping timeout: 260 seconds]
phinxy has joined #kisslinux
rohan has joined #kisslinux
phinxy has quit [Ping timeout: 260 seconds]
phinxy has joined #kisslinux
chomwitt has quit [Remote host closed the connection]
<noocsharp> o/
rohan has quit [Ping timeout: 272 seconds]