💾 Archived View for gemini.ctrl-c.club › ~phoebos › logs › freenode-kisslinux-2020-07-23.txt captured on 2022-07-17 at 03:20:30.

View Raw

More Information

⬅️ Previous capture (2021-12-17)

-=-=-=-=-=-=-

2020-07-23T02:04:19 #kisslinux <Reina_de_Oro> hola
2020-07-23T02:04:21 #kisslinux <Reina_de_Oro> y adiós
2020-07-23T05:31:00 #kisslinux <dylanaraps> o/
2020-07-23T05:33:03 #kisslinux <himmalerin> Hello!
2020-07-23T06:09:14 #kisslinux <xzcvczx> dylanaraps: what do you use for irc?
2020-07-23T06:10:40 #kisslinux <dylanaraps> birch
2020-07-23T06:10:50 #kisslinux <dylanaraps> 1https://github.com/dylanaraps/birch
2020-07-23T06:10:52 #kisslinux <dylanaraps> https://github.com/dylanaraps/birch
2020-07-23T06:10:53 #kisslinux <dylanaraps> Oops
2020-07-23T06:12:50 #kisslinux <xzcvczx> ewwww bash
2020-07-23T06:12:51 #kisslinux <xzcvczx> :P
2020-07-23T06:16:52 #kisslinux <dylanaraps> :(
2020-07-23T06:16:57 #kisslinux <dylanaraps> I'm yet to find a client I like
2020-07-23T06:23:03 #kisslinux <xzcvczx> meh, irssi satisfies me
2020-07-23T09:22:23 #kisslinux <dylanaraps> konimex: Error could not compile gkrust
2020-07-23T09:22:30 #kisslinux <dylanaraps> Firefox does fail to build with latest Rust.
2020-07-23T09:22:47 #kisslinux <dylanaraps> I'll have to keep it in testing until the next Firefox release comes out.
2020-07-23T09:23:02 #kisslinux <dan[m]1> <xzcvczx "meh, irssi satisfies me"> yeah irssi werks
2020-07-23T09:23:13 #kisslinux <dan[m]1> i use riot for freenode tho
2020-07-23T13:47:38 #kisslinux <aliasrepo> ahoy
2020-07-23T13:48:03 #kisslinux <pineapple_> wef
2020-07-23T13:48:05 #kisslinux <aliasrepo> wef
2020-07-23T15:20:03 #kisslinux <j`ey> kiss-orphans is kinda weird that it also includes maually installed packages
2020-07-23T16:03:35 #kisslinux <j`ey> compiling on another system should be pretty easy right, just kiss b and transfer the .tar.gz?
2020-07-23T16:15:14 #kisslinux <dilynm> j`ey: assuming your CFLAGS don't include things like march=native and you have the right dependencies installed, then yeah it's that easy
2020-07-23T16:46:03 #kisslinux <j`ey> Im trying to find out if the 'make' text in depends actually does anything
2020-07-23T16:47:05 #kisslinux <j`ey> I dont know shell that well, but haven't found anything in `kiss` that does anything different
2020-07-23T16:48:27 #kisslinux <j`ey> ok, pkg_install doesn't error abut those deps,  think thats what this does: https://github.com/kisslinux/kiss/blob/master/kiss#L1104
2020-07-23T17:28:54 #kisslinux <xzcvczx> s/win 2
2020-07-23T21:05:36 #kisslinux <dilynm> claudia02: where's that Wayland wiki page!
2020-07-23T21:20:35 #kisslinux <claudia02> illiliti: sway does not switch back to virtual terminal: I have tried to produce this with eudev -> no chance.
2020-07-23T21:24:11 #kisslinux <claudia02> dilynm : here you go https://k1ss.org/wiki/wayland/install-wayland
2020-07-23T21:25:26 #kisslinux <claudia02> Ah you mean I should finish it?
2020-07-23T21:26:36 #kisslinux <claudia02> I tried my best, but since its an important topic for KISS, I think it still needs some polishness.
2020-07-23T21:27:00 #kisslinux <dilynm> It doesn't look like it's linked on the main wiki page ;)
2020-07-23T21:35:18 #kisslinux <claudia02> You are supposed to snoop in /usr/share/doc/kiss/wiki ;)
2020-07-23T21:56:17 #kisslinux <illiliti> claudia02: try to debug it. start sway with --debug and redirect output to file
2020-07-23T21:57:42 #kisslinux <illiliti> btw computer hangs with high cpu usage or just deadlock ?
2020-07-23T21:58:53 #kisslinux <dilynm> I don't want to snoop I want to be spoon-fed
2020-07-23T22:04:22 #kisslinux <claudia02> illiliti: I tried a debug, but this is empty then. It also happened that I had to reinstall sway because the binary didnt want to start after 'reset'
2020-07-23T22:04:37 #kisslinux <claudia02> Its deadlocked. I cant switch to other tty etc.
2020-07-23T22:04:49 #kisslinux <claudia02> Cpu is low
2020-07-23T22:06:42 #kisslinux <claudia02> I had to reinstall sway to make the binary working again. But this does not happen every time when it deadlocks.
2020-07-23T22:07:57 #kisslinux <claudia02> Hm, I can try to ssh into my machine.
2020-07-23T22:09:54 #kisslinux <illiliti> claudia02: probably you forgot to redirect stderr. sway --debug > log 2>&1
2020-07-23T22:11:53 #kisslinux <illiliti> claudia02: if you can, try to strace that process
2020-07-23T22:21:36 #kisslinux <claudia02> My error logging was fine, I have verified this.
2020-07-23T22:22:15 #kisslinux <claudia02> https://termbin.com/g6dx
2020-07-23T22:27:16 #kisslinux <illiliti> Segmentation fault
2020-07-23T22:27:31 #kisslinux <illiliti> i need gdb backtrace output
2020-07-23T22:28:07 #kisslinux <illiliti> compile libudev-zero with '-g' option
2020-07-23T22:30:48 #kisslinux <claudia02> Uh, I need some instruction how to do this properly.
2020-07-23T22:31:03 #kisslinux <claudia02> the gdb backtrace
2020-07-23T22:32:32 #kisslinux <illiliti> ssh into your machine, run 'while ! pidof sway; do :; done && gdb -p $(pidof sway) -ex "continue"' and start sway on machine
2020-07-23T22:33:23 #kisslinux <illiliti> after that trigger bug
2020-07-23T22:33:45 #kisslinux <illiliti> gdb should catch segfault
2020-07-23T22:37:27 #kisslinux <claudia02> Ok I got that.
2020-07-23T22:37:49 #kisslinux <claudia02> But how to build libudev-zero with '-g'?
2020-07-23T22:40:00 #kisslinux <illiliti> export CFLAGS="$CFLAGS -g"; kiss b libudev-zero && kiss i libudev-zero
2020-07-23T22:40:14 #kisslinux <dylanaraps> Package stripping doesn't need to be disabled?
2020-07-23T22:40:26 #kisslinux <illiliti> ah
2020-07-23T22:40:30 #kisslinux <illiliti> you're right
2020-07-23T22:42:08 #kisslinux <illiliti> would be nice if we have KISS_NOSTRIP variable to quickly disable stripping
2020-07-23T22:43:05 #kisslinux <illiliti> instead of forking and using : > nostrip
2020-07-23T22:44:45 #kisslinux <claudia02> So no forking needed?
2020-07-23T22:45:17 #kisslinux <illiliti> claudia02: you need to fork libudev-zero and add ': > nostrip' on top of build file
2020-07-23T22:46:46 #kisslinux <dilynm> Could just edit the build file and git restore it after
2020-07-23T22:47:36 #kisslinux <dylanaraps> https://github.com/kisslinux/kiss/commit/863f79ca385f0b6c52cab78983390360db5ed622
2020-07-23T22:47:45 #kisslinux <dylanaraps> Or you can do this in the next release. :)
2020-07-23T23:05:19 #kisslinux <claudia02> This does not quite work. I think the problem is that I run sway with suid and the process is getting forked, there are two
2020-07-23T23:07:12 #kisslinux <illiliti> ok. start sway, find pid of real sway, then connect gdb to it
2020-07-23T23:08:06 #kisslinux <claudia02> alright.
2020-07-23T23:23:56 #kisslinux <claudia02> Back
2020-07-23T23:25:26 #kisslinux <claudia02> The output it gave me after 'pkill sway' is '0.000007fa8b56e1a12 in ?? () from /lib/ld-musl-x86_64.so.1'
2020-07-23T23:26:32 #kisslinux <claudia02> But I have no idea what to expect or if I am doing something wrong
2020-07-23T23:27:25 #kisslinux <claudia02> And for the other sway process its '0y000007fe83e42cd17'
2020-07-23T23:28:18 #kisslinux <illiliti> run `bt full`
2020-07-23T23:28:23 #kisslinux <illiliti> in gdb
2020-07-23T23:35:18 #kisslinux <dilynm> Hmm. Attempting to launch hikari results in a hang and nothing responds...
2020-07-23T23:35:20 #kisslinux <dilynm> This is fun
2020-07-23T23:42:29 #kisslinux <illiliti> with libudev-zero ?
2020-07-23T23:44:32 #kisslinux <claudia02> illiliti: https://termbin.com/kpt8
2020-07-23T23:46:30 #kisslinux <illiliti> not helpful sadly
2020-07-23T23:48:32 #kisslinux <illiliti> are you sure that /lib/libudev.so contains debug symbols ?
2020-07-23T23:48:40 #kisslinux <claudia02> This was hard work. I had to use a windows10 with stock terminal for this!
2020-07-23T23:49:45 #kisslinux <claudia02> This is my buildfile https://termbin.com/g9i2
2020-07-23T23:51:11 #kisslinux <illiliti> did you add '-g' to CFLAGS ?
2020-07-23T23:52:03 #kisslinux <claudia02> no
2020-07-23T23:52:05 #kisslinux <claudia02> ..
2020-07-23T23:52:43 #kisslinux <E5ten> also probably wanna add -O0 to disable whatever optimization you have in there already
2020-07-23T23:52:54 #kisslinux <E5ten> and -fno-lto if you have -flto
2020-07-23T23:53:25 #kisslinux <dilynm> I'm not so adventurous as to try libudev-zero
2020-07-23T23:53:33 #kisslinux <dilynm> This is my first time trying wayland. Baby steps
2020-07-23T23:53:50 #kisslinux <claudia02> my makeflags are CFLAGS="-O3 -pipe -march=native"
2020-07-23T23:54:14 #kisslinux <E5ten> yeah so add -O0 and -g for the command to build
2020-07-23T23:55:02 #kisslinux <claudia02> I am too tired now. I will try that tomorrow
2020-07-23T23:55:48 #kisslinux <illiliti> ok. you can open an issue on github if you like
2020-07-23T23:56:06 #kisslinux <illiliti> i will work on it
2020-07-23T23:56:40 #kisslinux <claudia02> Yes this would be good I think. Also to have the commands good documented.
2020-07-23T23:57:23 #kisslinux <xzcvczx> good documented FTW