puppet-manifests failes to compile on centos
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Critical
|
Jorge Saffe |
Bug Description
Brief Description
-----------------
puppet-manifests failes to compile on centos. Debian is unaffected.
I suspect it relates to the automatic generation of pyc/pyo files
performed by rpmbuild, and the selection of python2 vs 3.
Introduced by...
https:/
Probably relevant discussion here ...
https:/
Severity
--------
Critical
Steps to Reproduce
------------------
build-pkgs
Expected Behavior
------------------
All packages compile
Actual Behavior
----------------
puppet-manifests fails to compile
Reproducibility
---------------
Reproducible
System Configuration
-------
N/A
Branch/Pull Time/Commit
-------
20230110T011934Z
Last Pass
---------
Did this test scenario pass previously? If so, please indicate the load/pull time info of the last pass.
Use this section to also indicate if this is a new test scenario.
Timestamp/Logs
--------------
+ make install BINDIR=
install -m 755 -D bin/puppet-
install -m 755 -D bin/apply_
install -m 755 -D bin/network_
install -m 755 -D bin/network_
install -m 755 -D bin/puppet-
install -m 755 -D bin/puppet-
install -d -m 0755 /builddir/
install -m 640 etc/hiera.yaml /builddir/
cp -R hieradata /builddir/
cp -R manifests /builddir/
install -d -m 0755 /builddir/
cp -R modules/platform /builddir/
cp -R modules/openstack /builddir/
+ /usr/lib/
+ /usr/lib/
+ /usr/lib/
+ /usr/lib/
+ /usr/lib/
+ /usr/lib/
Compiling /builddir/
File "/usr/share/
file.
SyntaxError: invalid syntax
RPM build errors:
BUILDSTDERR: error: Bad exit status from /var/tmp/
BUILDSTDERR: Bad exit status from /var/tmp/
Child return code was: 1
Test Activity
-------------
Build
Workaround
----------
N/A
Changed in starlingx: | |
assignee: | nobody → Jorge Saffe (jsaffe) |
Jorge, please investigate/address this centos build failure introduced by your recent change. The issue is related to python3 vs python2 syntax. Note: We are still running CentOS builds in StarlingX until the end-of-Jan, so we need this issue addressed asap.