Bug 32898

Summary: golang package doesn't provide go.env
Product: Mageia Reporter: Bruno Cornec <bruno>
Component: RPM PackagesAssignee: QA Team <qa-bugs>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Normal CC: andrewsfarm, sysadmin-bugs
Version: 9Keywords: advisory, validated_update
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard: MGA9-64-OK
Source RPM: golang-1.21.5-1.mga9.src.rpm CVE:
Status comment:
Attachments: Log building with bm + current version of golang
Log of build with mock => current golang + clean chroot
Log of build with golang in testing

Description Bruno Cornec 2024-02-26 12:07:50 CET
Description of problem:

to compile some go package such as a new docker-compose 2.24.6 we need to have a correct setup of the GOPROXY variable, which is provided normally by the go.env file provided by golang-bin. This is not the case with our version.

Error messages obtained are: GOPROXY list is not the empty string, but contains no entries
Comment 1 Bruno Cornec 2024-02-26 12:24:11 CET
golang-1.21.7-1.1.mga9.src.rpm provided as un update for mga9 with the following packages generated:

golang-misc-1.21.7-1.1.mga9.noarch.rpm
golang-docs-1.21.7-1.1.mga9.noarch.rpm
golang-1.21.7-1.1.mga9.x86_64.rpm
golang-tests-1.21.7-1.1.mga9.noarch.rpm
golang-src-1.21.7-1.1.mga9.noarch.rpm
golang-bin-1.21.7-1.1.mga9.x86_64.rpm
golang-shared-1.21.7-1.1.mga9.x86_64.rpm

Used here to rebuild docker-compose

Status: NEW => ASSIGNED
Assignee: bugsquad => qa-bugs

katnatek 2024-02-26 21:07:39 CET

CC: (none) => andrewsfarm

katnatek 2024-02-26 21:07:49 CET

Keywords: (none) => advisory

Comment 2 katnatek 2024-02-27 02:27:57 CET
Can't reproduce the issue building in my system with bm or with mock with current version of golang

I'll upload both logs and will test again with the testing version to confirm that I still can build docker-compose 2.24.6
Comment 3 katnatek 2024-02-27 02:29:38 CET
Created attachment 14424 [details]
Log building with bm + current version of golang
Comment 4 katnatek 2024-02-27 02:32:19 CET
Created attachment 14425 [details]
Log of build with mock => current golang + clean chroot
Comment 5 katnatek 2024-02-27 02:45:34 CET
Created attachment 14426 [details]
Log of build with golang in testing

After clean previous BuildRequires I use qarepo to get testing versions 

instalando golang-bin-1.21.7-1.1.mga9.x86_64.rpm golang-1.21.7-1.1.mga9.x86_64.rpm golang-src-1.21.7-1.1.mga9.noarch.rpm desde //home/katnatek/qa-testing/x86_64
Preparando...                    ##################################################################################################
      1/3: golang-src            ##################################################################################################
      2/3: golang                ##################################################################################################
      3/3: golang-bin            ##################################################################################################

Looks good for me, even if I can't reproduce the issue

All the test in Real Mageia 9 x86_64
katnatek 2024-02-27 02:46:00 CET

Whiteboard: (none) => MGA9-64-OK

Comment 6 Thomas Andrews 2024-02-27 15:08:26 CET
Validating.

Keywords: (none) => validated_update
CC: (none) => sysadmin-bugs

Comment 7 Mageia Robot 2024-02-28 06:49:10 CET
An update for this issue has been pushed to the Mageia Updates repository.

https://advisories.mageia.org/MGAA-2024-0078.html

Resolution: (none) => FIXED
Status: ASSIGNED => RESOLVED