💾 Archived View for gemini.ctrl-c.club › ~phoebos › logs › freenode-kisslinux-2020-11-13.txt captured on 2022-07-17 at 03:17:17.
⬅️ Previous capture (2021-12-17)
-=-=-=-=-=-=-
2020-11-13T00:11:28 #kisslinux <soliwilos> muevoid: Seems to be working nicely. :) 2020-11-13T00:13:01 #kisslinux <soliwilos> Set a pretty long duration, not noticing any cpu spikes yet either. 2020-11-13T00:14:53 #kisslinux <muevoid> Coolio 2020-11-13T00:15:45 #kisslinux <muevoid> if it's set to 0 it won't have any duration like before 2020-11-13T00:17:03 #kisslinux <soliwilos> Awesome. 2020-11-13T00:26:09 #kisslinux <soliwilos> muevoid: Would it be possible to have alpha settings for the background, border and font individually? 2020-11-13T00:49:30 #kisslinux <muevoid> I believe so 2020-11-13T00:51:26 #kisslinux <muevoid> Yeah it can be ill add it quick 2020-11-13T00:52:02 #kisslinux <soliwilos> Excellent, thanks a lot. 2020-11-13T00:52:13 #kisslinux <muevoid> No problem! 2020-11-13T00:53:17 #kisslinux <muevoid> go ahead and try it just pushed to master 2020-11-13T00:58:21 #kisslinux <soliwilos> It works! :D 2020-11-13T01:01:14 #kisslinux <muevoid> Kk awesome 2020-11-13T01:02:36 #kisslinux <soliwilos> Thank you. :) 2020-11-13T01:03:23 #kisslinux <muevoid> No problem anytime 2020-11-13T05:00:22 #kisslinux <muevoid> Anyone know a tool to make a rootfs of something like arch on kiss? 2020-11-13T05:09:59 #kisslinux <testuser[m]> `pacstrap` ? 2020-11-13T05:14:40 #kisslinux <muevoid> I got it thanks 2020-11-13T06:07:41 #kisslinux <muevoid> Does anyone know how to use waypipe? Im stupid and cant figure it out for the life of me 2020-11-13T07:14:20 #kisslinux <muevoid> I was way over complicating I can just bind /tmp in the chroot and it can connect to the socket 2020-11-13T18:05:40 #kisslinux <midfavila> So, was tinkering with that new KISS setup today... and holy shit, musl is crazy 2020-11-13T18:05:51 #kisslinux <midfavila> mksh is about 65% smaller than on the glibc setup 2020-11-13T18:45:46 #kisslinux <micr0> is openssl packaged anywhere? kiss search isnt finding it for me 2020-11-13T18:46:25 #kisslinux <micr0> motivation: there are rust projects that can bind to openssl or libressl, but the version of libressl we have packaged is newer than what the crate supports. 2020-11-13T18:57:46 #kisslinux <micr0> i just forked and downgraded from 3.2.5 to 3.2.0 :( 2020-11-13T19:48:30 #kisslinux <midfavila> https://mrsh.sh/ 2020-11-13T19:48:44 #kisslinux <midfavila> Alternative POSIX shell you guys might find interesting to tinker with 2020-11-13T19:58:40 #kisslinux <onodera> test 2020-11-13T19:58:58 #kisslinux <midfavila> you're good onodera 2020-11-13T20:24:32 #kisslinux <kqz> yeah i have high hopes for mrsh, though definitely not ready for interactive use (or even sure if interactive is a proper use case for it) 2020-11-13T20:25:15 #kisslinux <kqz> another project started building upon it by drew for interactive use, but looks abandoned-ish https://git.sr.ht/~sircmpwn/imrsh 2020-11-13T20:30:20 #kisslinux <kqz> oh he links imrsh on the mrsh site lol, so yeah guessing it's not meant for interactive use by itself 2020-11-13T20:31:55 #kisslinux <midfavila> yeah it's not 2020-11-13T20:32:20 #kisslinux <midfavila> mrsh is primarily a library used to build on top of a strictly POSIX shell 2020-11-13T20:32:30 #kisslinux <midfavila> honestly yash is better for interactive use if you want a POSIX shell 2020-11-13T20:32:50 #kisslinux <midfavila> (or it would be if it didn't seem to have problems with the latest KISS stuff...) 2020-11-13T21:41:24 #kisslinux <aarng> why is mrsh not suitable for intercative use? 2020-11-13T21:41:46 #kisslinux <aarng> at least all the goals on the imrsh page are anti-features to me 2020-11-13T21:44:21 #kisslinux <kqz> well, if you don't miss niceties like tab completion, ctrl+c line clearing, etc, power to ya ;p 2020-11-13T21:44:38 #kisslinux <midfavila> just use dash as your interactive shell 2020-11-13T21:44:41 #kisslinux * midfavila shudders 2020-11-13T21:44:46 #kisslinux <aarng> yeah, that's what I was expecting 2020-11-13T21:45:08 #kisslinux <midfavila> honestly dash would be usable if it had line editing 2020-11-13T21:45:20 #kisslinux <aarng> I actually tried dash with libedit but yeah, no tab completion iirc 2020-11-13T21:45:29 #kisslinux <midfavila> but without that and at least like... __basic__ tabbing, it'd be totally doable 2020-11-13T21:45:37 #kisslinux <midfavila> actually I'd really like for a basic interactive dash shell 2020-11-13T21:45:41 #kisslinux <midfavila> since it's so quick 2020-11-13T21:45:47 #kisslinux <aarng> same 2020-11-13T21:46:09 #kisslinux <kqz> yeah i tried dash for interactive, lasted about 3 days before i got fed up and switched to yash 2020-11-13T21:46:13 #kisslinux <midfavila> totally unrelated but do any of you guys run statically-linked KISS setyps, btw? 2020-11-13T21:46:20 #kisslinux <aarng> I use oksh but hardly need any of it's improvements 2020-11-13T21:46:23 #kisslinux <midfavila> s/setyps/setups/ 2020-11-13T21:46:40 #kisslinux <aarng> I don't 2020-11-13T21:48:21 #kisslinux <kqz> not at the moment, though I've been thinking about statically linking things that tend to break after things like libressl / mesa / llvm do so bumps like sway / foot / mpv 2020-11-13T21:48:38 #kisslinux <kqz> other than that though not it'd be worth over keep everything dynamic 2020-11-13T21:48:56 #kisslinux <kqz> s/not/ not sure/ 2020-11-13T21:49:15 #kisslinux <midfavila> I'm having issues getting gcc and ncurses and such to play nicely with static linking. Keep getting the error "relocation R_X86_64_32 against `.ctors' can not be used when making a shared object; recompile with -fPIC" 2020-11-13T21:49:24 #kisslinux <midfavila> and yeah, it's moreso something I'm curious about 2020-11-13T21:49:39 #kisslinux <midfavila> I did some reading about stali and wanted to see if there would be any performance improvements 2020-11-13T21:49:45 #kisslinux <kqz> maybe obvious question but have you tried adding -fPIC to clfags? 2020-11-13T21:49:49 #kisslinux <midfavila> anyways, for the record, I do include -fPIC in my cflags 2020-11-13T21:49:53 #kisslinux <kqz> haha gotcha 2020-11-13T21:50:05 #kisslinux <midfavila> I'm no Ubuntu user, I can parse errors ;P 2020-11-13T21:50:18 #kisslinux <midfavila> -O2 -static -march=haswell -pipe -fPIC -mmmx -msse -msse2 -msse3 2020-11-13T21:50:24 #kisslinux <midfavila> my cflags are pretty boring 2020-11-13T21:50:33 #kisslinux <kqz> i've gotten that before, but iirc I believe that fixed it 2020-11-13T21:50:40 #kisslinux <kqz> but i also use clang and llvm toolset 2020-11-13T21:51:02 #kisslinux <midfavila> what would you say clang's performance is like compared to gcc? 2020-11-13T21:51:08 #kisslinux <midfavila> I've heard it's superior in terms of compile times 2020-11-13T21:51:44 #kisslinux <kqz> haven't run any benchmarks compared to gcc so can't really give a comparison, but clang is pretty snappy in my experience 2020-11-13T21:51:48 #kisslinux <mcf> midfavila: what's the command that gave that error? 2020-11-13T21:52:08 #kisslinux <midfavila> I'm just running kiss b $PACKAGE 2020-11-13T21:52:29 #kisslinux <midfavila> where package is gcc, ncurses, w/e 2020-11-13T21:52:33 #kisslinux <mcf> no, i mean the command that build system ran (i.e. gcc ...) 2020-11-13T21:52:57 #kisslinux <sh4rm4^bnc> according to https://github.com/nordlow/compiler-benchmark clang is 2x slower than gcc 2020-11-13T21:53:09 #kisslinux <midfavila> Uhh... not sure. Let me check the logs 2020-11-13T21:54:03 #kisslinux <midfavila> looks like it's trying to link crtend.o 2020-11-13T21:54:14 #kisslinux <sh4rm4^bnc> oh wait, it's faster for compile, slower for syntax check 2020-11-13T21:54:15 #kisslinux <kqz> hm, i'd give that a try but i don't even have gcc installed on my system ;d 2020-11-13T21:54:17 #kisslinux <kqz> (using wyverkiss) 2020-11-13T21:54:20 #kisslinux <midfavila> and crtbeginT.o 2020-11-13T21:54:26 #kisslinux <midfavila> both have similar errors 2020-11-13T21:54:48 #kisslinux <mcf> midfavila: can you paste the command and the error? 2020-11-13T21:55:09 #kisslinux <midfavila> I suppose so 2020-11-13T21:55:24 #kisslinux <midfavila> let me put it on ix.io so I don't flood the room 2020-11-13T21:57:38 #kisslinux <midfavila> wow, shell doesn't like that... hrm. 2020-11-13T21:58:31 #kisslinux <midfavila> well, I suppose I'll just dump it here. It's not terribly huge anyways 2020-11-13T22:00:29 #kisslinux <midfavila1> okay so that's not happening 2020-11-13T22:00:31 #kisslinux <mcf> you can paste with `command | curl -F 'f:1=<-' ix.io` 2020-11-13T22:00:52 #kisslinux <midfavila1> pasting the error crashes pidgin and pasting to ix.io results in the shell interpreting some of the stuff in the error as substitutions 2020-11-13T22:01:10 #kisslinux <midfavila1> gonna go put some tea on, blech. 2020-11-13T22:04:20 #kisslinux <mcf> your shell shouldn't be interpreting your paste. are you using a heredoc or something? 2020-11-13T22:04:30 #kisslinux <midfavila1> no, this is just plaintext 2020-11-13T22:04:55 #kisslinux <mcf> anyway, -static does not go in CFLAGS, it goes in LDFLAGS. also, you should not add -fPIC to CFLAGS. that's the job of the build system and it will do it automatically when generating shared objects. but -fPIC is not needed when static linking 2020-11-13T22:05:34 #kisslinux <midfavila1> yeah, I was just doing some reading on LDFLAGS 'cuz I'd remembered about the term on Gentoo's wiki and figured it'd be relevant 2020-11-13T22:05:55 #kisslinux <midfavila1> I'm trying that right now 2020-11-13T22:06:16 #kisslinux <mcf> how are you trying to use ix.io? 2020-11-13T22:06:45 #kisslinux <midfavila1> copied the error, removed newlines from it, double-quoted, and then followed the example command on their website 2020-11-13T22:07:04 #kisslinux <midfavila1> there are errors because the log has a ton of backquotes and shit 2020-11-13T22:07:07 #kisslinux <midfavila1> which it annoying 2020-11-13T22:07:23 #kisslinux <mcf> well, that's how double quotes work 2020-11-13T22:07:48 #kisslinux <mcf> just run `curl -F 'f:1=<-' ix.io` then paste the message, then ctrl-d 2020-11-13T22:09:15 #kisslinux <midfavila1> http://ix.io/2E3d 2020-11-13T22:12:35 #kisslinux <mcf> that is missing the gcc command that produced the error. but from the make output it is trying to build libgcc_s.so, which used with dynamic linking. if you want to build gcc with only static linking support, use --disabled-shared 2020-11-13T22:13:21 #kisslinux <midfavila1> Ah, sorry. I'm not terribly used to picking through these kinds of errors. I'll give that a shot, thanks 2020-11-13T22:14:11 #kisslinux <mcf> the musl-cross-make approach for building static gcc is to set CC='gcc -static --static' CXX='g++ -static --static'. that works around a libtool quirk where it intercepts your -static, hiding it from the real compiler 2020-11-13T22:15:07 #kisslinux <midfavila1> good to know. I'll have to write that down somewhere 2020-11-13T22:15:24 #kisslinux <mcf> you probably don't want to build gcc with only static support. you can build a static gcc that can build both static and dynamically linked binaries 2020-11-13T22:15:55 #kisslinux <midfavila1> well, if that's the case then that would be preferable. 2020-11-13T22:30:00 #kisslinux <midfavila1> so for the record, using those values for CC and CXX, as well as adjusting the LDFLAGS and CFLAGS variables, still results in the same error. 2020-11-13T22:30:05 #kisslinux <midfavila1> hrm. 2020-11-13T22:30:58 #kisslinux <mcf> can you paste the whole build log? 2020-11-13T22:32:05 #kisslinux <mcf> just run the build with 2>&1 | tee build.log, then `curl -F 'f:1=<build.log' ix.io` 2020-11-13T22:32:16 #kisslinux <midfavila1> Alright, one mo' 2020-11-13T23:13:21 #kisslinux <midfavila1> sorry for taking so long 2020-11-13T23:13:24 #kisslinux <midfavila1> but I do have good news 2020-11-13T23:13:32 #kisslinux <midfavila1> for whatever reason gcc decided to get over itself and compile properly 2020-11-13T23:19:25 #kisslinux <sh4rm4^bnc> it's not gcc's fault if it gets invalid input due to PEBKAC 2020-11-13T23:21:25 #kisslinux <midfavila1> if the problem was PEBKAC I wouldn't be here working through stuff. everyone makes mistakes sometimes, so shove off