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:33 UTC

[jira] [Issue Comment Deleted] (MESOS-7581) Specifying an unbundled dependency can cause build to pick up wrong Boost version

     [ https://issues.apache.org/jira/browse/MESOS-7581?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gavin updated MESOS-7581:
-------------------------
    Comment: was deleted

(was: www.rtat.net)

> Specifying an unbundled dependency can cause build to pick up wrong Boost version
> ---------------------------------------------------------------------------------
>
>                 Key: MESOS-7581
>                 URL: https://issues.apache.org/jira/browse/MESOS-7581
>             Project: Mesos
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 1.1.3, 1.2.2, 1.3.1
>            Reporter: Benjamin Bannier
>            Assignee: Benjamin Bannier
>            Priority: Major
>              Labels: autotools, mesosphere
>             Fix For: 1.1.3, 1.2.2, 1.3.1, 1.4.0
>
>
> Specifying an unbundled dependency can cause the build to pick up a wrong Boost version. Assuming we have e.g., both protobuf and Boost installed in {{PREFIX}}, configuring with {{--with-protobuf=PREFIX}} causes the build to pick up the Boost version from {{PREFIX}} instead of using the bundled one.
> This appears to be due to how we specify Boost include paths. Boost paths are added with {{-isystem}} to suppress warnings; the protobuf include path, on the other hand, would be added with {{-I}}. GCC and for compatibility clang first search all paths specified with {{-I}} left-to-right before looking at paths given with {{-isystem}}, see [the GCC documenation|https://gcc.gnu.org/onlinedocs/gcc/Directory-Options.html].



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)