<xdream8[m]>
i will also use git source of toybox this time hoping it adds some missing flags
<sewn>
i think i'll try toybox right now too why not
<xdream8[m]>
i will install mdevd for device management since mdev is missing flags
<sewn>
weren't you using sbase/ubase before?
<xdream8[m]>
sewn: yeah i tried sbase/ubase for my main pc but did not quite like it. i still use sbase/ubase for my thinkpad
<sewn>
whats some programs that were missing?
<sewn>
like for me a big one is pgrep
<xdream8[m]>
tar and grep implementation of sbase does not work well with kiss and its also missing mdev
<xdream8[m]>
everything should be ready rebooting now. i hope it works
<xdream8[m]>
it prompted me emergency shell only once because of mount -a, i entered exit and it booted but root partition seems to be mounted as ro so i cant do anything even if it booted
<sewn>
mount -a failed?
<xdream8[m]>
i logged in. sorry my bad it says: -/bin/yash: redirection: cannot open file '/dev/null': Permission denied
<sewn>
what the
<xdream8[m]>
xdream8[m]: i can create/remove files so my /home parition is mounted correctly but it gives this error/warning after every command i enter
<xdream8[m]>
oksh gives this message only once when launching
<xdream8[m]>
its most likely related to mdevd
<sewn>
probably..
<xdream8[m]>
oh i know why i am not running mdevd service
<sewn>
<sewn> "like for me a big one is pgrep" <- turns out pidof is a thing :mukiShocked:
<xdream8[m]>
in boot `mount -a` says that `/: Resource busy` and `/swapfile->none: No such file or directory`
<sewn>
are you using dilyn's init?
<xdream8[m]>
yeah
<sewn>
damn
<xdream8[m]>
<xdream8[m]> "i logged in. sorry my bad it..." <- mdevd service runs but i still get same messages
<xdream8[m]>
and also cant launch sway
<xdream8[m]>
on login yash says cannot open file '/dev/tty': Permission denied
<sewn>
i wonder if its possible to make toybox just not use a weird build system and patch it heavily to use something like meson or makefiles
<xdream8[m]>
xdream8[m]: my user is in tty group. i am not really sure what happens rn
<sewn>
stat /dev/tty
<xdream8[m]>
sewn: if you want to change build systems its better to fork toybox
<xdream8[m]>
sewn: it seems bot uid and gid are root. might need to edit mdevd.conf
<xdream8[m]>
s/bot/both/
<sewn>
xdream8[m]: kinda wanting to rn
<sewn>
hmm
<sewn>
xdream8[m]: the mdevd.conf already should set it
<xdream8[m]>
yeah it is. i checked /usr/lib/init/rc.boot again and it does not seem to explicitly use /etc/mdevd.conf for mdevd command
<xdream8[m]>
i am not sure how i can fix this
<sewn>
is mdevd alternative set?
<xdream8[m]>
it is not registered as alternative because its /usr/bin/mdevd not /usr/bin/mdev
<xdream8[m]>
dilyn seems to use smdev maybe i should try it
<sewn>
its a suckless mdev
<xdream8[m]>
its funny that i need to run git clone as root because it cant acces /dev/null
<sewn>
jeez
<xdream8[m]>
smdev only has -s flag like toybox mdev, is a daemon not needed for dynamic device registering?
<sewn>
a daemon is needed of course
<xdream8[m]>
i had to remove mdevd because of order of device management in /usr/lib/init/rc.boot and it fixed this /dev/null, /dev/tty messages but i still cant launch sway and it spawns /usr/bin/helper a lot but it says not found
<sewn>
so.. on sbase/ubase you can use swya
<sewn>
way
<sewn>
Wayland Compositor
<xdream8[m]>
when i try to launch sway in debug mode i see two related things libEGL warning: failed to open /dev/dri/renderD128: Permission denied and libEGL warning: failed to open /dev/dri/card0: Permission denied
<sewn>
yeah your mdev is bad
<sewn>
not setting permissions
<sewn>
you might wanna manually set them (on busybox: mdev -s)
<xdream8[m]>
sewn: i can run sway on my thinkpad using mdevd. i am not sure why this happens on my main
<xdream8[m]>
when i try to run doas mdev -s it gives a segfault error
<sewn>
...what
<sewn>
how the
<sewn>
What
<sewn>
what does strace say?
mako2 has quit [Remote host closed the connection]
<xdream8[m]>
sewn: strace prints `[stopped 2943 (b)]` non-stop
<sewn>
yeah i can replicate it too lol
<sewn>
im running busybox mdev and toybox mdev segfaults
<xdream8[m]>
i will try mdevd again
<sewn>
if you were trying to use toybox mdev you shouldn't have :p
<xdream8[m]>
sewn: actually i removed busybox after i installed needed things
<xdream8[m]>
so i dont have any busybox utils
<xdream8[m]>
i will create a issue about mdev missing some flags in toybox github page
<xdream8[m]>
found the problem with mdevd it tries to read /etc/mdev.conf instead of /etc/mdevd.conf
<xdream8[m]>
yep fixed it
<sewn>
awesomee
<xdream8[m]>
i will push it to my repo as soon as i add mdevd option to patch from dilyn
geekthattweaks has quit [Quit: Connection closed for inactivity]
<sewn>
feeling like using sbase, maybe adding my own features if i need to
<iceman[m]>
I'm looking to get a modern thinkpad
<iceman[m]>
i wonder what should I get
<sewn>
t440p take it or leave it
<iceman[m]>
leaving it
<iceman[m]>
i want to compile software on it
<sewn>
i see
<sewn>
someone fit a 12th gen cpu in a X200
<sewn>
well if you want to compile software you cant go with a thinkpad
<sewn>
you will have to go with a gaming laptop
<iceman[m]>
sewn[m]: The thinkpad workstations are good.
<iceman[m]>
Have you checked out the P series?
<sewn>
plz go with a gaming laptop, the thinkpad is going to beg of you to not compile everything on it
<iceman[m]>
also X1 Extreme is also good
<sewn>
the cooling really isnt going to suffice
<iceman[m]>
sewn[m]: will prolly get something that has decent battery
<xdream8[m]>
<sewn> "feeling like using sbase..." <- i pushed the changes to my repo. check out readme. i added some instructions, it may be of help to you: https://codeberg.org/XDream8/kiss-repo
<xdream8[m]>
now the only thing i need to do is work out on my service manager rsv. it launches services too slow
<xdream8[m]>
btw i probably should create a pr in init repository for mdevd
mako2 has joined #kisslinux
<sewn>
ioraff: are you able to build rust after the lfs64 patch? i can't seem to build it
<sewn>
damn i didn't see that illiliti post an image
<sewn>
fucking irc bridge
<sewn>
oh man i forgot sbase xargs dont have parallel darn
<sewn>
apparently its easy to do..
<xdream8[m]>
i would love to try to write a coreutils in rust but i am not sure about it as it will take my time a lot. i will consider it after i finish kiss-rs
<mako2>
does seatd require dbus or no
<xdream8[m]>
nothing in main repository requires dbus
<mako2>
thats good to hear
<sewn>
<sewn> "apparently its easy to do.." <- copied the busybox implementation
<sewn>
<mako2> "thats good to hear" <- if you want to screenshare just know you need dbus
<illiliti>
xdream8[m]: if you start by writing pwd or echo utility, i'll ridicule you!
<mako2>
sewn: how do i configure seatd to work
<illiliti>
i'm joking don't worry
<sewn>
mako2: it just werks :^)
<sewn>
you just have to set it up as a service and set XDG_RUNTIME_DIR and such, just like a regular sway setup on gentoo
<sewn>
<xdream8[m]> "i would love to try to write a..." <- uutils is a thing
<mako2>
its a plug n play for me on void but no idea how to on kiss
<sewn>
its the same mostly
<sewn>
ln -s /etc/sv /run/service/seatd
<sewn>
make sure youre in the correct groups as well
<mako2>
yeah already did that
<mako2>
i added myself to seatd group
<sewn>
and have mdev as a service
<mako2>
oh mdev
<sewn>
and add yourself to the input video audio tty groups
<xdream8[m]>
i am still working on pkg_remove_files function .d but pkg_install_files function works as expected
<illiliti>
why did you choose to implement exact output format from kiss?
<illiliti>
feels odd seeing that again. how about something new and fresh?
<sewn>
<mako2> "it wont start the desktop..." <- I'm going to sleep
<mako2>
i think i got this, goodnight :)
kiedtl has quit [Quit: Bye]
kiedtl has joined #kisslinux
<illiliti>
also, privilege elevation is kinda flawed in kiss. since rust is compilable language, you could improve that by using suid
<illiliti>
one option is to split subcommands into separate binaries and set suid bit on those that need to elevate privileges
<illiliti>
imagine kiss-install, kiss-remove, kiss-search, kiss-build and so on
<xdream8[m]>
<illiliti> "feels odd seeing that again. how..." <- if you have any suggestions about design, I'm open to those suggestions.
<xdream8[m]>
illiliti: like xbps and cpt?
<illiliti>
maybe
<xdream8[m]>
thats a good idea
<illiliti>
as of output first I would drop colors and "Checking" stuff
<illiliti>
actually I would leave only 'Installing: <package>' and 'Installed: <package>'
<illiliti>
and 'Error installing: <package>' in case of error
<illiliti>
that's the only shit I care about in output. everything else belongs to opt-in flags imho
<xdream8[m]>
let me apply your suggestions except colors. colors make it look good
<xdream8[m]>
i will make it print "Checking ..." stuff only when KISS_DEBUG is set. also i am planning to drop KISS_DEBUG, KISS_CHOICE, KISS_FORCE etc and make them flags
<illiliti>
yeah flags would be nice
* illiliti
rummages in king source code for a good suggestions
<illiliti>
oh men
<illiliti>
i like how I implemented kiss alternative interface in king
<xdream8[m]>
illiliti: for example, we install netbsd-curses 0.3.2-1 to /kiss/packages/netbsd-curses-0.3.2-1 and link executables and libraries to /kiss/bin, /kiss/lib?
<illiliti>
testuser[m]: should we revert this commit? it causes too much obstruction
<xdream8[m]>
illiliti: so what you mean is adding everything to PATH, MANPATH and LD_LIBRARY_PATH after installing them and changing what is in PATH, MANPATH, LD_LIBRARY_PATH with a command
<illiliti>
no
<illiliti>
i believe nixos patches all this stuff at compile time
<xdream8[m]>
then how are we going to acces binaries and libraries?
<mako2>
illiliti: thank you
<illiliti>
for what?
<mako2>
wait i thought that was the patch for lfs64 lmaoo
<illiliti>
xdream8[m]: you better read how nixos/guix work
<xdream8[m]>
depends file syntax will be: program-name-version library
<xdream8[m]>
if its a make dep its: package-name-version executable
<illiliti>
i don't think you should hardcode library/executable
<illiliti>
packages should be opaque in this sense
<illiliti>
but nonetheless i don't have clean design in mind to tell what is good or bad
<xdream8[m]>
illiliti: actually this is what nix does without having to add every library/binary to LD_LIBRARY_PATH/PATH. it only tries to add necessery libraries/binaries.
<illiliti>
if that suits you, go with that
<xdream8[m]>
i will continue seperating kiss-rs to binaries for now. if you have any ideas about implementing nix like package installation/building just message me.
<testuser[m]>
@illiliti not sure, if the no. of packages affected are low then we can probably get by with patching them individually
<illiliti>
testuser[m]: ok, no problem. since ioraff is not here and issue is quite urgent, can you apply alpine patches to firefox and other packages?
angerisagift has quit [Ping timeout: 250 seconds]
angerisagift has joined #kisslinux
angerisagift has quit [Read error: Connection reset by peer]
vulpine has quit [Quit: Connection reset by purr]
vulpine has joined #kisslinux
mako2 has quit [Remote host closed the connection]
mako2 has joined #kisslinux
mako2 has quit [Remote host closed the connection]
mako2 has joined #kisslinux
mako2 has quit [Read error: Connection reset by peer]
<mako2>
illiliti: After applying the patch, i ran kiss b efivar again and this shows up -> https://termbin.com/gb5n
<zlib>
not to ask a stupid question but im trying to install gkiss rn and im stuck at this, any reason this is happening? the website literally isnt down https://0x0.st/Hekx.png
sad_plan has joined #kisslinux
<sad_plan>
hi
<illiliti>
mako2: pass -Wno-error=enum-int-mismatch to CFLAGS
<mako2>
export CFLAGS="-Wno-error=enum-int-mismatch" Is this correct?
<sewn>
why does matrix say I was mentioned here 99 times
<sad_plan>
have no idea. just use irc mate
<mako2>
efibootmgr -> EFI variables are not supported in this system
<sewn>
sad_plan: I don't have a bouncer
<sad_plan>
theres logs here on #kisslinux anyway
<sad_plan>
so no need for it here
<sad_plan>
other channels though, not so much
<sad_plan>
im getting so massivly fed up with webkit these days. webkit crashes on github, aswell as on several other sites I use.. makes using webkit browsers a real pain tbh....
<sewn>
<illiliti> "testuser: should we revert..." <- wasn't the lfs patch removed by the package maintainer?
<sewn>
mako2: this is stupid because I don't know why baseinit doesn't mount efivarfs
<sewn>
run mount efivarfs -t efivarfs /sys/firmware/efi/efivars
<sewn>
sad_plan: what's wrong with other browsers
<sad_plan>
they dont build usually for me
<sad_plan>
I did use firefox, but it stopped building for me altogether
<illiliti>
sewn: where removed?
<mako2>
sewn: mount: mounting efivarfs on /sys/firmware/efi/efivars failed: No such file or directory
<sad_plan>
sewn I dont mount efivars. and im just fine
<sad_plan>
mounts by itself I assume by the kernel
<mako2>
btw the kernel my system is using is lts and its not the one i compiled
<sad_plan>
I also use lts. 5.15.122
<mako2>
i only boot by the help of system rescue cd's findroot, also i cant have audio without the kernel i compiled
<illiliti>
then we should consider bringing it back if magnitude of this problem double
<sewn>
its not that it should be bringed back, it's that maintainers forgot to add the lfs64 patch to packages I believe
zlib has quit [Quit: Connection closed]
<sewn>
there was another commit that adds the patch back because of rust, but now that rust has been patched it alone is probably the only package that has the patch
<sewn>
I can't build rust despite the patches being there so I cant build firefox either