2020-08-01T00:02:03 #kisslinux libinput list-devices 0.932 total 2020-08-01T00:02:06 #kisslinux xd 2020-08-01T00:02:11 #kisslinux soon :) 2020-08-01T00:10:55 #kisslinux illiliti: Nice! 2020-08-01T00:11:08 #kisslinux What did you do? 2020-08-01T00:11:59 #kisslinux got rid of ioctl 2020-08-01T00:12:58 #kisslinux and used sysfs attributes instead 2020-08-01T00:14:16 #kisslinux this added several complexity to code, but i think it worth it 2020-08-01T00:16:27 #kisslinux now performance 1/1 compared to eudev 2020-08-01T00:17:59 #kisslinux Nice 2020-08-01T00:27:43 #kisslinux dylanaraps: for sure, keep in mind though I don't actually know C very well so you can't totally trust my yellings lol 2020-08-01T00:28:26 #kisslinux pushed 2020-08-01T00:28:33 #kisslinux feel free to test 2020-08-01T00:29:05 #kisslinux illiliti: wow, I didn't realize the ioctl would be slower than reading the attributes from sysfs, awesome that there's a big speed boost from that 2020-08-01T00:31:09 #kisslinux yeah, open() opens the whole device which is really slow. close() tries to SYNC that device even if it open with O_RDONLY. that's caused performance issues 2020-08-01T00:32:00 #kisslinux ah, I see 2020-08-01T00:35:02 #kisslinux how does speed compare if you used FILE io instead of file descriptor for standard reading and writing like in udev_device_[gs]et_sysattr_value? 2020-08-01T00:35:31 #kisslinux I'd guess slower with buffered io but idk might be worth checking 2020-08-01T00:37:10 #kisslinux will try 2020-08-01T00:39:26 #kisslinux > real 0m 0.60s 2020-08-01T00:39:31 #kisslinux Nice!!! 2020-08-01T00:41:21 #kisslinux illiliti: http://ix.io/2sPi a diff that I think is equivalent but uses buffered io instead of file descriptors 2020-08-01T00:41:33 #kisslinux I mean it might not be quite right I'm a bit drunk lol, but I think it's equivalent 2020-08-01T00:43:40 #kisslinux hmm 2020-08-01T00:43:43 #kisslinux no difference 2020-08-01T00:44:34 #kisslinux well then imo I'd find that preferable cuz that buffered io is just normal C and fd's are POSIX, but it obviously doesn't matter cuz this is linux-specific anyway lol 2020-08-01T01:04:17 #kisslinux i want to rewrite all read() stuff using new(when merged into mainline) readfile() syscall 2020-08-01T01:11:05 #kisslinux wouldn't it be better to wait a few releases before doing that so it still works without requiring the absolute newest kernel? 2020-08-01T01:12:50 #kisslinux yeah, i'll wait. that's just my plans for future 2020-08-01T01:13:11 #kisslinux I see, makes sense 2020-08-01T01:13:25 #kisslinux that'll probably make speed a lot better for those ops 2020-08-01T01:24:16 #kisslinux dylanaraps: 0.3.0 released 2020-08-01T01:27:04 #kisslinux Nice 2020-08-01T02:41:30 #kisslinux thonk 2020-08-01T02:43:31 #kisslinux Guess who didn't sleep again 2020-08-01T03:10:34 #kisslinux i despise guessing games 2020-08-01T04:54:55 #kisslinux o/ 2020-08-01T05:00:42 #kisslinux This turned out nice: https://github.com/dylanaraps/paleta Still some smelly parts to the code I need to fix. Do yell at me if you're in the mood. ;) 2020-08-01T05:08:01 #kisslinux !! i wanted this like 2mo ago! lol. 2020-08-01T05:09:44 #kisslinux lol 2020-08-01T05:10:43 #kisslinux Let me know if you have any questions about usage. It's pretty simple though (paleta < colors > sequences), then add (cat sequences) to your .shellrc file. 2020-08-01T05:10:44 #kisslinux I'd remove -static from the Makefile tbh, that seems more like a thing that a user should add if they want than the default 2020-08-01T05:10:53 #kisslinux E5ten: Sure thing 2020-08-01T05:11:15 #kisslinux Keep -O3 (or equivalent)? 2020-08-01T05:11:22 #kisslinux Drop it to -O2 maybe? 2020-08-01T05:12:19 #kisslinux I mean if you're gonna include an optimization flag, I don't think it really matters which it is, like you can just use whichever you like, but I think at least put it before the $(CFLAGS) because that's the kinda flag where a user's CFLAGS should just override it 2020-08-01T05:12:28 #kisslinux Gotcha 2020-08-01T05:12:42 #kisslinux if you want more palettes, feel free to grab my kfc project. i think i may have added 50-60 more than what you originally had. 2020-08-01T05:12:45 #kisslinux line 27, you memset 1 byte, so couldn't you just do an assignment there? 2020-08-01T05:13:09 #kisslinux *in okpal 2020-08-01T05:13:52 #kisslinux E5ten: Yes! Awesome. 2020-08-01T05:14:34 #kisslinux mcpcpc[m]: I started from scratch with these a few hours ago. Fixed all issues that the themes in pywal have. I'll have a look at yours too. 2020-08-01T05:15:00 #kisslinux so I think it'd be just remove the memset call and set the first parameter (with the & removed) to c? 2020-08-01T05:15:11 #kisslinux > pal[num][color] = c; 2020-08-01T05:15:18 #kisslinux It's not yelling at me about this. 2020-08-01T05:15:36 #kisslinux Works too. 2020-08-01T05:15:39 #kisslinux Nice. 2020-08-01T05:16:53 #kisslinux Actually... 2020-08-01T05:17:01 #kisslinux I remember now. 2020-08-01T05:17:49 #kisslinux hm? 2020-08-01T05:18:00 #kisslinux I'm typing lol 2020-08-01T05:18:09 #kisslinux sorry lol 2020-08-01T05:19:04 #kisslinux Every iteration updates the value of c, yeah? If I keep assigning c, won't each instance of c contain the same value (the most recent)? 2020-08-01T05:19:11 #kisslinux This is why I was copying the data. 2020-08-01T05:19:18 #kisslinux It seems to work with this change though(?) 2020-08-01T05:20:13 #kisslinux c isn't a pointer, so when you assign pal[num][color] to it, you aren't pointing to c, meaning pal[num][color] would change when c did, you're just assigning it's value to pal[num][color] 2020-08-01T05:21:06 #kisslinux Understood, thanks. 2020-08-01T05:22:39 #kisslinux http://ix.io/2sQl here's a diff to switch to buffered output instead of write()ing to an fd, and afaik, currently O_NONBLOCK has no effect for regular files anyway 2020-08-01T05:23:03 #kisslinux I'm writing to terminal devices there. 2020-08-01T05:23:22 #kisslinux These specifically: /dev/pts/[0-9]* 2020-08-01T05:23:45 #kisslinux oh! that's what I get for not reading closely lol, I just assumed it was writing to a config file or something lol 2020-08-01T05:23:46 #kisslinux pseudo-TTYs* 2020-08-01T05:23:52 #kisslinux No no 2020-08-01T05:24:46 #kisslinux There's no config or anything. Just read stdin, morph into sequences, print to all ptys and finally stdout. 2020-08-01T05:25:05 #kisslinux makes sense 2020-08-01T05:25:49 #kisslinux Any ideas about this?: seq->size += ret - 1; /* why */ 2020-08-01T05:26:28 #kisslinux value is important here: ret = snprintf(seq->str + seq->size, ret, fmt, off, col); 2020-08-01T05:26:51 #kisslinux what do you mean? like what's it supposed to be doing? 2020-08-01T05:26:54 #kisslinux (the - 1 I mean) 2020-08-01T05:29:50 #kisslinux I'm incrementing seq->size as I append to seq->str. ret is the return value from snprintf with NULL buffer and size. I do 'seq->str + seq->size' to append via snprintf. Without the '-1' it never appends, just overwrites from the start. 2020-08-01T05:30:44 #kisslinux I'm trying to understand why the '- 1' is needed (or if it's caused by error elsewhere) basically. 2020-08-01T05:33:12 #kisslinux for the first snprintf with the 0s, make it ret = snprintf(...) + 1; and remove the -1, and tell me if that works 2020-08-01T05:33:53 #kisslinux Yeah, it looks to work. 2020-08-01T05:34:28 #kisslinux before, you were only allocating enough space for the string, not the null-byte at the end, so to fit that snprintf was leaving out the last byte it was supposed to put in seq->str 2020-08-01T05:34:49 #kisslinux I'm not really sure why that manifested as writing from the start, or why - 1 seemed to somewhat fix that, but that was the issue 2020-08-01T05:35:32 #kisslinux Yeah, I see that now. Also discovered that my escape sequences contained an extra \ on the end. 2020-08-01T05:36:09 #kisslinux Thanks for the help, appreciate it. 2020-08-01T05:36:23 #kisslinux nw 2020-08-01T05:36:33 #kisslinux also, you can remove string.h, memset was all that was being used from it 2020-08-01T05:37:10 #kisslinux Wonderful 2020-08-01T05:37:32 #kisslinux and you should check the return value of write() 2020-08-01T05:37:36 #kisslinux Why is open in fcntl.h and close in unistd.h ??? 2020-08-01T05:37:37 #kisslinux Will do. 2020-08-01T05:38:29 #kisslinux I'm actually kinda confused by that one too, but I guess it's cuz open needs all those O_ constants also used with fcntl, while close doesn't, so it doesn't need to be in that header? 2020-08-01T05:38:44 #kisslinux but yeah, doesn't make sense to me either I'd think close should be in fcntl.h too 2020-08-01T05:39:49 #kisslinux Yeah 2020-08-01T05:41:23 #kisslinux write returns ssize_t and I need to compare with size_t, great! 2020-08-01T05:41:59 #kisslinux just assign its return to a var, and check if (var < 0 || (size_t)var < sizevar) 2020-08-01T05:42:09 #kisslinux Yeah 2020-08-01T05:44:05 #kisslinux tbh, I think it'd make more sense to just write to /dev/tty, and change the palette for that terminal specifically? 2020-08-01T05:44:49 #kisslinux like if they want it in all their terminals from then on they'd add the cat line to their startup file anyway right, and it's a lot simpler to have paleta on its own only modify the terminal it's called from? 2020-08-01T05:45:40 #kisslinux It's meant to modify all running terminals, that's the point. Also, you could just printf to stdout for the current terminal. 2020-08-01T05:45:54 #kisslinux ah 2020-08-01T05:46:24 #kisslinux I can set a theme system-wide and have new terminals automatically start using it. 2020-08-01T05:46:45 #kisslinux Bypasses terminal configuration files and works in pretty much everything. 2020-08-01T05:47:07 #kisslinux And it happens on-the-fly! 2020-08-01T05:51:12 #kisslinux I think cool extra functionality would be a flag to just print the current palette, without setting one, for saving 2020-08-01T05:51:43 #kisslinux if that's possible 2020-08-01T05:53:52 #kisslinux Well, when you set the palette you're supposed to do '> /path/to/file' to store it. 2020-08-01T05:54:31 #kisslinux This stores the sequences however (for use in setting colors in new terminals). 2020-08-01T05:56:23 #kisslinux it seems FILE io works for this too 2020-08-01T05:56:46 #kisslinux Yeah 2020-08-01T05:56:49 #kisslinux I was using it originally 2020-08-01T05:57:00 #kisslinux Not sure what works best when terminals > 20 for example. 2020-08-01T05:57:52 #kisslinux I mean I'd guess the expensive parts of fopen and fclose are the underlying open and close, probably wouldn't really be that different? could benchmark by opening like 25 terminals and comparing runtime lol 2020-08-01T05:59:38 #kisslinux seems almost identical even at like 30 terminals 2020-08-01T05:59:42 #kisslinux I'll do just that 2020-08-01T06:00:32 #kisslinux like both of them are less than 0.01 seconds, with the FILE one seeming to get a tiny bit slower (like 0.002 seconds slower, if at all) at truly ridiculous amounts of terminals 2020-08-01T06:01:57 #kisslinux I'm convinced 2020-08-01T06:05:00 #kisslinux https://github.com/dylanaraps/paleta/commit/5a40e3f5d1c5992b9933a5d97cf56f8e74593357 2020-08-01T06:05:07 #kisslinux Nice change 2020-08-01T06:05:38 #kisslinux dropping 2 headers hell yeah lol 2020-08-01T06:08:46 #kisslinux Yeah 2020-08-01T06:08:52 #kisslinux I don't need to pass the struct now either. 2020-08-01T06:08:57 #kisslinux if you wanted, you don't really need paleta.h, you can just move the struct definition to paleta.c, and reorder the functions so the ones that call others come after those others, and then mark them all static (and also mark the global pal variable static) 2020-08-01T06:09:41 #kisslinux Yeah, am aware. It just feels tidier to me this way, dunno. 2020-08-01T06:10:22 #kisslinux The log.h file really doesn't need to exist but I like hiding the ugly macros away in a file. lol 2020-08-01T06:10:38 #kisslinux it makes it so when a function sig changes it's gotta be updated in 2 places even though it's only used in its own .c 2020-08-01T06:11:14 #kisslinux I'll make the change 2020-08-01T06:12:00 #kisslinux obviously it's up to you, I'm just noting what I think is an advantage of not having the header, if you find it tidier that also makes sense 2020-08-01T06:12:27 #kisslinux Yeah 2020-08-01T06:12:37 #kisslinux I'm going to see how it looks anyway. I may like it. :P 2020-08-01T06:14:29 #kisslinux I'll have to move main() as well? 2020-08-01T06:14:38 #kisslinux > warning: function declaration isn't a prototype 2020-08-01T06:14:46 #kisslinux Single warning for pal_read() which is called from main(). 2020-08-01T06:15:03 #kisslinux isn't main still at the end? 2020-08-01T06:15:07 #kisslinux Yes 2020-08-01T06:15:15 #kisslinux is pal_read static? 2020-08-01T06:15:23 #kisslinux Yes 2020-08-01T06:15:30 #kisslinux can you send the C file? 2020-08-01T06:15:53 #kisslinux https://termbin.com/qali 2020-08-01T06:16:36 #kisslinux I could just add the definitions to this file. 2020-08-01T06:17:06 #kisslinux I'm not even getting that warning, so I guess it's gcc specific? 2020-08-01T06:17:16 #kisslinux oh wait 2020-08-01T06:17:22 #kisslinux Let me try Clang 2020-08-01T06:17:25 #kisslinux make the pal_read decl pal_read(void) 2020-08-01T06:17:48 #kisslinux Yup 2020-08-01T06:17:49 #kisslinux I think that's what you're supposed to do when a function has no arguments instead of just leaving the () empty 2020-08-01T06:17:53 #kisslinux That did it. 2020-08-01T06:17:56 #kisslinux Yeah 2020-08-01T06:17:56 #kisslinux nic 2020-08-01T06:17:59 #kisslinux nice* 2020-08-01T06:29:34 #kisslinux Simplified argument handling: https://github.com/dylanaraps/paleta/commit/b55c1f472d26dc3aec18e711a128233b3b51a392 2020-08-01T06:35:48 #kisslinux Nice 2020-08-01T06:36:14 #kisslinux Wouldn't that trigger -v with any first character? 2020-08-01T06:36:20 #kisslinux If the second was v I mean 2020-08-01T06:36:28 #kisslinux Like "xv" or something 2020-08-01T06:37:52 #kisslinux Yes 2020-08-01T06:38:01 #kisslinux That's fine though. 2020-08-01T06:38:07 #kisslinux This utility only takes -h and -v. 2020-08-01T06:38:07 #kisslinux yeah 2020-08-01T06:38:13 #kisslinux No arguments and it reads from stdin. 2020-08-01T07:19:55 #kisslinux Hello 2020-08-01T07:20:09 #kisslinux o/. 2020-08-01T07:46:32 #kisslinux > #kisslinux 2020-08-01T07:46:32 #kisslinux This week, we’re releasing GTK 3.99, which can only mean one thing: GTK4 is getting really close! 2020-08-01T07:46:34 #kisslinux Oh no 2020-08-01T07:46:59 #kisslinux My clipboard really botched that. 2020-08-01T08:27:45 #kisslinux dylanaraps: o/ 2020-08-01T08:28:36 #kisslinux Hello adamantium: 2020-08-01T08:28:42 #kisslinux How goes things? 2020-08-01T08:30:06 #kisslinux Going good. Trying to learn a lot about drupal / civicrm, ansible, systemd, mysql, etc... all for work, taking up all my time. 2020-08-01T08:30:19 #kisslinux and drush and composer 2020-08-01T08:30:33 #kisslinux it's the anti-kiss 2020-08-01T08:30:39 #kisslinux all this stuff :() 2020-08-01T08:30:47 #kisslinux Hey 2020-08-01T08:30:53 #kisslinux You're learning new skills regardless :P 2020-08-01T08:32:31 #kisslinux Yeah the company I'm at is pretty cool so far, it's a good opportunity, CEO really cares what's going on, video chats with me every week / mentors in the devops and team communication area of things 2020-08-01T08:33:55 #kisslinux It's basically me and one other guy managing all the server setups and it's pretty complex and far from perfect, scares the hell out of me sometimes, and the other guy is such a genius I suspect they are worried he has too bright of a future to stay with them forever, so they are kind of grooming me to steer the ship some day 2020-08-01T08:34:23 #kisslinux But it's cool they have like a long term plan for me and want to invest in my learning 2020-08-01T08:34:29 #kisslinux How are you doing dylanaraps ?! 2020-08-01T08:34:59 #kisslinux That's awesome 2020-08-01T08:35:48 #kisslinux Yeah, my least favorite part is logging time in redmine like a bean counter 2020-08-01T08:35:56 #kisslinux It screws with my flow 2020-08-01T08:36:04 #kisslinux > Redmine is a flexible project management web application. 2020-08-01T08:36:05 #kisslinux I see 2020-08-01T08:36:41 #kisslinux But I'm getting married next month so this job is a godsend 2020-08-01T08:36:58 #kisslinux Woah! You should've started with that. 2020-08-01T08:37:04 #kisslinux lmao 2020-08-01T08:37:16 #kisslinux Congratulations! 2020-08-01T08:37:19 #kisslinux THX 2020-08-01T08:37:31 #kisslinux She's a good traditional female likes to cook and clean and make babies 2020-08-01T08:38:05 #kisslinux And go to church 2020-08-01T08:39:06 #kisslinux Marry her today! 2020-08-01T08:39:10 #kisslinux Right 2020-08-01T08:40:05 #kisslinux How goes the kiss project 2020-08-01T08:41:17 #kisslinux It goes good 2020-08-01T08:41:36 #kisslinux Where do I start? 2020-08-01T08:43:22 #kisslinux Have you been reading the monthly posts? 2020-08-01T08:43:36 #kisslinux I have, but is there a new one out now? 2020-08-01T08:43:44 #kisslinux I'm writing it as we speak. 2020-08-01T08:43:45 #kisslinux :P 2020-08-01T08:43:49 #kisslinux AHA 2020-08-01T08:44:31 #kisslinux It won't be as large as last month's fyi. Was a peaceful month. 2020-08-01T08:45:11 #kisslinux A big part of writing the monthly post is trying to remember what happened the past month. lol 2020-08-01T08:45:50 #kisslinux lol ya and something tells me you might be a stoney character 2020-08-01T08:46:24 #kisslinux if not i'm sorry I just thought you're laid back and seem like might be the type 2020-08-01T08:47:02 #kisslinux I have many faces ;) 2020-08-01T08:47:16 #kisslinux heh 2020-08-01T08:52:32 #kisslinux This is my latest thing: https://github.com/dylanaraps/paleta 2020-08-01T08:52:47 #kisslinux I've been awake for two days working on it. :| 2020-08-01T08:55:36 #kisslinux let's see 2020-08-01T08:58:53 #kisslinux dylanaraps: Yep looks like something you would be making !! 2020-08-01T08:59:19 #kisslinux I'm sure it will be legendary when you're done 2020-08-01T08:59:40 #kisslinux It's done :D 2020-08-01T08:59:43 #kisslinux Hey dylanaraps question - If I was going to learn python in a month for work what would I do 2020-08-01T08:59:47 #kisslinux nice 2020-08-01T09:00:11 #kisslinux Write some software to solve a personal (or work) need you have. 2020-08-01T09:00:25 #kisslinux so just start using it then 2020-08-01T09:00:29 #kisslinux Yeah 2020-08-01T09:00:48 #kisslinux k 2020-08-01T09:01:03 #kisslinux If you spend a month working on something (or a few things), you'll know Python by the end of it. 2020-08-01T09:01:11 #kisslinux I like bash / sh better but my coworker prefer python 2020-08-01T09:01:50 #kisslinux im just crazy like that 2020-08-01T09:02:08 #kisslinux lol 2020-08-01T09:02:14 #kisslinux but his bash style is funky 2020-08-01T09:02:22 #kisslinux so i kinda just wanna do python 2020-08-01T09:02:36 #kisslinux * adamantium` shrugs 2020-08-01T09:02:39 #kisslinux Makes sense 2020-08-01T09:03:09 #kisslinux I learned scripting largely working with you 2020-08-01T09:03:13 #kisslinux now everyone elses looks like crap 2020-08-01T09:03:23 #kisslinux so thanks for ruining it man 2020-08-01T09:04:16 #kisslinux Hey the bar is going to stop selling beer soon (7-11) gotta make a run to the store again 2020-08-01T09:04:23 #kisslinux lmao 2020-08-01T09:04:26 #kisslinux Alrighty 2020-08-01T09:04:31 #kisslinux brb 2020-08-01T09:25:40 #kisslinux made it back 2020-08-01T09:27:08 #kisslinux hu 2020-08-01T09:27:45 #kisslinux illitiliti: after update to libudev-zero 0.3 my mouse and trackpoint stopped working 2020-08-01T09:28:11 #kisslinux I have already rebuild libinput, xorg-server, ... but not success 2020-08-01T09:28:27 #kisslinux hey do you think there is money to be made locally by advertising linux desktop windows replacement "reivive your old computer" 2020-08-01T09:28:56 #kisslinux it'd be fun to install ubuntu for people for 50 bucks 2020-08-01T09:29:39 #kisslinux Depends on the people I'd say. Those wanting just a browser to do everyday things will likely not notice the difference. 2020-08-01T09:29:44 #kisslinux I think the point for ubuntu is that even low experienced people can do it. But they would propably need some crash course ;) 2020-08-01T09:29:47 #kisslinux claudia02: I'll see if I can reproduce. 2020-08-01T09:29:48 #kisslinux and kiss for 100$ 2020-08-01T09:29:58 #kisslinux last year one time i reinstalled windows 10 on my bar friends computer and had free drinks all night 2020-08-01T09:30:05 #kisslinux brb 2 secs 2020-08-01T09:31:29 #kisslinux hey hey im on the riseup.net vpn because im a real hacker 2020-08-01T09:31:43 #kisslinux watch out 2020-08-01T09:31:58 #kisslinux wanna join my collective 2020-08-01T09:32:03 #kisslinux Reverted the libudev-zero update. 2020-08-01T09:32:14 #kisslinux I still had keyboard input but no touchpad. 2020-08-01T09:32:20 #kisslinux adamantium[m]: What kind of company are you working for? 2020-08-01T09:32:26 #kisslinux dylanaraps: yes same. 2020-08-01T09:32:33 #kisslinux I only tested with 'libinput' on the command-line prior to the bump... apologies. 2020-08-01T09:32:46 #kisslinux claudia02: it's a drupal and civicrm company that serves large nonprofits 2020-08-01T09:32:53 #kisslinux Will be sure to kill Xorg next time =) 2020-08-01T09:33:07 #kisslinux i'd drop the name except that i'm drinkin and acting like a stooge in public 2020-08-01T09:34:32 #kisslinux Turns out we may need to swap to elfutils (big oof) after all... the old libelf and elftoolchain will both be incompatible with the kernel from 5.8 onwards. 2020-08-01T09:35:00 #kisslinux These are both also dead upstream with elfutils being the only one in (active) development(?) 2020-08-01T09:39:46 #kisslinux > configure: error: "no libargp found" 2020-08-01T09:39:48 #kisslinux It begins 2020-08-01T09:40:14 #kisslinux have you guys tried systemd-homed 2020-08-01T09:41:17 #kisslinux dylanaraps: whats 2020-08-01T09:41:27 #kisslinux dylanaraps: whats 'oof' about elfutils? 2020-08-01T09:44:45 #kisslinux Requires 8~ or so patches for musl, plus fts, argp, etc (ripped out code from other C libraries. typically glibc, uclibc or NetBSD's). 2020-08-01T09:45:28 #kisslinux oh 2020-08-01T09:45:52 #kisslinux Upstream don't really want to support musl. 2020-08-01T09:57:38 #kisslinux happy august 1 2020-08-01T10:01:17 #kisslinux I love Emacs so badly that if it was windows only I would switch to windows 2020-08-01T10:01:24 #kisslinux is that not true love 2020-08-01T10:02:09 #kisslinux Thankfully I can init kiss linux with it 2020-08-01T10:03:32 #kisslinux lol 2020-08-01T10:03:40 #kisslinux Can confirm that the kernel works with elfutils. 2020-08-01T10:03:49 #kisslinux Also that I've packaged it without needing anything messy. 2020-08-01T10:03:55 #kisslinux Hooray! 2020-08-01T10:04:19 #kisslinux hip hip 2020-08-01T10:04:37 #kisslinux There's a couple of tiny things I need to fix first. 2020-08-01T10:06:57 #kisslinux man only at 7-11 can you order two slices of pizza and they turn one of them upside-down and put them in one pizza slice box 2020-08-01T10:07:00 #kisslinux screw that 2020-08-01T10:07:09 #kisslinux :( 2020-08-01T10:07:14 #kisslinux I didn't know they did pizza 2020-08-01T10:07:32 #kisslinux it's probably regional 2020-08-01T10:07:50 #kisslinux Yup 2020-08-01T10:07:53 #kisslinux I have no 7/11 here 2020-08-01T10:07:57 #kisslinux in hawaii at 7-11 you can order spam based food 2020-08-01T10:07:58 #kisslinux ;) 2020-08-01T10:08:02 #kisslinux gross 2020-08-01T10:08:15 #kisslinux hawaii is number 1 spam consumer in the world 2020-08-01T10:08:49 #kisslinux never going to hawaii now 2020-08-01T10:08:58 #kisslinux nah just blame the portugues 2020-08-01T10:09:04 #kisslinux or whatever 2020-08-01T10:09:09 #kisslinux mayeb filiipnos fault 2020-08-01T10:09:19 #kisslinux from the plantation days 2020-08-01T10:09:26 #kisslinux they have good food too 2020-08-01T10:10:02 #kisslinux like kalua pig and lomi salmon , poi and lau lau 2020-08-01T10:11:33 #kisslinux Interesting 2020-08-01T10:12:35 #kisslinux was going to take my wife there for honeymoon 2020-08-01T10:12:44 #kisslinux I lived on Oahu during my 20s 2020-08-01T10:12:51 #kisslinux but now ....... corona! 2020-08-01T10:13:47 #kisslinux also hawaiian poke is really good 2020-08-01T10:17:12 #kisslinux dylanaraps: are you going to push all that? 2020-08-01T10:18:46 #kisslinux Push all what? 2020-08-01T10:18:57 #kisslinux elfutils packages 2020-08-01T10:21:18 #kisslinux Will only be libelf 2020-08-01T10:23:11 #kisslinux I think im done. Sorry for being a nuisance 2020-08-01T10:23:31 #kisslinux o/ you were a gracious channel 2020-08-01T10:24:19 #kisslinux alright, onto kiss 4.0.2 now, I'll try rewrite my modifications to use hooks 2020-08-01T10:28:21 #kisslinux https://k1ss.org/package-manager links to https://k1ss.org/wiki/kiss/package-manager-hooks which 404s dylanaraps 2020-08-01T10:31:15 #kisslinux dylanaraps: why do you have kiss) rm -rf "$DEST/usr/bin" ;; in your postbuild hook? 2020-08-01T10:32:51 #kisslinux also the default hook on that page doesnt match what kiss does 2020-08-01T10:33:32 #kisslinux j`ey: Thanks, will fix. 2020-08-01T10:34:00 #kisslinux j`ey: I want the docs in /usr/share/doc/ but don't want the script itself. 2020-08-01T10:34:08 #kisslinux I use whatever I develop with. 2020-08-01T10:38:10 #kisslinux you mean that you just use the 'development' veersion of kiss always? 2020-08-01T10:50:25 #kisslinux Yes 2020-08-01T10:50:55 #kisslinux development versions of anything i've written 2020-08-01T10:51:11 #kisslinux they're just symlinks to my bin 2020-08-01T10:51:37 #kisslinux symlinks from my bin? 2020-08-01T11:14:04 #kisslinux quit 2020-08-01T11:14:38 #kisslinux lol 2020-08-01T11:14:47 #kisslinux here's the elfutils build: https://github.com/kisslinux/repo/blob/ee62c900f91aade29e93b7fe83464810c44aab50/extra/libelf/build 2020-08-01T11:14:57 #kisslinux wasn't that bad 2020-08-01T12:02:09 #kisslinux https://reddit.com/comments/i1j6vg 2020-08-01T12:02:19 #kisslinux Making a subreddit was probably not a great idea. 2020-08-01T12:11:29 #kisslinux wdym? 2020-08-01T12:31:28 #kisslinux dylanaraps: you've tried netsurf at some point right? 2020-08-01T12:31:46 #kisslinux can you play youtube videos on it? 2020-08-01T12:33:29 #kisslinux I don't think so 2020-08-01T13:06:21 #kisslinux elfutils failed to build with clang 2020-08-01T13:06:23 #kisslinux well... fuck 2020-08-01T13:08:38 #kisslinux https://sourceware.org/bugzilla/show_bug.cgi?id=24964 2020-08-01T13:44:28 #kisslinux > Really this is a clang bug, it simply has to implement the various GNU extensions it claims to support. 2020-08-01T13:44:29 #kisslinux lol 2020-08-01T13:44:56 #kisslinux > yes, there were about 20 patches, that tried to rework code to work around clang deficiencies. Those have been accepted and incorporated. But more work would be needed. Patches welcome. 2020-08-01T14:03:52 #kisslinux I don't know if the elfutils requirement is specific to some driver code or will be mandatory for all functions so will wait until 5.8 release 2020-08-01T14:06:35 #kisslinux I thought it was for the orc unwinder stuff, which might not be necessary for all builds 2020-08-01T14:06:40 #kisslinux It's a change in objtool specifically. 2020-08-01T14:06:54 #kisslinux I /believe/ it's this one: https://git.kernel.org/pub/scm/linux/kernel/git/sfr/linux.git/commit/tools/objtool?id=28fe1d7bf89f8ed5be70b98a33932dbaf99345dd 2020-08-01T14:08:35 #kisslinux It's CONFIG_STACK_VALIDATION and CONFIG_UNWINDER_ORC I think. 2020-08-01T14:09:58 #kisslinux Nope.. even if I disable them it just flips them back on again. 2020-08-01T14:11:50 #kisslinux icyphox: i think using chsh is a better solution (related to priviledges) 2020-08-01T14:12:12 #kisslinux OK. If you change the unwinder from ORC and then disable stack validation, it seems to let you pass. 2020-08-01T14:13:34 #kisslinux so, any kernel functions depend on those two configs? 2020-08-01T14:13:42 #kisslinux will be useful to document 2020-08-01T14:15:34 #kisslinux ORC_UNWINDER depends on STACK_VALIDATION 2020-08-01T14:15:41 #kisslinux I don't think anything depends on these though. 2020-08-01T14:17:36 #kisslinux https://termbin.com/547t 2020-08-01T14:19:17 #kisslinux Also found this: https://kernel.googlesource.com/pub/scm/linux/kernel/git/lftan/nios2/+/nios2-v4.6-rc2/tools/objtool/Documentation/stack-validation.txt 2020-08-01T14:21:40 #kisslinux alright, looks like I'll try disabling those and roll my own libelf pkg 2020-08-01T14:23:57 #kisslinux Nice 2020-08-01T14:24:03 #kisslinux You have a choice between the three now. 2020-08-01T14:24:05 #kisslinux > OK. If you change the unwinder from ORC and then disable stack validation, it seems to let you pass. 2020-08-01T14:24:05 #kisslinux how exactly does one change the unwinder? just disabling it should be good right? 2020-08-01T14:24:12 #kisslinux No 2020-08-01T14:24:17 #kisslinux You need to pick one. 2020-08-01T14:24:50 #kisslinux > CONFIG_UNWINDER_ORC, CONFIG_UNWINDER_FRAME_POINTER or CONFIG_UNWINDER_GUESS 2020-08-01T14:25:02 #kisslinux ah I see 2020-08-01T14:25:59 #kisslinux FRAME_POINTER has a 5-10% performance decrease (in general!) https://cateee.net/lkddb/web-lkddb/UNWINDER_FRAME_POINTER.html 2020-08-01T14:26:39 #kisslinux GUESS has no runtime overhead but sometimes gets it wrong. 2020-08-01T14:27:22 #kisslinux The downside to ORC in the docs is > this option will increase the kernel's runtime memory usage by roughly 2-4MB 2020-08-01T14:30:57 #kisslinux Possible patch? https://www.mail-archive.com/linux-kernel⊙vko/msg1182844.html 2020-08-01T14:33:27 #kisslinux it has been merged (I think) 2020-08-01T14:34:57 #kisslinux Ah 2020-08-01T14:54:36 #kisslinux hello, while installing kiss linux for the first time, I've stumbled upon an error while running kiss-chroot. It said: /mnt/bin/kiss-chroot: line 71: 2963 Illegal instruction chroot "$1" 2020-08-01T14:54:47 #kisslinux Any ideas why it's happening? 2020-08-01T14:55:02 #kisslinux this was on reddit too 2020-08-01T14:55:17 #kisslinux are you installing on a vm? 2020-08-01T14:55:46 #kisslinux using a thinkpad x200s with parabola iso running from an usb device now 2020-08-01T14:55:55 #kisslinux Which chroot are you using? 2020-08-01T14:55:59 #kisslinux This one? https://github.com/kisslinux/repo/releases/tag/2020.7 2020-08-01T14:58:08 #kisslinux Using one from the guide (/releases/1.12.0) 2020-08-01T14:59:24 #kisslinux Ah 2020-08-01T14:59:31 #kisslinux I forgot to push my changes to the site. 2020-08-01T14:59:44 #kisslinux Try the 2020.7 tarball. 2020-08-01T15:06:01 #kisslinux Works fine this time, thank you 2020-08-01T15:06:25 #kisslinux dylanaraps: did you build 1.12 with different flags 2020-08-01T15:06:26 #kisslinux ? 2020-08-01T15:13:19 #kisslinux j`ey: I did not. I'm not quite sure what went wrong. I didn't do anything differently. 2020-08-01T15:16:34 #kisslinux dylanaraps: weird 2020-08-01T15:36:43 #kisslinux dylanaraps: fix pushed 2020-08-01T15:36:57 #kisslinux Nice 2020-08-01T15:37:48 #kisslinux brb 2 secs 2020-08-01T15:43:51 #kisslinux it works ? 2020-08-01T15:45:48 #kisslinux Yes! 2020-08-01T15:45:56 #kisslinux It's very quick now. 2020-08-01T15:46:16 #kisslinux Nice job 2020-08-01T15:47:57 #kisslinux thank you. will do release shortly 2020-08-01T15:48:46 #kisslinux 0.3.1 released 2020-08-01T15:50:33 #kisslinux dylanaraps: elftoolchain's upstream isn't dead afaik 2020-08-01T15:50:52 #kisslinux So maybe if someone opened a bug about what they're missing for building 5.8 they'd add it? 2020-08-01T15:50:56 #kisslinux It's been years since the last release no (2017, 2018?)? 2020-08-01T15:51:06 #kisslinux Git gets commits 2020-08-01T15:51:14 #kisslinux Really? 2020-08-01T15:51:18 #kisslinux I couldn't see any recent ones. 2020-08-01T15:51:32 #kisslinux https://github.com/elftoolchain/elftoolchain 2020-08-01T15:51:34 #kisslinux May 11~ 2020-08-01T15:51:35 #kisslinux May 11th is the most recent commit 2020-08-01T15:51:53 #kisslinux Yeah 2020-08-01T15:52:00 #kisslinux It's mostly documentation work though 2020-08-01T15:52:04 #kisslinux That's only a few months, to me that doesn't indicate that it's dead, just that they don't know if changed they need to make right now 2020-08-01T15:52:21 #kisslinux I'm pretty sure freebsd uses elftoolchain so it can't really be dead dead 2020-08-01T15:52:37 #kisslinux Yeah 2020-08-01T15:52:46 #kisslinux And even a doc update is an indication that there's someone there that might make changes if needed 2020-08-01T15:52:58 #kisslinux I don't know how much of a de facto standard elfutils has become though 2020-08-01T15:53:12 #kisslinux Is libelf not standardized? 2020-08-01T15:53:19 #kisslinux I don't think so? 2020-08-01T15:54:02 #kisslinux Just like implementations being compatibleish because it's useful to do that I think? 2020-08-01T15:54:07 #kisslinux Actually: https://man.openbsd.org/elf 2020-08-01T15:54:10 #kisslinux What's missing from elftoolchain that 5.8 needs? 2020-08-01T15:54:23 #kisslinux The function isn't missing. 2020-08-01T15:54:29 #kisslinux I think it just differs from the elfutils one. 2020-08-01T15:54:40 #kisslinux Oh 2020-08-01T15:54:59 #kisslinux In what it does, or like argument order, or different arguments? 2020-08-01T15:55:00 #kisslinux Actually, it's in 2020-08-01T15:55:06 #kisslinux I'll compare both 2020-08-01T15:55:29 #kisslinux I'm not at my computer which is why I'm not checking myself sorry lol 2020-08-01T15:56:03 #kisslinux > extern GElf_Sym *gelf_getsymshndx (Elf_Data *__symdata, Elf_Data *__shndxdata, int __ndx, GElf_Sym *__sym, Elf32_Word *__xshndx); 2020-08-01T15:56:06 #kisslinux elfutils 2020-08-01T15:56:58 #kisslinux > GElf_Sym*gelf_getsymshndx(Elf_Data *_src, Elf_Data *_shindexsrc, int _index, GElf_Sym *_dst, Elf32_Word *_shindexdst); 2020-08-01T15:57:02 #kisslinux elftoolchain 2020-08-01T15:57:18 #kisslinux The old libelf doesn't have this function at all iirc. 2020-08-01T15:58:06 #kisslinux Those 2 seem the same? 2020-08-01T15:59:13 #kisslinux https://termbin.com/k0h4 2020-08-01T15:59:16 #kisslinux Formatted them 2020-08-01T15:59:26 #kisslinux Could be that they behave differently 2020-08-01T15:59:56 #kisslinux What's the build error when trying to use elftoolchain? 2020-08-01T16:00:52 #kisslinux 2 secs 2020-08-01T16:02:10 #kisslinux This is the commit: https://lore.kernel.org/lkml/20200421220843.188260-2-samitolvanen⊙gc/ 2020-08-01T16:02:15 #kisslinux The error: warning: objtool: gelf_getsymshndx: Invalid argument" 2020-08-01T16:02:31 #kisslinux I've also seen: warning: objtool: elf_getshdrnum: No Error 2020-08-01T16:03:40 #kisslinux The message is here: L380 tools/objtool/elf.c: WARN_ELF("gelf_getsymshndx"); 2020-08-01T16:03:57 #kisslinux Same deal for elf_getshdrnum: 2020-08-01T16:04:38 #kisslinux Which expands to: WARN(format ": %s", ##__VA_ARGS__, elf_errmsg(-1)) 2020-08-01T16:05:27 #kisslinux > The function elf_errmsg() returns a null-terminated stringwith a human 2020-08-01T16:05:28 #kisslinux readable description of the error specified in argument error. 2020-08-01T16:05:43 #kisslinux > An argument value of -1 behaves identically, except that it guaranteesa non-NULL return from elf_errmsg() 2020-08-01T16:06:11 #kisslinux > const char*elf_errmsg(int _error); (elftoolchain) 2020-08-01T16:06:13 #kisslinux > extern const char *elf_errmsg (int __error); 2020-08-01T16:06:16 #kisslinux (elfutils) 2020-08-01T16:06:47 #kisslinux I'm not seeing a difference in how these 2 are supposed to work, I'm so confused 2020-08-01T16:06:59 #kisslinux There's no difference 2020-08-01T16:07:10 #kisslinux I'm going to look at how they're implemented 2020-08-01T16:09:34 #kisslinux ok so there's an if that sets shndx_data to a value, but if the if is false shndx_data will be NULL, and the elftoolchain manpage for the function says it'll fail if that (among other arguments) is NULL, can you change that if to also print some string you'll be able to recognize as the one you put in, and so if that string prints and the error also happens in the same invocation, that'll eliminate that as the issue? 2020-08-01T16:09:50 #kisslinux the if in the second hunk of the patch 2020-08-01T16:10:10 #kisslinux Sure 2020-08-01T16:11:24 #kisslinux oh wow lol not long to fix this issue if we want to before 5.8 is out, it'll probably be out in like a day unless there's an rc8 right? 2020-08-01T16:16:14 #kisslinux Code never reaches that point. 2020-08-01T16:17:02 #kisslinux E5ten: I swapped us to elfutils today regardless. As we just need libelf, there's only a single patch and no fts, obstack, argp. 2020-08-01T16:17:32 #kisslinux Code never gets past the first chunk in the commit 2020-08-01T16:17:40 #kisslinux > if (!gelf_getsymshndx( 2020-08-01T16:19:20 #kisslinux So.. it's meant to return the value of /sym/ on success and NULL on failure. 2020-08-01T16:19:54 #kisslinux ok looking at the code for that, elftoolchain is erroring when the second param is NULL, and elfutils doesn't 2020-08-01T16:20:52 #kisslinux I see it 2020-08-01T16:21:00 #kisslinux I don't know why I just said "that" lol, I mean the code for the function in elfutils and elftoolchain 2020-08-01T16:21:09 #kisslinux Yes 2020-08-01T16:21:21 #kisslinux I'm looking at the code for both too 2020-08-01T16:21:22 #kisslinux ;) 2020-08-01T16:21:46 #kisslinux does that seem to be the case to you too? 2020-08-01T16:22:50 #kisslinux Yes 2020-08-01T16:22:54 #kisslinux Let me patch and try it. 2020-08-01T16:22:59 #kisslinux because in elftoolchain I see them have the variable "lid" which is assigned to the second parameter which is cast to the type of "lid", then they error if lid is NULL, whereas in elfutils they have a comment "The user is not required to pass a data descriptor for an extended section index table." before doing something conditionally when the second param is non-NULL 2020-08-01T16:24:47 #kisslinux https://sourceforge.net/p/elftoolchain/tickets/593/ 2020-08-01T16:25:59 #kisslinux Hurrah! 2020-08-01T16:26:38 #kisslinux I mean, no guarantees that'll get done though lol, they might not even respond to my bug 2020-08-01T16:26:52 #kisslinux would be better if we find a fix 2020-08-01T16:26:59 #kisslinux If I make elfutils fail in the same way I get: warning: objtool: gelf_getsymshndx: invalid `Elf' handle 2020-08-01T16:27:12 #kisslinux Which seems to be the same thing just with a different message. 2020-08-01T16:27:57 #kisslinux Can we fix this on the kernel's side? 2020-08-01T16:28:26 #kisslinux We'll just pass a data descriptor? 2020-08-01T16:28:54 #kisslinux they already pass a data descriptor conditionally I think 2020-08-01T16:29:06 #kisslinux in that if in the second hunk 2020-08-01T16:29:25 #kisslinux The code in the second hunk never ran for me with elftoolchain 2020-08-01T16:30:03 #kisslinux Or rather, my printfs did nothing. 2020-08-01T16:30:15 #kisslinux but the gelf_getsymshndx call is after the second hunk, I don't think the code in the second hunk would run in this case even using elfutils? 2020-08-01T16:30:55 #kisslinux like I think it's unrelated, it's just "the code in the second hunk doesn't happen cuz the if is false, so gelf_getsymshndx gets a NULL second param, and that's an error for elftoolchain but not for elfutils" 2020-08-01T16:31:08 #kisslinux > shndx_data 2020-08-01T16:31:22 #kisslinux This *is* conditionally set prior to the gelf_getsymshndx call 2020-08-01T16:31:27 #kisslinux yeah 2020-08-01T16:31:30 #kisslinux that's what I mean 2020-08-01T16:31:39 #kisslinux that's the if where I wanted the printf's 2020-08-01T16:31:42 #kisslinux Oh lol 2020-08-01T16:31:47 #kisslinux to see if it was set 2020-08-01T16:31:51 #kisslinux Hang on 2020-08-01T16:32:13 #kisslinux because if it is set and the error happens, the issue isn't a NULL second param, or at least it isn't always a NULL second param 2020-08-01T16:32:20 #kisslinux Yeah 2020-08-01T16:33:48 #kisslinux OK 2020-08-01T16:33:55 #kisslinux Condition is never met for it to be assigned 2020-08-01T16:34:09 #kisslinux It's passed to the function later still as NULL 2020-08-01T16:34:10 #kisslinux so then NULL second param is almost definitely the issue 2020-08-01T16:34:18 #kisslinux Let me see if it stays NULL with elfutils 2020-08-01T16:34:45 #kisslinux It does 2020-08-01T16:37:47 #kisslinux brb in an hour or so 2020-08-01T16:37:51 #kisslinux Thanks for the help 2020-08-01T16:38:31 #kisslinux well really I should thank you for helping me lol, you can use libelf, I'm the one who needs elftoolchain to work 2020-08-01T16:38:57 #kisslinux why? 2020-08-01T16:39:03 #kisslinux GNU? 2020-08-01T16:39:05 #kisslinux http://ix.io/2sSr here's a preliminary attempt I made to get elftoolchain's gelf_getsymshndx to work with NULL second param, if you can test that when you're back that'd be nice 2020-08-01T16:39:14 #kisslinux iirc elfutils doesn't build with clang? 2020-08-01T16:39:43 #kisslinux oh yeah konimex said that earrlier 2020-08-01T16:39:55 #kisslinux so yeah indirectly "GNU" is the reason lol 2020-08-01T16:39:59 #kisslinux I'm not gonna use gcc 2020-08-01T17:34:20 #kisslinux E5ten: Testing now. 2020-08-01T17:37:11 #kisslinux thanks 2020-08-01T17:37:44 #kisslinux > make[1]: *** [scripts/Makefile.build:281: init/main.o] Segmentation fault 2020-08-01T17:37:47 #kisslinux That's it 2020-08-01T17:38:09 #kisslinux well lol, clearly that preliminary attempt wasn't right 2020-08-01T17:38:47 #kisslinux :P 2020-08-01T17:42:46 #kisslinux lol... I found this. https://github.com/rhboot/efivar/commit/191e3b01463548fc3a99494cd0c0ec15c41e9382 2020-08-01T17:42:55 #kisslinux Remember reading the bug report (which is yours) 2020-08-01T17:43:28 #kisslinux I'm trying to debug someone's libelf error: Error: invalid attempt to declare external version name as default in symbol `efi_set_variable@@LIBEFIVAR_0.24' 2020-08-01T17:44:19 #kisslinux Though I believe this is LTO related (-flto is in the rest of the output) 2020-08-01T17:44:53 #kisslinux Huzzah . I can reproduce by adding -flto. 2020-08-01T17:44:54 #kisslinux http://ix.io/2sSG I think this should probably avoid the segfault, although I doubt it'll work correctly? but let's see I gues 2020-08-01T17:44:56 #kisslinux guess* 2020-08-01T17:45:59 #kisslinux Better 2020-08-01T17:46:08 #kisslinux Instead of one segfault there's a ton now 2020-08-01T17:46:14 #kisslinux still wrong though, it's using an uninitialized size_t now 2020-08-01T17:46:32 #kisslinux > make[3]: *** [scripts/Makefile.build:281: arch/x86/kernel/acpi/cppc_msr.o] Segmentation fault 2020-08-01T17:46:35 #kisslinux Lots of these 2020-08-01T17:46:53 #kisslinux lots of what 2020-08-01T17:47:23 #kisslinux yeah segfaults from objtool being broken cuz my elftoolchain change is wrong 2020-08-01T17:47:24 #kisslinux > make[3]: *** [scripts/Makefile.build:281: arch/x86/kernel/cpu/scattered.o] Segmentation fault 2020-08-01T17:53:46 #kisslinux ok so it seems to me like part of the issue here is that elftoolchain uses the second parameter for certain info that elfutils uses the first for? 2020-08-01T17:53:50 #kisslinux http://ix.io/2sSK try this? 2020-08-01T17:54:10 #kisslinux oh wait sorry that includes changes to not just the .c lol 2020-08-01T17:54:26 #kisslinux http://ix.io/2sSM 2020-08-01T17:55:22 #kisslinux Back to the original error: warning: objtool: gelf_getsymshndx: Invalid argument 2020-08-01T17:55:57 #kisslinux yeah I realized after I sent it that's at least missing one more necessary thing http://ix.io/2sSN 2020-08-01T17:56:13 #kisslinux there was another check that relied on second param, where elfutils only makes that check if second param is non-NULL 2020-08-01T17:56:47 #kisslinux Same error 2020-08-01T17:57:06 #kisslinux Oh 2020-08-01T17:57:08 #kisslinux Hang on 2020-08-01T17:57:34 #kisslinux Still the same 2020-08-01T17:58:47 #kisslinux goddammit lol, I missed a third check that relies on it being non-NULL 2020-08-01T17:58:52 #kisslinux http://ix.io/2sSO 2020-08-01T17:59:03 #kisslinux if this one doesn't work we'll have to pick up later I gtg in a minute 2020-08-01T17:59:22 #kisslinux Alright 2020-08-01T17:59:35 #kisslinux > warning: implicit declaration of function 'puts' 2020-08-01T17:59:43 #kisslinux Same error still though. 2020-08-01T18:00:15 #kisslinux oh fuck me, I put that in because I wanted to see which if the error was happening in, but then I saw there was the third check and forgot to take it out, and I also forgot to include stdio.h for puts 2020-08-01T18:00:29 #kisslinux lol 2020-08-01T18:00:46 #kisslinux anyway gtg, hopefully I can figure out how to actually make this work later 2020-08-01T18:00:57 #kisslinux Sure 2020-08-01T18:43:25 #kisslinux Hola! 2020-08-01T18:45:01 #kisslinux I was wondering how we deal with packages that require a SUID binary. I can see the busybox package has *some* info, but it's rather lacking. 2020-08-01T18:46:50 #kisslinux I'm packaging some software that sets suid on it's own, and I suppose it'd be wise to avoid that. 2020-08-01T18:52:48 #kisslinux perish: Look at how xorg-server does it. 2020-08-01T18:52:55 #kisslinux Thanks! 2020-08-01T18:53:21 #kisslinux specifically in post-install. 2020-08-01T18:53:30 #kisslinux Currently dealing with arachsys/containers as an easy to use containment alternative to stuff like podman and docker. 2020-08-01T18:53:39 #kisslinux Ah 2020-08-01T18:53:43 #kisslinux Gotcha 2020-08-01T18:53:57 #kisslinux Containers want suid, for some reason 2020-08-01T18:58:35 #kisslinux hm 2020-08-01T18:58:56 #kisslinux no user namespaces support? 2020-08-01T18:59:00 #kisslinux Hola aosync! 2020-08-01T18:59:06 #kisslinux Hola perish! 2020-08-01T18:59:29 #kisslinux Im gonna ask the usual question :) 2020-08-01T18:59:34 #kisslinux "u on kiss yet?" 2020-08-01T19:00:17 #kisslinux dylan: Yes, it's just tools for injection and 'fakerooting' require suid for some reason. 2020-08-01T19:00:22 #kisslinux aosync: yes! 2020-08-01T19:00:33 #kisslinux nice nice nice 2020-08-01T19:02:11 #kisslinux Currently struggling with getting my package to accept there is actually a ./inject, and for XTerm to use Cozette. 2020-08-01T19:02:21 #kisslinux hello 2020-08-01T19:02:41 #kisslinux claudia02: did you try latest libudev-zero release ? it works for you ? 2020-08-01T19:02:48 #kisslinux oh.. 2020-08-01T19:02:51 #kisslinux Also want to disable bold fonts in xterm, as the fontconfig autogenerated bold fonts are a crime against typography 2020-08-01T19:03:21 #kisslinux lmao 2020-08-01T19:03:57 #kisslinux join #sdrpp 2020-08-01T19:04:07 #kisslinux hm? 2020-08-01T19:04:08 #kisslinux why 2020-08-01T19:05:33 #kisslinux perish: Glad you got everything working in the end. 2020-08-01T19:05:34 #kisslinux probably forgot '/' 2020-08-01T19:05:37 #kisslinux Or close to it at least. :P 2020-08-01T19:05:50 #kisslinux Still no touchpad support, but I'm working on it. 2020-08-01T19:06:05 #kisslinux oh dylan I see you've changed kiss colours in 4.0.2 2020-08-01T19:06:22 #kisslinux kiss-all is about to get a large boost; I found a lot of really neat things. 2020-08-01T19:06:53 #kisslinux yeah when you start using kiss as your daily driver, your personal repo gets *big* 2020-08-01T19:07:10 #kisslinux z3Oh my. This containers package is truly cursed 2020-08-01T19:07:42 #kisslinux aosync: Yeah. Just changed a single color. I think it looks nicer. 2020-08-01T19:08:06 #kisslinux I could make colors configurable rather easily. 2020-08-01T19:08:19 #kisslinux Example: ${KISS_COL0:=3} 2020-08-01T19:08:53 #kisslinux aosync: My personal repository is at 35 packages 2020-08-01T19:09:21 #kisslinux I've reduced the number now that pre-build hooks can modify build files. 2020-08-01T19:09:37 #kisslinux I'm matching the executables against a for loop for all files in the current directory. I then check if they're executable, and move them. This of course, fails for some reason. 2020-08-01T19:09:50 #kisslinux What's the error? 2020-08-01T19:10:07 #kisslinux Send the package files if you like 2020-08-01T19:10:08 #kisslinux mv: cannot rename './contain': No such file or directory 2020-08-01T19:10:10 #kisslinux I'll try and build it 2020-08-01T19:10:10 #kisslinux Sure thing 2020-08-01T19:10:22 #kisslinux Just the build file is fine 2020-08-01T19:10:26 #kisslinux then link the source here 2020-08-01T19:10:31 #kisslinux I'll fill in the gaps 2020-08-01T19:11:26 #kisslinux Alright 2020-08-01T19:12:00 #kisslinux https://0x0.st/ixUr.bin 2020-08-01T19:12:10 #kisslinux https://github.com/arachsys/containers 2020-08-01T19:13:07 #kisslinux illiliti: libudev-zero 0.3.1 works for me 2020-08-01T19:13:32 #kisslinux > mv: can't rename './contain': No such file or directory 2020-08-01T19:13:42 #kisslinux Oh 2020-08-01T19:13:44 #kisslinux I get it 2020-08-01T19:14:16 #kisslinux Oh? 2020-08-01T19:14:30 #kisslinux claudia02: awesome 2020-08-01T19:14:46 #kisslinux https://termbin.com/ldoj 2020-08-01T19:14:48 #kisslinux Here you go 2020-08-01T19:15:06 #kisslinux You can just do * for glob and drop the ./ stuff. 2020-08-01T19:15:11 #kisslinux /usr/bin didn't exist. 2020-08-01T19:15:24 #kisslinux Oh. 2020-08-01T19:15:28 #kisslinux dylanaraps: can you bump libudev-zero to 0.3.1 ? bug confirmed and fixed 2020-08-01T19:15:29 #kisslinux also, avoid "statement && statement" when using '-e'. 2020-08-01T19:15:39 #kisslinux Why so? 2020-08-01T19:16:10 #kisslinux illiliti: Done 2020-08-01T19:16:40 #kisslinux perish: If the left statement is false, it means you exit with error. 2020-08-01T19:16:53 #kisslinux If you negate it and use '||', false == true. 2020-08-01T19:16:55 #kisslinux Get it? 2020-08-01T19:17:02 #kisslinux Yes 2020-08-01T19:17:08 #kisslinux You're catching the error in the latter case. 2020-08-01T19:17:10 #kisslinux Thank you for the explanation 2020-08-01T19:17:22 #kisslinux With the former, '-e' has control. 2020-08-01T19:18:21 #kisslinux dylanaraps: tnx 2020-08-01T19:18:35 #kisslinux I would just use a fixed list of file names though 2020-08-01T19:18:42 #kisslinux Avoid the loop altogether. 2020-08-01T19:18:49 #kisslinux Just a single mv statement 2020-08-01T19:19:32 #kisslinux Oh wow 2020-08-01T19:19:38 #kisslinux Fanncy seeing you here, aurelian 2020-08-01T19:19:53 #kisslinux s/n// 2020-08-01T19:28:55 #kisslinux dylanaraps perish use -- after mv -f, so that if the file variable starts with a dash it won't be detected as an option 2020-08-01T19:32:56 #kisslinux Nice 2020-08-01T20:05:56 #kisslinux hi 2020-08-01T20:34:38 #kisslinux Hi back 2020-08-01T20:34:55 #kisslinux I am just testing a font don't mind me. 2020-08-01T20:36:09 #kisslinux How many time does it usually take for you guys to compile a kernel? 2020-08-01T20:36:32 #kisslinux defconfig should get you something working pretty quickly 2020-08-01T20:38:45 #kisslinux Yeah just did that and also selected a few needed components like wi-fi drivers as well, I'm talking about the compilation process itself, because I'm running it on Core 2 Duo 1.2Ghz, so just asking :) 2020-08-01T20:39:12 #kisslinux oh how long does it take, I thought you meant something different 2020-08-01T20:39:28 #kisslinux last time I tried with defconfig.. it was about 20-30mins? 2020-08-01T20:39:38 #kisslinux but I went crazy and removed most options so it's only about 5 now 2020-08-01T20:40:25 #kisslinux That's the spirit lol 2020-08-01T20:40:34 #kisslinux it depends on what you enable 2020-08-01T20:40:45 #kisslinux on a 2 core machine it shouldn't take more than an hour 2020-08-01T20:40:50 #kisslinux what filesystems are enabled? 2020-08-01T20:42:21 #kisslinux I didn't change much in that section, just defconfig 2020-08-01T20:43:08 #kisslinux well then I assume ext4 and friends 2020-08-01T20:43:14 #kisslinux shouldn't take more than an hou 2020-08-01T20:43:16 #kisslinux *hour 2020-08-01T20:43:33 #kisslinux Alrighty 2020-08-01T20:44:08 #kisslinux you're using parallel make, right? 2020-08-01T20:44:34 #kisslinux like "make -j$(nproc)"? yes 2020-08-01T20:44:55 #kisslinux yeah, you'll be fine 2020-08-01T22:58:11 #kisslinux Hello Boo