libera/#devuan-dev/ Thursday, 2023-08-10

friedhelmHmm... added dh-runit to the control-file. Added a <packet>.runit and a run file to the debian dir. It gets installed, but not executed. Can't see dh_runit in the build file. I'm using pbuilder/cobuilder. What am I missing?12:49
rrqdoesn't in need to be used in the d/rules file as well?13:51
friedhelmI tried to put dh $@ --with dh_runit into the control file, but then it aborts with "dh: error: unable to load addon dh-runit: Can't locate Debian/Debhelper/Sequence/dh_runit.pm in @INC".13:56
friedhelmI even tried with installing dh-runit into the build envirenment. Dosn't work either.13:58
friedhelmIf I go by the manpage, then it should be picked up by debhelper without doing anything additional.14:00
friedhelmIs there a perl module, that needs to be installed?14:01
rrqI know to little about debhelper, but I'd agree that it should get invoked automagically.; it's not shown from "dh binary --no-act" ?14:13
friedhelmThank you for trying! All I wanted to do is add a runit script to a package. No urgend problem! I'll find out someday. ;-)14:18
friedhelmAh... Finaly found the problem. 1. you have to install the addon not only into the chroot but also onto your build system!16:48
friedhelm2. the dh-runit packet puts a file called "runit.pm" into "usr/share/perl5/Debian/Debheper/Sequence". According to the Debhelper Documentation it's supposed to be named dh_runit.pm.16:50
friedhelmSo you have to put "dh $@ --with runit" into your rules file. NOT "dh $@ --with dh_runit".16:52
friedhelmTook me about six hours to find this out. :-(16:53
friedhelmAt least this may help others having the same problem. Thanks for your help!16:54
bgstack15friedhelm: I like to use https://codesearch.debian.net/ to help me search for examples of syntax in debian/ directories. Chances are you're not the first to want to use this "--with runit" and maybe a regex search could help you find it, for next time.17:14
friedhelmDid't know about codesearch. Thank you. Good tip!17:43
friedhelmb.t.w. the dh-runit packet does exactly what I was looking for! Glad I got it to work.17:45

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