Hi,

Thanks a lot for reporting.

> First, the dependency 'debhelper-compat (=12)' seems to lead to an
> error
[...]
>     jh_linkjars
>  dpkg-query: package 'debhelper-compat' is not installed
>  Use dpkg --contents (= dpkg-deb --contents) to list archive files contents.
>  jh_linkjars: dpkg -L "debhelper-compat" returned exit code 1
>  make: *** [debian/rules:5: build] Error 1
>  dpkg-buildpackage: error: debian/rules build subprocess returned exit status 
> 2
[...]
> After a bit of digging it seems this was fixed in javahelper-0.72.10
> (see #933715). So probably nothing needs to be done here.

I cannot find any other workaround than yours. I guess we'll have to
live with this simple backporting hack.

> When it came to installation, I got this error
>
>  adduser: Please enter a username matching the regular expression configured
>  via the NAME_REGEX configuration variable.  Use the `--force-badname'
>  option to relax this check or reconfigure NAME_REGEX.
>  dpkg: error processing package davmail (--install):
[...]
> Note that --force-badname is deprecated, according to dpkg-statoverride;
> I get this warning if I use -force-badname
>
>  : warning: deprecated --force option; use --force-all instead

The warning comes from dpkg-stateoverride and not adduser, --force-badname
is fine in adduser and not deprecated as far as I understand. I
decided to go with --force-badname and use --force-all to replace
--force in the dpkg-stateoverride call.

Thanks a lot,

Alex

Reply via email to