[2022-09-17T00:01:40Z] but it can't be that simple right? [2022-09-17T00:01:49Z] what i'm missing? [2022-09-17T00:58:28Z] illiliti: how would the package manager know what provides /usr/lib/libLLVM.so? [2022-09-17T01:00:12Z] grep /usr/lib/libLLVM.so /var/db/kiss/installed/*/manifest [2022-09-17T01:00:52Z] basically kiss-owns [2022-09-17T01:01:14Z] but if a package that provides it isn't installed, the pm won't know what dependency to resolve [2022-09-17T01:02:33Z] then it's up to user which package to install to satisfy dependency [2022-09-17T01:04:03Z] we could also include manifests into repo to automate that [2022-09-17T01:06:39Z] or leave a comment to suggest which dependency to install [2022-09-17T01:06:52Z] /usr/lib/libLLVM.so make # llvm, llvm-fat [2022-09-17T01:08:08Z] if the manifests were included, that could work [2022-09-17T01:08:16Z] otherwise I fail to see how it would be an improvement over the current system [2022-09-17T01:09:08Z] manifests won't be constant until the package manager sandboxes builds [2022-09-17T01:10:42Z] even so, a manifest could be different under a different version of a package in the build environment [2022-09-17T01:11:32Z] fair, let's proceed to another option [2022-09-17T01:12:16Z] what about symlinks? has anyone tried to implement provides using them? [2022-09-17T01:23:45Z] what do you mean? [2022-09-17T01:26:13Z] pkg -> llvm(symlink) -> llvm-fat [2022-09-17T01:26:48Z] pkg depends file: llvm make [2022-09-17T01:27:39Z] after build is complete, we could change llvm to llvm-fat in depends file [2022-09-17T01:28:05Z] so /var/db/kiss/installed/pkg/depends will have: llvm-fat make [2022-09-17T01:28:44Z] or just keep: llvm make [2022-09-17T01:29:17Z] i didn't measure which one is better [2022-09-17T01:30:44Z] we would need a new tool to control symlinks though [2022-09-17T01:33:07Z] actually provides is possible already via abusing KISS_PATH and repos [2022-09-17T01:33:20Z] but it isn't great [2022-09-17T01:41:42Z] I feel a provides file is still the best option. seems the most flexible and least opaque [2022-09-17T01:45:30Z] yeah [2022-09-17T01:46:14Z] i'm just looking at other options to make sure we didn't miss anything [2022-09-17T01:57:19Z] how kiss supposed to choose "provided" dependency if there are many of them? [2022-09-17T01:57:52Z] if prompt - i don't like it [2022-09-17T01:59:50Z] priority? i suspect that would make logic more complicated [2022-09-17T02:03:19Z] I had only imagined a prompt. priority wouldn't let the pm be agnostic about package names, and has the possibility of packages claiming the same priority. [2022-09-17T02:04:03Z] prompt sucks [2022-09-17T02:04:32Z] i'd rather bail out and let user decide which dependency to install [2022-09-17T02:06:31Z] that's functionally equivalent to a prompt. x package needs y -> pm lists all the packages in KISS_PATH that provide y -> prompt for which to install or exit and have the user manually install one. [2022-09-17T02:07:52Z] yeah but without input parsing nonsense [2022-09-17T02:08:15Z] if we could make it a simple Y/N, then ok [2022-09-17T02:10:32Z] we also have KISS_PROMPT. we should respect it somehow [2022-09-17T02:13:59Z] it'd just be parsing a number. I wonder how every other distro that has a similar function determines what package is the default. [2022-09-17T02:15:02Z] priority, as far as i'm aware [2022-09-17T02:27:33Z] no other way [2022-09-17T02:33:58Z] if multiple packages have same priority then abort() [2022-09-17T02:34:26Z] any other options? [2022-09-17T04:07:02Z] Hi [2022-09-17T04:07:31Z] hi [2022-09-17T04:08:11Z] hi [2022-09-17T04:20:10Z] illiliti: how is priority decided [2022-09-17T05:30:49Z] Also we should prompt to rebuild every package that depends on the provider that has been changed [2022-09-17T05:31:25Z] wait no [2022-09-17T05:31:43Z] yea [2022-09-17T05:32:57Z] no [2022-09-17T05:33:10Z] no [2022-09-17T05:47:42Z] but why not!!! [2022-09-17T05:48:20Z] my CPU is idle everyday, it needs a workout once in a while. [2022-09-17T05:49:38Z] My CPU needs to be in tip top shape when I need to compile chromium. [2022-09-17T05:51:15Z] getting the CPU warmup can increase performance by 0.00843% [2022-09-17T06:57:09Z] is there a tool that can automatically fill in the commit message for a kiss package update/new ? [2022-09-17T06:57:29Z] eg kiss commit and it automatically adds the package and does the commit message on if its a new or a update [2022-09-17T07:09:35Z] cm() { git add $1; git commit -m "$1: $(awk '{print $1}' $1/version)"; } [2022-09-17T07:29:33Z] fair enough [2022-09-17T07:45:13Z] what should be done about unrelated packages tainting other packages due to auto enabled features? [2022-09-17T07:45:27Z] eg freetype-harfbuzz just got built with brotli support cuz i have android fools installed [2022-09-17T07:49:17Z] sandboxed builds [2022-09-17T07:49:42Z] that came to my mind too but it's unportable [2022-09-17T07:51:04Z] it could be portable with enough ifdefs [2022-09-17T07:51:21Z] also SUID vs user namespaces vs landlock vs ... [2022-09-17T07:53:40Z] enumerating all possible build options like genpoo doesnt seem feasible / reliable [2022-09-17T07:57:33Z] fall back to unprivileged builds. and probably landlock, but it'd require a relatively new kernel [2022-09-17T07:58:02Z] it can have all backends ig [2022-09-17T08:00:33Z] I guess the number of people using KISS on another kernel is about 0. [2022-09-17T08:06:08Z] tbf having sandboxed builds can introduce the possibility of having make dependencies not being installed on the host system [2022-09-17T08:06:26Z] that as well can introduce the possibility of having *-libs *-devel packages [2022-09-17T08:06:37Z] good, then the depends files will actually be accurate [2022-09-17T08:06:53Z] don't see how it'd require split packages [2022-09-17T08:07:14Z] it can save some space on the host system by having development/library packages at build time [2022-09-17T08:07:26Z] an example of this is xbps-src, unfortunately its bash only and probably isnt portable [2022-09-17T08:09:58Z] both are still required at build time [2022-09-17T08:11:05Z] split packages dont make sense on any source based distro [2022-09-17T08:11:21Z] true, gentoo doesnt split packages [2022-09-17T08:11:31Z] probably does but not for splitting devel libs and stuff [2022-09-17T08:12:19Z] the only advantage you'd have is not needing headers to be installed outside of build time [2022-09-17T08:20:18Z] https://github.com/kiss-community/repo/issues/108 [2022-09-17T15:02:17Z] https://github.com/jtheoof/swappy [2022-09-17T15:03:52Z] we can reserve second field for priority [2022-09-17T15:03:56Z] i.e: [2022-09-17T15:04:09Z] package with higher number has higher priority [2022-09-17T15:04:54Z] based on that we reorder "provided" dependencies [2022-09-17T15:05:48Z] if user has set KISS_PROMPT, package with highest priority will be default [2022-09-17T15:06:08Z] KISS_PROMPT=0 to be exact [2022-09-17T15:14:11Z] Where is the priority field going to be set and how would it make sense for independent repos [2022-09-17T15:14:48Z] in provides file [2022-09-17T15:15:40Z] what is independent repo [2022-09-17T15:15:53Z] Repo doesn't have knowledge of other repo [2022-09-17T15:16:05Z] llvm-fat provides file would have `llvm 2` [2022-09-17T15:16:12Z] llvm-superfat would have . [2022-09-17T15:16:40Z] >mfw github requires JS to access release tarballs now [2022-09-17T15:18:13Z] soydevs don't have anything better to do than reworking ui it seems [2022-09-17T15:18:45Z] fortunately you can access releases in plaintext using https://github.com/$AUTHOR/releases/expanded_assets/$RELTAG [2022-09-17T15:19:01Z] well, not plaintext, but minimally formatted HTML [2022-09-17T15:19:46Z] llvm-superfat would have: llvm 1 ? [2022-09-17T15:21:00Z] llvm-sane would have: llvm 3 [2022-09-17T15:21:09Z] what problem are you implying? [2022-09-17T15:26:28Z] I mean if u have llvm in main repo, llvm-fat in some zig repo, llvm-superfat in some $LANG repo and each repo is maintained by different authors [2022-09-17T15:26:34Z] how would they set propriety [2022-09-17T15:26:40Z] priority [2022-09-17T15:27:08Z] Also what does a priority greater than 2 mean [2022-09-17T15:27:25Z] It's either sane package or modified package [2022-09-17T15:30:28Z] well, some coordination would be required [2022-09-17T15:31:17Z] and IMHO must not have same priority [2022-09-17T15:31:24Z] packages* [2022-09-17T15:32:19Z] values of priority have no special meaning [2022-09-17T15:33:12Z] so if modified package has 4, i.e highest priority, then it will be default1 [2022-09-17T15:33:30Z] same if package has 400 priority [2022-09-17T15:33:38Z] it doesn't matter [2022-09-17T15:34:30Z] we could reserve 0 for something special, but i don't know for what [2022-09-17T15:37:00Z] What about just making automatic decision based on repo priority [2022-09-17T15:38:03Z] Or better just error out if kiss prompt is set and print msg to `kiss select llvm llvm-fat` or something [2022-09-17T15:40:29Z] yeah, that's my first thought [2022-09-17T15:41:01Z] erroring out is appropriate according to kiss ideas stuff should be explicit [2022-09-17T15:43:05Z] > What about just making automatic decision based on repo priority [2022-09-17T15:43:08Z] that's how people implement provides right now [2022-09-17T15:43:40Z] KISS_PATH="./modified:./orig" [2022-09-17T15:44:15Z] kiss b pkg will take llvm from modified [2022-09-17T15:44:45Z] reorder KISS_PATH and you have provides system [2022-09-17T15:45:09Z] but as i said it isn't that great [2022-09-17T15:46:15Z] there are some limitations [2022-09-17T15:47:24Z] What do u think about the erroring out idea [2022-09-17T15:48:43Z] For me erroring > decision on repo priority > priority system [2022-09-17T15:49:25Z] it's fine [2022-09-17T16:42:40Z] illiliti: https://github.com/kiss-community/kiss/pull/73/files [2022-09-17T16:42:42Z] Does it look ok [2022-09-17T16:43:04Z] I'll make new release with rpath fix and this fix before major changes like b3 or destdir stuff [2022-09-17T16:53:29Z] looks good [2022-09-17T16:56:30Z] should we unbundle zip/unzip from firefox as well? [2022-09-17T16:56:46Z] I added it to issue already [2022-09-17T16:56:56Z] i think we should [2022-09-17T17:00:45Z] Btw yasm doesn't seem to be needed at all [2022-09-17T17:02:35Z] illiliti: what about gcc mpfr mpc gmp [2022-09-17T17:07:31Z] hard to say [2022-09-17T17:08:01Z] probably should be unbundled too [2022-09-17T17:23:11Z] libwebp, ttf-croscore must use https [2022-09-17T17:27:07Z] https://storage.googleapis.com/downloads.webmproject.org/releases/webp/libwebp-VERSION.tar.gz [2022-09-17T17:29:17Z] illiliti: are u in college [2022-09-17T17:29:35Z] no [2022-09-17T17:30:02Z] job? [2022-09-17T17:30:20Z] yep [2022-09-17T17:30:31Z] Oh [2022-09-17T17:33:35Z] i wouldn't call it job tho [2022-09-17T17:33:59Z] typical underpaid shithole is better name [2022-09-17T17:34:25Z] oof [2022-09-17T21:22:59Z] how much are you talking about? [2022-09-17T21:23:49Z] 2.50? [2022-09-17T22:00:19Z] usd per hour? about that yeah [2022-09-17T22:08:54Z] i know people who survive on 250$ per month [2022-09-17T22:09:17Z] most of them are pensioners [2022-09-17T22:10:40Z] half goes on bills [2022-09-17T22:11:08Z] some goes on medicine and stuff [2022-09-17T22:11:20Z] some goes on food [2022-09-17T22:11:29Z] and you have 0 [2022-09-17T22:35:08Z] should we enable new-dtags by default for binutils? [2022-09-17T22:40:49Z] do you mean add that flag when building binutils or set that flag when the linker is bfd/gold? [2022-09-17T22:51:19Z] i mean add configure option [2022-09-17T22:51:24Z] --enable-new-dtags [2022-09-17T23:16:02Z] also --enable-default-hash-style=gnu [2022-09-17T23:16:18Z] for DT_GNU_HASH [2022-09-17T23:16:43Z] it seems to be better than DT_HASH, but non-standard