💾 Archived View for gemini.ctrl-c.club › ~phoebos › logs › kisslinux-2022-10-21.txt captured on 2024-05-10 at 14:09:11.
⬅️ Previous capture (2023-01-29)
-=-=-=-=-=-=-
[2022-10-21T02:39:57Z] <GalaxyNova> are you guys interested in plan 9? [2022-10-21T04:08:56Z] <virutalmachineus> <phoebos> "c89 is comfy" <- c17 is comfy. [2022-10-21T05:29:17Z] <wael_> Hi [2022-10-21T06:44:53Z] <virutalmachineus> Hi [2022-10-21T07:10:46Z] <testuser[m]> Hi [2022-10-21T07:10:48Z] <testuser[m]> GalaxyNova: no [2022-10-21T07:11:17Z] <testuser[m]> midfavila: how did u even open that site in links [2022-10-21T07:20:40Z] <testuser[m]> can we agree on some general guidelines for C parts of KISS [2022-10-21T07:23:35Z] <testuser[m]> like style and usage of unsafe functions (strcat/cpy -> snprintf) [2022-10-21T07:28:26Z] <wael_> illiliti: I already tried to replicate via snippets from your muon PR [2022-10-21T09:35:48Z] <phoebos> testuser[m]: i'm not trying to set a standard for C in KISS [2022-10-21T09:35:51Z] <phoebos> (yet) [2022-10-21T09:36:29Z] <phoebos> virutalmachineus: what's comfy about C17 [2022-10-21T11:04:02Z] <testuser[m]> Perhaps in C47 we'll have useful generics. [2022-10-21T11:04:23Z] <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. [2022-10-21T11:05:34Z] <wael_> if forth is so good where is fifth [2022-10-21T12:07:11Z] <testuser[m]> phoebos: ok [2022-10-21T12:08:11Z] <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 [2022-10-21T12:20:55Z] <midfavila> >KISS is to be programmed using MISRA C in a Suckless style, exclusively [2022-10-21T12:21:30Z] <midfavila> testuser[m], in that case I didn't [2022-10-21T12:21:44Z] <midfavila> i keep a fork of pale meme around for the handful of sites i use that require JS [2022-10-21T12:24:40Z] <testuser[m]> pathetic [2022-10-21T12:25:07Z] <midfavila> yes, i know, how dare i engage in even slightly contradictory behavior [2022-10-21T13:11:08Z] <sad_plan> o/ [2022-10-21T13:11:22Z] <wael_> \o [2022-10-21T13:32:25Z] <testuser[m]> does anyone have qemu installed [2022-10-21T13:32:58Z] <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` [2022-10-21T13:37:32Z] <testuser[m]> it trips an assertion but i need to know if its cuz of nvidia or not [2022-10-21T13:37:45Z] <testuser[m]> cuz it should work [2022-10-21T14:22:38Z] <illiliti> wael_: you did it wrong then [2022-10-21T14:22:54Z] <illiliti> really, check what meson generates [2022-10-21T14:23:11Z] <wael_> meson adds its own stuff [2022-10-21T14:23:17Z] <wael_> to the generation file [2022-10-21T14:23:34Z] <wael_> i ran the same command meson does and it gave me the same result as muon [2022-10-21T14:23:34Z] <illiliti> i mean what command it generates [2022-10-21T14:24:00Z] <illiliti> then it should work, no? [2022-10-21T14:24:01Z] <wael_> yes its similar to meson [2022-10-21T14:24:18Z] <wael_> apparently not [2022-10-21T14:25:57Z] <illiliti> > + sources: headers + enum_types + marshal, [2022-10-21T14:26:03Z] <illiliti> why did you change it? [2022-10-21T14:26:19Z] <wael_> muon will error [2022-10-21T14:26:38Z] <illiliti> show error [2022-10-21T14:27:04Z] <wael_> give me a moment [2022-10-21T14:29:23Z] <wael_> actually reverting that made compilation fail with undefined references [2022-10-21T14:30:30Z] <illiliti> change index to 0 [2022-10-21T14:31:00Z] <wael_> same thing [2022-10-21T14:31:31Z] <wael_> hold on im editing the wrong line oops [2022-10-21T14:32:10Z] <wael_> yeah seems to work [2022-10-21T14:36:03Z] <wael_> illiliti: i also cant look at glib-mkenum command because its binary of somesort [2022-10-21T14:36:11Z] <wael_> /usr/bin/meson --internal exe --unpickle /home/wael/.local/src/libnotify-u/build/meson- [2022-10-21T14:36:11Z] <wael_> private/meson_exe_glib-mkenums_d2257970281fb1a417d4eab6b4f27e6fed638a9c.dat [2022-10-21T14:38:54Z] <illiliti> strace can help [2022-10-21T14:39:21Z] <illiliti> hm [2022-10-21T14:39:30Z] <illiliti> codeberg is pretty buggy today [2022-10-21T14:40:43Z] <illiliti> got 500 error and then it forcefully log me out [2022-10-21T14:41:10Z] <wael_> illiliti: strace just tells me its going to execute that command [2022-10-21T14:42:11Z] <illiliti> you need to tell it to follow forks [2022-10-21T14:42:21Z] <wael_> how [2022-10-21T14:42:30Z] <illiliti> -f [2022-10-21T14:45:21Z] <testuser[m]> illiliti: ye it's down rn [2022-10-21T14:47:30Z] <wael_> https://termbin.com/hhmk [2022-10-21T14:47:53Z] <wael_> meson generates some shit and then passes it to glib-mkenums [2022-10-21T14:48:54Z] <wael_> https://github.com/mesonbuild/meson/blob/7737398cd3b51e03afc8523ec6f0c8459ea6bf04/mesonbuild/modules/gnome.py#L1821 [2022-10-21T14:49:43Z] <illiliti> oh wait forgot one nuance [2022-10-21T14:51:07Z] <illiliti> strace has limits for strings [2022-10-21T14:51:21Z] <illiliti> you need to increase it [2022-10-21T14:51:28Z] <illiliti> -s 99999 [2022-10-21T14:51:36Z] <wael_> jesus [2022-10-21T14:51:46Z] <illiliti> so that you can have full command in log [2022-10-21T14:52:36Z] <wael_> https://termbin.com/1c2y [2022-10-21T14:54:33Z] <wael_> why does muon run a second target before the first [2022-10-21T14:54:59Z] <wael_> i have notify-marshal_c to be ran after notify-marshal_h but notify-marshal_c runs first [2022-10-21T14:55:55Z] <wael_> notify-marshal_c relies on notify-marshal_h so thats weird [2022-10-21T14:55:59Z] <wael_> who knows maybe thats why it fails [2022-10-21T14:57:10Z] <illiliti> you should make _c depend on _h [2022-10-21T14:57:15Z] <illiliti> https://mesonbuild.com/Reference-manual_functions.html#custom_target [2022-10-21T14:57:21Z] <illiliti> see depends kwarg [2022-10-21T15:06:17Z] <wael_> how [2022-10-21T15:08:56Z] <illiliti> depends: marshal[0], [2022-10-21T15:09:03Z] <illiliti> something like that i guess [2022-10-21T15:09:13Z] <wael_> i was literally unable to figure it out [2022-10-21T15:09:52Z] <illiliti> bruh [2022-10-21T15:12:05Z] <wael_> https://termbin.com/pdgz5 [2022-10-21T15:12:18Z] <wael_> the differences between meson and muon in enum marshal shit [2022-10-21T15:13:30Z] <wael_> unfortunately despite fixing that programs relying on libnotify still fail [2022-10-21T15:22:35Z] <illiliti> i see no difference with genmarshal [2022-10-21T15:22:44Z] <illiliti> the culprit could be mkenums [2022-10-21T15:22:50Z] <wael_> mkenums is the part where yes [2022-10-21T15:22:59Z] <wael_> meson puts its own shit and its hard to just put that in the meson.build [2022-10-21T15:23:22Z] <illiliti> look at strace log [2022-10-21T15:24:04Z] <wael_> for [2022-10-21T15:24:36Z] <illiliti> you can't just copy its shit? [2022-10-21T15:24:50Z] <wael_> i mean i COULD [2022-10-21T15:24:51Z] <wael_> but its pretty big [2022-10-21T15:25:01Z] <wael_> let me have a try [2022-10-21T15:25:15Z] <illiliti> but this is the way [2022-10-21T15:38:21Z] <wael_> how do i make muon ignore @example@ [2022-10-21T15:38:25Z] <wael_> it wont ignore @example@ [2022-10-21T15:38:31Z] <wael_> \@ [2022-10-21T15:39:04Z] <illiliti> try @@ [2022-10-21T15:40:02Z] <wael_> nope [2022-10-21T15:47:16Z] <illiliti> don't remember how [2022-10-21T15:48:04Z] <wael_> its weird that @ wont work ata all [2022-10-21T16:02:12Z] <wael_> meson makes it work tho [2022-10-21T16:02:12Z] <wael_> weird [2022-10-21T16:09:45Z] <illiliti> oh shit libnotify requires dbus [2022-10-21T16:10:08Z] <wael_> yes thats why ive been thinking of just giving up trying to fix its build with muon lmao [2022-10-21T16:10:58Z] <wael_> i got it to build [2022-10-21T16:11:32Z] <wael_> ignoring the thousand warnings from unknown keys because of @this@ [2022-10-21T16:11:56Z] <illiliti> nice [2022-10-21T16:12:11Z] <wael_> well crap the thing that relies on it stiiilll fails to build [2022-10-21T16:12:43Z] <wael_> tf is wrong hmm [2022-10-21T16:14:00Z] <wael_> ?????????????????????????????????? it builds when meson is the one that builds libnotify with the muon patch [2022-10-21T16:14:01Z] <wael_> so its something else [2022-10-21T16:17:09Z] <wael_> oh my god [2022-10-21T16:17:13Z] <wael_> it was not genmarshals or mkenums [2022-10-21T16:17:19Z] <wael_> it was fucking pkgconfig file generated incorrectly [2022-10-21T16:17:47Z] <wael_> https://termbin.com/1gvn [2022-10-21T16:17:54Z] <wael_> Cflags is the conflicting part [2022-10-21T16:21:14Z] <illiliti> i see nothing harmful(?) [2022-10-21T16:21:28Z] <wael_> it is what makes it fail to build [2022-10-21T16:21:30Z] <wael_> idk what to tell you [2022-10-21T16:21:35Z] <illiliti> muon doesn't check versions, it's known limitation [2022-10-21T16:21:44Z] <illiliti> but it shouldn't cause build failure [2022-10-21T16:22:01Z] <illiliti> -DG_LOG_DOMAIN="libnotify" [2022-10-21T16:22:15Z] <illiliti> this should be harmless too [2022-10-21T16:22:25Z] <illiliti> technically [2022-10-21T16:22:35Z] <wael_> https://termbin.com/f4rl [2022-10-21T16:22:46Z] <wael_> this is the log i gave [2022-10-21T16:22:49Z] <wael_> you can see <command-line>: error: 'libnotify' undeclared (first use in this function) [2022-10-21T16:23:06Z] <illiliti> ah no, then no [2022-10-21T16:23:09Z] <illiliti> remove it [2022-10-21T16:23:21Z] <wael_> i have [2022-10-21T16:23:45Z] <wael_> the glib genmarshal and mkenum giant flag mess shit was completely useless so i removed that as well [2022-10-21T16:28:03Z] <wael_> its so weird meson didn't do that tho, it was specified when generated [2022-10-21T16:46:47Z] <sad_plan> is anyone else having the same issue with android-tools? http://0x0.st/oxcl.txt [2022-10-21T16:51:59Z] <wael_> not for me [2022-10-21T16:52:19Z] <wael_> for me the array is iso_frame_desc[0] [2022-10-21T17:05:13Z] <sad_plan> hm.. [2022-10-21T17:38:25Z] <wael_> illiliti: why does muon add -Wpedantic to cflags on its own [2022-10-21T17:40:47Z] <testuser[m]> sad_plan: where did u get your linux headers fron lol [2022-10-21T17:41:14Z] <sad_plan> from kernel.org? :p [2022-10-21T17:41:19Z] <testuser[m]> Downgrade to lts [2022-10-21T17:41:46Z] <testuser[m]> they changed 0 length arr to FAM [2022-10-21T17:41:49Z] <testuser[m]> in some release [2022-10-21T17:41:51Z] <sad_plan> yeah, it was on my todo list [2022-10-21T17:42:02Z] <testuser[m]> so use LTS which doesn't have this breaking change [2022-10-21T17:42:46Z] <sad_plan> on it already [2022-10-21T17:44:06Z] <sad_plan> btw, what makes you guys even change the linux-headers? seeing as its on 5.15.41 I mean [2022-10-21T17:44:15Z] <sad_plan> why not the latest lts? [2022-10-21T17:44:23Z] <sad_plan> no real changes since then? [2022-10-21T17:44:30Z] <testuser[m]> cuz it's useless [2022-10-21T17:44:35Z] <testuser[m]> to update [2022-10-21T17:44:38Z] <testuser[m]> mostly [2022-10-21T17:44:45Z] <sad_plan> no changes to the headers at all? [2022-10-21T17:44:54Z] <illiliti> wael_: muon is more stricter in this regard [2022-10-21T17:45:02Z] <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 [2022-10-21T17:45:09Z] <testuser[m]> sad_plan: no notable changes [2022-10-21T17:45:17Z] <sad_plan> I see [2022-10-21T17:45:54Z] <sad_plan> also, that ddi indeed fix the issue [2022-10-21T17:45:58Z] <illiliti> wael_: if project has set warning_level to 3, muon will set -Wpedantic [2022-10-21T17:46:34Z] <wael_> it has not [2022-10-21T17:47:31Z] <testuser[m]> sad_plan: wno or downgrade [2022-10-21T17:47:43Z] <sad_plan> downgrading [2022-10-21T17:48:20Z] <illiliti> wael_: grep meson.build for pedantic, maybe project set it using project arguments [2022-10-21T17:48:37Z] <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 [2022-10-21T17:49:28Z] <wael_> illiliti: nope [2022-10-21T17:50:31Z] <Guest18> How to make kiss-linux-live-cd.iso? [2022-10-21T17:51:23Z] <wael_> https://github.com/kiss-community/kiss-live [2022-10-21T18:06:13Z] <wael_> illiliti: does it add Wpedantic because of -Wextra in cflags? [2022-10-21T18:06:25Z] <wael_> because nowhere on the project is warning level set [2022-10-21T18:10:07Z] <illiliti> no, it shouldn't be a reason [2022-10-21T18:11:59Z] <wael_> then what is causing it [2022-10-21T18:13:35Z] <wael_> not even stracing muon helps wtf [2022-10-21T18:13:56Z] <testuser[m]> U can't strace something like muon lol [2022-10-21T18:14:07Z] <testuser[m]> In a meaningful way [2022-10-21T18:14:13Z] <wael_> Wpedantic isnt in strace logs [2022-10-21T18:14:16Z] <wael_> well how then lo [2022-10-21T18:14:18Z] <testuser[m]> grep the source [2022-10-21T18:14:46Z] <wael_> the source leads to warning level which is not set [2022-10-21T18:14:54Z] <wael_> so strace maybe could tell me what exactly sets it [2022-10-21T18:14:56Z] <wael_> but it dDOESNT [2022-10-21T18:17:10Z] <testuser[m]> bruh strace isn't gdb [2022-10-21T18:18:53Z] <wael_> it uses Wpedantic when reading /usr/include/harfbuzz somehow [2022-10-21T18:19:20Z] <wael_> yeah no this doesnt help that much [2022-10-21T18:19:21Z] <testuser[m]> that's not how it works [2022-10-21T18:19:32Z] <testuser[m]> sotruss grep setenv maybe [2022-10-21T18:19:43Z] <wael_> let me just excplicitly set warning level [2022-10-21T18:20:02Z] <testuser[m]> anyway u won't be able to make sense of sotruss just like with strace [2022-10-21T18:20:06Z] <testuser[m]> just search code [2022-10-21T18:20:10Z] <testuser[m]> And find all paths [2022-10-21T18:20:12Z] <wael_> i said i did [2022-10-21T18:21:10Z] <wael_> how does setting warning_level still not help [2022-10-21T18:31:20Z] <wael_> this has to be some bug in muon [2022-10-21T18:34:26Z] <illiliti> muon set warning_level to 3 by default [2022-10-21T18:34:41Z] <illiliti> that's why it set -Wpedantic [2022-10-21T18:35:11Z] <illiliti> not a bug but design choice [2022-10-21T18:47:53Z] <wael_> how can it be unset [2022-10-21T18:48:24Z] <illiliti> set it on command line [2022-10-21T18:48:29Z] <illiliti> or in meson.build [2022-10-21T18:48:37Z] <illiliti> to 0 [2022-10-21T19:04:18Z] <testuser[m]> How is wpedantic harming anything [2022-10-21T19:04:24Z] <testuser[m]> Unless werror is sey [2022-10-21T19:20:51Z] <midfavila> jfc guys when are we gonna get e-ink monitors that don't cost both kidneys [2022-10-21T21:33:23Z] <noocsharp> john fitzgerald cennedy? [2022-10-21T21:53:44Z] <phoebos> hei noocsharp [2022-10-21T22:48:21Z] <noocsharp> o/