libera/#devuan/ Tuesday, 2024-11-12

thecdnhermitso i'm trying to change the keyboard shortcut ctrl+alt+<up-arrow> (open workspace selector screen) to ctrl+alt+KP0 but i can't find the original shortcut to change it00:40
thecdnhermitusing cinnamon DE on devuan 500:40
gnarfacei don't know the answer to that one but stick around, someone certainly does00:41
thecdnhermitoh crap i just found it LOL00:41
gnarfacehooraaay!00:42
thecdnhermitin the "general" list00:42
thecdnhermithalf the time that's how it works...get frustrated and ask, then find the answer immediately!00:43
debdogyou're welcome :D00:44
AlexLikeRockgood nigth04:04
systemdleteso back to building (or trying to) nut 2.8.2 for daedalus.  First, I followed the steps at https://www.debian.org/doc/manuals/maint-guide/update.en.html#newupstream, with the 2.8.0 source (since that's what is in the repo), then I created a tarball of the 2.8.2 directory it created.  Then I proceded to follow the steps at https://forums.debian.net/viewtopic.php?t=38976 (as appropriate, of course).  And here is the output:08:06
systemdletehttps://dpaste.com/A8CK8K8JT08:06
systemdleteI inspected the patch file it is crowing about, but I don't see anything wrong with it; besides, it is just a copy, really, from the 2.8.0, right?  (Unless the scripts modified the patches)08:07
systemdleteI am doing all these steps as non-root user.08:08
systemdleteAnd I am doing these steps on a daedalus system.08:08
systemdleteDo I need to be root for this? (Other than for installation of the package eventually)08:09
gnarfacesystemdlete: make sure you have "fakeroot" installed just in case, as long as you do, no08:33
systemdletefakeroot is installed08:42
systemdletethe script/patch it is crowing about:  https://dpaste.com/5F4LFNHHE08:44
systemdleteand I have NOT touched any artifacts presented here or others generated by the dpkg scripts08:45
systemdleteI pray this problem is not even more collateral damage from porting around u-no-watt08:46
gnarfacesystemdlete: uh... paste.debian.net and i'll look at it, but if you can't tell what's wrong with it i probably can't either. did you check the count of difference in blank lines?10:23
gnarfaceif there's 4 blank lines of difference and the fuzz count is set to 3 it might fail while looking very much like the same patch at first glance10:24
gnarface(for example)10:24
systemdletewhere do I find the fuzz count?10:25
systemdleteis that set by the dpkg build program?10:26
gnarfacei'm not sure, but when it needs it to succeed the patch output usually says something like "succeeded with fuzz count X" or something like that10:27
gnarfacei would have to assume you saw it somewhere in at least one or two of the other patches before...10:27
gnarfacei think the default is 3, just not sure where it's set10:27
systemdlete??10:27
systemdleteIt is stuck on the 1st patch10:27
gnarfaceoh10:28
systemdleteI think, given it is 0001... and it is the only one I see in the output10:28
gnarfaceHunk #1 succeeded at 1 with fuzz 2 (offset -1 lines).10:29
gnarfacelooks like this10:29
gnarfacei see them all the time building kernels from source packages10:29
systemdletehttps://paste.debian.net/hidden/7756edea/10:31
systemdletehttps://paste.debian.net/hidden/fb5d2aca/10:32
systemdletebuildpackage output, then the 0001 script10:32
gnarfaceah10:33
gnarfacedpkg-source: error: LC_ALL=C patch -t -F 0 -N -p1 -u -V never -E -b -B .pc/0001-reproductible...10:33
gnarfacefuzz is set to 0 here10:33
systemdleteok10:33
gnarfaceso if there's even a minor difference in whitespace it will fail10:33
systemdleteminor difference in... what's whitespace?10:34
systemdletewhose whitespace, which file(s)10:34
systemdletebefore and after patch?10:34
gnarfacedifference in whitespace between the patch and the target file10:34
gnarfaceas in a different number of blank lines before and after the parts it's chaning10:35
gnarfacechanging*10:35
systemdleteand I can't figure out how to get a trace of what the buildpackage script is doing internally, so I don't have any idea which files it is applying to10:35
gnarfacethe output you pasted says it10:36
gnarfacepatching file docs/Makefile.am10:36
gnarfacethis one ^10:36
gnarfaceand this one v10:36
gnarfacepatching file docs/man/Makefile.am10:36
gnarfacethose are the two fails10:36
systemdleteoh10:36
gnarfacethis one succeeds > patching file configure.ac10:36
gnarfacelook at lines 14-21 on that paste10:37
systemdletemost languages don't care too much about varying amounts of white space/blank lines10:37
gnarfaceit shows 3 files getting patched, one fail, one success, then one fail10:37
gnarfaceyes, but the patch binary is being called with -F 0 here10:38
gnarfaceso what matters is that patch is being told to care10:38
systemdleteright, but why does the build process care?10:38
systemdletethe logic eludes me10:38
gnarfacewell it bails out on the patch binary returning non-zeo10:38
gnarfacezero*10:38
gnarfacei think it's assumed that if any patches fail you'll want to fix them instead of trying to build it anyway10:39
systemdleteyes, I see that.  I'm just trying to figure out why the designers of the build package tool were concerned about "fuzz" in the first place...  if the patch script is accurate, that shouldn't be an issue10:39
systemdlete(I would think)10:40
* gnarface shrugs10:40
gnarfaceit should be easy to fix either way10:40
systemdletebut anyway, it seems I have to fix a bug in someone else's code10:40
gnarfacelooks that way, though sometimes sloppy build dependencies are the actual cause10:40
gnarfacelike maybe something assumed to be present or of a certain version and it's not10:41
gnarfaceif it's actually just whitespace it should be really easy to fix10:41
gnarfaceon the plus side, you've probably solved the mystery of why this version isn't in debian10:43
systemdleteok, thanks, I'll dick around with this some more tomorrow.10:50
m_mHi, I have a problem while debootstrapping devuan. I run on the latest liveCD on a virtual machine. debootstrap daedalus /mnt https://mirror.vgprp.io/devuan : Could not find these debs: ca-certificates11:50
m_mit seems that it cannot find any deb, I tried including openssh-server, and it returns "Could not find these debs: ca-certificates, openssh-server"11:51
rrqis that a vaild url ?11:59
m_mI tried with different mirrors12:03
m_mcoming from pkgmaster.devuan.org12:03
rrqthat host seems worse than some, but in any case the url should  end with /merged12:03
m_merf... ok that's because man debootstrap tells to use /debian at the end of the URI12:05
m_mthanks rrq !12:05
rrqand you should use devuan's debootstrap (fork)12:07
m_mok I'd like to but why isn't it the debootstrap command that comes with the devuan liveCD?12:09
rrqyes I would think it should be.. I don't know why/if it's not12:11
m_mI think it's the right one but the manpage is the one from debian12:11
rrqagree. It says "Devuan-Dev Team" is maintainer... maybe that detail is considered less urgent12:15
m_mheh, documentation is top one priority :p12:17
m_min the best of the worlds12:17
rrqas you may know, "devuan" is not a corporation or company but a collective of volunteers12:17
m_mI know I was trolling12:17
rrq:)12:17
m_mand Devuan is amazing12:18
m_mit really gives me back hope when I see the state of linux distribution these days... I have much less problems using it than my friends using debian (or on the few machines left on which I use debian)12:19
fsmithreddebootstrap is in the live isos. It's at /usr/sbin/debootstrap so if you used 'su' to become root instead of 'su -' you would get 'Command not found'12:25
fsmithredor call it with the full path12:26
m_mfsmithred: yeah that wasn't the point, we were talking about the "man debootstrap"12:28
rrqyes, the man page is not revised wrt devuan's fork, so the "/merged" url suffix is not ovious12:31
rrqb12:31
m_mcurrently installing :)12:31
systemdletegnarface:  the man page for patch seems to indicate that fuzz has nothing to do with whitespace but rather whether patch can find a matching context or not.  But at any rate, it looks to me that the patch is for solaris usb nuances in the first place, so why this is even a step in building for debian is a mystery to me.  Something in configure step must be generating the step.19:00
bgstack15before I get too off-track, maybe somebody's experienced this too. When I try to use acetoneiso, I get this error:19:27
bgstack15QIODevice::read (QFile, "/home/bgstack15/virtual-drives/1/readme.txt"): device not open19:27
bgstack15I can't seem to find any useful info on the Internet about this error. Am I missing a driver, or something? I've reinstalled the apt package for acetoneiso. I can mount a .iso file manually with just `mount HPDJ2540.iso /mnt/foo`without any problems.19:28
systemdleteahhhh.  Finally making some progress.  Had to repair 2 patch files and now I am getting past the hunking problems with patch step.  Then I found I need the -b option to work around issues concerning "unexpected upstream changes" (found this by ddg search).  It's building now...20:48
systemdletewholly crap is it ever...20:49
systemdletenext step will be to test the thing and see if it (a) works and (b) corrects the disappearing devices issue, which is where this whole buggery started20:50
systemdletethanks to gnarface and all the others who made suggestions; i've been trying to build this package for weeks.  I think I am almost understanding how it works20:52
systemdlete(and that frightens me LOL)20:52
cousin_luigiSo, when is Daedalus going to be on par with bookworm 12.8?21:24
godbedcousin_luigi: never! devuan is different, it 'misses out' on systemd. if'd be on par with debian, it'd be debian ;)21:31
godbedin other words: what do you mean?21:31
systemdletegodbed, I think they mean upgrades, not systemd21:32
APic😉21:34
fsmithredcousin_luigi, we will probably never have x.8 on any release. We're lucky if we get one point-release together. So if you want to have your devuan "on par" with debian, you have to do 'apt update && apt upgrade' after you install it. Then the package versions will all be the same as debian's.21:35
fsmithredOf course, as soon as some other package gets upgraded in the repo, the 12.8 isos will no longer have the latest software.21:36
fsmithredand again, you'll have to update and upgrade after installation to get all the latest.21:36
gnarfacesystemdlete: ah, my bad, i had misunderstood or forgotten the details of "fuzz" because i had mostly done this by observation with probably a lot less reading of man pages than i should have; the man page says it's "context" that the fuzz factor applies to, which are the optionally-included unchanged lines along side "lines to change" in the patch itself; what confused me is that usually in practice where i remember21:36
gnarfaceseeing these they were just whitespace21:36
cousin_luigiLet me rephrase that.21:37
fsmithredok21:37
cousin_luigigodbed: fsmithred: Is Daedalus ever going to have /etc/debian_version updated to 12.8 from the current 12.7 ?21:37
fsmithredcousin_luigi, try the version of base-files that's in daedalus-proposed-updates21:39
fsmithred12.4+deb12u8devuan121:39
cousin_luigifsmithred: I see. In other words I only have to wait for base-files to pass muster.21:39
fsmithredwe fork base-files, so yeah, we have to update it for the debian version.21:40
fsmithredhang on a sec.21:40
gnarfacesystemdlete: anyway, let us know if it ended up working21:42
fsmithredapt -t daedalus-proposed-updates install base-files21:42
fsmithred# cat /etc/debian_version21:42
fsmithred12.821:42
fsmithredAt some as yet undetermined time the devuan devs will agree to move proposed-updates into the main repo.21:44
fsmithredwheneverly21:44
systemdletegnarface, thanks for your help.  When I read the man page, things got clearer for me.  And I don't expect you to be the knower-of-all-things unix/linux/debian or even devuan.21:45
systemdleteNow it gets through most of the build, but crashes at the end due to a missing file--though I wonder if it is just a renamed file.21:46
systemdletetmp files21:46
gnarfacesystemdlete: well, i'm sure at one point i knew that detail but it slipped my mind because it's been a while since i had to actually fix a patch21:46
gnarfacewhat's the file it's missing?21:47
systemdletesee https://paste.debian.net/1335348/21:47
gnarfacesystemdlete: that's weird, digging for tmp files in the ./debian/ directory, i've never seen that21:47
gnarfacei wonder if it's even something important or if you can just put an empty file there21:48
systemdletethere is, however, a file debian/tmp/usr/lib/tmpfiles.d/nut-common-tmpfiles.conf21:48
systemdletenot sure about that if this other file is the replacement21:48
gnarfaceah, interesting... so there's a possibility a version difference in some tool changed to implicitly include the ".conf" part at some point after the dependencies for the last debian release for this were included in bookworm...21:49
gnarface(just a theory)21:49
systemdletecontents of this other file is https://paste.debian.net/1335351/21:49
gnarfaceuh... looks important21:50
systemdletemy opinion also21:50
gnarfacemaybe check into the change to implicitly tack on ".conf" that might be documented somewhere...21:50
gnarfacethen you know you can just rename it21:51
systemdletenow I'm wondering if I had first stepped my process to build 2.8.1, then 2.8.2 if things might have gone smoother.  Maybe those errors I ran into with the patches are not really so much errors as failure to go through the upgrades one by one21:51
systemdletewell, I can just try it.  Doesn't matter, this is a dev/test attempt21:51
systemdletegnarface, yes it does appear to be  rename:  https://github.com/networkupstools/nut/commit/72edde7c62bdf5e79d324eb043f8bad8612c4bdc22:14
systemdleteseems to be in the systemd path though.  I guess our maintainers change that for us22:16
systemdletebut given it is a simple rename, it should be easy to create a workaround, as you said.22:17
systemdletelooks like this change was made almost 2 years ago, so that would be past 2.8.0, the current nut version in daedalus22:18
systemdlete(I think 2.8.0 is from about 2019 iirc)22:18
gnarfacehmm, checking these nut package versions in the repo, at first glance the first few i checked don't appear to be devuan-forked22:21
gnarfaceso maybe part of the issue is that 2.8.1 and 2.8.2 mark a migration to systemd within the package22:22
systemdletethat would be just wunnerfull22:22
* systemdlete spews hate on systemd22:23
gnarfacemaybe one of our maintainers has seen enough such migrations that they can pitch in with some helpful insight though22:23
systemdletehere's an interesting data point to consider:  I just installed nut 2.8.2 on a freebsd VM here.22:28
systemdleteafaik, systemd doesn't exist there, but maybe I am wrong.22:28
systemdleteor perhaps they modified the build for bsd's22:28
gnarfacei think the idea of trying to use the automated tools to upgrade to 2.8.1 first then 2.8.2 is a worthy hypothesis to test22:29
gnarfacei would not be surprised if they modified the build for BSD but gave the middle finger to systemd-free linux distros, but doesn't freebsd have some compatibility shim or something?22:29
systemdletehmmm.  Maybe I'll try that later today, but I need to go atm.22:30
gnarfacei remember hearing there was talk about some bsd building a shim but i forget where that ended up22:30
gnarfaceanyone seeing some repos down?23:39
gnarfacei seem to be having trouble getting a full "apt-get update" right now23:39
gnarfacenot sure which end it's at23:40
gnarface147.78.194.22 didn't even respond to pings23:40
gnarfaceare they all expected to respond to pings? i know it isn't a requirement for http to work...23:41
godbedhttps://mishka.snork.ca/apt-panopticon/results/Report-web.html hehe, even this does not work here23:42
godbedthis one does: http://veritas.devuan.org/apt-panopticon/results/Report-web.html23:42
gnarfaceoh wow, so like half of them are down23:43
gnarfacei guess that checks out23:43
gnarfacethanks23:43
gnarfacei kept retrying, thinking that just one or two was down and i was having bad luck23:51
gnarfaceeven the dns seems to be intermittently failing to resolve23:52
gnarfaceis this stuff under attack or is someone just doing a bunch of sweeping updates and configuration changes?23:52
godbedprolly them dang chinese haxors!23:53
gnarfaceeven when i get a response from one of them, most the time it's transferring at somewhere less than 1b/s23:54
gnarfacei finally managed to download what i was going for, but if someone doesn't already know what's up with this i think we'd better get someone looking into it...23:55

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