Bug 2227224 - golang_arches_future not populated
Summary: golang_arches_future not populated
Keywords:
Status: VERIFIED
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: go-rpm-macros
Version: CentOS Stream
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Alejandro Sáez Morollón
QA Contact: Edjunior Barbosa Machado
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-07-28 12:01 UTC by Alejandro Sáez Morollón
Modified: 2023-08-02 14:20 UTC (History)
8 users (show)

Fixed In Version: go-rpm-macros-3.2.0-2.el9
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-15193 0 None None None 2023-07-28 12:02:26 UTC

Description Alejandro Sáez Morollón 2023-07-28 12:01:41 UTC
Description of problem:
The macro golang_arches_future is not properly populated during the installation of the go-rpm-macros package.

Version-Release number of selected component (if applicable):
3.2.0

How reproducible:
Use golang_arches_future in any specfile in CentOS Stream 9

Steps to Reproduce:
1. Use golang_arches_future in a specfile
2. Build the package
3. It will fail.

Actual results:

error: Architecture is not included: x86_64
Building target platforms: x86_64

Expected results:

No error.

Additional info:

golang_arches_future, golang_arches, and gccgo_arches are placeholders in the macros file, and later, during the installation of the package, substituted for a list of valid architectures. The solution is as simple as declare the golang_arches_future in the same way golang_arches and gccgo_arches are declared in the specfile.

Comment 2 Alejandro Sáez Morollón 2023-07-31 15:52:22 UTC
(In reply to Maxwell G from comment #1)
> See
> https://src.fedoraproject.org/rpms/go-rpm-macros/c/
> b98334becd4c52e98e433e17118f9bf0e27903cc?branch=rawhide

Thanks for the reference. I didn't realized that when I opened the bug I didn't link to the merge request that I already had opened.

https://gitlab.com/redhat/centos-stream/rpms/go-rpm-macros/-/merge_requests/12


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