2020-05-25T01:09:11 #kisslinux I actually suggested removing that ternary before but dylan said it wasn't readable enough :P 2020-05-25T01:10:15 #kisslinux Why the quotes in case "$*" at line 1392? 2020-05-25T01:11:51 #kisslinux Also, couldn't you replace line 494 with `: >>depends`? Line 1455 is a bit trickier and would probably have to be `{ : >>"$repo_dir/checksums"; } 2>/dev/null }` 2020-05-25T01:26:52 #kisslinux Why don't you quote $KISS_ROOT in ${PWD#$KISS_ROOT} and such? Probably won't be a problem, but shouldn't you quote it anyway unless it's actually intended to be a pattern? 2020-05-25T01:29:17 #kisslinux And it does seem that the ls -ld parsing for the symlink will break on targets that contain ' -> ' as E5ten mentinoned; it doesn't seem likely and the other uses do seem to be safe, but the information at the top of the script seems a bit misleading 2020-05-25T02:17:50 #kisslinux okay, there we go 2020-05-25T02:17:52 #kisslinux virtualbox is finally working okay 2020-05-25T02:18:01 #kisslinux i hate this program but it's the only one with a nice clicky clicky gui 2020-05-25T02:26:30 #kisslinux What about virt-manager? 2020-05-25T02:32:04 #kisslinux Also, has Ctrl+C to execute pkg_clean been tested? It seems like it could get into a messy state; I could be wrong, but maybe throw in an exit at the end of it or something? 2020-05-25T02:38:41 #kisslinux And have you read the message I sent before about using $(()) unquoted being like using $# unquoted (which is actually subject to word splitting if IFS is set to a number)? I would either quote both or quote neither 2020-05-25T02:39:46 #kisslinux Why the extra space in line 917? 2020-05-25T03:13:33 #kisslinux dylan: regarding git package, isn't bumping rel every single day missing the point of... you know, git packages? 2020-05-25T04:15:58 #kisslinux o/ 2020-05-25T04:26:12 #kisslinux ax: I'll say one more thing. Instances where packages fail to build or fail to work once installed (due to some change in the package, etc) are so very common with distributions. Look at any distribution's bug tracker. The important part is that they be reported with as much information as possible (with a reproduction if possible). There's also the high chance of issues caused by the specific package list installed, system confi 2020-05-25T04:32:43 #kisslinux I spend (and have spent) a lot of time working on KISS. I do this for free and donations are few and far between (thank you to those who have donated!). In reality, I owe you absolutely nothing (and I choose to provide support). 2020-05-25T04:34:47 #kisslinux Send bug reports my way (with as much information as possible) and I'll look into the issues you're having. I sometimes forget about passing messages left in IRC (which contain little information). 2020-05-25T04:35:59 #kisslinux konimex: Somewhat, yeah. It 2020-05-25T04:37:28 #kisslinux konimex: Yeah.. It's an interesting use case and the maintainer has his reasons for doing this. If I recall, there weren't any releases/git tags when the package was submitted. 2020-05-25T04:38:16 #kisslinux Seeing as there are releases now, it makes more sense to have 'tuitube' track releases and a new 'tuitube-git' (without rel bumps). 2020-05-25T04:44:12 #kisslinux Crestwave: Pushed a commit containing nearly all proposed changes, thanks. Working on the rest now (last touch call, ls -ld issue). 2020-05-25T04:47:03 #kisslinux do people not read the faq? literally says there "Packages are updated as quickly as possible" 2020-05-25T04:47:26 #kisslinux Crestwave: Ctrl+C works fine with pkg_clean() and has since the start. 2020-05-25T04:51:01 #kisslinux dylan02: I've been thinking about the ls -ld issue and haven't been able to think of a solution, although I haven't been at a computer to be able to actually try to work on it, I hope you're able to think of a fix lol 2020-05-25T04:51:49 #kisslinux I'm working on it now. The current code works with -> throughout the file name but fails if -> is in the target itself. 2020-05-25T04:52:49 #kisslinux Like part of a solution is check if the file contains ->, if not only do #->, not ##->, but that doesn't fix a situation where the file has -> 2020-05-25T04:53:23 #kisslinux If the file does have -> you can do ##, but then a situation where both the file and target have -> still doesn't work 2020-05-25T04:54:19 #kisslinux Yup 2020-05-25T04:54:38 #kisslinux I could bail if there's more than one instance of '->' in the output. 2020-05-25T04:57:45 #kisslinux Maybe you could somehow remove the first 6 fields, then idk but maybe the original file name is the exact same as then name in the output, you # away that, and see if the start of what's remaining is ' -> '? 2020-05-25T04:58:55 #kisslinux The issue then is that the file name could contain spaces (which breaks field numbering). The file name could also be displayed differently to its actual name (this is why ls output for file name information is a bad idea). 2020-05-25T05:03:42 #kisslinux Is the target after -> in -l even guaranteed to be exact or could that have some shit like a ? In place of unprintable characters? 2020-05-25T05:05:17 #kisslinux It's the _contents_ of the symlink itself as-is. 2020-05-25T05:05:34 #kisslinux > "%s -> %s", , 2020-05-25T05:06:09 #kisslinux https://pubs.opengroup.org/onlinepubs/9699919799/ 2020-05-25T05:07:02 #kisslinux What I mean is, do those contents have the same lack of guarantee of the output actually being the same as the path, or is that also potentially subject to ls file-name fuckery? 2020-05-25T05:07:49 #kisslinux Sorry those both mean the same thing, I mean is it potentially subject to that same dumb ls file-name stuff or not 2020-05-25T05:08:51 #kisslinux God why isn't something like readlink or anything with equivalent functionality POSIX how is using ls -l for this supposed to be acceptable 2020-05-25T05:09:43 #kisslinux I thought not though it looks like GNU ls does do the display fuckery before printing it. 2020-05-25T05:10:10 #kisslinux I thought "contents of link" meant the target as-is. 2020-05-25T05:10:38 #kisslinux https://github.com/coreutils/coreutils/blob/master/src/ls.c#L3492-L3498 2020-05-25T05:11:02 #kisslinux More here: https://github.com/coreutils/coreutils/blob/master/src/ls.c#L3642-L3672 2020-05-25T05:11:43 #kisslinux I guess there isn't really an alternative anyway so that particular problem isn't solvable 2020-05-25T05:11:48 #kisslinux So... if 'ls' is out for symlink information... What's next? 2020-05-25T05:12:09 #kisslinux I don't think there's anything else 2020-05-25T05:13:00 #kisslinux Actually 2020-05-25T05:13:11 #kisslinux I think we can just resolve the path symlinks where it's used. 2020-05-25T05:14:53 #kisslinux I don't understand? 2020-05-25T05:15:19 #kisslinux There's no need to resolve file symlinks in addition to path symlinks. 2020-05-25T05:16:31 #kisslinux Example: https://termbin.com/4g7o 2020-05-25T05:17:42 #kisslinux '/lib/libz.so' only needs to become '/usr/lib/libz.so' (and not '/usr/lib/libz.so.1.2.11') as '/usr/lib/libz.so' exists in the package's manifest in addition to the file's target. 2020-05-25T05:18:33 #kisslinux Ohhh 2020-05-25T05:18:38 #kisslinux Shit you're right 2020-05-25T05:19:03 #kisslinux That's great 2020-05-25T05:20:17 #kisslinux So now ls -l will genuinely only be used for stuff it can't not be portable with 2020-05-25T05:20:53 #kisslinux Yeah 2020-05-25T05:21:35 #kisslinux Still annoying that #* #* doesn't work cuz busybox pads output lol 2020-05-25T05:21:59 #kisslinux I know.... 2020-05-25T05:22:46 #kisslinux I genuinely can't comprehend the thinking behind adding unneeded padding that breaks with the standard 2020-05-25T05:29:11 #kisslinux Crestwave: ash seems to not allow one to catch errors on ': >> file'. It looks like I'll need to keep around this touch call for checksums. 2020-05-25T05:35:48 #kisslinux Crestwave: Regarding the quoting of '$*': https://github.com/kisslinux/kiss/runs/705161161 2020-05-25T06:20:36 #kisslinux perish: dilyn: Any chance you can send XFCE4/KDE screenshots my way? I want to mention both projects in the latest blog post. :) 2020-05-25T06:20:49 #kisslinux dilynm: 2020-05-25T06:51:55 #kisslinux ? 2020-05-25T06:52:17 #kisslinux :2020-05-25T06:52:21 #kisslinux ? 2020-05-25T06:52:24 #kisslinux ? 2020-05-25T06:52:41 #kisslinux 2020-05-25T07:06:16 #kisslinux dylan02: Given that you already have a read call on the version file that'd error with a missing newline, imo you should just require properly newline-ended files and drop the || [ "$var" ] from while read loops 2020-05-25T07:47:22 #kisslinux dylan02: `{ : >>/foo; } 2>/dev/null` as a regular user on ash outputs nothing and exits with 1 on my machine. Does it do something else on yours? 2020-05-25T07:48:16 #kisslinux Also, that shellcheck failure is strange. It (correctly) doesn't trigger on my machine nor the website. 2020-05-25T07:49:13 #kisslinux $# in [ $# -gt 1 ] still isn't quoted, by the way? 2020-05-25T09:51:07 #kisslinux Crestwave: Fixed $#, thanks. 2020-05-25T09:51:28 #kisslinux Crestwave: Try: { : >>/foo; } 2>/dev/null || echo hi 2020-05-25T09:51:37 #kisslinux The 'echo' never executes. 2020-05-25T10:55:54 #kisslinux https://k1ss.org/blog/20200525a 2020-05-25T10:56:00 #kisslinux "This month in KISS (#2)" 2020-05-25T10:56:13 #kisslinux Please let me know if I've forgotten something! 2020-05-25T11:14:57 #kisslinux I removed strip-components :( 2020-05-25T11:16:03 #kisslinux A user of KISS has made an incredible donation. An entire system! 2020-05-25T11:16:05 #kisslinux :O 2020-05-25T11:16:07 #kisslinux damn great news 2020-05-25T11:20:10 #kisslinux Yeah! It came as such a shock to me when I woke up to the email. 2020-05-25T11:20:34 #kisslinux good specs too 2020-05-25T11:20:54 #kisslinux Crazy specs. I've never owned anything near the power of this machine. 2020-05-25T11:26:01 #kisslinux It's an amazing gesture... I will be putting the system to good use! This will free me up to do more work in less time and I'll be able to tinker with cross-system usage of the package manager and binary caches. Will open up some neat possibilities.. 2020-05-25T11:28:16 #kisslinux dylan02: will kisslinux be ource based only? or binary support later? 2020-05-25T11:28:19 #kisslinux source* 2020-05-25T11:32:07 #kisslinux Binaries are supported now (albeit with more manual work than users would like). Having binary support for each package (and what I'd call "first class" support for binaries) is difficult as I don't have the funds to host everything (nor the time in this current situation). When I make my millions it'll be a sure thing though. ;) 2020-05-25T11:33:06 #kisslinux With this new system I will be looking into making the binary cache easily usable between machines. I'll have two systems to mess around with instead of one. 2020-05-25T12:15:59 #kisslinux Really liking the monthly updates, prefer them over the weekly ones. This one was a great read, especially the news about the system donation. Wow. 2020-05-25T12:17:39 #kisslinux So I installed KISS (a couple of times), trying to figure out what the hell I was doing wrong with GRUB, which refused to work. Turned out that with defconfig and my own changes, I'd completely forgotten NVMe driver lol >_< 2020-05-25T12:18:19 #kisslinux Sure, I realized I had nvmeXn instead of the usual sdX, but I didn't give it more thought other than that. Well, lesson learned hah. 2020-05-25T12:19:36 #kisslinux Now I just have to figure out how/why my wifi card won't show up (yes, I have the correct firmware, can't find any problems there). 2020-05-25T12:22:53 #kisslinux dylan02: Great post! 2020-05-25T12:23:16 #kisslinux What a best of a system, too. Well deserved, my man. 2020-05-25T12:24:30 #kisslinux beast* 2020-05-25T12:24:32 #kisslinux lol 2020-05-25T12:41:29 #kisslinux I love how KISS comes pre-installed 2020-05-25T13:29:55 #kisslinux o/ 2020-05-25T13:32:58 #kisslinux How do I obtain an IP address after having connected to a network with wpa_supplicant? :P 2020-05-25T13:33:16 #kisslinux I only know of 'dhclient '... I'm really not great at these things. 2020-05-25T13:35:02 #kisslinux Perhaps I ought to know how to even start services to begin with... 2020-05-25T13:37:21 #kisslinux 'dhcpcd' 2020-05-25T13:46:00 #kisslinux dylan03: I would send screenshots if I were able to take them xD 2020-05-25T13:46:13 #kisslinux KDE is still very much 'unusable' 2020-05-25T13:47:18 #kisslinux All good. lol 2020-05-25T13:49:01 #kisslinux is there a way to make st open at a specific size? like, have it open displaying 80 columns already 2020-05-25T13:49:10 #kisslinux i hate adjusting it manually by ten pixels 2020-05-25T13:50:41 #kisslinux dilyn: Yeah it's specifiable in the config, IIRC. 2020-05-25T13:50:48 #kisslinux ofc 2020-05-25T13:50:49 #kisslinux dilyn: 'static unsigned int cols = 52; static unsigned int rows = 12;' 2020-05-25T13:50:50 #kisslinux config.h, that is. 2020-05-25T13:50:54 #kisslinux ^ 2020-05-25T13:50:55 #kisslinux perfection 2020-05-25T13:51:02 #kisslinux tysm for some reason i just couldn't see it 2020-05-25T13:51:04 #kisslinux lol 2020-05-25T14:10:25 #kisslinux dylan02: Huh, looks like it actually aborts what it's currently running; `{ : >>/foo; } 2>/dev/null; echo bar` doesn't output anything either. A subshell would work but I understand if you'd rather keep touch in that case 2020-05-25T14:23:30 #kisslinux Would "printf '' >> file || whatever" work? 2020-05-25T14:24:11 #kisslinux dylan03: Crestwave 2020-05-25T14:25:05 #kisslinux or simply `true >>/foo` maybe 2020-05-25T14:31:41 #kisslinux That too 2020-05-25T14:37:43 #kisslinux dylan: `kiss(1) line 1390: you forgot to also set the new KISS_ env vars (colors, prompt etc.) 2020-05-25T14:44:47 #kisslinux E5ten: Seems that other commands do work. I'm not sure why : is special in that case; like, even `{ { :; } >>/a; } 2>/dev/null || echo a` works O.o 2020-05-25T14:52:09 #kisslinux even a redirection with no command seems to work, but that'd cause a shellcheck warning 2020-05-25T14:57:27 #kisslinux does anyone have any idea if kiss has nfs support 2020-05-25T14:59:15 #kisslinux dylan03: od -c is XSI, I think you should parse the octal output 2020-05-25T15:01:24 #kisslinux dylan03: nevermind, just do -t c instead of -c 2020-05-25T15:04:25 #kisslinux also I'd add -A o because without a -A the offset base is apparently unspecified, and adding -A o means it would guarantee it to be octal, so you know the match would be correct 2020-05-25T15:16:16 #kisslinux dylanaraps: typo: https://github.com/kisslinux/website/blob/master/site/blog/20200525a.txt#L343 2020-05-25T15:18:39 #kisslinux Should '/etc/modules-load.d/' be used for loading modules at boot time, or should udev be utilized for that? 2020-05-25T15:22:05 #kisslinux isn't /etc/modules-load.d a systemd thing? 2020-05-25T15:22:34 #kisslinux i use an rc.d/*.boot file; you could use inittab or w/e 2020-05-25T15:23:12 #kisslinux there's even an example in there for you 2020-05-25T15:23:23 #kisslinux E5ten: Could be. I find it hard to google these things, as the answer's tend to be distro specific (but not outspokenly so). Need a better source for this kind of information. 2020-05-25T15:23:28 #kisslinux dilyn: Thanks 2020-05-25T16:00:39 #kisslinux curious.. does it make sense that i need to rebuild git and curl on a fresh KISS install, after running “kiss u” and “cd /var/db/kiss/installed && kiss build *”? 2020-05-25T16:01:16 #kisslinux i didn’t have to do this until recently. 2020-05-25T16:11:17 #kisslinux aarng: Fixed. 2020-05-25T16:11:23 #kisslinux E5ten: Fixed. 2020-05-25T16:11:34 #kisslinux claudia02: Fixed. 2020-05-25T16:13:11 #kisslinux djt3[m]: NFS support should be as simple as a package (or two) and the right kernel options. Or am I wrong? 2020-05-25T16:14:16 #kisslinux dylan2: idk, i tried samba support and gave up because it had way too many deps, not sure if its different with nfs. dont really wanna do a reinstall again if it isnt possible. are there packages for it in the official repos? 2020-05-25T16:16:37 #kisslinux > are there packages for it in the official repos? 2020-05-25T16:16:41 #kisslinux There aren't, no. 2020-05-25T16:19:54 #kisslinux It should be as simple as nfs-utils (and its dependencies) 2020-05-25T16:23:09 #kisslinux dylan02: ok thnaks, ill be looking into it for sure. if i get it working ill be sure to add it to the community repos 2020-05-25T16:26:30 #kisslinux A tip or two: Don't 100% trust the dependency lists for software from other distributions. They're usually wrong to some extent and you may end up packaging more than is needed. (To give an example, Arch tends to enable all optional stuff for their packages). 2020-05-25T16:27:49 #kisslinux The best way is to start with nfs-utils and try to build it (packaging/installing each dependency that it yells at you about until it builds). 2020-05-25T16:28:20 #kisslinux Another great resource is './configure --help' (or equivalent for other build systems). 2020-05-25T16:28:31 #kisslinux I'm actually interested in nfs too 2020-05-25T16:28:39 #kisslinux though so far I've been too lazy to look into it 2020-05-25T16:28:46 #kisslinux Post in this chat if you run into any issues. I and others will be happy to help. 2020-05-25T16:28:47 #kisslinux and used netcat to transfer files 2020-05-25T16:28:53 #kisslinux Heh 2020-05-25T16:29:37 #kisslinux djt3[m]: You might find this handy as well: http://www.linuxfromscratch.org/blfs/view/svn/basicnet/nfs-utils.html 2020-05-25T16:30:17 #kisslinux ok thanks for everything :) 2020-05-25T16:37:28 #kisslinux dylan02: I was reading the This Month in KISS and saw "All usage of 'install' has been replaced with basic POSIX utilities.", should I do the same for my package's build files or leave them using install? 2020-05-25T16:38:38 #kisslinux that donated computer looks awesome, by the way! Impressive system you'll be getting 2020-05-25T16:40:09 #kisslinux himmalerin: It's entirely up to you. It's very difficult to make the build files 100% portable as chances are that calling 'make' will call 'install' anyway. That portion of the blog post is in relation to the package manager and not the official repositories. 2020-05-25T17:12:19 #kisslinux dylan02: will you be building additional packages once you get your build system, or will you be sticking to just building ff? 2020-05-25T17:17:56 #kisslinux spacehare: I build everything in the official repositories. If it's about providing -bin packages (or binaries), this won't happen any time soon. I can't speak for the future though. 2020-05-25T19:43:46 #kisslinux https://github.com/kisslinux/kiss/blob/master/kiss#L346 << -exec sh -c 'mv -f "$@" .' _ {} + 2020-05-25T20:37:51 #kisslinux Pardon the question, but I can't figure this out. My ~/.profile and ~/.ashrc does not seem to take effect (as in, they're not loaded). And when start X and opening a new terminal, it opens in ~/dotfiles by default for some reason. '~' is '/home/myusername' in this instance (I'm not root). Any... thoughts? 2020-05-25T21:01:03 #kisslinux Never mind... 2020-05-25T21:45:13 #kisslinux merakor: gst-plugins-base needs linux-headers (: 2020-05-25T22:48:54 #kisslinux figured out my kernel issues 2020-05-25T22:49:10 #kisslinux if anybody was lookin' to build linux-nitrous you need elfutils proper, not just libelf 2020-05-25T22:57:47 #kisslinux what does elfutils libelf have that linux-nitrous needs that the other libelf doesn't have? 2020-05-25T23:03:20 #kisslinux gelf_getsymshndx 2020-05-25T23:03:25 #kisslinux in /usr/include/gelf.h 2020-05-25T23:06:04 #kisslinux yikes, seems that's an upstream change they pulled, I guess the old libelf is gonna stop working on next release for any kernel 2020-05-25T23:06:19 #kisslinux yeah :2020-05-25T23:12:18 #kisslinux https://github.com/dilyn-corner/KISS-me/tree/master/KISS-me/elfutils 2020-05-25T23:12:20 #kisslinux for posterity 2020-05-25T23:18:13 #kisslinux since kiss is probably gonna have to provide a different libelf since the old one won't work, I'd suggest the one from elftoolchain cuz elfutils is impossible to build with clang 2020-05-25T23:18:42 #kisslinux big ooooffff 2020-05-25T23:22:16 #kisslinux i sent some patches a while back to support elftoolchain libelf for building linux. i haven't tested with latest linux sources, but it's been working fine for me 2020-05-25T23:26:04 #kisslinux i believe you'll need https://github.com/elftoolchain/elftoolchain/commit/4857158172f38c6f66a51f9249c7c49d846fa7e7, which is not yet in a released elftoolchain version