golang-1.16 build failure, go-srpm-macros issue
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Medium
|
Gleb Aronsky |
Bug Description
Brief Description
-----------------
golang-1.16 fails to build if golang-1.17 builds first. The issue
seems to center on go-srpm-macros, which 1.16 builds, but which 1.17
has split out into an independent package.
Severity
--------
Critcal
Steps to Reproduce
------------------
Intermittent if using:
build-pkgs --clean
build-pkgs
fully reproducible with:
build-pkgs golang-1.17.5
build-pkgs golang-1.16.12
Expected Behavior
------------------
All packages build
Actual Behavior
----------------
golang-1.16.12 fails to build on CentOS
Reproducibility
---------------
intermittent for full builds
100% for incremental builds that involve golang-1.16.12
System Configuration
-------
N/A
Branch/Pull Time/Commit
-------
April 8 2022
Last Pass
---------
Prior yo introduction of golang-1.17.5
Timestamp/Logs
--------------
DEBUG util.py:587: Getting requirements for golang-
DEBUG util.py:587: --> Already installed : coreutils-
DEBUG util.py:587: --> glibc-static-
DEBUG util.py:587: --> golang-
DEBUG util.py:587: --> Already installed : hostname-
DEBUG util.py:587: --> Already installed : pcre-devel-
DEBUG util.py:587: --> Already installed : 4:perl-
DEBUG util.py:587: --> Already installed : procps-
DEBUG util.py:587: --> Running transaction check
DEBUG util.py:587: ---> Package glibc-static.x86_64 0:2.17-323.el7_9 will be installed
DEBUG util.py:587: ---> Package golang-
DEBUG util.py:587: --> Processing Dependency: go-srpm-macros = 2-17.el7 for package: golang-
DEBUG util.py:587: Package golang is obsoleted by golang-1.17.5, but obsoleting package does not provide for requirements
DEBUG util.py:587: --> Processing Dependency: golang-1.17.5-bin = 1.17.5-1.tis.2 for package: golang-
DEBUG util.py:587: --> Processing Dependency: golang-1.17.5-src = 1.17.5-1.tis.2 for package: golang-
DEBUG util.py:587: --> Running transaction check
DEBUG util.py:587: ---> Package golang-
DEBUG util.py:587: --> Processing Dependency: go-srpm-macros = 2-17.el7 for package: golang-
DEBUG util.py:587: Package golang is obsoleted by golang-1.17.5, but obsoleting package does not provide for requirements
DEBUG util.py:587: ---> Package golang-
DEBUG util.py:587: ---> Package golang-
DEBUG util.py:587: --> Finished Dependency Resolution
DEBUG util.py:587: Error: Package: golang-
DEBUG util.py:587: Requires: go-srpm-macros = 2-17.el7
DEBUG util.py:587: Available: go-srpm-
DEBUG util.py:587: go-srpm-macros = 2-17.el7
DEBUG util.py:587: Available: golang-
DEBUG util.py:587: go-srpm-macros
Test Activity
-------------
Build
Workaround
----------
build-pkgs --clean golang-1.17.5
build-pkgs golang-1.16.12
build-pkgs
Changed in starlingx: | |
importance: | Medium → Critical |
Changed in starlingx: | |
assignee: | nobody → Gleb Aronsky (gleb-aronsky) |
screening: stx.7.0 / medium - build issue, but there is a workaround