Closed LoganDark closed 2 years ago
Is extra/ in your KISS_PATH?
Jul 13, 2022, 10:43 AM by @.***:
Does this issue occur in master? Description
On a brand new chroot, > kiss update> is failing to run a second time. After updating > kiss> the first time (with > #289 https://github.com/kisslinux/kiss/pull/289> applied to make it work), and re-applying > #289 https://github.com/kisslinux/kiss/pull/289> , > kiss update> is saying that it fails to find a pre-built > perl> , and I don't see any way to fix the problem.
Error message -> Building: explicit: baselayout busybox gcc git, implicit: linux-headers perl openssl binutils bison curl-> Continue?: Press Enter to continue or Ctrl+C to abort-> Checking for pre-built dependenciesERROR 'perl' not found Verbose log
First update that went well, updating > kiss> itself:
/home/logandark # kiss update-> Updating repositories-> /home/logandark/repo [verify: false]-> /home/logandark/repo Need 'logandark' to updateUsing su (to become logandark)Already up to date.Using su (to become logandark)-> Checking for new package versionsbaselayout 1-7 ==> 1-8binutils 2.37-1 ==> 2.37-2bison 3.7.6-1 ==> 3.8.2-1busybox 1.33.1-5 ==> 1.34.1-1curl 7.77.0-1 ==> 7.80.0-1gcc 11.1.0-4 ==> 11.2.0-1git 2.32.0-1 ==> 2.34.1-1kiss 5.5.14-1 ==> 5.5.28-1linux-headers 5.10.47-1 ==> 5.10.54-1openssl 1.1.1k-1 ==> 3.0.0-2-> Checking for orphaned repository packages-> Detected package manager update-> The package manager will be updated first-> Continue?: Press Enter to continue or Ctrl+C to abort-> Building: explicit: kiss-> Checking for pre-built dependencies-> kiss Reading sourcesfound url+https://github.com/kisslinux/kiss/archive/5.5.28.tar.gz-> kiss Downloading https://github.com/kisslinux/kiss/archive/5.5.28.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0100 25662 0 25662 0 0 52301 0 --:--:-- --:--:-- --:--:-- 52301found url+https://github.com/kisslinux/website/archive/f0525d4e00c5e07138ac2ceb53936d0b221608e7.tar.gz-> kiss Downloading https://github.com/kisslinux/website/archive/f0525d4e00c5e07138ac2ceb53936d0b221608e7.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0100 281k 0 281k 0 0 492k 0 --:--:-- --:--:-- --:--:-- 492k-> kiss Verifying sources- c592788aecb7e39b88bb3d030cb35b3b040392627520e6978dc15173154f2d50+ c592788aecb7e39b88bb3d030cb35b3b040392627520e6978dc15173154f2d50- efca06d0a52037c732007f33f99cd368a836b5f9fec3ae314cfd73182f337c01+ efca06d0a52037c732007f33f99cd368a836b5f9fec3ae314cfd73182f337c01-> kiss Building package (1/1)-> kiss Extracting sources-> kiss Starting build-> kiss Successfully built package-> kiss Generating manifest-> kiss Stripping binaries and libraries-> kiss looking for dependencies (using readelf)-> kiss Generating manifest-> kiss Generating etcsums-> kiss Creating tarball-> kiss Successfully created tarball-> kiss Needed as a dependency or has an update, installing-> kiss Checking for package conflicts-> kiss Installing package @.***)-> kiss Installed successfully-> Updated the package manager-> Re-run 'kiss update' to update your system
Second update that I apparently can't perform because > perl> is not found (??):
/home/logandark # KISS_PROMPT=0 kiss update >log.txt 2>&1/home/logandark # cat log.txt-> Updating repositories-> /home/logandark/repoNeed "logandark" to updateUsing /usr/bin/su (to become logandark)Already up to date.Using /usr/bin/su (to become logandark)-> Checking for new package versionsbaselayout 1-7 => 1-8binutils 2.37-1 => 2.37-2bison 3.7.6-1 => 3.8.2-1busybox 1.33.1-5 => 1.34.1-1curl 7.77.0-1 => 7.80.0-1gcc 11.1.0-4 => 11.2.0-1git 2.32.0-1 => 2.34.1-1linux-headers 5.10.47-1 => 5.10.54-1openssl 1.1.1k-1 => 3.0.0-2-> Packages to update (9): baselayout binutils bison linux-headers busybox openssl curl gcc git-> Continue?: Press Enter to continue or Ctrl+C to abort-> Building: explicit: baselayout busybox gcc git, implicit: linux-headers perl openssl binutils bison curl-> Continue?: Press Enter to continue or Ctrl+C to abort-> Checking for pre-built dependenciesERROR 'perl' not found
log.txt https://github.com/kisslinux/kiss/files/9103000/log.txt
I'm trying to bootstrap the KISS system using Alpine Linux which has a musl libc. I'm not 100% sure if this is the problem and it doesn't seem like it's in any way related but I just thought I'd mention it just in case.
Deterministic repro
Paste each command in this listing (non-interactive commands can be pasted all at once), but this is not a script, since it interacts with a subshell. Anyway, inside an empty destination directory (kiss root), perform these actions to experience the error:
wget https://github.com/kisslinux/repo/releases/download/2021.7-9/kiss-chroot-2021.7-9.tar.xzunxz kiss-chroot-2021.7-9.tar.xzsudo tar xvf kiss-chroot-2021.7-9.tarsudo ./bin/kiss-chroot "$PWD"adduser logandark # ctrl-d to not set passwordpasswd -d logandarkcd /home/logandarksu logandarkgit clone https://github.com/kisslinux/repoecho 'export KISS_PATH=/home/logandark/repo/core' > .profileecho 'export CFLAGS="-march=native -pipe -Ofast"' >> .profileecho 'export CXXFLAGS="$CFLAGS"' >> .profileecho 'export MAKEFLAGS="-j12"' >> .profileexitsource ./.profilevi /usr/bin/kiss # manually apply #289 to the old version of kisskiss update # press enter to update kisscurl https://patch-diff.githubusercontent.com/raw/kisslinux/kiss/pull/289.patch | patch /usr/bin/kiss # re-apply patchkiss update # press enter twice to experience error
This deterministically reproduces the problem on my system.
— Reply to this email directly, > view it on GitHub https://github.com/kisslinux/kiss/issues/302> , or > unsubscribe https://github.com/notifications/unsubscribe-auth/AEVM3SKZZLGL3PRFR3HZZZDVT3IX7ANCNFSM53O7QWOQ> . You are receiving this because you are subscribed to this thread.> Message ID: > <kisslinux/kiss/issues/302> @> github> .> com>
Is extra/ in your KISS_PATH?
Nope, I included only core
. Is extra
required to build core
? That sounds cursed.
It sounds incorrect that perl isn't in core, yes :)
Jul 13, 2022, 10:46 AM by @.***:
Is extra/ in your KISS_PATH?
Nope, I included only > core> . Is > extra> required to build > core> ? That sounds cursed.
— Reply to this email directly, > view it on GitHub https://github.com/kisslinux/kiss/issues/302#issuecomment-1183318876> , or > unsubscribe https://github.com/notifications/unsubscribe-auth/AEVM3SMZBM2WSZUQAQL6QALVT3JF5ANCNFSM53O7QWOQ> . You are receiving this because you commented.> Message ID: > <kisslinux/kiss/issues/302/1183318876> @> github> .> com>
It sounds incorrect that perl isn't in core, yes :)
It sounds incorrect that perl is needed at all. But I guess I don't have a say in what people use for their build systems. :)
Also it seems kind of incorrect that the linux-headers
is picking a specific version to download. Shouldn't I be able to bring my own?
Maybe I need to make my own repo listed before the others? Man, I haven't gotten to this part of the tutorial yet.
Anyway, closing this issue as resolved. Sorry for the super simple issue! Still new to this stuff (not Linux in general, but bootstrapping systems anyway)
It's probably inherited from the fact that libressl
did not require perl
to build and so it was moved to extra/
, but the change to openssl
didn't see perl
move back. There was a concerted effort to attempt to drop perl
but of course we can't have everything :)
linux-headers
is pegged to an LTS because it's a sane choice -- the average KISS user is going to be using a newer kernel than the linux-headers
package which is safe. If you want a newer linux-headers
package, you can do as you said; create your own repo with it at the version required. You can use kiss-fork
and kiss-link
to easily accomplish this, see the documentation for kiss
for more.
Simple issues resolve simple problems :) It's worth mentioning it.
I would recommend also pinging the KISS-community org on this (are you in IRC? tag git-bruh or someone else... I'd do it but alas, I have been busy...) to correct this as well. You can find a more up-to-date upstream repository for KISS there (github.com/kiss-community/repo). Not official, of course; but if you want a more recent repo you don't have to maintain yourself it makes it easy.
There was a concerted effort to attempt to drop
perl
but of course we can't have everything :)
Personally I'd like to see perl gone, I'm one of those people who spend time and effort eradicating Python because it doesn't deserve to exist. I don't mind perl nearly as much but the fact that it causes this issue was quite annoying.
are you in IRC?
Unfortunately not, for privacy reasons. IRC requires too much commitment, like I have to put my IP address and location out there for anyone to see. Those are sensitive so I prefer not to advertise them.
You can find a more up-to-date upstream repository for KISS there (github.com/kiss-community/repo).
Cool, maybe I can find a version of zlib there that doesn't just 404.
-> zlib Reading sources
found url+https://zlib.net/zlib-1.2.11.tar.gz
-> zlib Downloading https://zlib.net/zlib-1.2.11.tar.gz
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 315 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
curl: (22) The requested URL returned error: 404
ERROR zlib Failed to download https://zlib.net/zlib-1.2.11.tar.gz
This is getting annoying.
The zlib issue is a casaulty of how the zlib devs ship their releases.
This is a problem which was solved in the KISS-community repo, because it is indeed frustrating 🙃
Jul 13, 2022, 11:14 AM by @.***:
There was a concerted effort to attempt to drop >> perl>> but of course we can't have everything :)
Personally I'd like to see perl gone, I'm one of those people who spend time and effort eradicating Python because it doesn't deserve to exist. I don't mind perl nearly as much but the fact that it causes this issue was quite annoying.
are you in IRC?
Unfortunately not, for privacy reasons. IRC requires too much commitment, like I have to put my IP address and location out there for anyone to see. Those are sensitive so I prefer not to advertise them.
You can find a more up-to-date upstream repository for KISS there (github.com/kiss-community/repo).
Cool, maybe I can find a version of zlib there that doesn't just 404.
-> zlib Reading sourcesfound url+https://zlib.net/zlib-1.2.11.tar.gz-> zlib Downloading https://zlib.net/zlib-1.2.11.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 315 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (22) The requested URL returned error: 404ERROR zlib Failed to download https://zlib.net/zlib-1.2.11.tar.gz
This is getting annoying.
— Reply to this email directly, > view it on GitHub https://github.com/kisslinux/kiss/issues/302#issuecomment-1183352550> , or > unsubscribe https://github.com/notifications/unsubscribe-auth/AEVM3SMPC4P7QHCXSEBXOB3VT3MOLANCNFSM53O7QWOQ> . You are receiving this because you commented.> Message ID: > <kisslinux/kiss/issues/302/1183352550> @> github> .> com>
kiss-fork
suddenly solved all my problems with packages being dumb, because now I can fix them myself in five seconds :P
Thanks!
Now just to figure out how to switch to glibc because I just realized KISS uses musl...
Description
On a brand new chroot,
kiss update
is failing to run a second time. After updatingkiss
the first time (with #289 applied to make it work), and re-applying #289,kiss update
is saying that it fails to find a pre-builtperl
, and I don't see any way to fix the problem.Error message
Verbose log
First update that went well, updating
kiss
itself:Second update that I apparently can't perform because
perl
is not found (??):log.txt
I'm trying to bootstrap the KISS system using Alpine Linux which has a musl libc. I'm not 100% sure if this is the problem and it doesn't seem like it's in any way related but I just thought I'd mention it just in case.
Deterministic repro
Paste each command in this listing (non-interactive commands can be pasted all at once), but this is not a script, since it interacts with a subshell. Anyway, inside an empty destination directory (kiss root), perform these actions to experience the error:
This deterministically reproduces the problem on my system.
VERY verbose log
VERY verbose log
``` asus:~/kissdemo$ wget https://github.com/kisslinux/repo/releases/download/2021.7 -9/kiss-chroot-2021.7-9.tar.xz Connecting to github.com (192.30.255.113:443) Connecting to objects.githubusercontent.com (185.199.109.133:443) saving to 'kiss-chroot-2021.7-9.tar.xz' kiss-chroot-2021.7-9 100% |********************************| 34.2M 0:00:00 ETA 'kiss-chroot-2021.7-9.tar.xz' saved asus:~/kissdemo$ unxz kiss-chroot-2021.7-9.tar.xz asus:~/kissdemo$ sudo tar xvf kiss-chroot-2021.7-9.tar