You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Gavin (JIRA)" <ji...@apache.org> on 2019/04/29 09:27:54 UTC
[jira] [Issue Comment Deleted] (MESOS-9302) Mesos fails to build on
Fedora 28
[ https://issues.apache.org/jira/browse/MESOS-9302?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gavin updated MESOS-9302:
-------------------------
Comment: was deleted
(was: www.rtat.net)
> Mesos fails to build on Fedora 28
> ---------------------------------
>
> Key: MESOS-9302
> URL: https://issues.apache.org/jira/browse/MESOS-9302
> Project: Mesos
> Issue Type: Bug
> Components: build
> Environment: gcc (GCC) 8.1.1 20180712 (Red Hat 8.1.1-5)
> Fedora 28
> Reporter: Benno Evers
> Assignee: Benno Evers
> Priority: Major
> Labels: build-failure
> Fix For: 1.8.0
>
>
> Trying to compile a fresh Mesos checkout on a Fedora 28 system with the following configuration flags:
> {noformat}
> ../configure --enable-debug --enable-optimize --disable-java --disable-python --disable-libtool-wrappers --enable-ssl --enable-libevent --disable-werror
> {noformat}
> and the following compiler
> {noformat}
> [bevers@core1.hw.ca1 build]$ gcc --version
> gcc (GCC) 8.1.1 20180712 (Red Hat 8.1.1-5)
> Copyright (C) 2018 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions. There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
> {noformat}
> fails the build due to two warnings (even though --disable-werror was passed):
> {noformat}
> make[4]: Entering directory '/home/bevers/mesos/build/3rdparty/grpc-1.10.0'
> [C] Compiling third_party/cares/cares/ares_init.c
> third_party/cares/cares/ares_init.c: In function ‘ares_dup’:
> third_party/cares/cares/ares_init.c:301:17: error: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Werror=sizeof-pointer-memaccess]
> sizeof(src->local_dev_name));
> ^
> third_party/cares/cares/ares_init.c: At top level:
> cc1: error: unrecognized command line option ‘-Wno-invalid-source-encoding’ [-Werror]
> cc1: all warnings being treated as errors
> make[4]: *** [Makefile:2635: /home/bevers/mesos/build/3rdparty/grpc-1.10.0/objs/opt/third_party/cares/cares/ares_init.o] Error 1
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)