After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 315644 - hurd_mach backend needs porting to new kernel_hook interface
hurd_mach backend needs porting to new kernel_hook interface
Status: RESOLVED WONTFIX
Product: gamin
Classification: Other
Component: general
unspecified
Other GNU Hurd
: Normal normal
: ---
Assigned To: Gamin Maintainer(s)
Gamin Maintainer(s)
gnome[unmaintained]
Depends on:
Blocks:
 
 
Reported: 2005-09-09 15:13 UTC by Michael Banck
Modified: 2018-07-01 08:46 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
gamin.diff: proposed patch (931 bytes, patch)
2005-09-09 15:14 UTC, Michael Banck
none Details | Review
Compile also fs_notify.c (479 bytes, patch)
2010-11-05 22:47 UTC, Pino Toscano
none Details | Review

Description Michael Banck 2005-09-09 15:13:58 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
Comment 1 Michael Banck 2005-09-09 15:14:29 UTC
Created attachment 52018 [details] [review]
gamin.diff: proposed patch
Comment 2 Pino Toscano 2010-11-05 22:47:09 UTC
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.
Comment 3 Emilio Pozuelo Monfort 2011-07-31 16:37:14 UTC
Ping?
Comment 4 André Klapper 2018-07-01 08:46:59 UTC
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.