💾 Archived View for gemini.ctrl-c.club › ~phoebos › logs › freenode-kisslinux-2020-01-13.txt captured on 2024-05-26 at 16:27:59.
⬅️ Previous capture (2021-12-17)
-=-=-=-=-=-=-
2020-01-13T02:04:39 #kisslinux <konimex> > You are building kernel with non-retpoline compiler. 2020-01-13T02:04:43 #kisslinux <konimex> > Please update your compiler. 2020-01-13T02:05:07 #kisslinux <E5ten> with clang? 2020-01-13T02:05:16 #kisslinux <konimex> aye 2020-01-13T02:05:29 #kisslinux <E5ten> what version clang? 2020-01-13T02:05:36 #kisslinux <konimex> 9.0.1 2020-01-13T02:05:46 #kisslinux <E5ten> oh do you have AS=clang? 2020-01-13T02:05:52 #kisslinux <konimex> two secs 2020-01-13T02:05:57 #kisslinux <konimex> AS is unset 2020-01-13T02:06:26 #kisslinux <E5ten> do you have GNU as? 2020-01-13T02:06:37 #kisslinux <konimex> no 2020-01-13T02:06:41 #kisslinux <konimex> just llvm-as 2020-01-13T02:06:59 #kisslinux <konimex> alright, setting AS to clang seems fixed it 2020-01-13T02:33:39 #kisslinux <konimex> it requires GNU as huh 2020-01-13T02:37:24 #kisslinux <E5ten> yeah I'm pretty sure integrated-as doesn't work yet 2020-01-13T02:40:29 #kisslinux <konimex> okay, after setting AS=gas, we're back to the retpoline problem 2020-01-13T02:50:38 #kisslinux <konimex> so the kernel might require GCC after all 2020-01-13T03:01:20 #kisslinux <lieuxnoir> o/ 2020-01-13T03:27:28 #kisslinux <lieuxnoir> dylanraps: wiki's more okay-ish, now, i guess lol 2020-01-13T03:34:26 #kisslinux <lieuxnoir> icyphox: how's the new acpid doing for you? 2020-01-13T03:42:01 #kisslinux <icyphox> morning 2020-01-13T03:42:04 #kisslinux <icyphox> i haven't tried yet 2020-01-13T03:42:13 #kisslinux <icyphox> i will today 2020-01-13T04:07:32 #kisslinux <icyphox> weird 2020-01-13T04:07:46 #kisslinux <icyphox> eiwd whines about missing kernel modules 2020-01-13T04:07:51 #kisslinux <icyphox> when they're /all/ there 2020-01-13T04:08:05 #kisslinux <icyphox> *kernel config options 2020-01-13T04:09:31 #kisslinux <lieuxnoir> hmm 2020-01-13T04:49:56 #kisslinux <lieuxnoir> maybe something's wrong with your kernel 2020-01-13T04:50:05 #kisslinux <lieuxnoir> icyphox 2020-01-13T04:50:09 #kisslinux <lieuxnoir> or idk, maybe im wrong 2020-01-13T05:11:45 #kisslinux <icyphox> hmm 2020-01-13T05:11:51 #kisslinux <icyphox> anyway, wpa does the job for nwo 2020-01-13T05:11:57 #kisslinux <icyphox> lieuxnoir: acpid works, thanks 2020-01-13T05:19:09 #kisslinux <lieuxnoir> <3 2020-01-13T05:21:32 #kisslinux <icyphox> lieuxnoir: are you using any screen locking tool? 2020-01-13T05:21:54 #kisslinux <icyphox> slock whines about not being suid/sgid when it actually is 2020-01-13T05:22:03 #kisslinux <icyphox> physlock won't build bcs of some missing PAM headers 2020-01-13T05:22:10 #kisslinux <lieuxnoir> nope, or should say not yet 2020-01-13T05:22:18 #kisslinux <icyphox> hmm 2020-01-13T05:22:29 #kisslinux <lieuxnoir> i just Ctrl + Alt + F2 lol 2020-01-13T05:22:34 #kisslinux <icyphox> the only way to run slock is via sudo and that's uh, not cool 2020-01-13T05:22:37 #kisslinux <lieuxnoir> people here knows nothing about linux 2020-01-13T05:22:40 #kisslinux <icyphox> hahah 2020-01-13T05:22:59 #kisslinux <icyphox> well security thru obscurity isn't what i'm going for 2020-01-13T05:23:05 #kisslinux <lieuxnoir> at least, where i work haha 2020-01-13T05:23:09 #kisslinux <lieuxnoir> lemme try 2020-01-13T05:25:02 #kisslinux <lieuxnoir> you used the one from the community repo? 2020-01-13T05:26:24 #kisslinux <icyphox> no i built it from source 2020-01-13T05:26:32 #kisslinux <lieuxnoir> yep, did that, it works 2020-01-13T05:27:05 #kisslinux <lieuxnoir> changed nothing from the configs 2020-01-13T05:27:15 #kisslinux <lieuxnoir> just straight clone and make lol 2020-01-13T05:27:21 #kisslinux <icyphox> doesn't give you: slock: unable to disable OOM killer. Make sure to suid or sgid slock. 2020-01-13T05:27:24 #kisslinux <icyphox> ? 2020-01-13T05:28:40 #kisslinux <lieuxnoir> i'm guessing sudo is the culprit 2020-01-13T05:29:03 #kisslinux <lieuxnoir> try uninstalling slock 2020-01-13T05:29:21 #kisslinux <icyphox> i haven't installed it 2020-01-13T05:29:24 #kisslinux <icyphox> i just ./slock 2020-01-13T05:29:25 #kisslinux <lieuxnoir> oh 2020-01-13T05:29:41 #kisslinux <lieuxnoir> OK 2020-01-13T05:29:48 #kisslinux <lieuxnoir> i did that, showed the error 2020-01-13T05:29:53 #kisslinux <icyphox> oh 2020-01-13T05:29:56 #kisslinux <icyphox> see? 2020-01-13T05:30:04 #kisslinux <lieuxnoir> so i guess you need to install it eh 2020-01-13T05:30:07 #kisslinux <icyphox> how did you run it previously? 2020-01-13T05:30:19 #kisslinux <lieuxnoir> installed it first 2020-01-13T05:30:19 #kisslinux <icyphox> oh you `make install`'d it? 2020-01-13T05:30:22 #kisslinux <lieuxnoir> then `slock` 2020-01-13T05:30:22 #kisslinux <icyphox> ah 2020-01-13T05:30:23 #kisslinux <lieuxnoir> yep 2020-01-13T05:30:27 #kisslinux <icyphox> weird 2020-01-13T05:30:48 #kisslinux <icyphox> heh 2020-01-13T05:30:50 #kisslinux <icyphox> works 2020-01-13T05:30:53 #kisslinux <icyphox> nice 2020-01-13T05:31:09 #kisslinux <icyphox> wonder why that is 2020-01-13T05:35:24 #kisslinux <lieuxnoir> dylanaraps: will still firefox ESR work without the dbus patch? 2020-01-13T05:35:42 #kisslinux <lieuxnoir> *firefox ESR still* 2020-01-13T05:36:04 #kisslinux <lieuxnoir> RIP in resting peace grammar 2020-01-13T05:41:02 #kisslinux <konimex> last ESR was 68, iirc before they add the audio_priority? 2020-01-13T05:41:49 #kisslinux <lieuxnoir> ohh right 2020-01-13T05:41:50 #kisslinux <lieuxnoir> https://getkiss.org/blog/20190828a 2020-01-13T05:41:52 #kisslinux <icyphox> how do security patches work for ESR? 2020-01-13T05:41:55 #kisslinux <lieuxnoir> totally forgot 2020-01-13T05:47:47 #kisslinux <dylanaraps> lieuxnoir: Yes 2020-01-13T05:50:00 #kisslinux <dylanaraps> icyphox: A .X release is made when regular firefox updates to pull in security updates. 2020-01-13T05:50:00 #kisslinux <dylanaraps> icyphox: A .X release is made when regular firefox updates to pull in security updates. 2020-01-13T05:54:32 #kisslinux <icyphox> dylanaraps: ah gotcha 2020-01-13T05:55:03 #kisslinux <dylanaraps> See https://support.mozilla.org/en-US/kb/firefox-esr-release-cycle 2020-01-13T05:55:15 #kisslinux <icyphox> thanks 2020-01-13T06:04:03 #kisslinux <dylanaraps> 64:21.51 | ^~~ 2020-01-13T06:04:12 #kisslinux <dylanaraps> Firefox is building on the vps. 2020-01-13T06:05:45 #kisslinux <lieuxnoir> woohoo 2020-01-13T06:06:28 #kisslinux <lieuxnoir> too much sed 2020-01-13T06:55:53 #kisslinux <lieuxnoir> dylanaraps: mpv can't open /dev/video0 2020-01-13T06:55:58 #kisslinux <lieuxnoir> it says permission denied 2020-01-13T06:56:01 #kisslinux <lieuxnoir> can you reproduce? 2020-01-13T06:56:34 #kisslinux <dylanaraps> [file] Cannot open file '/dev/video0': No such file or directory 2020-01-13T06:57:05 #kisslinux <lieuxnoir> oh right, you're webcams are disabled lol 2020-01-13T06:57:30 #kisslinux <dylanaraps> Try: mpv tv:// 2020-01-13T06:57:54 #kisslinux <lieuxnoir> no protocol handler 2020-01-13T06:57:58 #kisslinux <dylanaraps> Oh 2020-01-13T06:57:59 #kisslinux <dylanaraps> Hm 2020-01-13T06:58:11 #kisslinux <lieuxnoir> it worked before 2020-01-13T06:58:17 #kisslinux <lieuxnoir> i have a guess tho 2020-01-13T06:58:41 #kisslinux <lieuxnoir> removing xinit 2020-01-13T06:59:09 #kisslinux <dylanaraps> Maybe 2020-01-13T06:59:34 #kisslinux <dylanaraps> I've gotta go. Be on a little later. Have a sick/dying cat here. 2020-01-13T06:59:52 #kisslinux <dylanaraps> Possibly poisoned or possibly a virus. 2020-01-13T07:00:02 #kisslinux <lieuxnoir> aww :( 2020-01-13T07:00:12 #kisslinux <dylanaraps> Yeah 2020-01-13T07:00:19 #kisslinux <dylanaraps> Will see what can be done 2020-01-13T07:19:42 #kisslinux <lieuxnoir> huh 2020-01-13T07:19:59 #kisslinux <lieuxnoir> it worked again, i only did a reboot 2020-01-13T08:44:31 #kisslinux <lieuxnoir> TIL slock won't work with acpid directly 2020-01-13T08:44:48 #kisslinux <icyphox> it doesn't? 2020-01-13T08:45:02 #kisslinux <lieuxnoir> yes and no 2020-01-13T08:45:03 #kisslinux <icyphox> just have to toss it in the handler script right 2020-01-13T08:45:13 #kisslinux <icyphox> or does it lock as root 2020-01-13T08:45:14 #kisslinux <lieuxnoir> nope, won't work 2020-01-13T08:45:20 #kisslinux <lieuxnoir> nope, it won't lock at all 2020-01-13T08:45:27 #kisslinux <icyphox> oh 2020-01-13T08:45:30 #kisslinux <icyphox> hm 2020-01-13T08:45:38 #kisslinux <lieuxnoir> hm 2020-01-13T08:45:47 #kisslinux <lieuxnoir> `button/screenlock)` 2020-01-13T08:45:50 #kisslinux <lieuxnoir> ` slock` 2020-01-13T08:45:51 #kisslinux <lieuxnoir> `;;` 2020-01-13T08:46:02 #kisslinux <lieuxnoir> ^ doesn't work 2020-01-13T08:46:04 #kisslinux <lieuxnoir> but 2020-01-13T08:46:14 #kisslinux <lieuxnoir> `button/screenlock)` 2020-01-13T08:46:18 #kisslinux <icyphox> button/screenlock? 2020-01-13T08:46:28 #kisslinux <lieuxnoir> the event name 2020-01-13T08:46:29 #kisslinux <icyphox> oh you have an event like that 2020-01-13T08:46:31 #kisslinux <icyphox> ah 2020-01-13T08:46:41 #kisslinux <lieuxnoir> anyway 2020-01-13T08:46:47 #kisslinux <lieuxnoir> `button/screenlock)` 2020-01-13T08:46:59 #kisslinux <lieuxnoir> ` export DISPLAY=:0` 2020-01-13T08:47:07 #kisslinux <lieuxnoir> ` su -c slock USERNAME` 2020-01-13T08:47:09 #kisslinux <lieuxnoir> `;;` 2020-01-13T08:47:11 #kisslinux <lieuxnoir> ^ works 2020-01-13T08:47:27 #kisslinux <icyphox> figured 2020-01-13T08:47:39 #kisslinux <icyphox> cool 2020-01-13T08:48:22 #kisslinux <lieuxnoir> it this wiki-worthy? 2020-01-13T08:48:25 #kisslinux <lieuxnoir> lol 2020-01-13T09:38:35 #kisslinux <dylanaraps> OK 2020-01-13T09:38:41 #kisslinux <dylanaraps> ESR build has failed twice. 2020-01-13T09:38:51 #kisslinux <dylanaraps> Looks like either Rust or cbindgen is too new. 2020-01-13T09:39:02 #kisslinux <dylanaraps> Gotta love no stable Rust ABI. 2020-01-13T09:39:11 #kisslinux <dylanaraps> Will attempt again with older versions. 2020-01-13T09:39:20 #kisslinux <dzove855> dylanaraps: when you put everything on clang, you will get a more verbose message (i saw it yesterday) probably it can help out finding the issue 2020-01-13T09:40:01 #kisslinux <dylanaraps> Nice, will do. 2020-01-13T09:40:51 #kisslinux <icyphox> https://github.com/Arkq/alock 2020-01-13T09:41:06 #kisslinux <icyphox> found this 2020-01-13T09:41:20 #kisslinux <dylanaraps> There's also slock 2020-01-13T09:41:27 #kisslinux <dylanaraps> Which is in community. 2020-01-13T09:42:32 #kisslinux <konimex> ah, the language of the future™, with no stable ABI 2020-01-13T09:44:14 #kisslinux <konimex> alright, the kernel (finally) built, but can't be boot into, looks like a defconfig is underway 2020-01-13T09:52:56 #kisslinux <dylanaraps> Ah 2020-01-13T09:54:56 #kisslinux <icyphox> dylanaraps: yeah I'm using slock right now 2020-01-13T09:55:03 #kisslinux <icyphox> doesn't support background image tho 2020-01-13T09:55:11 #kisslinux <icyphox> which is a bummer 2020-01-13T09:55:20 #kisslinux <icyphox> can't have blurred scrots :P 2020-01-13T09:56:05 #kisslinux <dylanaraps> Ah 2020-01-13T09:58:03 #kisslinux <dylanaraps> OK 2020-01-13T09:58:13 #kisslinux <dylanaraps> Pulling us back to rust 1.38 2020-01-13T09:58:29 #kisslinux <dylanaraps> cbindgen version should be fine on latest. 2020-01-13T10:06:23 #kisslinux <dzove855> i used to like rust... 2020-01-13T10:07:01 #kisslinux <dylanaraps> It'd be fine if it was ABI stable 2020-01-13T10:07:28 #kisslinux <dylanaraps> I also don't like how large it is 2020-01-13T10:07:33 #kisslinux <dylanaraps> Takes forever to compile 2020-01-13T10:07:53 #kisslinux <dzove855> yeah that's my biggest problem, it's just to heavy 2020-01-13T11:04:44 #kisslinux <icyphox> who the fuck thought having incompatible ABIs across versions is a good idea lol 2020-01-13T11:05:08 #kisslinux <icyphox> that's an absurd design choice 2020-01-13T12:10:05 #kisslinux <jedavies> dylanaraps: regarding the firefox stuff, how will binary packages be distributed? 2020-01-13T12:10:49 #kisslinux <icyphox> they won't jedavies 2020-01-13T12:11:05 #kisslinux <icyphox> you're going to have to build from source 2020-01-13T12:11:34 #kisslinux <jedavies> thought there was a plan to distribute binary packages in KISS for firefox? 2020-01-13T12:12:59 #kisslinux <icyphox> dunno 2020-01-13T12:13:30 #kisslinux <icyphox> i do recall something like that as well, but i don't think Dylan ever went with it 2020-01-13T12:17:03 #kisslinux <jedavies> Yesterday evening Dylan mentioned that he would be producing binary packages for firefox. I'm just curious how it will be distributed, since whatever Dylan does for x86 I'll probably also need to do for ppc 2020-01-13T12:17:23 #kisslinux <icyphox> ahh 2020-01-13T12:18:00 #kisslinux <icyphox> i was likely asleep then :P 2020-01-13T12:25:40 #kisslinux <dylanaraps> jedavies: It'll be 'kiss b firefox-bin' which will download and install the binary package. 2020-01-13T12:25:58 #kisslinux <dylanaraps> And yes, I am providing binaries. 2020-01-13T12:27:14 #kisslinux <dylanaraps> I just need to debug why the ESR won't build. 2020-01-13T12:27:54 #kisslinux <dylanaraps> jedavies: We're also swapping to the ESR which means less work overall for Firefox and Rust. 2020-01-13T12:28:34 #kisslinux <dylanaraps> jedavies: You don't have to provide firefox-bin and can simply package Firefox (ESR) as we have been. 2020-01-13T12:29:56 #kisslinux <dylanaraps> Apologies for the delay, I've got a dying cat here. 2020-01-13T12:30:28 #kisslinux <jedavies> ok cool 2020-01-13T12:30:34 #kisslinux <dylanaraps> There's a virus going around which has killed a lot of cats in the area. 2020-01-13T12:30:56 #kisslinux <dylanaraps> I bought an IV drip and did it at home... 2020-01-13T12:31:02 #kisslinux <dylanaraps> Also antibiotics etc. 2020-01-13T12:31:16 #kisslinux <dylanaraps> Just needs time now to see if he pulls through. 2020-01-13T12:31:43 #kisslinux <jedavies> sounds nasty, hope he makes it 2020-01-13T12:32:12 #kisslinux <dylanaraps> Thanks 2020-01-13T12:33:44 #kisslinux <icyphox> dylanaraps: will the binary be pushed to kisslinux/repo? 2020-01-13T12:33:53 #kisslinux <Aarg> man, sucks. fingers crossed for the little fella 2020-01-13T12:34:07 #kisslinux <Aarg> oh and hi 2020-01-13T12:34:20 #kisslinux <icyphox> also shoot man, i hope your cat pulls thru 2020-01-13T12:34:24 #kisslinux <icyphox> :/ 2020-01-13T12:35:36 #kisslinux <dylanaraps> Thanks :) 2020-01-13T12:36:08 #kisslinux <Aarg> icyphox, do you use any firefox plugins? 2020-01-13T12:36:28 #kisslinux <icyphox> Aarg: ublock origin, greasemonkey, stylus 2020-01-13T12:36:46 #kisslinux <Aarg> all the settings are stored properly? 2020-01-13T12:36:54 #kisslinux <icyphox> i haven't tried yet 2020-01-13T12:36:55 #kisslinux <icyphox> tbh 2020-01-13T12:37:00 #kisslinux <icyphox> they just auto-synced 2020-01-13T12:37:24 #kisslinux <icyphox> ublock seems to work ok though 2020-01-13T12:37:30 #kisslinux <dylanaraps> Aarg: This issue should be fixed once we swap to ESR as well. 2020-01-13T12:37:35 #kisslinux <jedavies> dylanaraps: been working on this: https://github.com/jedavies-dev/kiss-aarch64 2020-01-13T12:37:39 #kisslinux <Aarg> I was hoping 2020-01-13T12:37:50 #kisslinux <dylanaraps> ESR will solve all of our problems 2020-01-13T12:37:54 #kisslinux <icyphox> jedavies: nice! i was planning on doing arm64 myself 2020-01-13T12:38:00 #kisslinux <jedavies> core and most of xorg are built, now working on booting 2020-01-13T12:38:12 #kisslinux <dylanaraps> If you install firefox-bin there's no need to build rust, python2, gtk+2, cbindgen etc. 2020-01-13T12:38:12 #kisslinux <icyphox> based ESR 2020-01-13T12:38:26 #kisslinux <jedavies> icyphox: nice, do you have a particular device in mind? 2020-01-13T12:38:27 #kisslinux <dylanaraps> Updates will take a lot less time. 2020-01-13T12:38:41 #kisslinux <dylanaraps> I just have to get the ESR to build... lol 2020-01-13T12:39:00 #kisslinux <icyphox> jedavies: not really. i'm generally just interested in embedded architectures for security/RE work. 2020-01-13T12:39:07 #kisslinux <icyphox> so i'll likely just boot thru qemu 2020-01-13T12:39:14 #kisslinux <icyphox> dunno when i'll get around to it though 2020-01-13T12:39:39 #kisslinux <jedavies> ok, would like to eventually provide a qemu image along with the tarball, so you could try with qemu 2020-01-13T12:39:49 #kisslinux <icyphox> neato :) 2020-01-13T12:42:53 #kisslinux <dylanaraps> I'll add a section to the website about your KISS ports jedavies. 2020-01-13T12:43:00 #kisslinux <dylanaraps> And to the install guide. 2020-01-13T12:43:45 #kisslinux <dylanaraps> The cat is now full of fluid from the drip. :D 2020-01-13T12:43:48 #kisslinux <jedavies> Thanks, would be good to get more people testing on the different archs 2020-01-13T12:44:19 #kisslinux <dylanaraps> You can do the IV yourself under the skin of the neck. I didn't know this before today. 2020-01-13T12:44:31 #kisslinux <dylanaraps> Just needs to absorb the fluid through his skin now. 2020-01-13T12:44:46 #kisslinux <icyphox> man i feel rly bad seeing/hearing about animals being sick :( 2020-01-13T12:45:02 #kisslinux <dylanaraps> That's life sadly 2020-01-13T12:45:06 #kisslinux <icyphox> yeah 2020-01-13T12:45:11 #kisslinux <icyphox> which is also why i liekly won't get a pet 2020-01-13T12:45:21 #kisslinux <dylanaraps> Don't let things like this stop you 2020-01-13T12:45:29 #kisslinux <dylanaraps> It's good/bad. 2020-01-13T12:45:38 #kisslinux <dylanaraps> The good far out-weighs the bad. 2020-01-13T12:45:49 #kisslinux <icyphox> i suppose :) 2020-01-13T12:45:59 #kisslinux <dylanaraps> Cats are crazy tough though. 2020-01-13T12:46:18 #kisslinux <icyphox> but i don't think i'm built do deal with loss man, should that ever happen 2020-01-13T12:46:26 #kisslinux <icyphox> to* 2020-01-13T12:46:53 #kisslinux <dylanaraps> Loss of an animal prepares you for loss of a family member or someone close. 2020-01-13T12:47:02 #kisslinux <dylanaraps> Especially for children. 2020-01-13T12:47:07 #kisslinux <icyphox> hmmm 2020-01-13T12:47:10 #kisslinux <icyphox> that's true i guess 2020-01-13T12:47:44 #kisslinux <icyphox> anyway, bbl -- shower 2020-01-13T12:49:51 #kisslinux <dylanaraps> jedavies: I wonder if you can ease the burden of maintaining the build files by using 'sed' to do some simple replacement and running the result. 2020-01-13T12:51:30 #kisslinux <dylanaraps> Example: sed 's/search/replace/' /var/db/kiss/repo/core/gcc/build > build; sh build "$@" 2020-01-13T12:57:58 #kisslinux <jedavies> dylanaraps: maybe, but I usually don't have to touch the buildfiles once they're done. Since the version file is symlinked, version upgrades are automatic. 2020-01-13T12:58:31 #kisslinux <jedavies> and if the build file in the main repo is changing, I'd have to update the search/replace statements each time anyway 2020-01-13T12:58:35 #kisslinux <konimex> that depends on the diffs between x86_64-to-other architectures build files 2020-01-13T12:58:41 #kisslinux <dylanaraps> jedavies: This also ensure you receive any changes I make to the build files (very rare and done to fix builds) 2020-01-13T12:58:45 #kisslinux <dylanaraps> s/ensure/ensures/ 2020-01-13T12:59:06 #kisslinux <dylanaraps> konimex: Yup 2020-01-13T12:59:17 #kisslinux <dylanaraps> Totally up to you and just an idea jedavies. :) 2020-01-13T12:59:41 #kisslinux <konimex> and there's also patches (though I don't know how many patches in ppc64le/aarch64 kiss core) 2020-01-13T12:59:56 #kisslinux <dylanaraps> True 2020-01-13T13:00:16 #kisslinux <jedavies> dylanaraps: Thanks for the suggestion, always welcome. Will think about it - got to get back to work :) 2020-01-13T13:01:06 #kisslinux <jedavies> was particularly interested in how binary package management will be done in KISS, since I may have to think about that with the ARM device. 2020-01-13T13:01:23 #kisslinux <jedavies> since it's not very powerful, I might want to build the packages on a different machine 2020-01-13T13:01:54 #kisslinux <jedavies> though that's for a bit later 2020-01-13T13:16:03 #kisslinux <dylanaraps> Yup 2020-01-13T14:24:10 #kisslinux <dylanaraps> OK 2020-01-13T14:24:14 #kisslinux <dylanaraps> Caught the error: https://termbin.com/tjm6 2020-01-13T14:24:41 #kisslinux <dylanaraps> > 1:53.55 error: cannot produce proc-macro for `cssparser-macros v0.3.3` as the target `x86_64-unknown-linux-musl` does not support these crate types 2020-01-13T14:30:28 #kisslinux <dylanaraps> I'm going to rebuild rust just in case. 2020-01-13T14:35:03 #kisslinux <dylanaraps> Slackware are able to build Firefox ESR using the latest rust. 2020-01-13T14:36:02 #kisslinux <dylanaraps> Interestingly Slackware don't ship cbindgen(?) 2020-01-13T14:36:53 #kisslinux <dylanaraps> Ah 2020-01-13T14:36:56 #kisslinux <dylanaraps> 0.9.0 2020-01-13T14:36:59 #kisslinux <dylanaraps> Will try it. 2020-01-13T14:42:25 #kisslinux <dylanaraps> Also adding some fixes to reduce memory usage during builds. 2020-01-13T14:45:13 #kisslinux <dylanaraps> OK 2020-01-13T14:45:19 #kisslinux <dylanaraps> New build started. 2020-01-13T15:11:14 #kisslinux <Aarg> dylanaraps, have you done anything about tailf? 2020-01-13T15:11:34 #kisslinux <Aarg> I might try myself at yanking it out from util-linux and make it a separate project 2020-01-13T15:12:09 #kisslinux <Aarg> also removing the polling stuff to make it as small as possible 2020-01-13T15:18:29 #kisslinux <dylanaraps1> Aarg: I tried incorporating it back into util-linux but failed. 2020-01-13T15:18:44 #kisslinux <dylanaraps1> It seems to depend on a bunch of the shared headers/libs from util-linux. 2020-01-13T15:18:48 #kisslinux <dylanaraps1> Probably why it's so small. 2020-01-13T15:18:53 #kisslinux <Aarg> ah, fuck 2020-01-13T15:19:12 #kisslinux <Aarg> np though 2020-01-13T15:19:16 #kisslinux <Aarg> I will figure something out 2020-01-13T15:19:38 #kisslinux <dylanaraps1> It might be worth looking for another "tail -f"-esque program 2020-01-13T15:20:01 #kisslinux <dylanaraps1> You could also ask on busybox's mailing list 2020-01-13T15:20:33 #kisslinux <Aarg> they would probably just refer me to their inotifyd :D 2020-01-13T15:20:43 #kisslinux <dylanaraps1> True 2020-01-13T15:25:38 #kisslinux <dylanaraps1> So far so good on this new Firefox build 2020-01-13T15:39:04 #kisslinux <dzove855> dylanaraps: i wish the best for your cat 2020-01-13T15:40:19 #kisslinux <dylanaraps1> Thanks 2020-01-13T15:40:29 #kisslinux <dylanaraps1> He's hydrated now and asleep. 2020-01-13T15:40:54 #kisslinux <dylanaraps1> I need to go buy another few syringes as he'll need another drip to get through the night. 2020-01-13T15:41:07 #kisslinux <dylanaraps1> (There's no vet where I live if you're wondering) 2020-01-13T15:43:50 #kisslinux <dzove855> :/ not good 2020-01-13T15:49:29 #kisslinux <icyphox> dang 2020-01-13T15:49:37 #kisslinux <icyphox> drive to town? 2020-01-13T15:57:00 #kisslinux <dylanaraps1> I called the vet this morning and she prescribed medication which I bought from the pharmacy 2020-01-13T15:57:22 #kisslinux <dylanaraps1> There's nothing they can do regardless as there's no "cure". 2020-01-13T15:57:22 #kisslinux <icyphox> ah okay 2020-01-13T15:57:27 #kisslinux <icyphox> shit 2020-01-13T15:57:32 #kisslinux <icyphox> what's this uncurable virus 2020-01-13T15:57:46 #kisslinux <dylanaraps1> Basically, giving him fluids, antibiotics etc and hoping he pulls through 2020-01-13T15:58:22 #kisslinux <KayW> shit dude, im sorry to hear 2020-01-13T15:59:30 #kisslinux <dylanaraps1> https://www.avma.org/resources-tools/pet-owners/petcare/feline-panleukopenia 2020-01-13T15:59:33 #kisslinux <dylanaraps1> All good 2020-01-13T15:59:35 #kisslinux <dylanaraps1> It's life 2020-01-13T16:18:47 #kisslinux <dylanaraps1> 92:44.18 | ^~~ 2020-01-13T16:18:54 #kisslinux <dylanaraps1> Firefox is 92 minutes in 2020-01-13T16:21:10 #kisslinux <dzove855> i hope the build will not fail 2020-01-13T16:21:39 #kisslinux <icyphox> 92! 2020-01-13T16:21:48 #kisslinux <icyphox> yeah me too 2020-01-13T16:21:55 #kisslinux <icyphox> :D 2020-01-13T16:23:03 #kisslinux <dylanaraps1> It may take longer as this is with '-j1 -l1' and some other environment variables for the build to use less memory. 2020-01-13T16:23:20 #kisslinux <dylanaraps1> We should be able to rule out OOM for this build though. 2020-01-13T16:23:59 #kisslinux <dylanaraps1> Woah 2020-01-13T16:24:08 #kisslinux <dylanaraps1> This really drops the memory usage 2020-01-13T16:24:43 #kisslinux <dylanaraps1> 250MB~ during compilation and 1GB during linking 2020-01-13T16:25:31 #kisslinux <dzove855> yeaah, when i try'd the first build with nproc, i could not even switch through the windows.. then when i try'd with -j 2 -l 2, it was a different level 2020-01-13T16:26:14 #kisslinux <dylanaraps1> I changed the LDFLAGS to be more friendly with lower memory 2020-01-13T16:26:33 #kisslinux <dylanaraps1> Also disabled all debug info from the rust portions (I thought we were doing this already) 2020-01-13T16:27:45 #kisslinux <dzove855> what do you think about adding support in kiss, to override config.def.h ? 2020-01-13T16:27:49 #kisslinux <dzove855> for example dwm 2020-01-13T16:28:00 #kisslinux <dzove855> if there exist a file /etc/dwm/config.def.h 2020-01-13T16:28:18 #kisslinux <dzove855> then it will use this file instead for the upstream config.def.h 2020-01-13T16:28:55 #kisslinux <dzove855> or better: /etc/kiss/override/dwm 2020-01-13T16:33:44 #kisslinux <Aarg> It's easy enough to create an overlay repo, dzove855 2020-01-13T16:34:43 #kisslinux <Aarg> basically create a folder as your repo, add that folder at the beginning of KISS_PATH 2020-01-13T16:35:13 #kisslinux <Aarg> add the package directory and create symlinks to all the original files 2020-01-13T16:35:39 #kisslinux <Aarg> add a "files" folder and put your config.h in it 2020-01-13T16:35:59 #kisslinux <dylanaraps1> This could be automated as a kiss-util 2020-01-13T16:36:29 #kisslinux <dylanaraps1> kiss-fork st files/config.h (Symlink all but files/config.h) 2020-01-13T16:37:27 #kisslinux <Aarg> that would be nice, yeah 2020-01-13T16:37:40 #kisslinux <dzove855> Aarg: that's what you have done with kiss-overlay or i'm wrong? 2020-01-13T16:38:03 #kisslinux <dzove855> dylanaraps: that would be nice 2020-01-13T16:38:17 #kisslinux <Aarg> what do you mean? 2020-01-13T16:38:29 #kisslinux <Aarg> that's how I changed my st and mpv build 2020-01-13T16:38:38 #kisslinux <dylanaraps1> Fun fact: /var/db/kiss/installed (The installed pkg db) is also a repository 2020-01-13T16:38:54 #kisslinux <dylanaraps1> It is searched last after KISS_PATH 2020-01-13T16:39:10 #kisslinux <dzove855> Aarg: wait i could be wrong. I thought this was you: https://github.com/a-schaefers/kiss-overlay 2020-01-13T16:39:25 #kisslinux <dylanaraps1> So as long as you have a package installed, you have the means to build it if it has been removed from all repositories. 2020-01-13T16:40:32 #kisslinux <Aarg> thats pretty clever 2020-01-13T16:40:56 #kisslinux <Aarg> in general, I love how this package manager turned out 2020-01-13T16:41:01 #kisslinux <dzove855> i will have further look in kiss, it seems pretty clean 2020-01-13T16:41:15 #kisslinux <Aarg> some time ago I tried sabotage linux 2020-01-13T16:41:24 #kisslinux <Aarg> that's not me, dzove855 ;) 2020-01-13T16:41:35 #kisslinux <dzove855> Aarg: aah sorry then :) 2020-01-13T16:41:54 #kisslinux <Aarg> sabotage's package manager is also written in shell 2020-01-13T16:42:05 #kisslinux <Aarg> but it seemed to be quite a mess 2020-01-13T16:43:23 #kisslinux <dzove855> tbhm when i first read that kiss is written in shell an posix compliant, i tought it will be like 90% of others shell and posix compliant scripts: Just a mess, but finally it's far away from it 2020-01-13T16:43:30 #kisslinux <dzove855> s/tbhm/tbh 2020-01-13T16:44:44 #kisslinux <Aarg> yep 2020-01-13T16:45:01 #kisslinux <Aarg> I think dylan is concidering a re-write in C though 2020-01-13T16:45:58 #kisslinux <Aarg> s/concidering/considering/ 2020-01-13T16:47:27 #kisslinux <dylanaraps1> It needs a lot of thought 2020-01-13T16:47:36 #kisslinux <icyphox> why rewrite it in C? perf? 2020-01-13T16:47:43 #kisslinux <dylanaraps1> Performance, yeah 2020-01-13T16:47:49 #kisslinux <dzove855> If there're some good points to do it, why not. Personally i prefer shell, but it all depends on the need 2020-01-13T16:48:01 #kisslinux <dylanaraps1> The slowest parts of the package manager are checking fo file conflicts and dependency detection 2020-01-13T16:48:12 #kisslinux <icyphox> i suppose we'll need some concrete benchmarks 2020-01-13T16:48:14 #kisslinux <dylanaraps1> If I can't speed these up then I'll seriously think about it 2020-01-13T16:48:16 #kisslinux <dylanaraps1> OR 2020-01-13T16:48:22 #kisslinux <icyphox> or you can write those bits in C 2020-01-13T16:48:28 #kisslinux <dylanaraps1> I write small C utilities to replace just these parts 2020-01-13T16:48:31 #kisslinux <icyphox> ^ 2020-01-13T16:48:31 #kisslinux <dylanaraps1> Beat me to it :P 2020-01-13T16:48:33 #kisslinux <icyphox> yep 2020-01-13T16:48:35 #kisslinux <icyphox> hah 2020-01-13T16:48:55 #kisslinux <Aarg> clearly the better solution 2020-01-13T16:49:17 #kisslinux <dylanaraps1> Yup 2020-01-13T16:49:24 #kisslinux <dzove855> seconde solution seems better for me also 2020-01-13T16:49:32 #kisslinux <dylanaraps1> 123:22.96 dom/media/mediasource 2020-01-13T16:49:36 #kisslinux <dylanaraps1> Firefox is doing well 2020-01-13T16:49:39 #kisslinux <icyphox> but also easier to fuck up, bcs C 2020-01-13T16:49:40 #kisslinux <dylanaraps1> Two hours in now 2020-01-13T16:49:48 #kisslinux <icyphox> damn 2020-01-13T16:49:49 #kisslinux <dylanaraps1> That's what makes it fun 2020-01-13T16:49:57 #kisslinux <icyphox> sure does :D 2020-01-13T16:50:16 #kisslinux <icyphox> if it aint broke, where's the fun?™ 2020-01-13T16:53:07 #kisslinux <dylanaraps1> For missing dependencies kiss runs 'ldd' on each of the package's files and then checks to see which packages own the files outputted by 'ldd' 2020-01-13T16:53:55 #kisslinux <dylanaraps1> Example: ldd /usr/bin/zip displays /usr/lib/libbz2.so.1.0. We then check which package this file belongs to and add it to the depends file 2020-01-13T16:54:09 #kisslinux <dzove855> could you not avoid it by setting up a cache folder, which already have all of this informations? 2020-01-13T16:55:14 #kisslinux <dzove855> forget about my idea 2020-01-13T16:55:15 #kisslinux <dylanaraps1> Well, minus calling ldd this information already exists in /var/db/kiss/installed/ 2020-01-13T16:55:41 #kisslinux <dylanaraps1> Think of the dependency checker as security against 'kiss r pkg' breaking anything. 2020-01-13T16:56:19 #kisslinux <dylanaraps1> It also safe-guards against incomplete dependency lists. 2020-01-13T16:56:35 #kisslinux <dylanaraps1> As well as safe-guarding against a package brining in an optional lib. 2020-01-13T16:56:57 #kisslinux <dylanaraps1> s/brining/bringing 2020-01-13T16:57:40 #kisslinux <dylanaraps1> The bottleneck in both is that they require a 'grep' over a large number of files. 2020-01-13T16:57:56 #kisslinux <dylanaraps1> I'm not sure if busybox grep has the optimizations of GNU grep 2020-01-13T16:58:26 #kisslinux <dylanaraps1> One idea is to make 'kiss' use gnu grep or even ripgrep in place of busybox's if installed. 2020-01-13T16:58:32 #kisslinux <Aarg> just use ripgrep 2020-01-13T16:58:34 #kisslinux <dylanaraps1> Very simple to implement 2020-01-13T16:58:34 #kisslinux <Aarg> /s obviously :p 2020-01-13T16:58:56 #kisslinux <dylanaraps1> Just like how 'sudo' is used in place of 'su' if installed. 2020-01-13T16:59:35 #kisslinux <Aarg> that's a good idea 2020-01-13T16:59:42 #kisslinux <dylanaraps1> Both are in community so it allows a user to pick speed over "correctness"/POSIX. 2020-01-13T16:59:44 #kisslinux <Aarg> try to use the fastest possible with fallbacks 2020-01-13T16:59:47 #kisslinux <dylanaraps1> Yup 2020-01-13T17:01:04 #kisslinux <dzove855> or if you want to do something nasty: https://github.com/taviso/ctypes.sh it's fun 2020-01-13T17:02:33 #kisslinux <dylanaraps1> heh 2020-01-13T17:02:36 #kisslinux <dylanaraps1> I know 2020-01-13T17:02:51 #kisslinux <dylanaraps1> That's a line I don't want to cross 2020-01-13T17:02:54 #kisslinux <dylanaraps1> lol 2020-01-13T17:03:41 #kisslinux <Aarg> lol the testimonials at the bottom of the readme 2020-01-13T17:04:34 #kisslinux <dzove855> haha i already thought about writing a httpd server around to implement it in my framework, but then i just say'd no thanks haha 2020-01-13T17:07:24 #kisslinux <Aarg> yay, we finally have a good editor in community :> 2020-01-13T17:10:57 #kisslinux <dylanaraps1> heh 2020-01-13T17:11:42 #kisslinux <dylanaraps1> ooo 2020-01-13T17:11:48 #kisslinux <dylanaraps1> Firefox may finish soon 2020-01-13T17:11:56 #kisslinux <Aarg> nice 2020-01-13T17:18:03 #kisslinux <dylanaraps1> o/ 2020-01-13T17:18:09 #kisslinux <dylanaraps1> 152:13.48 layout/forms 2020-01-13T17:18:17 #kisslinux <dylanaraps1> -j1 -l1 takes a while huh 2020-01-13T17:25:56 #kisslinux <dylanaraps1> Well this is gross: https://www.mozilla.org/en-US/foundation/trademarks/distribution-policy/ 2020-01-13T17:26:23 #kisslinux <dylanaraps1> Looks like we'll have to call Firefox something else if we ship binaries. 2020-01-13T17:28:03 #kisslinux <dylanaraps1> > error: 'gettid' wa 2020-01-13T17:28:04 #kisslinux <dylanaraps1> s not declared in this scope; did you mean 'getgid'? 2020-01-13T17:28:29 #kisslinux <dylanaraps1> error: 'gettid' was not declared in this scope; did you mean 'getgid'? 2020-01-13T17:28:33 #kisslinux <dylanaraps1> That's a new one. 2020-01-13T17:32:08 #kisslinux <Aarg> ugh 2020-01-13T17:32:30 #kisslinux <Aarg> my build takes like 50 minutes with -j4, so yours is not so bad 2020-01-13T17:33:29 #kisslinux <dylanaraps1> Ah, glibc added gettid and Firefox started using it? 2020-01-13T17:36:11 #kisslinux <dylanaraps1> Bingo. 2020-01-13T17:36:13 #kisslinux <dylanaraps1> Found a patch 2020-01-13T17:40:50 #kisslinux <Aarg> back to compiling :D 2020-01-13T17:41:13 #kisslinux <dylanaraps1> Yup 2020-01-13T17:41:19 #kisslinux <dylanaraps1> Will use -j2 -l2 this time 2020-01-13T17:41:33 #kisslinux <Aarg> hmm, so kiss does not overwrite original files in the source dir?! 2020-01-13T17:41:52 #kisslinux <dylanaraps1> ? 2020-01-13T17:42:10 #kisslinux <Aarg> as in, I can't create an overlay, add files and have them replace original files 2020-01-13T17:42:30 #kisslinux <dylanaraps1> Oh 2020-01-13T17:42:43 #kisslinux <dylanaraps1> So you add files/config.h and it doesn't remove the existing config.h? 2020-01-13T17:42:49 #kisslinux <Aarg> yeah 2020-01-13T17:43:27 #kisslinux <dylanaraps1> Hm 2020-01-13T17:43:38 #kisslinux <dylanaraps1> It uses 'cp -f' so it should overwrite already 2020-01-13T17:44:13 #kisslinux <Aarg> my pkg should be ok. File is in files and listed in sources. 2020-01-13T17:45:27 #kisslinux <dylanaraps1> sources contains https://bla.bla/bla.tar.gz and files/config.h right? 2020-01-13T17:45:31 #kisslinux <dylanaraps1> As an example 2020-01-13T17:45:45 #kisslinux <dylanaraps1> Then there's a files/ dir and inside of it config.h 2020-01-13T17:45:52 #kisslinux <dylanaraps1> The rest are symlinks? 2020-01-13T17:46:57 #kisslinux <Aarg> yep 2020-01-13T17:47:15 #kisslinux <dylanaraps1> Hm 2020-01-13T17:47:25 #kisslinux <dylanaraps1> Mind uploading the package to GitHub or somewhere? 2020-01-13T17:47:32 #kisslinux <dylanaraps1> (The repo files I mean) 2020-01-13T17:48:16 #kisslinux <Aarg> ok, will do 2020-01-13T17:48:30 #kisslinux <Aarg> wanted to host my overlay on github anyway 2020-01-13T17:51:37 #kisslinux <Aarg> dylanaraps: https://github.com/aaronNGi/kissoverlay 2020-01-13T17:52:32 #kisslinux <dylanaraps1> Ah 2020-01-13T17:52:43 #kisslinux <dylanaraps1> You have files/config.h *before* the sources 2020-01-13T17:52:50 #kisslinux <dylanaraps1> In the sources file 2020-01-13T17:52:53 #kisslinux <Aarg> aaah 2020-01-13T17:52:58 #kisslinux <Aarg> ok, good to know 2020-01-13T17:53:06 #kisslinux <dylanaraps1> Yeah, it's parsed in order 2020-01-13T17:53:29 #kisslinux <dylanaraps1> So the config.h in st overwrites yours 2020-01-13T17:53:30 #kisslinux <Aarg> hmm, same with my st package tho and that works 2020-01-13T17:53:44 #kisslinux <dylanaraps1> st may not include config.h in the source tarball 2020-01-13T17:53:45 #kisslinux <Aarg> oh no, the neatvi pkg is the one not working 2020-01-13T17:53:53 #kisslinux <dylanaraps1> It might include only config.def.h 2020-01-13T17:53:58 #kisslinux <dylanaraps1> In which case it'd work. 2020-01-13T17:54:10 #kisslinux <Aarg> right, got it now 2020-01-13T17:56:01 #kisslinux <dylanaraps1> wew 2020-01-13T17:56:05 #kisslinux <dylanaraps1> I had to write the patch myself 2020-01-13T17:56:17 #kisslinux <dylanaraps1> Things changed since 68.0.0 it turns out 2020-01-13T17:58:18 #kisslinux <dylanaraps1> OK 2020-01-13T17:58:22 #kisslinux <dylanaraps1> Here we go again 2020-01-13T17:59:07 #kisslinux <dylanaraps1> Build attempt #97867775769 2020-01-13T18:32:00 #kisslinux <TuLithu> Mr. Araps. 2020-01-13T18:32:39 #kisslinux <TuLithu> (or anyone else who wants to chime in.) 2020-01-13T18:34:18 #kisslinux <icyphox> hello 2020-01-13T18:34:34 #kisslinux <icyphox> dylanaraps1: you should update blckk.me :) 2020-01-13T18:35:58 #kisslinux <TuLithu> I'm using nroff on a simple text file created in JOVE (Emacs). The output file displays the following when opened in JOVE, in place of an apstraphe: 302264 2020-01-13T18:36:13 #kisslinux <TuLithu> Why? 2020-01-13T18:36:59 #kisslinux <TuLithu> apostrophe, sorry 2020-01-13T18:37:27 #kisslinux <icyphox> uh 2020-01-13T18:37:49 #kisslinux <icyphox> is this /on/ KISS Linux? TuLithu 2020-01-13T18:38:02 #kisslinux <TuLithu> Yes. Absolutely. 2020-01-13T18:38:41 #kisslinux <TuLithu> If Kiss Linux is synonymous with Pardus Linux. 2020-01-13T18:39:11 #kisslinux <TuLithu> I'm asking because you're the only person I know who might have a clue. 2020-01-13T18:39:49 #kisslinux <TuLithu> What is the relationship between ' and 302264? 2020-01-13T18:45:33 #kisslinux <TuLithu> OK...I figured out the answer. 2020-01-13T18:46:32 #kisslinux <TuLithu> Never mind. Ciao. 2020-01-13T18:51:28 #kisslinux <dylanaraps1> TuLithu: I have no knowledge on Emacs, JOVE or Pardus Linux. Apologies 2020-01-13T18:51:36 #kisslinux <dylanaraps1> icyphox: I will. At some point... 2020-01-13T19:08:30 #kisslinux <dylanaraps1> Your host node is experiencing a connectivity error and our engineering team is investigating the issue in additional detail. 2020-01-13T19:08:36 #kisslinux <dylanaraps1> Great 2020-01-13T19:08:37 #kisslinux <dylanaraps1> lol 2020-01-13T19:19:06 #kisslinux <icyphox> https://icyphox.sh/blog/five-days-tty :) 2020-01-13T19:22:25 #kisslinux <dylanaraps1> Nice 2020-01-13T19:22:50 #kisslinux <dylanaraps1> Mind if I post it on the subreddit? 2020-01-13T19:25:14 #kisslinux <dylanaraps1> Typo: througout -> throughout 2020-01-13T19:35:31 #kisslinux <dylanaraps1> ooo 2020-01-13T19:35:35 #kisslinux <dylanaraps1> Firefox may finish building 2020-01-13T19:35:43 #kisslinux <dylanaraps1> > 96:41.10 toolkit/components/statusfilter 2020-01-13T19:35:47 #kisslinux <dylanaraps1> It's doing misc stuff now 2020-01-13T19:48:18 #kisslinux <dylanaraps1> -> Successfully built package(s) 2020-01-13T19:48:19 #kisslinux <dylanaraps1> -> Run 'kiss i firefox' to install the package(s) 2020-01-13T19:48:20 #kisslinux <dylanaraps1> :DDDDDDDDDD 2020-01-13T20:01:36 #kisslinux <dzove855> dylanaraps: i will test it now 2020-01-13T20:02:33 #kisslinux <dylanaraps1> I just need to create the package now. 2020-01-13T20:02:44 #kisslinux <dylanaraps1> I mean the repository package (firefox-bin) 2020-01-13T20:03:02 #kisslinux <dzove855> yeaah haha i just read the message not correctly. It was the output of kiss 2020-01-13T20:06:51 #kisslinux <adamantium> dylanaraps1: run_hooks bug filed ^_^ 2020-01-13T20:06:58 #kisslinux <dylanaraps1> ty 2020-01-13T20:08:12 #kisslinux <dylanaraps1> adamantium: Uh, what args would it pass...? 2020-01-13T20:08:25 #kisslinux <dylanaraps1> It loops over the glob of files and sources them 2020-01-13T20:11:29 #kisslinux <adamantium> sinit sends argument $1 to rc.shutdown 2020-01-13T20:11:35 #kisslinux <adamantium> run_hooks garbles it 2020-01-13T20:12:08 #kisslinux <adamantium> the script sourced by run_hooks does not receive $@ arguments from rc.shutdown 2020-01-13T20:12:31 #kisslinux <adamantium> in the case of sinit $1 will be either "shutdown" or "reboot". See config.h 2020-01-13T20:13:46 #kisslinux <dylanaraps1> Right 2020-01-13T20:13:58 #kisslinux <adamantium> I believe what is happening is that since run_hooks is a function is treats $1 differently and doesn't pass on the main script arguments to the inner function parts 2020-01-13T20:14:03 #kisslinux <dylanaraps1> I have to dump the run_hooks function then. 2020-01-13T20:14:04 #kisslinux <dylanaraps1> Yup 2020-01-13T20:14:22 #kisslinux <dylanaraps1> Will fix. 2020-01-13T20:14:26 #kisslinux <adamantium> thx 2020-01-13T20:14:57 #kisslinux <mforney> dylanaraps1: what did you do to get around the "`x86_64-unknown-linux-musl` does not support these crate types" errors? i ran into the same thing in my pkgsrc firefox build, and my workaround was kinda hacky 2020-01-13T20:15:07 #kisslinux <mforney> did you patch rust to make target-feature=-crt-static the default? 2020-01-13T20:15:21 #kisslinux <dylanaraps1> nope 2020-01-13T20:16:01 #kisslinux <dylanaraps1> I reverted our cbindgen to 0.9.0 and ensured that cbindgen was built with the same rustc version as the system's. 2020-01-13T20:16:24 #kisslinux <dylanaraps1> adamantium: SC2240: The dot command does not support arguments in sh/dash. Set them as variables. 2020-01-13T20:16:34 #kisslinux <dylanaraps1> Example: . "$file" "$@" 2020-01-13T20:16:47 #kisslinux <dylanaraps1> This isn't POSIX shell apparently. 2020-01-13T20:18:19 #kisslinux <mforney> hmm, i wonder why that fixed the problem. as far as i understood the error was because by default x86_64-unknown-linux musl uses static linking, and you need to turn it off with -C target-feature=-crt-static (via RUSTFLAGS or something), but that is ignored by cargo when --target is specified explicitly (which is what the firefox build system does) 2020-01-13T20:18:55 #kisslinux <dylanaraps1> I've been building Firefox for KISS with the same Rust build configuration from 68.0.0-73.0.0b2 2020-01-13T20:19:04 #kisslinux <dylanaraps1> The error is new to me too. 2020-01-13T20:19:14 #kisslinux <dylanaraps1> While trying to build 68.4.1esr 2020-01-13T20:20:19 #kisslinux <dylanaraps1> I also added these envars which *could* have fixed the issue. https://github.com/kisslinux/repo/blob/master/testing/firefox/build#L21-L25 2020-01-13T20:20:31 #kisslinux <dylanaraps1> The rustc I built with is 1.40.0 as well. 2020-01-13T20:20:56 #kisslinux <dylanaraps1> I also ran into a build error which required me to write this patch: https://github.com/kisslinux/repo/blob/master/testing/firefox/patches/fix-bug-1261392.patch 2020-01-13T20:21:43 #kisslinux <dylanaraps1> adamantium: https://github.com/koalaman/shellcheck/wiki/SC2240 2020-01-13T20:27:15 #kisslinux <mforney> ah, looks like you are patching the crt-static default in rust: https://github.com/kisslinux/repo/blob/d0c8db9409eb62984d5531d50e248c8408af200c/extra/rust/patches/musl-libressl.patch#L29-L39 2020-01-13T20:28:12 #kisslinux <dylanaraps1> Yeah 2020-01-13T20:28:16 #kisslinux <dylanaraps1> I turn it off 2020-01-13T20:28:50 #kisslinux <dylanaraps1> I also make sure some musl specific code paths aren't reached 2020-01-13T20:31:50 #kisslinux <mforney> pretty sad that they made static linking the default on musl, and now every distribution needs to patch it back to what everything expects 2020-01-13T20:32:22 #kisslinux <dylanaraps1> Yup 2020-01-13T20:32:57 #kisslinux <mforney> and they can't change it since i guess some people depend on that: https://github.com/rust-lang/rust/issues/59302 2020-01-13T20:34:34 #kisslinux <adamantium> patched sinit to 1.1. 2020-01-13T20:36:25 #kisslinux <dylanaraps1> adamantium: See my other messages 2020-01-13T20:42:48 #kisslinux <adamantium> dylanaraps1: re: . "$file" "$@" 2020-01-13T20:43:00 #kisslinux <adamantium> We do not need anything other than source with '.' and it works 2020-01-13T20:43:40 #kisslinux <adamantium> we do not need . "$file" "$@". Seems the sourced section of code still is able to read $1 $2 etc... 2020-01-13T20:44:14 #kisslinux <adamantium> We only need . "$file" 2020-01-13T20:44:21 #kisslinux <dylanaraps1> Ah 2020-01-13T20:44:24 #kisslinux <dylanaraps1> Gotcha 2020-01-13T20:44:36 #kisslinux <adamantium> I will check with dash to be sure 2020-01-13T20:44:44 #kisslinux <adamantium> if I disappear, you know it worked 2020-01-13T20:46:11 #kisslinux <dylanaraps1> Pushed the fix 2020-01-13T20:46:31 #kisslinux <adamantium> dylanaraps1: okay, perfect 2020-01-13T20:46:31 #kisslinux <adamantium> dash is fine with just . "$file" 2020-01-13T20:46:36 #kisslinux <adamantium> and we are not breaking posix 2020-01-13T20:46:47 #kisslinux <dylanaraps1> :D 2020-01-13T20:47:09 #kisslinux <dylanaraps1> I should have the firefox-bin release out tonight 2020-01-13T20:47:49 #kisslinux <adamantium> Can we push sinit now that it is 1.1 ? 2020-01-13T20:47:52 #kisslinux <adamantium> :D 2020-01-13T20:48:37 #kisslinux <adamantium> push the init: Remove run_hooks(). Fixes #7 also to repo pls 2020-01-13T20:48:57 #kisslinux <dylanaraps1> I need to review the new changes 2020-01-13T20:49:08 #kisslinux <dylanaraps1> I need to test the init too 2020-01-13T20:49:19 #kisslinux <adamantium> okay 2020-01-13T20:50:10 #kisslinux <adamantium> i will apply your changes locally to baseinit 2020-01-13T20:50:15 #kisslinux <adamantium> and run them with sinit 1.1 for a while 2020-01-13T20:51:04 #kisslinux <dylanaraps1> okay 2020-01-13T20:54:11 #kisslinux <E5ten> why does kiss' init have all those "log thing; { command || emergency_shell }" things instead of just like the log command and then the <command> || emergency_shell on the next line? 2020-01-13T20:55:01 #kisslinux <dylanaraps1> Keeps everything in easy to spot blocks 2020-01-13T20:55:09 #kisslinux <adamantium> aesthetic mostly it seems 2020-01-13T20:55:16 #kisslinux <E5ten> fair enough 2020-01-13T20:55:35 #kisslinux <adamantium> dylanaraps1: I am glad you removed main () though 2020-01-13T20:55:38 #kisslinux <dylanaraps1> ye 2020-01-13T20:56:08 #kisslinux <E5ten> yeah I'm not a fan of standalone mains in scripts that just get called once at the end 2020-01-13T20:57:21 #kisslinux <adamantium> we probably get a little speed boost without it 2020-01-13T20:57:24 #kisslinux <adamantium> lol 2020-01-13T20:58:54 #kisslinux <E5ten> I mean a theoretical one sure 2020-01-13T20:59:00 #kisslinux <adamantium> I apreciate all the little logs and all the comment blocks in /bin/kiss as well 2020-01-13T20:59:03 #kisslinux <E5ten> I really doubt it'd be even slightly measurable 2020-01-13T20:59:10 #kisslinux <adamantium> for example, try to read scripts like beadm 2020-01-13T20:59:14 #kisslinux <adamantium> it's confusing AF 2020-01-13T20:59:46 #kisslinux <adamantium> shell script will get messy in a hurry if you're not vigilant 2020-01-13T20:59:51 #kisslinux <adamantium> So i APPRECIATE it 2020-01-13T21:00:37 #kisslinux <dylanaraps1> heh 2020-01-13T21:00:38 #kisslinux <dylanaraps1> np 2020-01-13T21:00:46 #kisslinux <adamantium> https://github.com/vermaden/beadm/blob/master/beadm 2020-01-13T21:00:48 #kisslinux <adamantium> try read that 2020-01-13T21:01:45 #kisslinux <dylanaraps1> gah 2020-01-13T21:02:24 #kisslinux <E5ten> newlines for thens and dos maeans I'm already out 2020-01-13T21:02:41 #kisslinux <adamantium> __func_name () 2020-01-13T21:02:43 #kisslinux <adamantium> lol 2020-01-13T21:03:16 #kisslinux <Aarg> 2 spaces for indentation makes me nope out instantly 2020-01-13T21:03:22 #kisslinux <dylanaraps1> huge embedded awk script 2020-01-13T21:03:25 #kisslinux <Aarg> I literally can't read it 2020-01-13T21:03:35 #kisslinux <E5ten> braces around the positional parameters is a big no 2020-01-13T21:03:56 #kisslinux <E5ten> "uname -r | cut -d '-' -f1 | cut -d '.' -f1" is this real 2020-01-13T21:04:02 #kisslinux <E5ten> I feel like they're pranking me 2020-01-13T21:04:05 #kisslinux <dylanaraps1> Unquoted vars too 2020-01-13T21:04:19 #kisslinux <adamantium> this is real shit 2020-01-13T21:04:25 #kisslinux <adamantium> very popular on freebsd 2020-01-13T21:04:40 #kisslinux <dylanaraps1> > rm -r ${MOUNTPOINT} 2020-01-13T21:04:45 #kisslinux <dylanaraps1> what are globs 2020-01-13T21:05:00 #kisslinux <E5ten> globs don't exists duh 2020-01-13T21:05:22 #kisslinux <dylanaraps1> > if [ $( find ${MOUNTPOINT} | head | wc -l | bc ) -eq 1 ] 2020-01-13T21:05:23 #kisslinux <dylanaraps1> ?!?!?!!? 2020-01-13T21:05:37 #kisslinux <dylanaraps1> > # delete only when it is an empty directory 2020-01-13T21:05:40 #kisslinux <dylanaraps1> oh god 2020-01-13T21:05:51 #kisslinux <dylanaraps1> Does this script work? 2020-01-13T21:06:06 #kisslinux <adamantium> yea it does 2020-01-13T21:06:14 #kisslinux <adamantium> here's a version of it that a friend of mine tried to clean up 2020-01-13T21:06:15 #kisslinux <E5ten> gotta love the chain of -o's instead of a case 2020-01-13T21:06:24 #kisslinux <E5ten> if [ "${1}" = "--version" -o "${1}" = "-version" -o "${1}" = "version" ] 2020-01-13T21:06:26 #kisslinux <E5ten> like 2020-01-13T21:06:33 #kisslinux <E5ten> c'mon man how you gonna write that 2020-01-13T21:06:36 #kisslinux <adamantium> https://github.com/TemptorSent/beadm/blob/master/beadm 2020-01-13T21:06:45 #kisslinux <adamantium> he put some work into it 2020-01-13T21:06:49 #kisslinux <adamantium> buts its still horrendous 2020-01-13T21:07:05 #kisslinux <E5ten> oh shit why is this 900+ lines 2020-01-13T21:07:50 #kisslinux <E5ten> 1> /dev/null 2> /dev/null instead of >/dev/null 2>&1 is saddening to read 2020-01-13T21:07:53 #kisslinux <E5ten> just looks terrible 2020-01-13T21:08:00 #kisslinux <Aarg> >600 lines case statement 2020-01-13T21:09:04 #kisslinux <dylanaraps1> https://github.com/vermaden/beadm/blob/master/beadm#L880-L884 2020-01-13T21:09:14 #kisslinux <dylanaraps1> ! 2020-01-13T21:09:22 #kisslinux <E5ten> to check if a string contains a @ 2020-01-13T21:09:35 #kisslinux <E5ten> they do echo "${1}" | grep -q "@" 2> /dev/null 2020-01-13T21:09:48 #kisslinux <E5ten> how can someone be this incompetent at scripting? 2020-01-13T21:09:54 #kisslinux <adamantium> i can't even read it 2020-01-13T21:09:57 #kisslinux <dylanaraps1> read without -r too 2020-01-13T21:09:58 #kisslinux <dzove855> wow 2020-01-13T21:10:05 #kisslinux <dzove855> masterpiece of not how to do it 2020-01-13T21:10:06 #kisslinux <adamantium> i dont understand it 2020-01-13T21:10:07 #kisslinux <adamantium> literally 2020-01-13T21:10:12 #kisslinux <dylanaraps1> Don't read xdg-open's source 2020-01-13T21:10:20 #kisslinux <dylanaraps1> Much more widespread 2020-01-13T21:10:22 #kisslinux <adamantium> better yet dont install it 2020-01-13T21:10:58 #kisslinux <E5ten> I've read the xdg-utils 2020-01-13T21:11:04 #kisslinux <E5ten> made me want to die 2020-01-13T21:11:33 #kisslinux <dzove855> i think every script in the apache foundation is bad too 2020-01-13T21:11:53 #kisslinux <adamantium> haha i just put beadm into shell script 2020-01-13T21:11:57 #kisslinux <adamantium> it reads like a novel 2020-01-13T21:13:17 #kisslinux <dylanaraps1> Don't read xbps-src's source 2020-01-13T21:14:30 #kisslinux <dylanaraps1> It's not just the single script 2020-01-13T21:14:49 #kisslinux <dylanaraps1> It's everything it sources 2020-01-13T21:16:33 #kisslinux <dylanaraps1> Happy digging: https://github.com/void-linux/void-packages/tree/master/common 2020-01-13T21:22:16 #kisslinux <dylanaraps1> https://u.teknik.io/1GKMm.jpg 2020-01-13T21:22:21 #kisslinux <dylanaraps1> We have success 2020-01-13T21:23:11 #kisslinux <dzove855> nice :D 2020-01-13T21:23:41 #kisslinux <dylanaraps1> Just doing some finishing touches now. 2020-01-13T21:23:54 #kisslinux <dzove855> take your time 2020-01-13T21:46:37 #kisslinux <sirtomato> how do you guys get sound 2020-01-13T21:52:13 #kisslinux <kiwi_97> I had problems with sound also. For me it was all kernel config. I followed this post https://forums.gentoo.org/viewtopic-t-1083930-start-0.html 2020-01-13T21:53:20 #kisslinux <kiwi_97> Sound works now though pc speaker . Yet to work out how to get my usb speakers going tho' :) 2020-01-13T21:53:29 #kisslinux <dzove855> adamantium i dont understand it 2020-01-13T21:53:29 #kisslinux <dzove855> adamantium literally 2020-01-13T21:53:44 #kisslinux <dzove855> oups sorry 2020-01-13T21:54:02 #kisslinux <sirtomato> kiwi_97: ok 2020-01-13T21:59:14 #kisslinux <dylanaraps1> firefox-bin is now in the testing repo. 2020-01-13T22:00:39 #kisslinux <dzove855> will try it 2020-01-13T22:01:25 #kisslinux <dylanaraps1> export KISS_PATH=$KISS_PATH:/var/db/kiss/repo/t 2020-01-13T22:01:25 #kisslinux <dylanaraps1> esting 2020-01-13T22:01:28 #kisslinux <dylanaraps1> oops 2020-01-13T22:01:33 #kisslinux <dylanaraps1> That broke the line. 2020-01-13T22:01:43 #kisslinux <dylanaraps1> export KISS_PATH=$KISS_PATH:/var/db/kiss/repo/testing 2020-01-13T22:02:33 #kisslinux <dzove855> it works :D 2020-01-13T22:02:36 #kisslinux <dylanaraps1> :D 2020-01-13T22:03:09 #kisslinux <dylanaraps1> https://github.com/kisslinux/repo/commit/0736a31ba328f1dacb554420efaec639166cf7ec 2020-01-13T22:03:14 #kisslinux <dylanaraps1> The way I did this was interesting. 2020-01-13T22:05:37 #kisslinux <dylanaraps> Laptop died 2020-01-13T22:05:40 #kisslinux <dylanaraps> Apologies 2020-01-13T22:05:57 #kisslinux <sirtomato> i have a 30s boot time because of nouveau 2020-01-13T22:06:17 #kisslinux <dylanaraps> oof 2020-01-13T22:06:29 #kisslinux <dylanaraps> Why is that? 2020-01-13T22:06:57 #kisslinux <sirtomato> it has to lead 2020-01-13T22:06:58 #kisslinux <sirtomato> load 2020-01-13T22:07:06 #kisslinux <sirtomato> idk why it takes so long 2020-01-13T22:07:37 #kisslinux <dzove855> dylanaraps: interesting. For other firefox builds, will it be automatically? 2020-01-13T22:08:37 #kisslinux <dylanaraps> Yes 2020-01-13T22:08:45 #kisslinux <dylanaraps> 'kiss u' will show them as normal 2020-01-13T22:09:01 #kisslinux <dzove855> nice. That's some great work 2020-01-13T22:12:07 #kisslinux <dylanaraps> Thanks 2020-01-13T22:12:15 #kisslinux <dylanaraps> E5ten: https://github.com/rhboot/efivar/issues/142 2020-01-13T22:12:20 #kisslinux <dylanaraps> lol, read the commit message. 2020-01-13T22:12:43 #kisslinux <dylanaraps> https://github.com/vathpela/efivar/commit/191e3b01463548fc3a99494cd0c0ec15c41e9382 2020-01-13T22:15:00 #kisslinux <TwistedFate> howdy ho 2020-01-13T22:15:16 #kisslinux <dylanaraps> Hello 2020-01-13T22:16:05 #kisslinux <dylanaraps> dzove855: firefox-bin is out of testing now. 2020-01-13T22:16:14 #kisslinux <dylanaraps> You can revert your KISS_PATH to how it was. 2020-01-13T22:17:35 #kisslinux <dylanaraps> Our Firefox regular package is now locked to ESR as well. 2020-01-13T22:17:51 #kisslinux <dylanaraps> For those happy to use -bin, you can remove rust, cbindgen, python2, gtk+2 etc. :) 2020-01-13T22:24:23 #kisslinux <sirtomato> what's esr 2020-01-13T22:24:36 #kisslinux <dylanaraps> Extended Support Release 2020-01-13T22:24:47 #kisslinux <sirtomato> also it says firefox-bin isn't in any repo 2020-01-13T22:24:51 #kisslinux <dylanaraps> 'kiss u' 2020-01-13T22:24:58 #kisslinux <sirtomato> i've done kiss u and added it to my path 2020-01-13T22:25:23 #kisslinux <dzove855> okey thanks. Working now on creating own repo for person stuff, then i will have a look on all, once my system is finished 2020-01-13T22:25:52 #kisslinux <dylanaraps> You don't need to touch your KISS_PATH as I have moved it out of testing 2020-01-13T22:25:57 #kisslinux <kiwi_97> pull the repo 2020-01-13T22:26:07 #kisslinux <sirtomato> oh i had to do kiss u again 2020-01-13T22:26:13 #kisslinux <dylanaraps> Ah 2020-01-13T22:26:42 #kisslinux <dylanaraps> The ESR gets a major version bump roughly once a year with minor releases solely to fix security issues. 2020-01-13T22:28:12 #kisslinux <dylanaraps> Less surprises overall and it allows me to easily ship binaries as major changes only happen once a year. 2020-01-13T22:30:57 #kisslinux <E5ten> lol 2020-01-13T22:31:08 #kisslinux <E5ten> (at the autoconf thing) 2020-01-13T22:31:16 #kisslinux <dylanaraps> He sounds mad 2020-01-13T22:31:30 #kisslinux <dylanaraps> Too many decades in software I think 2020-01-13T22:31:58 #kisslinux <E5ten> "people unquestioningly complain when you fuck up the environmental variables they set to values that have, at this point, a universal meaning, how dare they" 2020-01-13T22:32:59 #kisslinux <E5ten> like honestly in what world is LDFLAGS as a variable for actual linker flags and not for compiler flags for use at linktime even useful 2020-01-13T22:33:07 #kisslinux <E5ten> you don't call the linker on its own 2020-01-13T22:34:02 #kisslinux <dylanaraps> lol 2020-01-13T22:34:08 #kisslinux <dylanaraps> At least he fixed it 2020-01-13T22:34:16 #kisslinux <dylanaraps> You could've received that rant with a WONTFIX 2020-01-13T22:34:58 #kisslinux <E5ten> what the fuck is with the _FOR_BUILD stuff too? 2020-01-13T22:35:19 #kisslinux <E5ten> I feel like more issues about that build system need to be made, cuz it is really bad 2020-01-13T22:38:23 #kisslinux <dylanaraps> lol 2020-01-13T22:38:33 #kisslinux <dylanaraps> I want new releases to be made tbh 2020-01-13T22:38:52 #kisslinux <dylanaraps> These are nice scroll settings for Firefox btw: https://old.reddit.com/r/firefox/comments/7d8xxe/fix_for_choppy_scrolling/dpwbmqv/ 2020-01-13T22:39:03 #kisslinux <E5ten> also his use of LDFLAGS that way proves my point 2020-01-13T22:39:24 #kisslinux <E5ten> he literally uses his "directly for linker" LDFLAGS to create a set of flags that are for the compiler, which is what LDFLAGS is already for 2020-01-13T22:40:23 #kisslinux <E5ten> he's complaining about LDFLAGS being flags to the compiler while using them for nothing but generating a list of flags for the compiler and at that point maybe he should think "wait maybe it actually makes sense that this set of flags I'm using solely to get flags for the compiler would actually just start off being a list of flags for the compiler" 2020-01-13T22:40:56 #kisslinux <dylanaraps> I know 2020-01-13T22:45:28 #kisslinux <E5ten> wait so the fix isn't even in the actual repo yet, just their personal one 2020-01-13T22:45:29 #kisslinux <E5ten> ugh 2020-01-13T22:46:06 #kisslinux <dylanaraps> wot 2020-01-13T22:46:16 #kisslinux <dylanaraps> adamantium: Pushed baseinit 2020-01-13T22:47:23 #kisslinux <E5ten> one of the most confusing and dumb parts of that build system is uh why the fuck are the .mk files in src/include 2020-01-13T22:47:57 #kisslinux <dylanaraps> Also for those using Firefox: browser.ctrlTab.recentlyUsedOrder false 2020-01-13T22:48:07 #kisslinux <dylanaraps> E5ten: lol 2020-01-13T22:48:09 #kisslinux <E5ten> why not like in a top-level dir called mk or even any top level dir or even not a top level dir but any dir that isn't "include" because that means headers like jesus christ I cannot think of a worse directory to put the .mk files in 2020-01-13T22:48:24 #kisslinux <dylanaraps> It's a corporate project. If it "works" it's good enuf 2020-01-13T22:48:36 #kisslinux <dylanaraps> I'm off to bed. 2020-01-13T22:48:43 #kisslinux <E5ten> see ya 2020-01-13T22:48:48 #kisslinux <dylanaraps> My watch the dying cat shift ends now 2020-01-13T22:48:54 #kisslinux <dylanaraps> He's pulling through 2020-01-13T22:49:08 #kisslinux <E5ten> glad to hear it 2020-01-13T22:50:30 #kisslinux <dzove855> that's good :) goodnight 2020-01-13T23:27:33 #kisslinux <Aarg> firefox-lts works great and my addons can save their settings now 2020-01-13T23:31:03 #kisslinux <Aarg> esr rather