libera/#devuan-dev/ Saturday, 2023-03-11

gnu_srs1Howdy, long tim no see :) Has anybody looked into the build-rdeps script from Debian devscripts. It does not work for Devuan :(19:08
gnu_srs1long time**19:09
plasma41gnu_srs1: I might could be nerd-sniped into looking at it ;-)19:11
* plasma41 is now hopelessly nerd-sniped19:21
plasma41gnu_srs1: I'm running 'build-rdeps -d --origin=Devuan --distribution=ceres texinfo' as a test case and it looks like there's a problem with the underlying dose-ceve invocation.19:48
plasma41the dose-ceve(1) manpage has annoyingly malformed formatting19:55
plasma41the spelling and grammar is pretty bad as well19:56
plasma41gnu_srs1 it appears the filepath that should follow the 'deb://' URI scheme in the dose-ceve invokation is missing, causing the command to fail20:00
plasma41Now to figure out why20:00
plasma41gnu_srs1: I think an empty $buildarch_file or $hostarch_file variable in the findreversebuilddeps function of build-rdeps is causing the issue. Investigating...20:06
plasma41gnu_srs1: Ok, so it appear that if you don't have both the source and binary repositories for a given release+component combo in your sources.list file then build-rdeps loses its mind. I have a lot of deb-src lines in my sources.list without the corresponding deb lines, so I was running into that a lot.20:21
plasma41gnu_srs1: Furthermore, it appears you must specify releases by name (beowulf, chimaera, daedalus, etc.) rather than by status (oldstable, stable, testing, etc.) using the confusingly named '--distribution' option to get build-rdeps to work on Devuan.20:25
plasma41gnu_srs1: specifying '--origin=Devuan' may also be required20:26
plasma41gnu_srs1: Long story short, it seems build-rdeps makes a lot of implicit assumptions that have to be awkwardly accounted for.20:28
plasma41gnu_srs1: Hope that helps20:29
gnu_srs1plasma41: thanks for looking into this issue. Are you forking devscripts/build-rdepsdose-ceve/ to make it work also in Devuan?23:26
plasma41gnu_srs1: I am not. I was just evaluating the programs as-is.23:28
gnu_srs1In due time I can take a closer look into the problem. This has been nagging me for some time now :(23:28
plasma41gnu_srs1: AFAICT, the main issue is the implicit assumptions build-rdeps makes about it's environment which aren't guaranteed to be correct on a Debian system, let alone a Devuan one.23:30
plasma41gnu_srs1: If you have both 'deb' and 'deb-src' lines in your sources.list for a given release+component combo (for example chimaera+main) and you explicitly specify that particular combo to build-rdeps (for example 'build-rdeps --origin=Devuan --distribution=chimaera --exclude-component=non-free --exclude-component=contrib texinfo' to find rdeps of texinfo) then it works (for me at least).23:42
gnu_srs1build-rdeps --origin=Devuan --distribution=daedalus --exclude-component=non-free --exclude-component=contrib golang-golang-x-sys-dev seems to work, Thanks :)23:49
gnu_srs1Nevertheless maybe we should create a package depending on build-rdeps to simplify stuff?23:50

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