libera/#devuan-dev/ Thursday, 2021-09-02

gnu_srsLeePen: I don't understand why I need to create an UNRELEASED version before pushing to unstable?10:12
gnu_srsWhat about just add to changelog:"* debian/changelog: Fix indentation, commit locally" and then push?10:13
LeePengnu_srs: Sorry, I think I misunderstood your question. I thought you were asking in general about a workflow for managing commits and changelog updates.10:53
LeePenIn this case, just update the changelog  in a new commit and push.10:54
gnu_srsLeePen: I pushed again. OK now?11:40
gnu_srsNext time I'll take a closer look of how to use gbp-dch :D11:41
gnu_srs1LeePen: Can I try to issue a build of eudev, or maybe somebody else could do that?17:24
fsmithredgnu_srs1, I think I could do it, or I could walk you through it if you want.18:43
gnu_srs1fsmithred: I think I found how to do that, but maybe you can issue the build this time. Thanks :)18:47
fsmithredstick around so I'm sure I have the right page18:47
fsmithredok, 7 hours ago must be the right place18:49
fsmithreddone18:50
fsmithredit's failing18:54
gnu_srs1Why??18:54
fsmithredthere will be a link soon18:54
fsmithredand you can check the console output18:54
gnu_srs1I see: dpkg-deb: error: conffile '/etc/udev/udev.conf' is present but is requested to be removed and19:02
gnu_srs1dh_builddeb: error: dpkg-deb --root-owner-group --build debian/eudev .. returned exit code 219:02
fsmithredI trust that you understand that better than I.19:05
gnu_srs1Strange: I also see this: Error: Failed to build with cowbuilder.19:06
gnu_srs1This seems to be the real problem?? error: branch 'suites/unstable' not found.19:08
fsmithred????19:08
fsmithredI can find that branch in my web browser19:09
fsmithredand it shows that you were the last one to push to that branch19:09
fsmithredwhere are you seeing that error about suites/unstable?19:12
bb|hcbgnu_srs1: shall i try a local build of that? maybe it will show what is the problem19:16
bb|hcbi have skimmed through the build log, the problem is the config file, as stated above. But the reason is unclear19:27
bb|hcbE: eudev: missing-systemd-service-for-init.d-rcS-script eudev19:45
bb|hcbW: eudev-udeb udeb: appstream-metadata-missing-modalias-provide lib/udev/rules.d/50-udev-default.rules19:45
bb|hcbW: libeudev-dev: breakout-link usr/lib/x86_64-linux-gnu/libudev.so -> lib/x86_64-linux-gnu/libudev.so.1.6.319:45
bb|hcbW: eudev: debian-changelog-line-too-long line 419:45
bb|hcbW: libeudev-dev: debian-changelog-line-too-long line 419:45
bb|hcbW: libeudev1: debian-changelog-line-too-long line 419:45
bb|hcbN: 18 hints overridden (11 warnings, 7 info)19:45
bb|hcblocally it builds OK; first error obviously should be ignored, line 4 from changelog shoudl be split; I am not sure about the breakout-link warning19:46
bb|hcbAnd I tried one more thing - doing a clean build by: gbp buildpackage --git-pbuilder --git-dist=ceres (this assumes that there is a ceres cowbuilder chroot prepared) and the error is same as the one seen in jenkins20:14
gnu_srs1bb|hcb: Thanks for looking into this. OK, I'll change the changelog line 4. But that will not make it build, right?20:30
bb|hcb1 by 1 :) line 4 needs to be changed anyways20:35
bb|hcbsee in changelog - eudev (3.2.2-13); maybe there shouldn't be a conf file at all?20:38
bb|hcbso my scientific guess would be that the first line from eudev.install should be removed20:39
bb|hcbi'll run another gbp build and will let you know20:40
bb|hcbI can confirm that is the fix20:49
bb|hcbYou can see my changes here: https://git.devuan.org/bbonev/eudev/src/branch/suites/unstable20:51
LeePenThat may fix the build, but I am not sure it is correct. Surely we need to ship /etc/udev/udev.conf?20:52
bb|hcbThat is what I was checking now - it is empty and also there is a rm_conffile /etc/udev/udev.conf 1:3.2.2+devuan2.11~ udev20:53
bb|hcbin eudev.maintscript20:53
bb|hcbMaybe dh is getting more clever and detects the conflict20:54
bb|hcbLet me install and reboot to see what happens :)20:55
bb|hcbLeePen: you are right, that fix is not the proper one20:58
bb|hcbupdate-initramfs: Generating /boot/initrd.img-5.10.0-8-amd6420:58
bb|hcbcp: cannot stat '/etc/udev/udev.conf': No such file or directory20:58
bb|hcbE: /usr/share/initramfs-tools/hooks/udev failed with return 1.20:58
LeePenOddly, suites/unstable builds find in a beowulf chroot!!!!20:59
bb|hcbdh got clever and detects the problem; maybe the idea was to replace the old conf with a default one21:00
bb|hcbI don't have a single package with conf files and have to read a little bit about their proper handling21:01
bb|hcbMaybe the previous way was to remove the existing conf file with whatever config was there and install a new empty one, but that have become an unsupported hack with the new dh21:02
bb|hcbgnu_srs1: Shall I try to prepare a more proper fix?21:05
LeePengnu_srs1: bb|hcb: I think this is caused by a change (bug?) in debian/unstable's debhelper 13.5:21:46
LeePen* dh_installdeb: Automatically rewrite `rm_conffiles` into the21:46
LeePen    new `remove-on-upgrade` feature from dpkg when possible.21:46
gnu_srs1So what to do, downgrade debhelper?21:49
gnu_srs1Anyway I will fix the long line in changelog. And since the build did not susseed, I don't need to increase the -10 version?21:50
LeePenhttps://linux.debian.devel.narkive.com/5KIpWSNz/how-to-use-remove-on-upgrade-to-remove-a-configuration-file21:51
LeePengnu_srs1: We will have to understand the correct way to do it with the new debhelper.21:55
LeePenSee also http://bugs.debian.org/99353121:59
LeePenSo the new deb-conffiles(5) explains why dpkg-deb is complaining: https://manpages.debian.org/testing/dpkg-dev/deb-conffiles.5.en.html22:08
LeePenNew debhelper now uses remove-on-upgrade flag.22:09
LeePenSo, are the /etc/init.d/udev and /etc/udev/udev.conf rm_conffiles in d/eudev.maintscript actually correct?22:10
bb|hcbgnu_srs1: since it did not build and did not get installed, there is no need to bump the -1022:13
bb|hcbdowngrading dh is definitely not the proper way; we need to understand what was the point to remove the conf file and fix it properly as LeePen explains above22:14
golinuxbeer: are you coming?22:37
golinuxBeer: ^^^22:37
BeerBeer: No.22:42
* Beer hides22:42
amesserLeePen: suites/unstable needs to be reset to commit db391379e1 ( this is tags/debian/2.2.0 )23:06
LeePenamesser: Done. Can you verify?23:14
amessergive me a minute23:14
BeerIt's still on e7dea2f on git.devuan.org23:22
BeerHave you force-pushed LeePen?23:23
LeePenYes.23:24
Beerto the proper origin?23:24
BeerCould you (temporarily) give me rights on the repo so I could try?23:25
LeePenReally done now. force-with-lease was not enough.23:26
BeerI still see the commit I mentioned on the repo23:28
amesserThx worked.23:28
amesserI just pushed the debian updates23:28
BeerAre we talking about devuan/apt on the main suites/unstable branch?23:31
amesserI think so, yes23:31
amessere7dea2f is the correct commit23:32
amesserBefore reseting it, it was at 322038322023:32
amesser(suites/chimaera-proposed-updates)23:32
BeerAh. You mentioned needing to reset to db391379e123:32
masonThis is why I really dislike Git.23:33
amesseryep, LeePen reset and I already pushed the new stuff :-)23:33
Beer(which is debian/2.2.0)23:33
Beermason: Why?23:33
masonBeer: It bites faces indistriminately.23:33
amesserlol23:33
masonindiscriminately*23:34
BeerAnd what do you like?23:34
masonBeer: CVS, Subversion23:34
masonHey, Perforce even.23:34
BeerOof.23:34
BeerOK then23:34
masonFollows the grand tradition of "if it ain't broken..."23:35
amesseractually, I'd love to have git at work. we have subversion there. It so slow via VPN. almost every action needs a connection....23:35
BeerThos are proper torture when you start trying to collaborate23:35
masonamesser: If it's slow, maybe have the admins check that atime is turned off. atime can be a real killed on big repositories.23:35
BeerWell, they are broken :D23:35
amesserwell, our admins have no idea about linux23:35
masonBeer: I've done both professional and avocational software engineering for decades using traditional VCS and it's been Just Fine.23:36
amesserthey run VisualSVN ...23:36
masonOoh. =cough=23:36
BeerAnd you are perfectly right: to each his own taste23:36
masonI even had to use VisualSourceSafe once. I didn't like that. VisualSVN just gave me a scare.23:37
amesserYes SourceSafe is pain in ass23:37
BeerI would personally hate to be locked in a CVS or SVN prison, and I'm happy with all the possibilities Git enables23:37
masonBeer: But it leads to things like "Really done now. force-with-lease was not enough."23:38
amesserThe funny thing with SourceSafe: "Checking out a file" means no one else can change it within VCS anymore.23:38
amesserUntil the file is "Checked in" again by the same person.23:39
masonamesser: They really mean "checking it out". :P They turn the digital into a fake physical resource.23:39
Xenguyamesser, Weird, that reminds me of RCS23:39
amesserAnd if that person was used to subversion, cvs etc and has left the company in the meanwhile - well its a big fun to reset that "checked out" state23:40
Beermason: Never encountered such a problem on any force pushes I did. ANd I do a lot on personal remotes23:40
amesserI think they ended up rea-activating the account in ActiveDirectory, reset password, logged into windows and then started SourceSafe :-D23:40
masonBeer: LeePen just hit that fifteen minutes ago. :P23:41
Beermason: Yes, and?23:42
Beermason: force-with-lease is special, per manual23:43
masongit, the systemd of version control =cough=23:43
BeerI personally don't understand its need, since force-pushing is _in essence_ destructive and shall avoided at all cost on collaborative branches. PR ftw23:43
Beer(or merge)23:44
Beermason: OK now that's proper trolling :oD23:44
amesserI think, in our company they are a bit afraid of replacing subversion with git because of the "senior" developers. Git can be confusing if you come from subversion, and humans sometimes hardly able adapt.23:45
amesserhowever, some departements are already using git internally23:46
amesserwell, our department is also afraid of using c++ instead of c :-D23:47
BeerHard to let go the "mandatory centralised truth" logic ;)23:47
LeePengnu_srs: bb|hcb : This patch fixes the build failure by not removing udev conffiles that are in the eudev package.23:47
amessertankships - hard to steer23:47
LeePenhttp://ix.io/3xMP23:47
BeerEven people/organisations using Git have trouble dealing with forks and sharing stuff without going throug ha central repository... even though Git (and its ideas) are nowhere near new...23:48
LeePenBut I am unlcear why they were being removed anyway: seems wrong to me.23:48

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