#1055291 golang-github-cilium-ebpf: Breaks compilation on loong64

#1055291#5
Date:
2023-11-03 16:23:03 UTC
From:
To:
I noticed that podman doesn't build on loong64 with this being the relevant
part from the build log:

# github.com/cilium/ebpf/internal
src/github.com/cilium/ebpf/internal/vdso.go:64:28: undefined: NativeEndian

Looking at the upstream sources, I believe this commit should fix that:

https://github.com/cilium/ebpf/commit/00ec3bb28e0c3158e45080f929c51377499835c9

Currently, debian ships version 0.9.1, the patch above was merged for the v0.11
release.

#1055291#10
Date:
2025-09-18 10:49:22 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
golang-github-cilium-ebpf, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1055291@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Reinhard Tartler <siretart@tauware.de> (supplier of updated golang-github-cilium-ebpf package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Thu, 18 Sep 2025 06:01:40 -0400
Source: golang-github-cilium-ebpf
Architecture: source
Version: 0.17.3+ds1-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Go Packaging Team <team+pkg-go@tracker.debian.org>
Changed-By: Reinhard Tartler <siretart@tauware.de>
Closes: 1055291
Changes:
 golang-github-cilium-ebpf (0.17.3+ds1-2) unstable; urgency=medium
 .
   * Upload to unstable
   * Verified that it includes the commit to allow compilation on
     loong64, Closes: #1055291
 .
 golang-github-cilium-ebpf (0.17.3+ds1-1) experimental; urgency=medium
 .
   * Team upload.
   * New upstream version
   * debian/rules:
     - Fix location to output.tpl
     - Exclude non-essential packages from build
   * debian/patches:
     - drop old patch that no longer applies
     - Revert upstream commit 8462e8f: "internal/linux: use unix.Auxv"
       to avoid dependency on golang.org/x/sys v0.30.0
     - Skip some tests that require permissions not found inside user
       namespaces
   * debian/control:
     - Depend on golang-github-go-quicktest-qt-dev
     - Depend on golang-github-jsimonetti-rtnetlink-dev
     - Bump Standards version, no changes needed
   * Generalize lintian overrides to minimize toil when updating version
   * debian/watch: Repack with repacksuffix
Checksums-Sha1:
 24436e3df0453486482a65eae72ecae27102d0e9 2686 golang-github-cilium-ebpf_0.17.3+ds1-2.dsc
 8f9cade6d7727e1d149c3f083eaf9118d3adf246 7020 golang-github-cilium-ebpf_0.17.3+ds1-2.debian.tar.xz
 46376a2521b39ec1ead160c4dc94ef4be671b5a1 4082680 golang-github-cilium-ebpf_0.17.3+ds1-2.git.tar.xz
 81cd13d98ceb59ebce141d0637315e49ec99a719 18310 golang-github-cilium-ebpf_0.17.3+ds1-2_source.buildinfo
Checksums-Sha256:
 e31bef65066b3ca1408b3fd958c29f1452798ee59c93a331138ddfcd9795ea66 2686 golang-github-cilium-ebpf_0.17.3+ds1-2.dsc
 f479b84602c0043c000c0c9dc0a1cbca5f93975bedf9b791cee3a3e98ced598c 7020 golang-github-cilium-ebpf_0.17.3+ds1-2.debian.tar.xz
 245ef6aab39a303c4fa7be1daf03a09226093d3c2180a65a936a2c5d5e3ddeea 4082680 golang-github-cilium-ebpf_0.17.3+ds1-2.git.tar.xz
 f100afde444248f6e102bdce76b8188c2a5348e2e37c9322aa7743e1f5fbb4bc 18310 golang-github-cilium-ebpf_0.17.3+ds1-2_source.buildinfo
Files:
 179f1671034cbde056d37fa2c8c74bf0 2686 golang optional golang-github-cilium-ebpf_0.17.3+ds1-2.dsc
 4d916a172d588da24643e015ccdf6c50 7020 golang optional golang-github-cilium-ebpf_0.17.3+ds1-2.debian.tar.xz
 40c302713ea562b132bc704c1c66d348 4082680 golang optional golang-github-cilium-ebpf_0.17.3+ds1-2.git.tar.xz
 5b38c79ec95e0f777bfae4fe6c16e0e7 18310 golang optional golang-github-cilium-ebpf_0.17.3+ds1-2_source.buildinfo
Git-Tag-Info: tag=737cc0e0ddb21f29485bfe47f1e0134775d14d45 fp=30de7d1763ab9452c7e0825049a76977942826cb
Git-Tag-Tagger: Reinhard Tartler <siretart@tauware.de>
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEN02M5NuW6cvUwJcqYG0ITkaDwHkFAmjL3RoACgkQYG0ITkaD
wHn0Xg/9FIzdIlElZcTKlRyxt2ospS1McrOObLczlkuHrrlF5qxQLzPHWPTcYN6I
qA6cABdU3G068f9LuBm5XkDqhVl0AUbCGokcAKwL0HeKKzUZG5fca24EEIgDEDkb
N+jXB3341rI+YygtzDS9PYN9XYgX4et3CwHBhbQEUb+hvIk/SykpKghGV4A2IXAS
4BGJSHhmz7AOO6fXu6M/sZEfXYRcYy+hb3NVCGODsoJtmj9V57jiQdaj9iafdt/Y
1z9/qMQ6RQxklHXXI1Ku9bKh82NGPiXT6Lm6u2ozfq1f4VIGtGdLrFdKgnDVyX/1
VE8m3I4lPjC/acUjWZsfqXDw0px3gehftmWnGtt9wuifuBS45kt5J1mI6Cvg1C8r
Zz5JTm6Xhy+Ka1aADb088viREviqXzBh0tCVyrRQItPkQ9rAeTnKeYbRVU1U9ycH
BKjsBd/hoabJVSoY41kZEBgoeP4xDJm0KrwyGJ2AfknB0k3Rde2bqANli0TFxdLM
9pRmoI+k2piPkJNnxTv+62pMJjSV22d+brzteA4Xjz0eGzcXmkh3KkGlEjLEukAj
/fw9EMEZdD46og3KCnd3KoqQQruqvl30KQ1+skaKFrYbf+IiGnNGAS5TI6+/vIk/
8KsF5wv1A6nHlP1+3FgcHVTsAr7m7jiCFNsDwhD0yL+ed3+tbTs=
=bP9I
-----END PGP SIGNATURE-----