registry-token-server build failure on %{gopath} macro
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Critical
|
Scott Little |
Bug Description
Brief Description
-----------------
registry-
I suspect it needs a 'BuildRequires go-srpm-macros' to gain reliable access to the %{gopath} macro.
Severity
--------
Critical
Steps to Reproduce
------------------
build-pkgs
build-pkgs --dep-test registry-
Expected Behavior
------------------
registry-
Actual Behavior
----------------
sometimes registry-
Reproducibility
---------------
Perhaps 25% ???
Might depend on build order... before or after golang-1.17.5
System Configuration
-------
N/A
Branch/Pull Time/Commit
-------
July 28, 2022
Last Pass
---------
Timestamp/Logs
--------------
19:38:08 ERROR: Exception(
19:38:08 INFO: Results and/or logs in: /localdisk/
19:38:08 ERROR: Command failed:
19:38:08 # bash --login -c /usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/
...
+ GOPATH=
+ go env -w GO111MODULE=auto
BUILDSTDERR: go: GOPATH entry is relative; must be absolute path: "%{gopath}".
BUILDSTDERR: For more details see: 'go help gopath'
BUILDSTDERR: error: Bad exit status from /var/tmp/
RPM build errors:
BUILDSTDERR: Bad exit status from /var/tmp/
Child return code was: 1
EXCEPTION: [Error()]
Traceback (most recent call last):
File "/usr/lib/
result = func(*args, **kw)
File "/usr/lib/
raise exception.
mockbuild.
# bash --login -c /usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/
Test Activity
-------------
Build
Workaround
----------
N/A
tags: | added: stx.build |
tags: | added: stx.7.0 |
Changed in starlingx: | |
assignee: | nobody → Scott Little (slittle1) |
Changed in starlingx: | |
status: | New → Fix Released |
Changed in starlingx: | |
importance: | Undecided → Critical |
tags: | added: in-r-stx70 |
Fix proposed to branch: r/stx.7.0 /review. opendev. org/c/starlingx /containers/ +/852276
Review: https:/