Project

General

Profile

Actions

Bug #37865

closed

debian packaging rules prevent building with PYTHON3

Added by Alfredo Deza over 5 years ago. Updated almost 4 years ago.

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

0%

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

Description

dh_install: Cannot find (any matches for) "usr/lib/python2*/dist-packages/rados-*.egg-info" (tried in ., debian/tmp)

dh_install: python-rados missing files: usr/lib/python2*/dist-packages/rados-*.egg-info
dh_install: Cannot find (any matches for) "usr/lib/python2*/dist-packages/rados.so" (tried in ., debian/tmp)

dh_install: python-rados missing files: usr/lib/python2*/dist-packages/rados.so
dh_install: Cannot find (any matches for) "usr/lib/python2*/dist-packages/rbd-*.egg-info" (tried in ., debian/tmp)

dh_install: python-rbd missing files: usr/lib/python2*/dist-packages/rbd-*.egg-info
dh_install: Cannot find (any matches for) "usr/lib/python2*/dist-packages/rbd.so" (tried in ., debian/tmp)

dh_install: python-rbd missing files: usr/lib/python2*/dist-packages/rbd.so
dh_install: Cannot find (any matches for) "usr/lib/python2*/dist-packages/rgw-*.egg-info" (tried in ., debian/tmp)

dh_install: python-rgw missing files: usr/lib/python2*/dist-packages/rgw-*.egg-info
dh_install: Cannot find (any matches for) "usr/lib/python2*/dist-packages/rgw.so" (tried in ., debian/tmp)

dh_install: python-rgw missing files: usr/lib/python2*/dist-packages/rgw.so
dh_install: Cannot find (any matches for) "usr/lib/python2*/dist-packages/ceph_volume_client.py*" (tried in ., debian/tmp)

dh_install: python-cephfs missing files: usr/lib/python2*/dist-packages/ceph_volume_client.py*
dh_install: Cannot find (any matches for) "usr/lib/python2*/dist-packages/cephfs-*.egg-info" (tried in ., debian/tmp)

dh_install: python-cephfs missing files: usr/lib/python2*/dist-packages/cephfs-*.egg-info
dh_install: Cannot find (any matches for) "usr/lib/python2*/dist-packages/cephfs.so" (tried in ., debian/tmp)

dh_install: python-cephfs missing files: usr/lib/python2*/dist-packages/cephfs.so

dh_install: Cannot find (any matches for) "usr/lib/python2*/dist-packages/ceph_argparse.py" (tried in ., debian/tmp)

dh_install: python-ceph-argparse missing files: usr/lib/python2*/dist-packages/ceph_argparse.py
dh_install: Cannot find (any matches for) "usr/lib/python2*/dist-packages/ceph_daemon.py" (tried in ., debian/tmp)

dh_install: python-ceph-argparse missing files: usr/lib/python2*/dist-packages/ceph_daemon.py
dh_install: missing files, aborting
    install -d debian/.debhelper/generated/ceph-test
    install -d debian/.debhelper/generated/ceph-test-dbg
    install -d debian/.debhelper/generated/python-ceph
    install -d debian/.debhelper/generated/python-rados
    install -d debian/.debhelper/generated/python-rados-dbg
    install -d debian/.debhelper/generated/python3-rados
    install -d debian/.debhelper/generated/python3-rados-dbg
    install -d debian/.debhelper/generated/python-rbd
    install -d debian/.debhelper/generated/python-rbd-dbg
    install -d debian/.debhelper/generated/python3-rbd
    install -d debian/.debhelper/generated/python3-rbd-dbg
    install -d debian/.debhelper/generated/python-rgw
    install -d debian/.debhelper/generated/python-rgw-dbg
    install -d debian/.debhelper/generated/python3-rgw
    install -d debian/.debhelper/generated/python3-rgw-dbg
    install -d debian/.debhelper/generated/python-cephfs
    install -d debian/.debhelper/generated/python-cephfs-dbg
    install -d debian/.debhelper/generated/python3-cephfs
    install -d debian/.debhelper/generated/python3-cephfs-dbg
    install -d debian/.debhelper/generated/python-ceph-argparse
    install -d debian/.debhelper/generated/python3-ceph-argparse
    install -d debian/.debhelper/generated/libcephfs-java
    install -d debian/.debhelper/generated/libcephfs-jni
    install -d debian/.debhelper/generated/rados-objclass-dev
    install -d debian/.debhelper/generated/cephfs-shell
debian/rules:38: recipe for target 'binary' failed
make: *** [binary] Error 25
dpkg-buildpackage: error: fakeroot debian/rules binary subprocess returned exit status 2
E: Failed autobuilding of package

The following extra flags were added when compiling:

+ CEPH_EXTRA_CMAKE_ARGS=' -DALLOCATOR=tcmalloc -DWITH_PYTHON2=OFF -DWITH_PYTHON3=ON -DMGR_PYTHON_VERSION=3'
Actions #2

Updated by Sebastian Wagner almost 4 years ago

  • Status changed from New to Resolved
  • Pull request ID set to 32252
Actions

Also available in: Atom PDF