Bug 2573693 - export data version 5 is greater than maximum supported version 4
Summary: export data version 5 is greater than maximum supported version 4
Keywords:
Status: ASSIGNED
Alias: None
Product: Fedora
Classification: Fedora
Component: golangci-lint
Version: 45
Hardware: Unspecified
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Maxwell G
QA Contact:
URL:
Whiteboard:
Depends On: 2504110
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-11-16 10:54 UTC by Beñat Garcia
Modified: 2026-11-19 05:48 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Beñat Garcia 2026-11-16 10:54:39 UTC
"golangci-lint run" fails on a hello world program due to:

could not import fmt (/usr/lib/golang/src/fmt/errors.go:8:2: could not import errors (/usr/lib/golang/src/errors/wrap.go:8:2: could not im
port internal/reflectlite (/usr/lib/golang/src/internal/reflectlite/swapper.go:8:2: could not import internal/goarch (-: could not load export data: in
ternal error in importing "internal/goarch" (cannot decode "internal/goarch", export data version 5 is greater than maximum supported version 4);

This is not reproducible with the latest upstream build.

Reproducible: Always

Steps to Reproduce:
# mkdir foobar
# cd foobar/
foobar # go mod init example.org/foobar
go: creating new go.mod: module example.org/foobar
# ls
go.mod
foobar # touch main.go
foobar # ls
go.mod  main.go
# vim main.go
# cat << EOF > main.go 
package main

import (
        "fmt"
)

func main() {
        fmt.Println("Hello world")
}
EOF
# go run main.go
Hello world
# podman run --rm -it -v $PWD:/var/src/:Z -w /var/src fedora:latest /bin/bash
[root@56bb50f36179 src]# dnf install -y golang golangci-lint
Updating and loading repositories:
 Fedora 45 openh264 (From Cisco) - x86_64                                                                      100% |   6.4 KiB/s |   5.3 KiB |  00m01s
 Fedora 45 - x86_64 - Updates                                                                                  100% |   5.4 MiB/s |   5.0 MiB |  00m01s
 Fedora 45 - x86_64                                                                                            100% |  17.2 MiB/s |  36.6 MiB |  00m02s
Repositories loaded.
Package                                            Arch         Version                                            Repository                      Size
Installing:
 golang                                            x86_64       0:1.27.4-2.fc45                                    updates                     10.3 MiB
 golangci-lint                                     x86_64       0:2.12.2-2.fc45                                    fedora                      49.1 MiB
Installing dependencies:
 binutils                                          x86_64       0:2.47-1.fc45                                      fedora                      28.4 MiB
 cpp                                               x86_64       0:16.2.1-3.fc45                                    updates                     42.6 MiB
 elfutils-debuginfod-client                        x86_64       0:0.197-1.fc45                                     updates                     79.9 KiB
 expat                                             x86_64       0:2.9.0-1.fc45                                     updates                    349.6 KiB
 gcc                                               x86_64       0:16.2.1-3.fc45                                    updates                    121.8 MiB
 glibc-devel                                       x86_64       0:2.44-2.fc45                                      updates                      2.3 MiB
 go-filesystem                                     x86_64       0:3.8.0-3.fc45                                     fedora                       0.0   B
 golang-bin                                        x86_64       0:1.27.4-2.fc45                                    updates                     88.6 MiB
 golang-src                                        noarch       0:1.27.4-2.fc45                                    updates                     90.9 MiB
 jansson                                           x86_64       0:2.14-5.fc45                                      fedora                      89.0 KiB
 kernel-headers                                    x86_64       0:7.3.3-300.fc45                                   updates                      7.1 MiB
 less                                              x86_64       0:710-2.fc45                                       updates                    488.7 KiB
 libatomic                                         x86_64       0:16.2.1-3.fc45                                    updates                     45.6 KiB
 libedit                                           x86_64       0:3.1-60.20260512cvs.fc45                          fedora                     248.3 KiB
 libmpc                                            x86_64       0:1.4.1-2.fc45                                     fedora                     168.8 KiB
 libpkgconf                                        x86_64       0:2.5.1-2.fc45                                     fedora                      90.1 KiB
 libxcrypt-devel                                   x86_64       0:4.5.2-4.fc45                                     fedora                      31.0 KiB
 make                                              x86_64       1:4.4.1-13.fc45                                    fedora                       1.8 MiB
 mpdecimal                                         x86_64       0:4.0.1-4.fc45                                     fedora                     221.2 KiB
 openssh                                           x86_64       0:10.5p1-1.fc45                                    fedora                       1.6 MiB
 openssh-clients                                   x86_64       0:10.5p1-1.fc45                                    fedora                       2.6 MiB
 pkgconf                                           x86_64       0:2.5.1-2.fc45                                     fedora                      92.7 KiB
 pkgconf-m4                                        noarch       0:2.5.1-2.fc45                                     fedora                      14.3 KiB
 pkgconf-pkg-config                                x86_64       0:2.5.1-2.fc45                                     fedora                     989.0   B
 python-pip-wheel                                  noarch       0:26.1.2-5.fc45                                    fedora                       1.2 MiB
 python3                                           x86_64       0:3.15.2-1.fc45                                    updates                     28.7 KiB
 python3-libs                                      x86_64       0:3.15.2-1.fc45                                    updates                     48.3 MiB
Installing weak dependencies:
 7zip                                              x86_64       0:26.04-1.fc45                                     updates                      3.4 MiB
 git-core                                          x86_64       0:2.56.1-1.fc45                                    updates                     27.7 MiB
 python-unversioned-command                        noarch       0:3.15.2-1.fc45                                    updates                     23.0   B
 python3-html2text                                 noarch       0:2025.4.15-8.fc45                                 fedora                     290.6 KiB
 unzip                                             x86_64       0:6.0-71.fc45                                      fedora                     441.8 KiB

Transaction Summary:
 Installing:        34 packages

Total size of inbound packages is 144 MiB. Need to download 144 MiB.
After this operation, 530 MiB extra will be used (install 530 MiB, remove 0 B).
[ 1/34] golang-0:1.27.4-2.fc45.x86_64                                                                          100% |   4.0 MiB/s |   1.4 MiB |  00m00s
[ 2/34] golang-bin-0:1.27.4-2.fc45.x86_64                                                                      100% |  23.1 MiB/s |  23.7 MiB |  00m01s
[ 3/34] golang-src-0:1.27.4-2.fc45.noarch                                                                      100% |  22.4 MiB/s |  15.4 MiB |  00m01s
[ 4/34] golangci-lint-0:2.12.2-2.fc45.x86_64                                                                   100% |  14.7 MiB/s |  14.9 MiB |  00m01s
[ 5/34] go-filesystem-0:3.8.0-3.fc45.x86_64                                                                    100% | 208.4 KiB/s |   8.3 KiB |  00m00s
[ 6/34] libmpc-0:1.4.1-2.fc45.x86_64                                                                           100% |   1.6 MiB/s |  75.7 KiB |  00m00s
[ 7/34] make-1:4.4.1-13.fc45.x86_64                                                                            100% |  11.5 MiB/s | 588.3 KiB |  00m00s
[ 8/34] cpp-0:16.2.1-3.fc45.x86_64                                                                             100% |  36.9 MiB/s |  14.6 MiB |  00m00s
[ 9/34] libxcrypt-devel-0:4.5.2-4.fc45.x86_64                                                                  100% | 760.7 KiB/s |  30.4 KiB |  00m00s
[10/34] glibc-devel-0:2.44-2.fc45.x86_64                                                                       100% |   2.2 MiB/s | 658.8 KiB |  00m00s
[11/34] libatomic-0:16.2.1-3.fc45.x86_64                                                                       100% |   1.3 MiB/s |  58.9 KiB |  00m00s
[12/34] jansson-0:2.14-5.fc45.x86_64                                                                           100% | 190.8 KiB/s |  46.9 KiB |  00m00s
[13/34] binutils-0:2.47-1.fc45.x86_64                                                                          100% |  15.6 MiB/s |   6.2 MiB |  00m00s
[14/34] pkgconf-pkg-config-0:2.5.1-2.fc45.x86_64                                                               100% |  78.0 KiB/s |   9.5 KiB |  00m00s
[15/34] pkgconf-0:2.5.1-2.fc45.x86_64                                                                          100% |   1.2 MiB/s |  49.0 KiB |  00m00s
[16/34] pkgconf-m4-0:2.5.1-2.fc45.noarch                                                                       100% | 174.8 KiB/s |  13.8 KiB |  00m00s
[17/34] libpkgconf-0:2.5.1-2.fc45.x86_64                                                                       100% |   1.1 MiB/s |  42.6 KiB |  00m00s
[18/34] elfutils-debuginfod-client-0:0.197-1.fc45.x86_64                                                       100% |   1.0 MiB/s |  47.4 KiB |  00m00s
[19/34] kernel-headers-0:7.3.3-300.fc45.x86_64                                                                 100% |   8.6 MiB/s |   1.8 MiB |  00m00s
[20/34] git-core-0:2.56.1-1.fc45.x86_64                                                                        100% |  24.4 MiB/s |   5.8 MiB |  00m00s
[21/34] openssh-clients-0:10.5p1-1.fc45.x86_64                                                                 100% |  10.1 MiB/s | 824.6 KiB |  00m00s
[22/34] libedit-0:3.1-60.20260512cvs.fc45.x86_64                                                               100% |   2.7 MiB/s | 110.0 KiB |  00m00s
[23/34] openssh-0:10.5p1-1.fc45.x86_64                                                                         100% |   4.6 MiB/s | 376.3 KiB |  00m00s
[24/34] expat-0:2.9.0-1.fc45.x86_64                                                                            100% |   2.9 MiB/s | 136.2 KiB |  00m00s
[25/34] unzip-0:6.0-71.fc45.x86_64                                                                             100% |   4.8 MiB/s | 199.6 KiB |  00m00s
[26/34] less-0:710-2.fc45.x86_64                                                                               100% |   4.7 MiB/s | 231.7 KiB |  00m00s
[27/34] python3-html2text-0:2025.4.15-8.fc45.noarch                                                            100% |   2.0 MiB/s |  81.2 KiB |  00m00s
[28/34] 7zip-0:26.04-1.fc45.x86_64                                                                             100% |  22.3 MiB/s |   1.3 MiB |  00m00s
[29/34] python3-0:3.15.2-1.fc45.x86_64                                                                         100% | 605.6 KiB/s |  27.9 KiB |  00m00s
[30/34] mpdecimal-0:4.0.1-4.fc45.x86_64                                                                        100% |   2.4 MiB/s |  98.5 KiB |  00m00s
[31/34] gcc-0:16.2.1-3.fc45.x86_64                                                                             100% |  27.0 MiB/s |  43.2 MiB |  00m02s
[32/34] python-pip-wheel-0:26.1.2-5.fc45.noarch                                                                100% |  10.0 MiB/s |   1.2 MiB |  00m00s
[33/34] python-unversioned-command-0:3.15.2-1.fc45.noarch                                                      100% | 212.4 KiB/s |  10.0 KiB |  00m00s
[34/34] python3-libs-0:3.15.2-1.fc45.x86_64                                                                    100% |  37.9 MiB/s |  11.2 MiB |  00m00s
-------------------------------------------------------------------------------------------------------------------------------------------------------
[34/34] Total                                                                                                  100% |  51.5 MiB/s | 144.4 MiB |  00m03s
Running transaction
[ 1/36] Verify package files                                                                                   100% |  96.0   B/s |  34.0   B |  00m00s
[ 2/36] Prepare transaction                                                                                    100% | 492.0   B/s |  34.0   B |  00m00s
[ 3/36] Installing expat-0:2.9.0-1.fc45.x86_64                                                                 100% |  26.4 MiB/s | 351.7 KiB |  00m00s
[ 4/36] Installing libmpc-0:1.4.1-2.fc45.x86_64                                                                100% | 166.4 MiB/s | 170.4 KiB |  00m00s
[ 5/36] Installing cpp-0:16.2.1-3.fc45.x86_64                                                                  100% | 506.8 MiB/s |  42.6 MiB |  00m00s
[ 6/36] Installing python-pip-wheel-0:26.1.2-5.fc45.noarch                                                     100% | 623.2 MiB/s |   1.2 MiB |  00m00s
[ 7/36] Installing mpdecimal-0:4.0.1-4.fc45.x86_64                                                             100% |  54.4 MiB/s | 222.7 KiB |  00m00s
[ 8/36] Installing python3-libs-0:3.15.2-1.fc45.x86_64                                                         100% | 276.7 MiB/s |  48.7 MiB |  00m00s
[ 9/36] Installing python3-0:3.15.2-1.fc45.x86_64                                                              100% |   2.5 MiB/s |  30.4 KiB |  00m00s
[10/36] Installing less-0:710-2.fc45.x86_64                                                                    100% |  37.0 MiB/s | 492.0 KiB |  00m00s
[11/36] Installing openssh-0:10.5p1-1.fc45.x86_64                                                              100% | 122.6 MiB/s |   1.6 MiB |  00m00s
[12/34] jansson-0:2.14-5.fc45.x86_64                                                                           100% | 190.8 KiB/s |  46.9 KiB |  00m00s
[13/34] binutils-0:2.47-1.fc45.x86_64                                                                          100% |  15.6 MiB/s |   6.2 MiB |  00m00s
[14/34] pkgconf-pkg-config-0:2.5.1-2.fc45.x86_64                                                               100% |  78.0 KiB/s |   9.5 KiB |  00m00s
[15/34] pkgconf-0:2.5.1-2.fc45.x86_64                                                                          100% |   1.2 MiB/s |  49.0 KiB |  00m00s
[16/34] pkgconf-m4-0:2.5.1-2.fc45.noarch                                                                       100% | 174.8 KiB/s |  13.8 KiB |  00m00s
[17/34] libpkgconf-0:2.5.1-2.fc45.x86_64                                                                       100% |   1.1 MiB/s |  42.6 KiB |  00m00s
[18/34] elfutils-debuginfod-client-0:0.197-1.fc45.x86_64                                                       100% |   1.0 MiB/s |  47.4 KiB |  00m00s
[19/34] kernel-headers-0:7.3.3-300.fc45.x86_64                                                                 100% |   8.6 MiB/s |   1.8 MiB |  00m00s
[20/34] git-core-0:2.56.1-1.fc45.x86_64                                                                        100% |  24.4 MiB/s |   5.8 MiB |  00m00s
[21/34] openssh-clients-0:10.5p1-1.fc45.x86_64                                                                 100% |  10.1 MiB/s | 824.6 KiB |  00m00s
[22/34] libedit-0:3.1-60.20260512cvs.fc45.x86_64                                                               100% |   2.7 MiB/s | 110.0 KiB |  00m00s
[23/34] openssh-0:10.5p1-1.fc45.x86_64                                                                         100% |   4.6 MiB/s | 376.3 KiB |  00m00s
[24/34] expat-0:2.9.0-1.fc45.x86_64                                                                            100% |   2.9 MiB/s | 136.2 KiB |  00m00s
[25/34] unzip-0:6.0-71.fc45.x86_64                                                                             100% |   4.8 MiB/s | 199.6 KiB |  00m00s
[26/34] less-0:710-2.fc45.x86_64                                                                               100% |   4.7 MiB/s | 231.7 KiB |  00m00s
[27/34] python3-html2text-0:2025.4.15-8.fc45.noarch                                                            100% |   2.0 MiB/s |  81.2 KiB |  00m00s
[28/34] 7zip-0:26.04-1.fc45.x86_64                                                                             100% |  22.3 MiB/s |   1.3 MiB |  00m00s
[29/34] python3-0:3.15.2-1.fc45.x86_64                                                                         100% | 605.6 KiB/s |  27.9 KiB |  00m00s
[30/34] mpdecimal-0:4.0.1-4.fc45.x86_64                                                                        100% |   2.4 MiB/s |  98.5 KiB |  00m00s
[31/34] gcc-0:16.2.1-3.fc45.x86_64                                                                             100% |  27.0 MiB/s |  43.2 MiB |  00m02s
[32/34] python-pip-wheel-0:26.1.2-5.fc45.noarch                                                                100% |  10.0 MiB/s |   1.2 MiB |  00m00s
[33/34] python-unversioned-command-0:3.15.2-1.fc45.noarch                                                      100% | 212.4 KiB/s |  10.0 KiB |  00m00s
[34/34] python3-libs-0:3.15.2-1.fc45.x86_64                                                                    100% |  37.9 MiB/s |  11.2 MiB |  00m00s
-------------------------------------------------------------------------------------------------------------------------------------------------------
[34/34] Total                                                                                                  100% |  51.5 MiB/s | 144.4 MiB |  00m03s
Running transaction
[ 1/36] Verify package files                                                                                   100% |  96.0   B/s |  34.0   B |  00m00s
[ 2/36] Prepare transaction                                                                                    100% | 492.0   B/s |  34.0   B |  00m00s
[ 3/36] Installing expat-0:2.9.0-1.fc45.x86_64                                                                 100% |  26.4 MiB/s | 351.7 KiB |  00m00s
[ 4/36] Installing libmpc-0:1.4.1-2.fc45.x86_64                                                                100% | 166.4 MiB/s | 170.4 KiB |  00m00s
[ 5/36] Installing cpp-0:16.2.1-3.fc45.x86_64                                                                  100% | 506.8 MiB/s |  42.6 MiB |  00m00s
[ 6/36] Installing python-pip-wheel-0:26.1.2-5.fc45.noarch                                                     100% | 623.2 MiB/s |   1.2 MiB |  00m00s
[ 7/36] Installing mpdecimal-0:4.0.1-4.fc45.x86_64                                                             100% |  54.4 MiB/s | 222.7 KiB |  00m00s
[ 8/36] Installing python3-libs-0:3.15.2-1.fc45.x86_64                                                         100% | 276.7 MiB/s |  48.7 MiB |  00m00s
[ 9/36] Installing python3-0:3.15.2-1.fc45.x86_64                                                              100% |   2.5 MiB/s |  30.4 KiB |  00m00s
[10/36] Installing less-0:710-2.fc45.x86_64                                                                    100% |  37.0 MiB/s | 492.0 KiB |  00m00s
[11/36] Installing openssh-0:10.5p1-1.fc45.x86_64                                                              100% | 122.6 MiB/s |   1.6 MiB |  00m00s
[12/36] Installing libedit-0:3.1-60.20260512cvs.fc45.x86_64                                                    100% | 244.1 MiB/s | 250.0 KiB |  00m00s
[13/36] Installing openssh-clients-0:10.5p1-1.fc45.x86_64                                                      100% |  92.2 MiB/s |   2.6 MiB |  00m00s
[14/36] Installing kernel-headers-0:7.3.3-300.fc45.x86_64                                                      100% | 118.3 MiB/s |   7.2 MiB |  00m00s
[15/36] Installing elfutils-debuginfod-client-0:0.197-1.fc45.x86_64                                            100% |   6.2 MiB/s |  82.2 KiB |  00m00s
[16/36] Installing libpkgconf-0:2.5.1-2.fc45.x86_64                                                            100% |  89.1 MiB/s |  91.3 KiB |  00m00s
[17/36] Installing pkgconf-0:2.5.1-2.fc45.x86_64                                                               100% |   7.8 MiB/s |  95.2 KiB |  00m00s
[18/36] Installing pkgconf-m4-0:2.5.1-2.fc45.noarch                                                            100% |   0.0   B/s |  14.7 KiB |  00m00s
[19/36] Installing pkgconf-pkg-config-0:2.5.1-2.fc45.x86_64                                                    100% | 136.4 KiB/s |   1.8 KiB |  00m00s
[20/36] Installing glibc-devel-0:2.44-2.fc45.x86_64                                                            100% |  85.3 MiB/s |   2.4 MiB |  00m00s
[21/36] Installing libxcrypt-devel-0:4.5.2-4.fc45.x86_64                                                       100% |   0.0   B/s |  33.3 KiB |  00m00s
[22/36] Installing jansson-0:2.14-5.fc45.x86_64                                                                100% |  88.2 MiB/s |  90.3 KiB |  00m00s
[23/36] Installing binutils-0:2.47-1.fc45.x86_64                                                               100% | 507.1 MiB/s |  28.4 MiB |  00m00s
[24/36] Installing libatomic-0:16.2.1-3.fc45.x86_64                                                            100% |  45.6 MiB/s |  46.7 KiB |  00m00s
[25/36] Installing make-1:4.4.1-13.fc45.x86_64                                                                 100% | 112.7 MiB/s |   1.8 MiB |  00m00s
[26/36] Installing gcc-0:16.2.1-3.fc45.x86_64                                                                  100% | 631.2 MiB/s | 121.8 MiB |  00m00s
[27/36] Installing go-filesystem-0:3.8.0-3.fc45.x86_64                                                         100% |  47.9 KiB/s | 392.0   B |  00m00s
[28/36] Installing golang-src-0:1.27.4-2.fc45.noarch                                                           100% | 178.2 MiB/s |  92.0 MiB |  00m01s
[29/36] Installing golang-0:1.27.4-2.fc45.x86_64                                                               100% | 685.8 MiB/s |  10.3 MiB |  00m00s
[30/36] Installing golang-bin-0:1.27.4-2.fc45.x86_64                                                           100% | 481.3 MiB/s |  88.6 MiB |  00m00s
[31/36] Installing golangci-lint-0:2.12.2-2.fc45.x86_64                                                        100% | 334.6 MiB/s |  49.2 MiB |  00m00s
[32/36] Installing git-core-0:2.56.1-1.fc45.x86_64                                                             100% | 504.3 MiB/s |  27.7 MiB |  00m00s
[33/36] Installing python3-html2text-0:2025.4.15-8.fc45.noarch                                                 100% |  20.9 MiB/s | 299.2 KiB |  00m00s
[34/36] Installing python-unversioned-command-0:3.15.2-1.fc45.noarch                                           100% |  37.6 KiB/s | 424.0   B |  00m00s
[35/36] Installing 7zip-0:26.04-1.fc45.x86_64                                                                  100% | 186.4 MiB/s |   3.4 MiB |  00m00s
[36/36] Installing unzip-0:6.0-71.fc45.x86_64                                                                  100% |   9.1 MiB/s | 445.3 KiB |  00m00s
Complete!
[root@56bb50f36179 src]# golangci-lint run
main.go:4:2: could not import fmt (/usr/lib/golang/src/fmt/errors.go:8:2: could not import errors (/usr/lib/golang/src/errors/wrap.go:8:2: could not im
port internal/reflectlite (/usr/lib/golang/src/internal/reflectlite/swapper.go:8:2: could not import internal/goarch (-: could not load export data: in
ternal error in importing "internal/goarch" (cannot decode "internal/goarch", export data version 5 is greater than maximum supported version 4); pleas
e report an issue)))) (typecheck)
        "fmt"
        ^
1 issues:
* typecheck: 1
[root@56bb50f36179 src]# 

Actual Results:
golangci-lint fails even on the simplest program.

Expected Results:
Pass


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