Fedora Account System
Red Hat Associate
Red Hat Customer
libnbd fails to build with Python 3.8.0b1. There is no obvious (to me) error in the build logs, but several files end up not being built: BUILDSTDERR: error: File not found: /builddir/build/BUILDROOT/libnbd-0.1.2-2.fc31.x86_64/usr/lib64/python3.8/site-packages/libnbdmod*.so BUILDSTDERR: error: File not found: /builddir/build/BUILDROOT/libnbd-0.1.2-2.fc31.x86_64/usr/lib64/python3.8/site-packages/nbd.py BUILDSTDERR: error: File not found: /builddir/build/BUILDROOT/libnbd-0.1.2-2.fc31.x86_64/usr/lib64/python3.8/site-packages/__pycache__/nbd*.py* BUILDSTDERR: error: File not found: /builddir/build/BUILDROOT/libnbd-0.1.2-2.fc31.x86_64/usr/bin/nbdsh BUILDSTDERR: error: File not found: /builddir/build/BUILDROOT/libnbd-0.1.2-2.fc31.x86_64/usr/share/man/man1/nbdsh.1* Also, this line and several empty test suites suggests you should add `BuildRequires: libndb-devel`: BUILDSTDERR: configure: WARNING: nbdkit development package is not installed, tests will be disabled For the build logs, see: https://copr-be.cloud.fedoraproject.org/results/@python/python3.8/fedora-rawhide-x86_64/00925605-libnbd/ For all our attempts to build libnbd with Python 3.8, see: https://copr.fedorainfracloud.org/coprs/g/python/python3.8/package/libnbd/ Testing and mass rebuild of packages is happening in copr. You can follow these instructions to test locally in mock if your package builds with Python 3.8: https://copr.fedorainfracloud.org/coprs/g/python/python3.8/ Let us know here if you have any questions.
I guess the same problem we had in libguestfs because PYTHON_LIBS is no longer defined: https://www.redhat.com/archives/libguestfs/2019-May/msg00255.html
I fixed this in libnbd commit 70fa61b407969dec12e85e039fdaca550a12009f libnbd >= 0.1.3 This will be in Rawhide soon.