<testuser[m]>
ig this issue is present in a lot of places then
<phoebos>
just need to be careful
<midfavila>
what issue?
<testuser[m]>
bruh what if kiss preferred outputs a package name with space in it
<testuser[m]>
u cant even split on the proper field
<phoebos>
the best solution is to forbid package names with spaces
<phoebos>
then filenames with spaces are ok
<testuser[m]>
yes
<midfavila>
tbf spaces in filenames *are* heresy
<testuser[m]>
dufensive brogramming
<testuser[m]>
phoebos `preferred | grep '^busybox '` better way to check if first field matches, while printing the rest of the line with match?
<phoebos>
for what utility?
<testuser[m]>
kiss preferred will output "busybox /file"
<testuser[m]>
"s6-linux-init /usr/bin/init"
<testuser[m]>
maybe it should just grep first field and say "busybox leaves behind orphaned symlinks, run kiss preferred for more info"
<testuser[m]>
nvm ill just modify the function to take parms
rohan has joined #kisslinux
<testuser[m]>
nvm
<testuser[m]>
also how do you make grep always output `file:match`? it breaks if only 1 pkg
<testuser[m]>
-H is a gnooo extension
<testuser[m]>
bruh
<testuser[m]>
might as well pass /dev/null as an argument
<testuser[m]>
extra
sereg has quit [Ping timeout: 268 seconds]
<phoebos>
testuser[m]: in your pr is the first example with your patch
<testuser[m]>
ofc lol
<illiliti>
pls no need to rush merging prs
<testuser[m]>
ok
<wael[m]>
rush b
<testuser[m]>
ye i fucked up the preferred thing too
ella-0_ has joined #kisslinux
ella-0 has quit [Ping timeout: 252 seconds]
<phoebos>
pkg_preferred has the same set -- splitting problem
<testuser[m]>
it forbids spaces in args()
<testuser[m]>
and newlines
<phoebos>
ah ok yes
<phoebos>
still better not to assume no need to quote
<phoebos>
eg. $KISS_ROOT might contain a space
<testuser[m]>
what i fucked up is that pkg_preferred requires args that would be passed as if it was pkg_alternatives, but since i put it inside the case for verifying args for build/install/checksum, it gets passed "kiss" as an argument if no arg is given
<testuser[m]>
the checks need to be seperated but idk how to even group them
<testuser[m]>
what do they even represent
<testuser[m]>
check_*[]\n
<testuser[m]>
phoebos: ill change it to cd first ig
<testuser[m]>
pkg_owner has the same issue if kiss root has space
<illiliti>
revert and start over
ioraff has joined #kisslinux
<ioraff>
illiliti: muon shouldn't set a warning level by default. combining -Wpedantic with -Werror=format breaks, for example, mesa
<wael[m]>
muon can actually build mesa?
<ioraff>
without llvm, yes. with llvm, it needs a small patch to meson.build so it looks for the llvm.pc we now ship
<wael[m]>
woww
<illiliti>
ioraff: you can overwrite warning_level on command line
<illiliti>
iirc
<illiliti>
but i agree that muon shouldn't set it
rohan has quit [Ping timeout: 252 seconds]
<wael[m]>
can anyone supply a linux-headers binary?
<phoebos>
linux-headers is literally all source
<wael[m]>
?
<phoebos>
/usr/include/linux/...
<wael[m]>
can I just have a binary
<midfavila>
i don't think you understand
<phoebos>
if you don't have the tools to use the package you won't be able to use a "binary"