💾 Archived View for gemini.ctrl-c.club › ~phoebos › logs › freenode-kisslinux-2020-11-24.txt captured on 2024-03-21 at 16:04:33.

View Raw

More Information

⬅️ Previous capture (2021-12-17)

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

2020-11-24T05:05:33 #kisslinux <dilyn> dbus-launch.c has a pretty cute comment near the beginning
2020-11-24T05:05:47 #kisslinux <dilyn> "It's unclear why dbus-daemon needs to fork, but we explicitly tell it to for some reason"
2020-11-24T06:37:56 #kisslinux <testuser[m]> test
2020-11-24T07:48:51 #kisslinux <testuser[m]> Hi
2020-11-24T14:04:58 #kisslinux <nerditup> Hi
2020-11-24T14:07:54 #kisslinux <soliwilos> Hello.
2020-11-24T14:26:06 #kisslinux <midfavila> Bonjour
2020-11-24T15:50:51 #kisslinux <mcpcpc[m]> Anyone know if it’s possible to fork/double-fork a process in a way such that reaping is unnecessary? I am hoping for a POSIX solution that does not require additional headers (i.e. beyond unistd.h).
2020-11-24T15:57:35 #kisslinux <mcpcpc[m]> my current solution is fork/setsid/_exit(0)/fork. meanwhile, init uses wait(NULL) to cleanup the child process.  i still don’t like this since it’s not “automatic” in reaping the first child process though.
2020-11-24T16:12:53 #kisslinux <Woodi> mcpcpc[m]: maybe double fork and kill intermediate will move work to init :)
2020-11-24T16:22:42 #kisslinux <mcpcpc[m]> Woodi: kill() is a no-go. It’s part of the signal.h library which, generally, i have been avoiding since many of it’s functions are implementation-defined.
2020-11-24T16:23:31 #kisslinux <mcpcpc[m]> trying to stick just to the unistd.h header :3
2020-11-24T16:27:26 #kisslinux <mcpcpc[m]> i went as far are to purchase a textbook to better understand the topic. even so, the general guidance  i have seen is that the the exited child process still needs to be “manually” reaped by init.
2020-11-24T16:28:18 #kisslinux <speiburger> Hi everyone, I am still setting up kiss and learning a ton of stuff. Sound is not working, although that is a problem for another day
2020-11-24T16:29:08 #kisslinux <speiburger> My real problem is that firefox fails to build. It does not give me any apparent error message in the logs...
2020-11-24T16:29:27 #kisslinux <speiburger> How would I go about diagnosing whats wrong with it?
2020-11-24T16:31:37 #kisslinux <speiburger> I also read about a binary version called firefox-bin, however I can't seem to find it anywhere... Is that normal?
2020-11-24T16:32:38 #kisslinux <mcpcpc[m]> speiburger: the binary file is no longer maintained.  can you dump the log in ~/.cache/kiss/logs/<logfile>?
2020-11-24T16:33:03 #kisslinux <speiburger> sure, how would I go about posting it here? pastebin or something?
2020-11-24T16:34:04 #kisslinux <mcpcpc[m]> yup. i like http://ix.io, which has instructions on their site how to do so from CLI
2020-11-24T16:34:21 #kisslinux <speiburger> ok, that sounds good. give me one sec
2020-11-24T16:38:18 #kisslinux <speiburger> I think I got it. Address would be http://ix.io/2Fkf
2020-11-24T16:42:55 #kisslinux <testuser[m]> Doesn't seem like it's complete
2020-11-24T16:43:00 #kisslinux <testuser[m]> Last line says "Creating config.status"
2020-11-24T16:43:36 #kisslinux <speiburger> I know, that was irritating me too... This seems to be the end tho
2020-11-24T16:43:47 #kisslinux <testuser[m]> speiburger
2020-11-24T16:43:54 #kisslinux <speiburger> I will try to compile it again and see if the output changes
2020-11-24T16:44:03 #kisslinux <testuser[m]> Don't you get an error or something?
2020-11-24T16:44:08 #kisslinux <speiburger> nope.
2020-11-24T16:44:16 #kisslinux <speiburger> just a build failed message
2020-11-24T16:48:05 #kisslinux <testuser[m]> Huh
2020-11-24T16:48:23 #kisslinux <testuser[m]> So the last line is Creatingconfig.status the KISS just exits?
2020-11-24T16:48:31 #kisslinux <testuser[m]> then*
2020-11-24T16:49:37 #kisslinux <speiburger> yep. Its trying to build as we speak however, so I can report back if it maybe did something more helpful this time :)
2020-11-24T16:49:45 #kisslinux <midfavila> just did a major stupid
2020-11-24T16:49:52 #kisslinux <midfavila> accidentally wiped out my entire home dir
2020-11-24T16:49:57 #kisslinux <midfavila> >:V
2020-11-24T16:50:01 #kisslinux <speiburger> oh no!
2020-11-24T16:50:31 #kisslinux <mcpcpc[m]> ctrl+z
2020-11-24T16:50:47 #kisslinux <midfavila> >implying I use graphical utilities
2020-11-24T16:50:53 #kisslinux <midfavila> but yeah
2020-11-24T16:50:55 #kisslinux <midfavila> real UNIX hours
2020-11-24T16:51:22 #kisslinux <midfavila> anyways, lesson of the day
2020-11-24T16:51:22 #kisslinux <midfavila> don't blindly run rm -rf on a recursive symlink
2020-11-24T16:51:48 #kisslinux <speiburger> ok, I tried again and it goes the same... :(
2020-11-24T16:52:26 #kisslinux <speiburger> It really is just reporting -> firefox Build failed after the last line of the log
2020-11-24T16:52:37 #kisslinux <speiburger> and then it terminates...
2020-11-24T16:53:12 #kisslinux <speiburger> That's what made me ask for help here as well... I got nothing to go off for fixing
2020-11-24T16:57:28 #kisslinux <speiburger> what makes it even worse is that my machine just  spent 23 hours compiling dependencies...
2020-11-24T16:58:00 #kisslinux <mcpcpc[m]> not a ff user, but might be worth opening issue on GH.
2020-11-24T16:58:18 #kisslinux <testuser[m]> What if you try to build ff manually following the build script?
2020-11-24T16:58:57 #kisslinux <speiburger> I could try that... I do find that script in the firefox directory in the repo, right?
2020-11-24T17:00:08 #kisslinux <testuser[m]> Yes, you can take a look at the sources file, extract everything manually and then follow the build script
2020-11-24T17:00:20 #kisslinux <testuser[m]> Just don't install it manually
2020-11-24T17:02:56 #kisslinux <speiburger> ah, I will try that then. Where does kiss download the sources file?
2020-11-24T17:03:31 #kisslinux <speiburger> sry I mean the sources themselfes of course
2020-11-24T17:04:10 #kisslinux <testuser[m]> $HOME/.cache/kiss/sources/firefox by default
2020-11-24T17:04:43 #kisslinux <speiburger> ah, that makes sense... Let me try this then...
2020-11-24T17:04:49 #kisslinux <testuser[m]> Looks like You're building packages as root so that'll be in /root
2020-11-24T17:05:02 #kisslinux <speiburger> yeah, I know
2020-11-24T17:05:14 #kisslinux <speiburger> just weren't sure where the files are
2020-11-24T17:05:53 #kisslinux <testuser[m]> Why are you building as root btw? I don't think it's recommended
2020-11-24T17:07:02 #kisslinux <speiburger> I didn't read about it not being recommended somewhere... It's just for convenience because else I have to type in the root password every time a dependency is installed
2020-11-24T17:07:20 #kisslinux <speiburger> which is pretty problematic if you are compiling over night
2020-11-24T17:07:21 #kisslinux <speiburger> lol
2020-11-24T17:07:43 #kisslinux <midfavila> you could try using sls
2020-11-24T17:09:17 #kisslinux <speiburger> oh, I never heard of that! what's that and how can I learn more about it?
2020-11-24T17:09:51 #kisslinux <testuser[m]> https://github.com/illiliti/sls
2020-11-24T17:09:55 #kisslinux <midfavila> it's the suckless project's privilege escalation tool, like sudo or su
2020-11-24T17:10:07 #kisslinux <midfavila> you can check their website for more info
2020-11-24T17:10:36 #kisslinux <midfavila> it's packaged in community. it's nice because it uses regular file permissions to "authenticate", instead of constantly asking for a password
2020-11-24T17:10:58 #kisslinux <acheam> how does it compare to doas?
2020-11-24T17:11:12 #kisslinux <midfavila> I've never used doas
2020-11-24T17:11:15 #kisslinux <speiburger> ahhh, ok, that sounds good! I am using suckless tools but I guess I haven't noticed it... Will try it out for sure!
2020-11-24T17:11:34 #kisslinux <midfavila> basically sls does one thing and one thing only
2020-11-24T17:11:47 #kisslinux <midfavila> run the given command as root (or another user, if explicitly specified)
2020-11-24T17:11:53 #kisslinux <midfavila> that's it
2020-11-24T17:12:20 #kisslinux <speiburger> which is really nice in my opinion. Do one thing and do it well
2020-11-24T17:12:23 #kisslinux <testuser[m]> I really like it but it's annoying that you can't pass arguments to commands
2020-11-24T17:12:28 #kisslinux <midfavila> yeah, it is
2020-11-24T17:12:44 #kisslinux <midfavila> but the only time I really need to do that is when editing my KISS repo
2020-11-24T17:12:56 #kisslinux <midfavila> and it's easier to just sls mksh at that point anyway
2020-11-24T17:13:38 #kisslinux <testuser[m]> Isn't it made by illiliti only and not associated with the suckless project ? Or am i missing something
2020-11-24T17:19:16 #kisslinux <speiburger> ok, I got to go for now, I will try to build it manually to see if I can find the problem and will report later!
2020-11-24T17:19:22 #kisslinux <speiburger> Thanks for your help for now!
2020-11-24T17:20:28 #kisslinux <midfavila> oh, my bad
2020-11-24T17:20:32 #kisslinux <midfavila> looks like it isn't suckless
2020-11-24T17:20:35 #kisslinux <midfavila> not sure why I thought it was
2020-11-24T17:20:44 #kisslinux <midfavila> (well, not __by__ suckless, 'least)
2020-11-24T17:20:54 #kisslinux <midfavila> thanks for the correction testuser[m]
2020-11-24T18:10:19 #kisslinux <speiburger> Hi again, I tried following the build script by hand and managed to get to the point where the log ends
2020-11-24T18:10:32 #kisslinux <speiburger> this is at the end of the configure script
2020-11-24T18:11:08 #kisslinux <speiburger> the next command would be make, however it is complaining that a tool called "mach" is not found or something
2020-11-24T18:11:44 #kisslinux <speiburger> it offers to use a python implementation by setting a variable, but if I do this it errors with a Illegal instruction
2020-11-24T18:12:35 #kisslinux <speiburger> these errors could also be produced by something stupid i missed or something, but at least I got something to work with
2020-11-24T18:29:32 #kisslinux <speiburger> ok, this mach seems to be a python module in use with virtualenv
2020-11-24T18:29:53 #kisslinux <speiburger> I installed both mach and virtualenv but I have no success so far
2020-11-24T18:36:14 #kisslinux <speiburger> Well, there is a python script in the firefox directory named mach and it needs to have python2... currently building this then
2020-11-24T18:50:14 #kisslinux <speiburger> So... even with python2 it just gives my an "Illegal Instruction" error... I don't really know what to make of it, guess I'll just quit for the day
2020-11-24T18:52:27 #kisslinux <speiburger> kiss search surf
2020-11-24T18:52:32 #kisslinux <speiburger> whoops
2020-11-24T18:52:50 #kisslinux <speiburger> wrong window :)
2020-11-24T18:53:56 #kisslinux <speiburger> ls /roo
2020-11-24T18:54:23 #kisslinux <speiburger> ok, I really seem to be tired...
2020-11-24T18:54:30 #kisslinux <speiburger> well goodbye for now
2020-11-24T22:17:28 #kisslinux <nerditup> Fun fact: dhcpcd is crucial if you want to get an IP of your new wireless device you are troubleshooting :D
2020-11-24T22:18:41 #kisslinux <nerditup> I reinstalled and was messing with my kernel modules yesterday, today I couldn't for the life of me get it working, turns out `ln -s /var/sv/dhcpcd /run/service` was all I forgot
2020-11-24T22:19:29 #kisslinux <nerditup> Now I'm on a mission to strip my kernel down to the bare essentials for my hardware.
2020-11-24T22:22:36 #kisslinux <micr0> dylanaraps: mind changing the rust package to keep the source files? It is needed by autocompleters / lsp / racer
2020-11-24T23:40:32 #kisslinux <hhheccks> Hello, does anyone else have issues building Falkon?