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 377050 - Build failure on GNU/kFreeBSD
Build failure on GNU/kFreeBSD
Status: RESOLVED FIXED
Product: gamin
Classification: Other
Component: general
unspecified
Other other
: Normal normal
: ---
Assigned To: Gamin Maintainer(s)
Gamin Maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2006-11-19 17:03 UTC by Michael Banck
Modified: 2006-11-20 17:00 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
proposed patch (439 bytes, patch)
2006-11-19 17:05 UTC, Michael Banck
none Details | Review

Description Michael Banck 2006-11-19 17:03:04 UTC
The patch sent for #350770 was wrong, gamin still fails to build on GNU/kFreeBSD:

if /bin/sh ../libtool --mode=compile --tag=CC cc -DHAVE_CONFIG_H -I. -I. -I..  -I.. -I../lib -DBINDIR=\""/usr/lib/gamin"\" -DBUILDDIR=\"".."\" -DGAM_DEBUG_ENABLED    -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wsign-compare -Wno-sign-compare -g  -MT gam_data.lo -MD -MP -MF ".deps/gam_data.Tpo" -c -o gam_data.lo gam_data.c; \
	then mv -f ".deps/gam_data.Tpo" ".deps/gam_data.Plo"; else rm -f ".deps/gam_data.Tpo"; exit 1; fi
 cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -DBINDIR=\"/usr/lib/gamin\" -DBUILDDIR=\"..\" -DGAM_DEBUG_ENABLED -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wsign-compare -Wno-sign-compare -g -MT gam_data.lo -MD -MP -MF .deps/gam_data.Tpo -c gam_data.c  -fPIC -DPIC -o .libs/gam_data.o
gam_data.c: In function 'gamin_data_new':
gam_data.c:460: error: 'pthread_mutexattr_settype' undeclared (first use in this function)
gam_data.c:460: error: (Each undeclared identifier is reported only once
gam_data.c:460: error: for each function it appears in.)
gam_data.c:475: warning: implicit declaration of function 'pthread_mutexattr_settype'
gam_data.c:475: warning: nested extern declaration of 'pthread_mutexattr_settype'
make[3]: *** [gam_data.lo] Error 1
Comment 1 Michael Banck 2006-11-19 17:05:21 UTC
Created attachment 76847 [details] [review]
proposed patch
Comment 2 Petr Salinger 2006-11-20 15:41:28 UTC
There is one more (minor) issue on GNU/kFreeBSD, 
only half support for kqueue in gamin, see http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=342540.

Petr
Comment 3 Daniel Veillard 2006-11-20 17:00:45 UTC
Applied to CVS, assuming it fixes it,

 thanks,

Daniel