[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#947943: libsoup2.4: Please make the libnss-myhostname build-dep linux-any

Simon McVittie, le jeu. 02 janv. 2020 17:00:17 +0000, a ecrit:
> On Thu, 02 Jan 2020 at 15:41:45 +0100, Samuel Thibault wrote:
> > libnss-myhostname comes from the systemd package, which is only built
> > on linux-any, so could you make the libnss-myhostname dependency
> > [linux-any] like the attached patch does?
> Do the tests still pass on non-Linux without it?

I have to admit I haven't tried.

> Alternatively, the developers of non-Linux-kernel ports of
> Debian could fork and reintroduce the standalone package
> <https://tracker.debian.org/pkg/libnss-myhostname> which was
> later subsumed into systemd - it was designed for GNU/Linux, but
> <https://buildd.debian.org/status/logs.php?pkg=libnss-myhostname>
> suggests that it actually worked (or at least compiled) on any glibc-based
> system. (This would likely require becoming its new upstream maintainer.)

It's very small and seems to indeed use glibc's getifaddrs support to
work on non-Linux. I guess that can be a better way indeed.


Reply to: