libera/#devuan/ Saturday, 2024-08-24

Nrmlfsmithred: following the procedure for live-sdk, error when trying to run the `load devuan amd64` command: https://termbin.com/nlfb00:27
NrmlI'm probably commiting some supremely stupid mistake...00:28
NrmlNevermind... I thin I just figured it out, instead of running `zsh -f -c 'source sdk'`, running `source sdk` instead of the interactive zsh works00:34
Nrml*thinl00:34
Nrmlargh *think :-000:34
onefangI thinl u r not thinning wright.00:48
Nrmlonefang: lol ;-)01:08
fsmithredNrml, yeah, I do the commands separately01:14
fsmithredzsh -f01:14
fsmithredsource sdk01:14
fsmithredload devuan devuan-minimal-live01:14
fsmithredbuild_iso_dist | tee log/build.101:15
fsmithredIf you want to prevent it from deleting the build tree, there are a couple of edits to make in lib/libdevuansdk/zlibs/01:26
fsmithredhelpers:116:    sudo rm -rf "$strapdir"01:26
fsmithrediso:149:        sudo rm -rf "$workdir"01:26
fsmithredcomment those lines ^^^01:27
fsmithreddelete it manually before the next build01:27
Nrmlthanks for the additional tips, fsmithred!01:32
Nrmlhow do I change the base distro? I'm monitoring processes etc and it seems to be building for beowulf, not daedalus01:33
Nrmlalso, just before `build_iso_dist` I had to `export arch=amd64` or it would complain arch was undefined. Is that the correct way to do it, or should I have defined some other way?01:36
fsmithredlook at the blends directories02:43
fsmithredyou set the release in the config file02:44
fsmithredblends/devuan-minimal-live/config02:44
fsmithredset the arch there, too02:44
fsmithredNrml, ^^^02:44
fsmithrednope02:46
fsmithredyeah, that is the right config file02:46
fsmithredsorry, there are three or four so it's confusing sometimes02:46
fsmithredhttps://git.devuan.org/devuan-sdk/live-sdk/src/branch/master/blends/devuan-minimal-live/config02:47
Nrmlno prob. fsmithred and again many thanks for your kind help02:49
onefangTIL - ledtrig-cpu is a linux kernel thing that lights up an LED when a CPU is being used.  Apparently my new server has that enabled well enough that the kernel from the old server picked it up.  Guess this new server company loves their blinken lights.04:35
onefangYes, I'm reading through the boot logs on this new server, can you tell?  See what surprises lurk within.04:36
Nrmlfsmithred: build_iso_dist ran for hours, then seemingly aborted with "thirdstage" errors, here's the log from that part: https://termbin.com/n84x11:01
Nrmllooks to me the error is being caused by btrfs-tools not being available in the repos...11:03
Nrmlfsmithred: lots of questions from observing the output, eg why the error messages were repeated 4 times in a row when it aborted...11:05
Nrmlbut main question is, how do I fix this: I don't need btrfs-tools, so how can I exclude it from the build?11:05
Nrmland the other important question is: how can I restart the build without having it redo everything from zero (yes, I edited lib/libdevuansdk/zlibs/{helpers,iso} and commented the `sudo rm -rf` lines as you suggested)11:09
fsmithredNrml, where did you get live-sdk? btrfs-progs is in lib/libdevuansdk/config and that's what's installed in my devuan. There is no btrfs-tools in devuan or in the devuan blend.11:36
fsmithredsorry no btrfs-tools in daedalus or daedalus blend.11:37
Nrmlsorry, was afk11:38
fsmithredok11:38
fsmithredI'm not really awake yet11:38
NrmlNeither am I :-)11:38
NrmlAbout your question:11:39
NrmlI got live-sdk via `git clone https://git.devuan.org/devuan-sdk/live-sdk.git`11:39
NrmlThis is the recommended way, right?11:39
fsmithredI save the build tree for forensics. You can shorten the build time by using the cpio archive that gets created, but I can't tell you how right now and if you need to change the packages, then it won't work. You have to start over from zero.11:39
NrmlOK, so restart from zero it is.11:40
fsmithredIt took me about a month to get everything to work when I first started using live-sdk.11:40
Nrmlheh I can understand that perfectly :-)11:40
NrmlHopefully will be less for me, since I'm counting on your experience11:40
fsmithredIf you have space to make a virtual machine and easier way is to install devuan in VM, configure it how you want and then run refracxtasnapshot.11:41
fsmithredYou could be finished today.11:41
fsmithredgive the VM around 15 GB11:42
NrmlI do have the space -- in fact, I'm doing the live-sdk thing inside a Daedalus VM, it's no trouble to switch over to refractasnapshot.11:42
NrmlI was stupidly thinking minimal-iso would be a better end-product as it could also serve others11:43
NrmlSo you recommend I abandon all hope on live-sdk and use refractasnapshot instead?11:44
fsmithredI usually use a desktop live for rescue and repair work.11:44
fsmithredyeah, it's way easier.11:44
fsmithredlive-sdk is good if you need to make repeat runs to always have fresh isos.11:44
NrmlI checked and the daedalus desktop-live suffers the same issue -- boots from a kernel that has no headers installed, and no headers in the repos11:44
fsmithredIf you build with refractasnapshot in a VM, you have to update all the software before you make the iso.11:45
NrmlSo I'm off to refractasnapshot, I guess. I could also try and use this thing directly with the VDI of my Daedalus VM: https://www.ventoy.net/en/plugin_vtoyboot.html11:46
NrmlA friend told me about it yesterday, apparently it can boot a physical machine from a VDI on a USB pendrive11:47
fsmithredinteresting. I've booted isos on a hard drive using grub to boot. I'm not sure if that works with raw disk images.11:50
NrmlApparently Ventoy has a special plugin for VDI (and VMDK, etc)12:05
NrmlWhat I did like about Ventoy is it being opensource (GPLv3)12:06
NrmlI'm preparing my VM to use it now (making sure it has linux-headers installed, etc)12:06
Nrmlfsmithred: alas, ventoy will not work with dynamic VDIs, and I don't have enough diskspace (nor an available pendrive large enough) to use a fixed VDI.12:32
NrmlSo it seems refractasnapshot it is... having a look at it right now12:32
fsmithredbe sure to read through the config file. There might be a few settings you want to change.12:33
fsmithredsave_work="yes" snapshot_basename= ?  xz compression12:36
NrmlWill do, thanks for the tips!12:36
fsmithredyou still need hard drive space for the VM12:36
fsmithredthere needs to be room for a copy of the filesystem plus the resulting iso12:37
fsmithredOR... you can have those things on another volume. Set it in config.12:38
fsmithredHow much space can you spare for the virtual disk?12:40
Nrmlsorry, was atthe other window12:59
NrmlI have about 200GB free on the host system13:00
NrmlOK, so refractasnapshot ran for a while and ended with "All finished!"13:15
fsmithredcool13:15
fsmithredls -lh and you can see what you have13:15
fsmithredoh, in the snapshot dir13:15
Nrmlyeah13:16
Nrml/home/snapshot13:16
NrmlLOL13:16
fsmithredI usually work in the snapshot dir13:16
Nrmlain't that weird ;)13:16
fsmithredwith a local copy of the config file13:16
fsmithredwhat's weird?13:16
Nrmlsomething under /home that's not tied to a user13:17
fsmithredwe put it there because it's likely to be big13:17
Nrmlyeah, it figures13:18
Nrmlbut it's weird all the same :-)13:18
Nrmlanyway, got a 425MB .iso there13:19
Nrmlwill write it to a pendrive with dd and test it13:19
fsmithredthat was from the minimal live? Seems small.13:19
fsmithredboot the iso with qemu or vbox13:20
Nrmlno, not from the minimal live, my own installed and trimmed Devuan Daedalus13:21
fsmithredah, ok13:21
Nrmlsource filesystem was 1.6GB13:21
fsmithredthat is small13:21
Nrmland I activated xz compression as you suggested, so 4:1 doesn't sound too strange13:21
Nrmlpendrive ready, booting my DUT with it13:23
Nrmlhumrmm... BIOS does not list it as a bootable device13:26
NrmlOK, testing the iso under vbox as you suggested13:27
NrmlOK, so it works under Virtualbox alright13:34
Nrmlwhy not when written to a pendrive?13:34
Nrml`dd` should have worked, right?13:34
gnarfacein theory, but it's easy to make a mistake13:40
gnarfacecp would also work just as well13:40
gnarfacefor dd, try adding conv=fsync13:41
fsmithredYou did dd to whole device and not to partition, right?13:43
Nrmlfsmithred: yep, to the whole device (in my case, /dev/sdc)13:47
Nrmlgnarface: fsync should not be necessary as I ran `eject /dev/sdc` after the dd and before physically removing the pendrive13:48
Nrmltrying again with a different pendrive13:48
gnarfaceNrml: i'm not sure eject will actually sync; i would actually do "conv=fsync status=progress" and watch the speed to figure out if it's reasonable for the media13:50
gnarfaceif it goes too fast you know it's still caching13:50
gnarfacei would also strongly recommend you avoid setting bs13:51
gnarfacethough it usually doesn't matter, sometimes it corrupts the write if you set it to something higher than the device likes13:51
gnarfacecp might be better, if boring13:51
Nrmlgnarface: thanks for the recommendations. With the different pendrive I'm writing to now, the process is taking a lot longer, so perhaps the previous pendrive was doing something odd13:53
Nrmlcp to write to a raw device? that's a new one for me13:54
gnarfaceit didn't used to do that, but it's old news, just not well known13:55
fsmithredcat works, too13:55
Nrmlok, no go with the other pendrive13:56
NrmlPerhaps it's something with the machine? It's a brand new SFFPC and it might be EFI only13:57
NrmlI left the default `make_efi=yes` on /etc/refractasnapshot.conf, so EFI should work, right?13:58
cousin_luigiIf I wanted to test the newest stable kernel, where should I pick it?14:01
cousin_luigiDoes debian/devuan keep the vanilla/patched distinction?14:01
Nrmlanyway, copying the file again, this time with `cp` as gnarface recommended14:08
fsmithredcousin_luigi, there's the stock kernel in daedalus and there's a newer one in daedalus-backports14:08
Nrml(IMO boring is good, actually it's great when we're just trying to get something to work)14:08
fsmithredNrml, is grub installed in the VM?14:09
fsmithredgrub-efi14:09
Nrmllemme check14:11
Nrmlnope, it's not. So that's the culprit?14:12
fsmithredmaybe, I'm having trouble thinking14:13
fsmithredI think it just needs to have grub-efi-amd64-bin14:14
fsmithredhm14:14
fsmithredI always install grub-efi-amd64 and put a copy of grub-pc deb in the root of the filesystem.14:14
NrmlOK14:15
fsmithredI have to look at the code14:15
Nrmlinstalling it and trying again14:15
fsmithredgimme a couple minutes14:15
fsmithredgrub_message=$"Warning: grub-efi-amd64 is not installed. The snapshot may not be compatible with UEFI.14:16
NrmlOK14:17
fsmithreddownload grub-pc and put the .deb in the root of the filesystem, so you can install on a non-uefi system14:17
fsmithredoh, and include an installer - probably refractainstaller-base14:17
fsmithredor else you can do it all manually - boot the iso and rsync the running system to a partition, then chroot and install the bootloader.14:18
fsmithredThere's also calamares installer, but that pulls in about 125MB including a bunch of qt stuff.14:19
cousin_luigifsmithred: Thanks. Nothing newer than 6.9.7 though. I suppose it'll have to do.14:26
fsmithredcousin_luigi, https://liquorix.net/debian/pool/main/l/linux-liquorix/14:46
Nrmlfsmithred, gnarface: just reporting back, it worked this time -- so the culprit was the missing grub-efi after all14:51
Nrmlthanks again for the help!14:51
fsmithredyw14:54
Nrmlfsmithred: and I'm even happier to report, this time I can install and run ZFS, so the problem with minimal-live was indeed the old kernel for which headers could not be found15:04
Nrmlso mission accomplished. Thanks again, Nrml over and out.15:05
* Nrml waves15:05
fsmithred:)15:05
freaxehi need unused memory at the end of my memory how do i boot with mem=... ?15:29
freaxehits for a good cause, pstore15:31
freaxehdo i set it in grub_cmdline_linux_default=?15:35
fsmithredYes, set it there and then run update-grub to generate a new boot menu.15:45
fsmithredI don't know the correct option you want but see here: https://www.kernel.org/doc/html/v4.14/admin-guide/kernel-parameters.html15:46
freaxehty15:47
__20h__Greetings comrades.17:10
__20h__I want to setup a local rsync mirror of devuan packages and distfiles. Is there anywhere some script as an example so I am not missing anything?17:11
gnarfacehmm, good question...17:12
gnarfacefsmithred: do you know anything about a mirror setup script?17:14
__20h__I am coming from Gentoo. There it is just an rsync you run repeatedly. And this rsync URI is then given to to portage for distfiles and sources.17:15
__20h__For Devuan, as it comes from Debian, it all looks like an easy to sync file/dir hierarchy too.17:16
__20h__https://dev1galaxy.org/viewtopic.php?id=58917:16
fsmithredgnarface, sounds familiar17:16
__20h__> Host a mirror - Have extra bandwidth?  Please consider hosting a mirror of Devuan images/repos. Get in touch with Devuan developers on IRC at #devuan-dev` on libera to discuss details17:17
fsmithredhttps://pkgmaster.devuan.org/devuan_mirror_walkthrough.txt17:17
fsmithred__20h__, ^^^17:18
__20h__fsmithred, gracias.17:18
fsmithredhttps://files.devuan.org/MIRRORS.txt17:20
fsmithred^^^ this one for iso mirrors17:20
__20h__fsmithred, thanks. Syncing. :D17:38
__20h__fsmithred, btw., is there some way to tell apt to use an rsync:// URI for sources.list?17:39
__20h__Doesn't look like that: https://github.com/Debian/apt/tree/main/methods17:45
gnarfacei'm not sure, but i don't think you can, because amprolla relies on http redirects17:48
gnarfacei don't think rsync can do that, but i could be wrong17:48
__20h__gnarface, I hoped for something similiar to the git-* extensions. So maybe some apt-rsync script would automagically be used.17:49
gnarfacewell, i don't actually know, but fsmithred might17:49
__20h__If ftp:// is by default in apt, then I will for this one.17:51
__20h__vsftpd is way easier to setup than some httpd somewhere.17:51
gnarfacei thought debian removed the ftp feature well before devuan existed, but maybe i dreamed that...17:52
__20h__gnarface, it's in current apt.17:53
gnarfaceoh, hmm17:53
buZzhi __20h__17:54
buZz:)17:54
__20h__buZz, greetings.17:54
__20h__buZz, just buzzing around here. Migrating my practice software to something debian-based.17:55
__20h__So devuan is perfect.17:55
buZzits maybe important to realize devuan's repo is just a 'overlay' over debian's repo17:55
buZzthats why its so tiny :P17:55
__20h__But I am a freedom fan of local mirrors in case of state shutdown and Internet shutdown.17:55
buZzwell, then maybe mirror debian too :P17:55
leitzwhen calling dict.keys(), are they keys returned in the order they were defined in the dict?17:56
__20h__leitz, no.17:56
__20h__leitz, you can't assume that.17:56
buZzmaybe ask #python? :P17:56
leitzy'all, you're right. Caffiene hasn't kicked in, I'm on the wrong list.  :(17:57
__20h__leitz, this is a channel, the channel to enlightenment.17:58
__20h__And freedom from STDs.17:58
cousin_luigifsmithred: Pray, what is liquorix?18:20
cousin_luigiUpon closer inspection, liquorix looks interesting.18:33
cousin_luigiI wonder if it might help with the ksoftirqd maxing out the CPU problem.18:33
Afdalwondering if someone can help me with an annoying qmake error19:34
Afdalmake wants lrelease-qt519:34
Afdalbut my qt5 file is called lrelease on Devuan19:35
Afdalso I tried making a lrelease-qt5 symlink19:35
Afdalbut it's not working :/19:35
gnarfacemissing -dev package? just a guess19:35
Afdalit's from qttools5-dev-tools19:36
Afdalthe package19:36
AfdalI think19:36
gnarfacethis is in daedalus?19:36
AfdalChimaera19:36
gnarfacedo you also have qttools-5-dev?19:37
gnarfaceer, qttools5-dev i mean19:37
Afdalno, lemme add it19:37
Afdaldidn't help -.-19:38
cousin_luigiAfdal: Check if there's a LRELEASE variable that can be defined in the .pro file19:39
cousin_luigior whatever19:39
gnarfacei also see qttools5-private-dev, i wonder if it'd matter?19:40
Afdalnothing in the .pro file19:41
Afdalbut LRELEASE is referenced in the makefile19:41
AfdalI should say I already dealt with a qmake -> qmake-qt5 reference issue doing the same symlink thing19:44
AfdalHow do I alter a make option >.>19:51
Afdaloh I guess "make LRELEASE=lrelease" makes some progress :)19:58
AfdalNow I've got some different Qt issues to work through -.-19:59
Afdalthe dummy managing this project really needs to list dependencies somewhere >:/20:01
AfdalManaged to get all my Qt dependencies resolved except this one: "Unknown module(s) in QT: xmlpatterns"20:15
Afdalinstalling qtxmlpatterns5-dev-tools doesn't seem to work :/20:15
Afdalthought about asking in a Qt channel21:51
Afdalbut omg there's so many Qt channels -_-21:51
gnarfacenot sure it'll help, but when i'm having build dependency problems like that with the kernel it usually turns out to be bison that's actually missing22:00
AfdalI think I compiled something that needed bison a while back22:04
plasma41Afdal: Do you have libqt5xmlpatterns5-dev installed?22:41
plasma41Also what are you building?22:42
Afdaluh22:43
Afdalwow that was it lol22:43
AfdalQt libraries are such a confusing mess D:<22:43
AfdalI'm compiling QMC2, a MAME frontend22:43
gnarfacesweet22:47
plasma41Troubleshooting build systems and determining build dependencies is my jam, though you might think otherwise if you saw how flustered I look while doing it.22:47
AfdalI guess I should have just done a wildcard apt search for xmlpattern22:48
Afdalto find all the packages with it in the name22:48
plasma41I had the advantage of hacking on the build scripts for qt5xmlpatterns a month or two ago, so the component parts were somewhat fresh on my mind.22:50

Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!