[Gluster-devel] [release-3.6] FreeBSD and NetBSD compile errors in GlusterD

Niels de Vos ndevos at redhat.com
Thu Nov 19 16:35:05 UTC 2015


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://www.gluster.org/pipermail/gluster-devel/attachments/20151119/4e9f94c5/attachment.sig>


More information about the Gluster-devel mailing list