Re: [release-3.6] FreeBSD and NetBSD compile errors in GlusterD

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Niels,

We have had some discussions on this in last couple of community
meetings. The problem is that 3.6 doesn't have all the NetBSD backport
fixes which causes these issues. There is a mail thread with Manu [1] on
this. The conclusion was to *avoid* regression/smoke test results for
NetBSD on 3.6 branch till all the fixes are backported which itself
needs some volunteer(s).

[1]
http://www.gluster.org/pipermail/gluster-devel/2015-November/thread.html#47082

Thanks,
Atin

On 11/19/2015 10:05 PM, Niels de Vos wrote:
> There still seem to be compile errors on FreeBSD related to GlusterD:
> 
>     --- glusterd_la-glusterd-handler.lo ---
>     /usr/home/jenkins/root/workspace/freebsd-smoke/xlators/mgmt/glusterd/src/glusterd-handler.c:684:55: warning: implicit conversion from enumeration type 'enum glusterd_op_sm_event_type_' to different enumeration type 'glusterd_op_t' (aka 'enum glusterd_op_') [-Wenum-conversion]
>             glusterd_op_t                   op          = GD_OP_EVENT_LOCK;
>                                             ~~            ^~~~~~~~~~~~~~~~
>     ...
>     --- glusterd_la-glusterd-op-sm.lo ---
>     /usr/home/jenkins/root/workspace/freebsd-smoke/xlators/mgmt/glusterd/src/glusterd-op-sm.c:3692:19: error: use of undeclared identifier 'GF_REPLACE_OP_START'
>             if (op != GF_REPLACE_OP_START) {
>                       ^
>     1 error generated.
>     *** [glusterd_la-glusterd-op-sm.lo] Error code 1
> 
> 
> A very similar error is reported on NetBSD:
> 
>     --- glusterd_la-glusterd-op-sm.lo ---
>       CC       glusterd_la-glusterd-op-sm.lo
>     /home/jenkins/root/workspace/netbsd6-smoke/xlators/mgmt/glusterd/src/glusterd-op-sm.c: In function 'glusterd_op_start_rb_timer':
>     /home/jenkins/root/workspace/netbsd6-smoke/xlators/mgmt/glusterd/src/glusterd-op-sm.c:3692:19: error: 'GF_REPLACE_OP_START' undeclared (first use in this function)
>     /home/jenkins/root/workspace/netbsd6-smoke/xlators/mgmt/glusterd/src/glusterd-op-sm.c:3692:19: note: each undeclared identifier is reported only once for each function it appears in
>     /home/jenkins/root/workspace/netbsd6-smoke/xlators/mgmt/glusterd/src/glusterd-op-sm.c: In function 'glusterd_bricks_select_status_volume':
>     /home/jenkins/root/workspace/netbsd6-smoke/xlators/mgmt/glusterd/src/glusterd-op-sm.c:5807:34: warning: unused variable 'snapd'
>     *** [glusterd_la-glusterd-op-sm.lo] Error code 1
> 
> These come from a recent backport sent to the release-3.6 branch. See
> the console output on
> https://build.gluster.org/job/freebsd-smoke/10826/console an
> https://build.gluster.org/job/netbsd6-smoke/9916/console for more
> details.
> 
> This was reported quite a while back already too:
> 
>   http://thread.gmane.org/gmane.comp.file-systems.gluster.devel/11853
> 
> Thanks,
> Niels
> 
_______________________________________________
Gluster-devel mailing list
Gluster-devel@xxxxxxxxxxx
http://www.gluster.org/mailman/listinfo/gluster-devel



[Index of Archives]     [Gluster Users]     [Ceph Users]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux