Re: git: 3437a65039c6 - main - net/avahi-app: Add Netlink support
- In reply to: Gleb Popov : "git: 3437a65039c6 - main - net/avahi-app: Add Netlink support"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 22 Feb 2025 15:21:41 UTC
When built in the presence of the libinotify port, configure detects it and a build fails with the following: ========== /bin/sh ../libtool --tag=CC --mode=link cc -I.. '-DDEBUG_TRAP=__asm__("int $3")' -DAVAHI_DAEMON_RUNTIME_DIR=\"/run/avahi-daemon/\" -DAVAHI_SOCKET=\"/run/avahi-daemon/socket\" -DAVAHI_SERVICE_DIR=\"/usr/local/etc/avahi/services\" -DAVAHI_CONFIG_FILE=\"/usr/local/etc/avahi/avahi-daemon.conf\" -DAVAHI_HOSTS_FILE=\"/usr/local/etc/avahi/hosts\" -DAVAHI_DBUS_INTROSPECTION_DIR=\"/usr/local/share/dbus-1/interfaces\" -DAVAHI_CONFIG_DIR=\"/usr/local/etc/avahi\" -D_REENTRANT -I/usr/local/include -DUSE_EXPAT_H -I/usr/local/include/dbus-1.0 -I/usr/local/lib/dbus-1.0/include -DDBUS_VERSION_MAJOR=1 -DDBUS_VERSION_MINOR=14 -DDBUS_VERSION_MICRO=10 -DDBUS_API_SUBJECT_TO_CHANGE -DDBUS_SYSTEM_BUS_DEFAULT_ADDRESS=\"unix:path=/var/run/dbus/system_bus_socket\" -O2 -pipe -march=skylake -fstack-protector-strong -fno-strict-aliasing -Wall -W -Wextra -pedantic -pipe -Wformat -Wold-style-definition -Wdeclaration-after-statement -Wfloat-equal -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wredundant-decls -Wmissing-noreturn -Wshadow -Wendif-labels -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -fdiagnostics-show-option -Wno-cast-qual -fno-strict-aliasing -L/usr/local/lib -lintl -fstack-protector-strong -o avahi-daemon avahi_daemon-main.o avahi_daemon-simple-protocol.o avahi_daemon-static-services.o avahi_daemon-static-hosts.o avahi_daemon-ini-file-parser.o avahi_daemon-setproctitle.o avahi_daemon-sd-daemon.o avahi_daemon-check-nss.o avahi_daemon-dbus-protocol.o avahi_daemon-dbus-util.o avahi_daemon-dbus-async-address-resolver.o avahi_daemon-dbus-async-host-name-resolver.o avahi_daemon-dbus-async-service-resolver.o avahi_daemon-dbus-domain-browser.o avahi_daemon-dbus-entry-group.o avahi_daemon-dbus-service-browser.o avahi_daemon-dbus-service-type-browser.o avahi_daemon-dbus-sync-address-resolver.o avahi_daemon-dbus-sync-host-name-resolver.o avahi_daemon-dbus-sync-service-resolver.o avahi_daemon-dbus-record-browser.o avahi_daemon-dbus.o avahi_daemon-dbus-watch-glue.o ../avahi-common/libavahi-common.la ../avahi-core/libavahi-core.la -L/usr/local/lib -ldaemon -lexpat -ldl -L/usr/local/lib -ldbus-1 libtool: link: cc -I.. "-DDEBUG_TRAP=__asm__(\"int \$3\")" -DAVAHI_DAEMON_RUNTIME_DIR=\"/run/avahi-daemon/\" -DAVAHI_SOCKET=\"/run/avahi-daemon/socket\" -DAVAHI_SERVICE_DIR=\"/usr/local/etc/avahi/services\" -DAVAHI_CONFIG_FILE=\"/usr/local/etc/avahi/avahi-daemon.conf\" -DAVAHI_HOSTS_FILE=\"/usr/local/etc/avahi/hosts\" -DAVAHI_DBUS_INTROSPECTION_DIR=\"/usr/local/share/dbus-1/interfaces\" -DAVAHI_CONFIG_DIR=\"/usr/local/etc/avahi\" -D_REENTRANT -I/usr/local/include -DUSE_EXPAT_H -I/usr/local/include/dbus-1.0 -I/usr/local/lib/dbus-1.0/include -DDBUS_VERSION_MAJOR=1 -DDBUS_VERSION_MINOR=14 -DDBUS_VERSION_MICRO=10 -DDBUS_API_SUBJECT_TO_CHANGE -DDBUS_SYSTEM_BUS_DEFAULT_ADDRESS=\"unix:path=/var/run/dbus/system_bus_socket\" -O2 -pipe -march=skylake -fstack-protector-strong -fno-strict-aliasing -Wall -W -Wextra -pedantic -pipe -Wformat -Wold-style-definition -Wdeclaration-after-statement -Wfloat-equal -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wredundant-decls -Wmissing-noreturn -Wshadow -Wendif-labels -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -fdiagnostics-show-option -Wno-cast-qual -fno-strict-aliasing -fstack-protector-strong -o .libs/avahi-daemon avahi_daemon-main.o avahi_daemon-simple-protocol.o avahi_daemon-static-services.o avahi_daemon-static-hosts.o avahi_daemon-ini-file-parser.o avahi_daemon-setproctitle.o avahi_daemon-sd-daemon.o avahi_daemon-check-nss.o avahi_daemon-dbus-protocol.o avahi_daemon-dbus-util.o avahi_daemon-dbus-async-address-resolver.o avahi_daemon-dbus-async-host-name-resolver.o avahi_daemon-dbus-async-service-resolver.o avahi_daemon-dbus-domain-browser.o avahi_daemon-dbus-entry-group.o avahi_daemon-dbus-service-browser.o avahi_daemon-dbus-service-type-browser.o avahi_daemon-dbus-sync-address-resolver.o avahi_daemon-dbus-sync-host-name-resolver.o avahi_daemon-dbus-sync-service-resolver.o avahi_daemon-dbus-record-browser.o avahi_daemon-dbus.o avahi_daemon-dbus-watch-glue.o -L/usr/local/lib ../avahi-common/.libs/libavahi-common.so ../avahi-core/.libs/libavahi-core.so /usr/ports/net/avahi-app/work/avahi-0.8/avahi-common/.libs/libavahi-common.so /usr/local/lib/libdaemon.so -lexpat -ldl -ldbus-1 -lintl -pthread -Wl,-rpath -Wl,/usr/local/lib ld: error: undefined symbol: inotify_init >>> referenced by main.c >>> avahi_daemon-main.o:(run_server) ld: error: undefined symbol: inotify_add_watch >>> referenced by main.c >>> avahi_daemon-main.o:(run_server) >>> referenced by main.c >>> avahi_daemon-main.o:(run_server) >>> referenced by main.c >>> avahi_daemon-main.o:(reload_config) >>> referenced 1 more times cc: error: linker command failed with exit code 1 (use -v to see invocation) gmake[2]: *** [Makefile:817: avahi-daemon] Error 1 gmake[2]: Leaving directory '/usr/ports/net/avahi-app/work/avahi-0.8/avahi-daemon' gmake[1]: *** [Makefile:834: all-recursive] Error 1 gmake[1]: Leaving directory '/usr/ports/net/avahi-app/work/avahi-0.8' gmake: *** [Makefile:744: all] Error 2 *** Error code 1 Stop. make: stopped in /usr/ports/net/avahi-app ========== Cheers, Scott On 2/22/2025 05:58, Gleb Popov wrote: > The branch main has been updated by arrowd: > > URL: https://cgit.FreeBSD.org/ports/commit/?id=3437a65039c6414376e2018349fa896a1f03c66c > > commit 3437a65039c6414376e2018349fa896a1f03c66c > Author: Жунёва Мария Михайловна <zhunyova@mts.ru> > AuthorDate: 2025-02-20 14:19:21 +0000 > Commit: Gleb Popov <arrowd@FreeBSD.org> > CommitDate: 2025-02-22 11:58:03 +0000 > > net/avahi-app: Add Netlink support > > Sponsored by: Future Crew, LLC > Pull Request: https://github.com/freebsd/freebsd-ports/pull/349