Bug 32898 - golang package doesn't provide go.env
Summary: golang package doesn't provide go.env
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 9
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: QA Team
QA Contact:
URL:
Whiteboard: MGA9-64-OK
Keywords: advisory, validated_update
Depends on:
Blocks:
 
Reported: 2024-02-26 12:07 CET by Bruno Cornec
Modified: 2024-02-28 06:49 CET (History)
2 users (show)

See Also:
Source RPM: golang-1.21.5-1.mga9.src.rpm
CVE:
Status comment:


Attachments
Log building with bm + current version of golang (6.38 KB, text/plain)
2024-02-27 02:29 CET, katnatek
Details
Log of build with mock => current golang + clean chroot (8.61 KB, text/plain)
2024-02-27 02:32 CET, katnatek
Details
Log of build with golang in testing (6.38 KB, text/plain)
2024-02-27 02:45 CET, katnatek
Details

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


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