Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1949807 - nbdkit fails to build with Python 3.10: test test-file-block failed
Summary: nbdkit fails to build with Python 3.10: test test-file-block failed
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: nbdkit
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Richard W.M. Jones
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: PYTHON3.10
TreeView+ depends on / blocked
 
Reported: 2021-04-15 07:18 UTC by Tomáš Hrnčiar
Modified: 2021-04-15 08:55 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-04-15 08:55:57 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Tomáš Hrnčiar 2021-04-15 07:18:39 UTC
nbdkit fails to build with Python 3.10.0a7.

SKIP: test-file-block
=====================

test-file-block: this test has to be run as root.
SKIP test-file-block (exit status: 77)

make[3]: *** [Makefile:4132: test-suite.log] Error 1
make[2]: *** [Makefile:4240: check-TESTS] Error 2
make[1]: *** [Makefile:6183: check-am] Error 2
make: *** [Makefile:714: check-recursive] Error 1
+ cat tests/test-suite.log
+ exit 1

For the build logs, see:
https://copr-be.cloud.fedoraproject.org/results/@python/python3.10/fedora-rawhide-x86_64/02124724-nbdkit/

For all our attempts to build nbdkit with Python 3.10, see:
https://copr.fedorainfracloud.org/coprs/g/python/python3.10/package/nbdkit/

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.10:
https://copr.fedorainfracloud.org/coprs/g/python/python3.10/

Let us know here if you have any questions.

Python 3.10 will be included in Fedora 35. To make that update smoother, we're building Fedora packages with early pre-releases of Python 3.10.
A build failure prevents us from testing all dependent packages (transitive [Build]Requires), so if this package is required a lot, it's important for us to get it fixed soon.
We'd appreciate help from the people who know this package best, but if you don't want to work on this now, let us know so we can try to work around it on our side.

Comment 1 Richard W.M. Jones 2021-04-15 07:24:51 UTC
Failure is actually:

FAIL: test-nbd-dynamic-list.sh

It's been fixed upstream:

https://gitlab.com/nbdkit/nbdkit/-/commit/995aa3352b58113f02c326b3276da156de46dd9d

The fix is included in nbdkit 1.25.6 which is in Fedora Rawhide, so if
you build the latest version it should work (or I don't see any
other Python-related failures, so it has a good chance of working).


Note You need to log in before you can comment on or make changes to this bug.