Bug 1867964 - nbdkit should use platform-python as interpreter during building
Summary: nbdkit should use platform-python as interpreter during building
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux Advanced Virtualization
Classification: Red Hat
Component: nbdkit
Version: 8.3
Hardware: x86_64
OS: Unspecified
medium
medium
Target Milestone: rc
: 8.3
Assignee: Virtualization Maintenance
QA Contact: liuzi
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-08-11 09:33 UTC by mxie@redhat.com
Modified: 2020-11-17 17:51 UTC (History)
10 users (show)

Fixed In Version: nbdkit-1.20.6-2.module+el8.3.0+7637+9ed826e0
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-11-17 17:50:26 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description mxie@redhat.com 2020-08-11 09:33:16 UTC
Description of problem:
nbdkit should use platform-python as interpreter during building

Version-Release number of selected component (if applicable):
nbdkit-1.20.6-1.module+el8.3.0+7631+c46a108a.x86_64
nbdkit-python-plugin-1.20.6-1.module+el8.3.0+7631+c46a108a.x86_64


How reproducible:
100%

Steps to Reproduce:
1.Check python info in nbdkit build.log http://download.eng.bos.redhat.com/brewroot/vol/rhel-8/packages/nbdkit/1.20.6/1.module+el8.3.0+7631+c46a108a/data/logs/x86_64/build.log

2. Found below info in build log:
.....
+ PYTHON3=/usr/libexec/platform-python
....
+ ./configure --build=x86_64-redhat-linux-gnu ....PYTHON=/usr/bin/python3 


Actual results:
nbdkit-1.20.x is using python3 as interpreter during building

Expected results:
nbdkit should use platform-python as interpreter during building

Additional info:
nbdkit-1.4.x uses platform-python as interpreter during building
http://download.eng.bos.redhat.com/brewroot/vol/rhel-8/packages/nbdkit/1.4.2/4.module+el8+2586+bf759444/data/logs/x86_64/build.log

Comment 4 Richard W.M. Jones 2020-08-11 11:32:46 UTC
Build here:

https://brewweb.engineering.redhat.com/brew/taskinfo?taskID=30677288

If built correctly, build.log (on all architectures) should say:

checking for python3... /usr/libexec/platform-python
checking version of /usr/libexec/platform-python... 3.6

Comment 6 liuzi 2020-08-13 03:57:27 UTC
Test the bug with builds:
nbdkit-1.20.6-2.module+el8.3.0+7637+9ed826e0.x86_64
nbdkit-python-plugin-1.20.6-2.module+el8.3.0+7637+9ed826e0.x86_64

Steps:
1.Check python info in nbdkit build log:http://download.eng.bos.redhat.com/brewroot/vol/rhel-8/packages/nbdkit/1.20.6/2.module+el8.3.0+7637+9ed826e0/data/logs/x86_64/build.log

2.Find below info in the log:
[...]
+ cd /builddir/build/BUILD
+ cd nbdkit-1.20.6
+ export PYTHON=/usr/libexec/platform-python
+ PYTHON=/usr/libexec/platform-python
[...]
checking for python3... /usr/libexec/platform-python
checking version of /usr/libexec/platform-python... 3.6

Result: nbdkit use platform-python as interpreter during building,so change the bug from ON_QA to VERIFIED.

Comment 9 errata-xmlrpc 2020-11-17 17:50:26 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (virt:8.3 bug fix and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2020:5137


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