💾 Archived View for gemini.ctrl-c.club › ~phoebos › logs › kisslinux-2021-07-22.txt captured on 2022-07-17 at 03:09:49.

View Raw

More Information

⬅️ Previous capture (2021-12-17)

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

[2021-07-22T00:04:21Z] <dilyn> testuser: strangely, I can't get chromium to build. I keep getting patch failures
[2021-07-22T00:05:03Z] <Guest5656> Bro just patch it manually
[2021-07-22T00:05:59Z] <dilyn> specifically whatever is patching 1 out of 4 hunks FAILED -- saving rejects to file build/config/compiler/BUILD.gn.rej. fun
[2021-07-22T00:07:55Z] <dilyn> ls
[2021-07-22T00:07:57Z] <dilyn> ope
[2021-07-22T00:25:14Z] <cem> dilyn: I added a really bad configure script
[2021-07-22T00:25:21Z] <cem> but it works with bmake now
[2021-07-22T00:25:26Z] <dilyn> ilu
[2021-07-22T00:25:34Z] <cem> aww
[2021-07-22T00:44:08Z] <Guest5656> POSIX infinite loop?
[2021-07-22T00:45:03Z] <dilyn> while :; 
[2021-07-22T00:46:10Z] <Guest5656> Ok. Is there a good resource for POSIX shell commands and syntax? I saw dylan's bible but it was more about tricks
[2021-07-22T00:46:26Z] <Guest5656> I also know shellcheck but you have to know what to type for it to check
[2021-07-22T00:49:09Z] <dilyn> you can refer to https://pubs.opengroup.org/onlinepubs/9699919799/ for questions about specific things 
[2021-07-22T00:49:19Z] <Guest5656> @dilyn Like for example knowing if "return 1" or "! return" is better
[2021-07-22T00:49:29Z] <dilyn> this I do not know 
[2021-07-22T00:49:38Z] <Guest5656> Yeah i saw that but couldnt find a pdf
[2021-07-22T00:49:42Z] <dilyn> everything I know about POSIX I've learned in here lol
[2021-07-22T00:49:57Z] <dilyn> there's a pdf download link *somewhere* on that site iirc
[2021-07-22T00:57:05Z] <Guest56> Ok I can't find it, just this https://pubs.opengroup.org/onlinepubs/9699919799/nframe.html
[2021-07-22T00:57:20Z] <Guest56> Says download a copy of HTML
[2021-07-22T00:57:41Z] <Guest56> Okay well I might take the content and format it in LaTeX or something like that
[2021-07-22T00:58:22Z] <Guest56> Oh never mind it gives all of it
[2021-07-22T01:09:38Z] <konimex> dilyn: confirmed, I can reproduce the foot-pgo problem on my system
[2021-07-22T01:09:50Z] <dilyn> love it, thank you 
[2021-07-22T01:09:56Z] <dilyn> i filed an issue 
[2021-07-22T01:10:17Z] <dilyn> dnkl reworked shm stuff so i imagine something terrible happened that gcc is fine with 
[2021-07-22T04:01:20Z] <testuser[m]> Hi
[2021-07-22T04:05:00Z] <akira01> hi guys
[2021-07-22T04:05:17Z] <akira01> how can i set my pip3 to put the bin files in /usr/bin
[2021-07-22T04:05:46Z] <akira01> when i build my package with kiss it puts in .cache/proc/2368/usr/bin
[2021-07-22T04:06:26Z] <akira01> i set --prefix=/usr --root="$1"
[2021-07-22T04:10:44Z] <testuser[m]> dilyn what patch are you using
[2021-07-22T04:10:50Z] <testuser[m]> It worked with gnu patch and busybox patch
[2021-07-22T04:11:03Z] <testuser[m]> And ibon't think anything can be dumber than busybox patch
[2021-07-22T04:11:06Z] <testuser[m]> Don't*
[2021-07-22T04:14:24Z] <dilyn> i *am* using gnu patch, which is the weird part 
[2021-07-22T04:14:37Z] <dilyn> it just says that hunk 3 fails, and hunks never fail with gnu patch!
[2021-07-22T04:15:23Z] <noocsharp> https://www.lunduke.com/2021/07/valve-confirms-steam-deck-handheld-will-ship-with-neofetch/
[2021-07-22T04:15:59Z] <noocsharp> tbh i don't see how steam deck can succeed without it
[2021-07-22T04:16:57Z] <dilyn> this coverage of the steam deck from the linux community is the absolute fucking worst i am not going to lie 
[2021-07-22T04:17:13Z] <dilyn> valve literally said "this is a computer" and everyone is like "right but like, AUR or no" 
[2021-07-22T04:17:41Z] <dilyn> you fucking shmoes what are you DoInG you can install windows, it has HDMI out, you can plugin USB devices
[2021-07-22T04:18:07Z] <dilyn> it's literally a laptop with a 7" screen and no builtin keyboard. why is this so hard to understand. they crammed a laptop into a switch. 
[2021-07-22T04:18:47Z] <noocsharp> because the only thing like it that people have seen before is the nintendo switch which isn't a full computer
[2021-07-22T04:19:03Z] <noocsharp> (i know that there are things like the steam deck that are full computers, but they aren't well known)
[2021-07-22T04:22:48Z] <noocsharp> i'm still waiting for my game controller mount for my pinephone
[2021-07-22T04:25:32Z] <dilyn> yeah but valve literally said 'it's a computer' and people are like 'but can I use the epic gamestore' 
[2021-07-22T04:25:44Z] <dilyn> i've heard these interviews; the valve guys seem so exasperated and confused
[2021-07-22T04:26:43Z] <noocsharp> clearly normies don't understand what a computer is
[2021-07-22T04:27:08Z] <testuser[m]> https://0x0.st/-V6V.txt
[2021-07-22T04:27:09Z] <testuser[m]> it works dilyn
[2021-07-22T04:28:01Z] <dilyn> you can tell me it works all you want but it doesn't change the fact that my builds failed :')
[2021-07-22T04:33:37Z] <noocsharp> i'm glad that steamos is arch based, nice to see a big company not using debians or red hats
[2021-07-22T04:34:15Z] <msk[m]> That's an impressive feat for Dylan, not many can say they have made something that the CEO of valve has talked about
[2021-07-22T04:36:44Z] <noocsharp> (the article is satire)
[2021-07-22T04:38:33Z] <testuser[m]> Lol https://www.lunduke.com/2021/07/c-programming-language-removes-racist-semicolon/
[2021-07-22T04:40:14Z] <testuser[m]> Dilyn can you send a few lines above the patch failure ? I don't see any patch modifying BUILD.gn in the compiler/ directory in specific
[2021-07-22T04:40:28Z] <testuser[m]> Not in ungoogled patches either
[2021-07-22T04:51:46Z] <dilyn> this is all there really is to show http://ix.io/3tF9 
[2021-07-22T05:00:08Z] <testuser[m]> wait arent the clang/clang.gni and compiler/BUILD.gn your patches for wyverkiss ?
[2021-07-22T05:00:12Z] <akira01> how i build i file in kiss b with python setup.py with --prefix=/usr?
[2021-07-22T05:00:53Z] <akira01> need little help
[2021-07-22T05:01:03Z] <testuser[m]> python setup.py install --root="$1" --optimize=1
[2021-07-22T05:01:11Z] <testuser[m]> and --prefix=/usr
[2021-07-22T05:02:34Z] <akira01> it put the bin file in a path in .cache
[2021-07-22T05:02:51Z] <testuser[m]> send your build file bruh
[2021-07-22T05:02:58Z] <testuser[m]> it works for most packages
[2021-07-22T05:03:03Z] <akira01> one sec
[2021-07-22T05:03:12Z] <testuser[m]> and why are you packaging python stuff ? does it interface with C libs ?
[2021-07-22T05:03:20Z] <testuser[m]> otherwise you should just pip install it into a virtualenv
[2021-07-22T05:05:01Z] <akira01> https://termbin.com/5urzu
[2021-07-22T05:05:26Z] <testuser[m]> what package is it
[2021-07-22T05:05:40Z] <akira01> testuser[m]: is a program i use to tranfer files to phone to desktop 
[2021-07-22T05:05:43Z] <akira01> dcnnt
[2021-07-22T05:05:57Z] <akira01> i mad now
[2021-07-22T05:06:01Z] <akira01> made*
[2021-07-22T05:06:33Z] <akira01> it should be fine if i build with root 
[2021-07-22T05:07:03Z] <akira01> but when not, it point to .cache
[2021-07-22T05:08:00Z] <akira01> https://github.com/cyanomiko/dcnnt-py
[2021-07-22T05:08:13Z] <akira01> heres the repo and source if you wanna try build
[2021-07-22T05:08:35Z] <testuser[m]> it works just fine
[2021-07-22T05:09:04Z] <akira01> strange
[2021-07-22T05:13:23Z] <msk[m]> Isn't it supposed to go into cache? So that the package manager moves it into / after building? 
[2021-07-22T05:56:03Z] <akira01> yeah it is
[2021-07-22T06:13:13Z] <konimex> >yeah but valve literally said 'it's a computer' and people are like 'but can I use the epic gamestore'
[2021-07-22T06:13:26Z] <konimex> well it would be amusing if Valve hardcodes something so no binary by Epic can ever be run on the hardware (if that's even possible)
[2021-07-22T06:13:53Z] <testuser[m]> Its more likely for epig to do something like that
[2021-07-22T08:52:09Z] <azwyver> Hello there!
[2021-07-22T08:52:23Z] <azwyver> My sound isn't working on KISS Linux
[2021-07-22T08:53:04Z] <azwyver> I've enabled the codec (Realtek in my case), HDMI support, and I also have alsa-lib & alsa-utils.
[2021-07-22T10:21:41Z] <claudia> dilyn: 'ls --color'
[2021-07-22T10:21:58Z] <claudia> https://libera.irclog.whitequark.org/kisslinux/2021-07-21#30321151;
[2021-07-22T10:22:01Z] <claudia> (:
[2021-07-22T10:22:05Z] <claudia> ?
[2021-07-22T10:22:27Z] <testuser[m]> I think dilyn meant toybox ls hant got colors
[2021-07-22T10:22:30Z] <testuser[m]> Hasn't
[2021-07-22T10:22:37Z] <claudia> this is meant for toybox
[2021-07-22T10:23:02Z] <claudia> _my_ toybox ls got color.
[2021-07-22T10:23:15Z] <testuser[m]> Oh nice
[2021-07-22T10:26:39Z] <schillingklaus> i do not want any colours in the shell
[2021-07-22T10:27:38Z] <claudia> when building with toybox, I got a bunch of 'mv/find no such file' after extracting the source but the actual build goes just fine. http://ix.io/3tGe 
[2021-07-22T10:28:49Z] <schillingklaus> claudia charmed toybox into becoming colourful
[2021-07-22T10:29:04Z] <claudia> surething
[2021-07-22T10:30:03Z] <soliwilos> cem: I built your otools 1.4.1 package and unless I did something wrong, doas is installed without setuid bit. For my local fork I just added a chmod in post-install, but you may want to fix it in your package?
[2021-07-22T10:31:46Z] <schillingklaus> otools == tools from openbsd userspace?
[2021-07-22T10:32:41Z] <soliwilos> Yes.
[2021-07-22T10:33:30Z] <cem> soliwilos: that's weird
[2021-07-22T10:33:37Z] <cem> Makefile does that
[2021-07-22T10:33:50Z] <soliwilos> Only some of them, though. Not sure if the intent is to add more to it over time.
[2021-07-22T10:33:50Z] <cem> And I have no problem with my package
[2021-07-22T10:34:50Z] <soliwilos> Hmmm.
[2021-07-22T10:35:42Z] <soliwilos> The only thing I changed was the libressl dep.
[2021-07-22T10:36:08Z] <cem> Try adding a chmod u+s on the package build script
[2021-07-22T10:36:15Z] <cem> And remove the post-install
[2021-07-22T10:36:34Z] <cem> If it isn't setuid that means kiss fucks up permissions
[2021-07-22T10:38:47Z] <soliwilos> Doesn't look like there's any chmod commands in the kiss repo opendoas package.
[2021-07-22T10:39:18Z] <soliwilos> Well, not on the doas binary.
[2021-07-22T10:40:56Z] <cem> Yeah, because both Makefiles do the chmod themselves
[2021-07-22T10:41:47Z] <cem> I'm assuming that kiss accidentally or intentionally strips setuid
[2021-07-22T10:43:20Z] <soliwilos> It's weird then that otools wouldn't install with. Hmmm, could it have to do with kiss's alternatives feature? Seeing as I already had opendoas installed, doas from otools was put in /var/db/kiss/choices..
[2021-07-22T10:43:57Z] <claudia> Is the otools pkg somewhere available?
[2021-07-22T10:44:07Z] <cem> It shouldn't be related
[2021-07-22T10:44:41Z] <soliwilos> I took it from the CarbsLinux repo.
[2021-07-22T10:45:17Z] <soliwilos> claudia: Going to try it?
[2021-07-22T10:45:42Z] <cem> https://github.com/CarbsLinux/repository/tree/master/core/otools
[2021-07-22T10:45:49Z] <claudia> test my chances :D
[2021-07-22T10:45:57Z] <claudia> thx.
[2021-07-22T10:49:25Z] <claudia> -rwsr-xr-x 1 root root    189328 2021-07-22 12:47 doas
[2021-07-22T10:49:41Z] <claudia> The small 's' means its suid, right?
[2021-07-22T10:49:44Z] <claudia> doas
[2021-07-22T10:49:48Z] <soliwilos> Yeah.
[2021-07-22T10:49:51Z] <soliwilos> Hm
[2021-07-22T10:53:09Z] <soliwilos> Does not work on mine, unless I chmod it. I added the chmod to the build file instead of the post-install.
[2021-07-22T10:53:53Z] <testuser[m]> make V=1
[2021-07-22T10:53:56Z] <testuser[m]> Check what it's doin
[2021-07-22T11:04:31Z] <soliwilos> If I build and install it manually without kiss it gets suid.
[2021-07-22T11:06:20Z] <claudia> kiss uses a tar in between, what are you using there?
[2021-07-22T11:06:41Z] <soliwilos> pax
[2021-07-22T11:07:04Z] <claudia> So its no vanilla kiss? :p
[2021-07-22T11:07:08Z] <soliwilos> From ibara/baseutils
[2021-07-22T11:07:15Z] <soliwilos> No.. :p
[2021-07-22T11:07:36Z] <claudia> y, try a release then :>
[2021-07-22T11:08:05Z] <soliwilos> I'll do some further tests.
[2021-07-22T11:15:37Z] <schillingklaus> does otools replace busybox?
[2021-07-22T11:15:53Z] <soliwilos> It's the tar in use that changes the suid state, busybox tar is fine, but neither otools or baseutils tar works.
[2021-07-22T11:20:55Z] <soliwilos> schillingklaus: otools has some tools from openbsd in it, you could not replace all of busybox with it.
[2021-07-22T12:02:40Z] <cem> schillingklaus: otools is not a replacement for busybox, I'm planning on adding it to the default base
[2021-07-22T12:03:29Z] <cem> it has some utilities that are more useful than the busybox implementation such as diff, ed, and grep
[2021-07-22T12:03:55Z] <cem> it also has doas, mandoc, and pax
[2021-07-22T12:04:35Z] <cem> and the next package manager release will require pax
[2021-07-22T12:05:41Z] <testuser[m]> cpt ?
[2021-07-22T12:05:48Z] <cem> yep
[2021-07-22T12:06:16Z] <testuser[m]> Is there a bsd `patch`
[2021-07-22T12:06:28Z] <cem> yes, it's in otools
[2021-07-22T12:06:40Z] <testuser[m]> Oh
[2021-07-22T12:11:29Z] <dilyn> testuser: i mean that sbase ls doesn't have color
[2021-07-22T12:11:56Z] <dilyn> claudia: yes! that is also a problem I have!
[2021-07-22T12:12:04Z] <dilyn> rebooting fixes it :V:V:V