In file included from main.c:48: inotify-nosys.h:15:24: error: asm/unistd.h: No such file or directory simple-protocol.c: In function 'avahi_new_internal':In file included from main.c:48: inotify-nosys.h:28: error: expected ':', ',', ';', '}' or '__attribute__' before '__flexarr' ../avahi-common/malloc.h:50: warning: function 'avahi_new_internal' can never be inlined because it is suppressed using -fno-inlineinotify-nosys.h:155:3: error: #error "Unsupported architecture!" inotify-nosys.h:158:3: error: #error "Unsupported architecture!" inotify-nosys.h:161:3: error: #error "Unsupported architecture!" inotify-nosys.h: In function 'inotify_init': inotify-nosys.h:167: error: '__NR_inotify_init' undeclared (first use in this function) inotify-nosys.h:167: error: (Each undeclared identifier is reported only once inotify-nosys.h:167: error: for each function it appears in.) inotify-nosys.h: In function 'inotify_add_watch': inotify-nosys.h:172: error: '__NR_inotify_add_watch' undeclared (first use in this function) inotify-nosys.h: In function 'inotify_rm_watch': inotify-nosys.h:177: error: '__NR_inotify_rm_watch' undeclared (first use in this function) simple-protocol.c: In function 'simple_protocol_setup': ../avahi-common/malloc.h:50: warning: inlining failed in call to 'avahi_new_internal': function not inlinable simple-protocol.c:455: warning: called from here gmake[2]: *** [avahi_daemon-main.o] Error 1 gmake[2]: *** Waiting for unfinished jobs.... simple-protocol.c: In function 'client_new': ../avahi-common/malloc.h:50: warning: inlining failed in call to 'avahi_new_internal': function not inlinable simple-protocol.c:135: warning: called from here gmake[2]: Leaving directory `/var/tmp/portage/net-dns/avahi-0.6.18/work/avahi-0.6.18/avahi-daemon' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/var/tmp/portage/net-dns/avahi-0.6.18/work/avahi-0.6.18' gmake: *** [all] Error 2 !!! ERROR: net-dns/avahi-0.6.18 failed. 0.6.17 works fine. If nobody has a ready solution, I'll be looking for one tomorrow (hopefully) and then see to send it to both upstream and here. In the mean time, dekeywording .18 will make sure that .17 is not deleted out of the blue leaving x86-fbsd uncovered. Thanks, Diego
*** Bug 175443 has been marked as a duplicate of this bug. ***
The inotify-nosys.h hack avahi uses is ugly. Either a system supports inotify or it does not. There should be no such thing as "Oh, the system doesn't support it, let's try to be smart and use our own header."
I added a patch. Diego, Jeroen, could you give 0.6.18 another try?
(In reply to comment #3) > I added a patch. Diego, Jeroen, could you give 0.6.18 another try? It builds and works fine now.
Fine here too, thanks Sven!
I re-added the ~x86-fbsd keyword.