michaelrsweet / pappl

PAPPL - Printer Application Framework
https://www.msweet.org/pappl
Apache License 2.0
309 stars 49 forks source link

Debian: ./testpappl fails with avahi_client_get_host_name_fqdn Assertion `client' failed #129

Closed OdyX closed 3 years ago

OdyX commented 3 years ago

While building pappl for Debian, I get blocked when running the build-time tests

./testpappl -c -l testpappl.log -L debug -o testpappl.output -t jpeg testpappl: client.c:771: avahi_client_get_host_name_fqdn: Assertion `client' failed.

This is when run in pbuilder, without avahi-daemon nor CUPS (?) installed. It also fails on Debian's Gitlab CI pipelines; https://salsa.debian.org/printing-team/pappl/-/jobs/1347207

Any idea in which direction to look at?

michaelrsweet commented 3 years ago

OK, if avahi-daemon is not present then all of the DNS-SD stuff won't work and won't be testable. It shouldn't crash, however, so that is a bug to fix.

michaelrsweet commented 3 years ago

[master 779ba61] Handle when the Avahi daemon is not running (Issue #129) [v1.0.x 59f6e03] Handle when the Avahi daemon is not running (Issue #129)

OdyX commented 3 years ago

That works, thanks!