jpeach commented on issue #312: BugFix backporting 1.5.x
URL: https://github.com/apache/mesos/pull/312#issuecomment-426006734
 
 
   Some build configurations no longer build on F28, e.g. 
`--with-protobuf=/usr`:
   
   ```
   configure:23416: checking google/protobuf/map.h usability
   configure:23416: /home/jpeach/upstream/mesos/build/c++ -c -O0 -ggdb3 
-fno-omit-frame-pointer -fvisibility-inlines-hidden -Wno-unused-local-typedefs 
-Wno-deprecated -Wno-unused-local-typedef -std=c++11 -isys     tem /usr/include 
-isystem /usr/include/libnl3 -isystem /usr/include -isystem /usr/include/apr-1 
-isystem /usr/include/apr-1.0            conftest.cpp >&5
   In file included from conftest.cpp:75:
   In file included from /usr/include/google/protobuf/map.h:40:
   In file included from 
/usr/bin/../lib/gcc/x86_64-redhat-linux/8/../../../../include/c++/8/iterator:64:
   In file included from 
/usr/bin/../lib/gcc/x86_64-redhat-linux/8/../../../../include/c++/8/ostream:38:
   In file included from 
/usr/bin/../lib/gcc/x86_64-redhat-linux/8/../../../../include/c++/8/ios:42:
   In file included from 
/usr/bin/../lib/gcc/x86_64-redhat-linux/8/../../../../include/c++/8/bits/ios_base.h:41:
   In file included from 
/usr/bin/../lib/gcc/x86_64-redhat-linux/8/../../../../include/c++/8/bits/locale_classes.h:40:
   In file included from 
/usr/bin/../lib/gcc/x86_64-redhat-linux/8/../../../../include/c++/8/string:52:
   In file included from 
/usr/bin/../lib/gcc/x86_64-redhat-linux/8/../../../../include/c++/8/bits/basic_string.h:6391:
   In file included from 
/usr/bin/../lib/gcc/x86_64-redhat-linux/8/../../../../include/c++/8/ext/string_conversions.h:41:
   
/usr/bin/../lib/gcc/x86_64-redhat-linux/8/../../../../include/c++/8/cstdlib:75:15:
 fatal error: 'stdlib.h' file not found
   #include_next <stdlib.h>
                 ^~~~~~~~~~
   1 error generated.
   ```
   
   The same problem also triggers this error:
   ```
   configure: error: Mesos cannot be built with optimizations against this 
version of libcxx (MESOS-5745).
                     Consider building without optimizations, or changing the 
used C++ standard library.
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to