<div dir="ltr"><div>Can I skip this warning message in tail mail and continue with the installation?</div><br><div class="gmail_quote"><div dir="ltr">On Thu, Dec 27, 2018 at 5:11 PM Amudhan P <<a href="mailto:amudhan83@gmail.com">amudhan83@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr">Thanks, Ravishankar it worked.<div>also, I am getting the following warning message when running `make` is it safe to skip?</div><div><br></div><div><div>dht-layout.c: In function ‘dht_layout_new’:</div><div>dht-layout.c:51:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]</div><div> GF_ATOMIC_INIT (layout->ref, 1);</div><div> ^</div><div>dht-layout.c:51:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]</div><div> CC dht-helper.lo</div><div><br></div><div><br></div><div> CC ec.lo</div><div>ec.c: In function ‘ec_statistics_init’:</div><div>ec.c:637:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]</div><div> GF_ATOMIC_INIT(ec->stats.stripe_cache.hits, 0);</div><div> ^</div><div>ec.c:637:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]</div><div>ec.c:638:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]</div><div> GF_ATOMIC_INIT(ec->stats.stripe_cache.misses, 0);</div><div> ^</div><div>ec.c:638:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]</div><div>ec.c:639:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]</div><div> GF_ATOMIC_INIT(ec->stats.stripe_cache.updates, 0);</div><div> ^</div><div>ec.c:639:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]</div><div>ec.c:640:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]</div><div> GF_ATOMIC_INIT(ec->stats.stripe_cache.invals, 0);</div><div> ^</div><div>ec.c:640:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]</div><div>ec.c:641:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]</div><div> GF_ATOMIC_INIT(ec->stats.stripe_cache.evicts, 0);</div><div> ^</div><div>ec.c:641:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]</div><div>ec.c:642:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]</div><div> GF_ATOMIC_INIT(ec->stats.stripe_cache.allocs, 0);</div><div> ^</div><div>ec.c:642:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]</div><div>ec.c:643:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]</div><div> GF_ATOMIC_INIT(ec->stats.stripe_cache.errors, 0);</div><div> ^</div><div>ec.c:643:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]</div><div> CC ec-data.lo</div><div><br></div><div><br></div><div> CCLD <a href="http://posix.la" target="_blank">posix.la</a></div><div>.libs/posix-inode-fd-ops.o: In function `posix_do_chmod':</div><div>/home/qubevaultadmin/gluster-tar/glusterfs-4.1.6/xlators/storage/posix/src/posix-inode-fd-ops.c:203: warning: lchmod is not implemented and will always fail</div><div>make[5]: Nothing to be done for 'all-am'.</div><div><br></div><div><br></div><div> CC client-handshake.lo</div><div>client-handshake.c: In function ‘clnt_fd_lk_local_create’:</div><div>client-handshake.c:150:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]</div><div> GF_ATOMIC_INIT (local->ref, 1);</div><div> ^</div><div>client-handshake.c:150:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]</div><div> CC client-callback.lo</div><div><br></div><div> CC readdir-ahead.lo</div><div>readdir-ahead.c: In function ‘init’:</div><div>readdir-ahead.c:637:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]</div><div> GF_ATOMIC_INIT (priv->rda_cache_size, 0);</div><div> ^</div><div>readdir-ahead.c:637:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]</div><div> CCLD <a href="http://readdir-ahead.la" target="_blank">readdir-ahead.la</a></div><div><br></div><div>Making all in src</div><div> CC md-cache.lo</div><div>md-cache.c: In function ‘mdc_init’:</div><div>md-cache.c:3431:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]</div><div> GF_ATOMIC_INIT (conf->mdc_counter.stat_hit, 0);</div><div> ^</div><div>md-cache.c:3431:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]</div><div>md-cache.c:3432:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]</div><div> GF_ATOMIC_INIT (conf->mdc_counter.stat_miss, 0);</div><div> ^</div><div>md-cache.c:3432:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]</div><div>md-cache.c:3433:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]</div><div> GF_ATOMIC_INIT (conf->mdc_counter.xattr_hit, 0);</div><div> ^</div><div>md-cache.c:3433:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]</div><div>md-cache.c:3434:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]</div><div> GF_ATOMIC_INIT (conf->mdc_counter.xattr_miss, 0);</div><div> ^</div><div>md-cache.c:3434:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]</div><div>md-cache.c:3435:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]</div><div> GF_ATOMIC_INIT (conf->mdc_counter.negative_lookup, 0);</div><div> ^</div><div>md-cache.c:3435:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]</div><div>md-cache.c:3436:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]</div><div> GF_ATOMIC_INIT (conf->mdc_counter.nameless_lookup, 0);</div><div> ^</div><div>md-cache.c:3436:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]</div><div>md-cache.c:3437:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]</div><div> GF_ATOMIC_INIT (conf->mdc_counter.stat_invals, 0);</div><div> ^</div><div>md-cache.c:3437:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]</div><div>md-cache.c:3438:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]</div><div> GF_ATOMIC_INIT (conf->mdc_counter.xattr_invals, 0);</div><div> ^</div><div>md-cache.c:3438:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]</div><div>md-cache.c:3439:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]</div><div> GF_ATOMIC_INIT (conf->mdc_counter.need_lookup, 0);</div><div> ^</div><div>md-cache.c:3439:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]</div><div> CCLD <a href="http://md-cache.la" target="_blank">md-cache.la</a></div><div><br></div><div><br></div><div>dht-layout.c: In function ‘dht_layout_new’:</div><div>dht-layout.c:51:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]</div><div> GF_ATOMIC_INIT (layout->ref, 1);</div><div><br></div><div> CC io-stats.lo</div><div>io-stats.c: In function ‘ios_init_iosstat’:</div><div>io-stats.c:1973:17: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]</div><div> GF_ATOMIC_INIT (iosstat->counters[i], 0);</div><div> ^</div><div>io-stats.c:1973:17: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]</div><div>io-stats.c: In function ‘io_stats_open_cbk’:</div><div>io-stats.c:2066:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]</div><div> GF_ATOMIC_INIT (iosfd->data_read, 0);</div><div> ^</div><div>io-stats.c:2066:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]</div><div>io-stats.c:2067:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]</div><div> GF_ATOMIC_INIT (iosfd->data_written, 0);</div><div> ^</div><div>io-stats.c:2067:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]</div><div>io-stats.c:2069:17: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]</div><div> GF_ATOMIC_INIT (iosfd->block_count_write[i], 0);</div><div> ^</div><div>io-stats.c:2069:17: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]</div><div>io-stats.c:2070:17: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]</div><div> GF_ATOMIC_INIT (iosfd->block_count_read[i], 0);</div><div> ^</div><div>io-stats.c:2070:17: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]</div><div>io-stats.c: In function ‘ios_init_stats’:</div><div>io-stats.c:4006:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]</div><div> GF_ATOMIC_INIT (stats->data_read, 0);</div><div> ^</div><div>io-stats.c:4006:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]</div><div>io-stats.c:4007:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]</div><div> GF_ATOMIC_INIT (stats->data_written, 0);</div><div> ^</div><div>io-stats.c:4007:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]</div><div>io-stats.c:4010:17: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]</div><div> GF_ATOMIC_INIT (stats->block_count_write[i], 0);</div><div> ^</div><div>io-stats.c:4010:17: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]</div><div>io-stats.c:4011:17: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]</div><div> GF_ATOMIC_INIT (stats->block_count_read[i], 0);</div><div> ^</div><div>io-stats.c:4011:17: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]</div><div>io-stats.c:4015:17: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]</div><div> GF_ATOMIC_INIT (stats->fop_hits[i], 0);</div><div> ^</div><div>io-stats.c:4015:17: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]</div><div>io-stats.c:4018:17: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]</div><div> GF_ATOMIC_INIT (stats->upcall_hits[i], 0);</div><div> ^</div><div>io-stats.c:4018:17: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]</div><div> CCLD <a href="http://io-stats.la" target="_blank">io-stats.la</a></div><div><br></div><div> CC barrier.lo</div><div>barrier.c: In function ‘notify’:</div><div>barrier.c:499:33: warning: switch condition has boolean value [-Wswitch-bool]</div><div> switch (past) {</div><div> ^</div><div>barrier.c: In function ‘reconfigure’:</div><div>barrier.c:565:25: warning: switch condition has boolean value [-Wswitch-bool]</div><div> switch (past) {</div><div> ^</div><div> CCLD <a href="http://barrier.la" target="_blank">barrier.la</a></div><div><br></div><div><br></div><div> CC client-handshake.lo</div><div>client-handshake.c: In function ‘clnt_fd_lk_local_create’:</div><div>client-handshake.c:150:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]</div><div> GF_ATOMIC_INIT (local->ref, 1);</div><div> ^</div><div>client-handshake.c:150:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]</div><div><br></div><div><br></div><div> CC changelog-rpc.lo</div><div>changelog-rpc.c: In function ‘changelog_rpc_clnt_init’:</div><div>changelog-rpc.c:217:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]</div><div> GF_ATOMIC_INIT (crpc->ref, 1);</div><div> ^</div><div>changelog-rpc.c:217:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]</div><div> CC changelog-barrier.lo</div><div> CC changelog-rpc-common.lo</div><div><br></div><div><br></div><div><br></div><div> CC mount.lo</div><div>../../../../contrib/fuse-lib/mount.c: In function ‘gf_fuse_unmount_daemon’:</div><div>../../../../contrib/fuse-lib/mount.c:106:17: warning: ignoring return value of ‘chdir’, declared with attribute warn_unused_result [-Wunused-result]</div><div> (void)chdir("/");</div><div> ^</div><div>../../../../contrib/fuse-lib/mount.c:110:17: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result [-Wunused-result]</div><div> read (ump[0], &c, 1);</div><div> ^</div><div>../../../../contrib/fuse-lib/mount.c: In function ‘gf_fuse_mount’:</div><div>../../../../contrib/fuse-lib/mount.c:507:25: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]</div><div> (void)write (status_fd, &ret, sizeof (ret));</div><div> ^</div><div> CC mount-common.lo</div><div>../../../../contrib/fuse-lib/mount-common.c: In function ‘mtab_needs_update’:</div><div>../../../../contrib/fuse-lib/mount-common.c:59:25: warning: ignoring return value of ‘setreuid’, declared with attribute warn_unused_result [-Wunused-result]</div><div> setreuid (0, -1);</div><div> ^</div><div>../../../../contrib/fuse-lib/mount-common.c:64:25: warning: ignoring return value of ‘setreuid’, declared with attribute warn_unused_result [-Wunused-result]</div><div> setreuid (ruid, -1);</div><div> ^</div><div> CCLD <a href="http://fuse.la" target="_blank">fuse.la</a></div><div><br></div><div><br></div><div><br></div><div>glusterd-pmap.c: In function ‘pmap_registry_bind’:</div><div>glusterd-pmap.c:287:17: warning: ignoring return value of ‘asprintf’, declared with attribute warn_unused_result [-Wunused-result]</div><div> asprintf (&pmap->ports[p].brickname, "%s %s", tmp, brickname);</div><div> ^</div><div>glusterd-pmap.c: In function ‘pmap_registry_extend’:</div><div>glusterd-pmap.c:346:17: warning: ignoring return value of ‘asprintf’, declared with attribute warn_unused_result [-Wunused-result]</div><div> asprintf (&new_bn, "%s %s", old_bn, brickname);</div><div><br></div><div><br></div><div><br></div><div> CC mount-common.o</div><div>../../contrib/fuse-lib/mount-common.c: In function ‘mtab_needs_update’:</div><div>../../contrib/fuse-lib/mount-common.c:59:25: warning: ignoring return value of ‘setreuid’, declared with attribute warn_unused_result [-Wunused-result]</div><div> setreuid (0, -1);</div><div> ^</div><div>../../contrib/fuse-lib/mount-common.c:64:25: warning: ignoring return value of ‘setreuid’, declared with attribute warn_unused_result [-Wunused-result]</div><div> setreuid (ruid, -1);</div><div> ^</div><div> CCLD fusermount-glusterfs</div></div><div><br></div><div><br></div><div>Amudhan</div></div></div><br><div class="gmail_quote"><div dir="ltr">On Thu, Dec 27, 2018 at 4:38 PM Ravishankar N <<a href="mailto:ravishankar@redhat.com" target="_blank">ravishankar@redhat.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div bgcolor="#FFFFFF">
<p><br>
</p>
<br>
<div class="gmail-m_-4139767040366070577gmail-m_-6649624098271512137moz-cite-prefix">On 12/27/2018 04:26 PM, Amudhan P
wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">Hi,
<div><br>
</div>
<div>I am trying to compile & install Glusterfs-4.1.6
using tar file and I am getting this error message when
running `make`.</div>
<div>```</div>
<div>
<div>CC afr-self-heal-name.lo</div>
<div>CC afr.lo</div>
</div>
<div>In file included from afr.c:18:0:<br>
</div>
<div>
<div>afr-common.c: In function ‘afr_lookup_entry_heal’:</div>
<div>afr-common.c:2892:29: error: implicit declaration
of function ‘uuid_is_null’
[-Werror=implicit-function-declaration]</div>
<div> if (uuid_is_null (gfid)) {</div>
<div> ^</div>
<div>cc1: some warnings being treated as errors</div>
<div>Makefile:585: recipe for target 'afr.lo' failed</div>
<div>make[5]: *** [afr.lo] Error 1</div>
<div>Makefile:467: recipe for target 'all-recursive'
failed</div>
<div>make[4]: *** [all-recursive] Error 1</div>
<div>Makefile:467: recipe for target 'all-recursive'
failed</div>
<div>make[3]: *** [all-recursive] Error 1</div>
<div>Makefile:473: recipe for target 'all-recursive'
failed</div>
<div>make[2]: *** [all-recursive] Error 1</div>
<div>Makefile:606: recipe for target 'all-recursive'
failed</div>
<div>make[1]: *** [all-recursive] Error 1</div>
<div>Makefile:497: recipe for target 'all' failed</div>
<div>make: *** [all] Error 2</div>
</div>
<div>```</div>
<div>OS : Ubuntu 16.04</div>
<div>file used : glusterfs-4.1.6.tar.gz</div>
<div><br>
</div>
<div>How to fix this issue?</div>
</div>
</div>
</div>
</div>
</blockquote>
Try this fix: <a class="gmail-m_-4139767040366070577gmail-m_-6649624098271512137moz-txt-link-freetext" href="https://review.gluster.org/#/c/glusterfs/+/21571/" target="_blank">https://review.gluster.org/#/c/glusterfs/+/21571/</a><br>
-Ravi<br>
<blockquote type="cite">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div><br>
</div>
<div>regards</div>
<div>Amudhan</div>
</div>
</div>
</div>
</div>
<br>
<fieldset class="gmail-m_-4139767040366070577gmail-m_-6649624098271512137mimeAttachmentHeader"></fieldset>
<br>
<pre>_______________________________________________
Gluster-users mailing list
<a class="gmail-m_-4139767040366070577gmail-m_-6649624098271512137moz-txt-link-abbreviated" href="mailto:Gluster-users@gluster.org" target="_blank">Gluster-users@gluster.org</a>
<a class="gmail-m_-4139767040366070577gmail-m_-6649624098271512137moz-txt-link-freetext" href="https://lists.gluster.org/mailman/listinfo/gluster-users" target="_blank">https://lists.gluster.org/mailman/listinfo/gluster-users</a></pre>
</blockquote>
<br>
</div>
_______________________________________________<br>
Gluster-users mailing list<br>
<a href="mailto:Gluster-users@gluster.org" target="_blank">Gluster-users@gluster.org</a><br>
<a href="https://lists.gluster.org/mailman/listinfo/gluster-users" rel="noreferrer" target="_blank">https://lists.gluster.org/mailman/listinfo/gluster-users</a></blockquote></div>
</blockquote></div></div>