Project

General

Profile

Actions

Bug #37336

closed

Ceph (master) compilation on Fedora 29 fails (with Python 3)

Added by Yaniv Kaul over 5 years ago. Updated over 5 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
build
Target version:
-
% Done:

0%

Source:
Community (dev)
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

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?

Actions #1

Updated by Brad Hubbard over 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.

Actions #2

Updated by Brad Hubbard over 5 years ago

  • Assignee set to Brad Hubbard
Actions #3

Updated by Yaniv Kaul over 5 years ago

It seems to be working now (I've already compiled 9%, and it's going well).

Actions #4

Updated by Greg Farnum over 5 years ago

  • Status changed from New to Resolved
Actions

Also available in: Atom PDF