GNOME Bugzilla – Bug 315644
hurd_mach backend needs porting to new kernel_hook interface
Last modified: 2018-07-01 08:46:59 UTC
Version details: 0.1.6 the Hurd/Mach backend (and probably the kqueue backend as well) fails to build: if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../libgamin -I../protocol -I../lib -I../libgamin -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DBINDIR=\""/usr/libexec"\" -DG_DISABLE_DEPRECATED -DGAM_DEBUG_ENABLED -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wsign-compare -Wno-sign-compare -g -MT gam_hurd_mach_notify.o -MD -MP -MF ".deps/gam_hurd_mach_notify.Tpo" -c -o gam_hurd_mach_notify.o gam_hurd_mach_notify.c; \ then mv -f ".deps/gam_hurd_mach_notify.Tpo" ".deps/gam_hurd_mach_notify.Po"; else rm -f ".deps/gam_hurd_mach_notify.Tpo"; exit 1; fi gam_hurd_mach_notify.c:45:22: error: gam_poll.h: No such file or directory gam_hurd_mach_notify.c: In function 'server': gam_hurd_mach_notify.c:474: warning: nested extern declaration of 'fs_notify_server' gam_hurd_mach_notify.c:477: warning: no previous prototype for 's' gam_hurd_mach_notify.c: In function 'gam_hurd_notify_init': gam_hurd_mach_notify.c:693: warning: implicit declaration of function 'gam_poll_set_kernel_handler' gam_hurd_mach_notify.c:693: warning: nested extern declaration of 'gam_poll_set_kernel_handler' gam_hurd_mach_notify.c:694: error: 'gam_backend_add_subscription' undeclared (first use in this function) gam_hurd_mach_notify.c:694: error: (Each undeclared identifier is reported only once gam_hurd_mach_notify.c:694: error: for each function it appears in.) gam_hurd_mach_notify.c:695: error: 'gam_backend_remove_subscription' undeclared (first use in this function) gam_hurd_mach_notify.c:696: error: 'gam_backend_remove_all_for' undeclared (first use in this function) make[3]: *** [gam_hurd_mach_notify.o] Error 1
Created attachment 52018 [details] [review] gamin.diff: proposed patch
Created attachment 173924 [details] [review] Compile also fs_notify.c In addition to the above (correct) patch, the backend needs to compile fs_notify.c, which is generated by MIG from the .defs file. The attached patch should hopefully do the needed job.
Ping?
gamin is not under active development anymore and has not seen code changes for many years. Its codebase has been archived: https://gitlab.gnome.org/Archive/gamin/commits/master Closing this report as WONTFIX as part of Bugzilla Housekeeping to reflect reality. Please feel free to reopen this ticket (or rather transfer the project to GNOME Gitlab, as GNOME Bugzilla is deprecated) if anyone takes the responsibility for active development again.