Project

General

Profile

Actions

Bug #35984

closed

python 3.7 breaks build on fc29

Added by Brad Hubbard over 5 years ago. Updated over 5 years ago.

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

0%

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

Description

Fedora 29 uses python3 > 3.7 which changed the signature for PyUnicode_AsUTF8 to return 'const char*' instead of 'char*'.

https://bugs.python.org/issue28769

This generated a warning (treated as an error) and breaks the build on fc29 (search "Error 2").

https://copr-be.cloud.fedoraproject.org/results/badone/ceph-weeklies/fedora-29-x86_64/00797581-ceph/build.log.gz

https://github.com/ceph/ceph/pull/24092

Actions #1

Updated by Brad Hubbard over 5 years ago

  • Description updated (diff)
  • Status changed from New to In Progress
Actions #2

Updated by John Spray over 5 years ago

  • Status changed from In Progress to Fix Under Review
Actions #3

Updated by Sage Weil over 5 years ago

  • Status changed from Fix Under Review to Resolved
Actions

Also available in: Atom PDF