Bug #37336
Ceph (master) compilation on Fedora 29 fails (with Python 3)
0%
Description
Due to different bugs (filed elsewhere) I have to try to compile on Fedora 29 with Python 3. My attempt has failed:
I've used:
"cmake .. -DWITH_PYTHON2=OFF -DWITH_PYTHON3=ON -DMGR_PYTHON_VERSION=3" (per https://bugzilla.redhat.com/show_bug.cgi?id=1643450#c8 )
and it fails with:
Scanning dependencies of target ec_isa
[ 1%] Building C object src/erasure-code/isa/CMakeFiles/ec_isa.dir/__/__/isa-l/erasure_code/ec_base.c.o
In file included from /home/ykaul/github/ceph/src/include/types.h:19,
from /home/ykaul/github/ceph/src/isa-l/erasure_code/ec_base.c:34:
/home/ykaul/github/ceph/src/include/byteorder.h:5:10: fatal error: type_traits: No such file or directory
#include <type_traits>
^~~~~~~~~~~
compilation terminated.
Seems to be something with the flags passed to gcc?
History
#1 Updated by Brad Hubbard about 5 years ago
Yaniv, can you try the following please?
$ git submodule update --init --recursive;git clean -fdx;git submodule foreach git clean -fdx; mkdir build; cd build
Then try the cmake command and build again? If that fails please let us know the sha1 you are trying to build, thanks.
#2 Updated by Brad Hubbard about 5 years ago
- Assignee set to Brad Hubbard
#3 Updated by Yaniv Kaul about 5 years ago
It seems to be working now (I've already compiled 9%, and it's going well).
#4 Updated by Greg Farnum about 5 years ago
- Status changed from New to Resolved