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

Samuel Thibault <[email protected]>
Newsgroups gmane.linux.debian.devel.bugs.general,gmane.linux.debian.ports.bsd,gmane.linux.debian.ports.hurd
Organization I am not organized
Message-ID <20200102171355.httfqrjsrzmqcwaf@function>
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.

Samuel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.