Your message dated Sat, 08 Feb 2025 16:56:48 +0000
with message-id <[email protected]>
and subject line Bug#1095452: fixed in runc 1.1.15+ds1-2
has caused the Debian Bug report #1095452,
regarding runc: FTBFS: Improve support for loongarch64
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
1095452: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1095452
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: runc
Version: 1.1.15+ds1-1
Severity: normal
Tags: ftbfs
User: [email protected]
Usertags: loong64
X-Debbugs-CC: [email protected]
Dear maintainers,
User feedback on installation of docker.io failed.
The specific phenomenon is as follows:
```
# apt install docker.io
Unsatisfied dependencies:
docker.io : Depends: containerd (>= 1.4~) but it is not going to be
installed
Depends: runc (>= 1.0.0~rc8~) but it is not installable
```
In fact, compiling the runc failed for loong64 in the Debian Package
Auto-Building environment.
The full build log can be found at
https://buildd.debian.org/status/logs.php?pkg=runc&ver=1.1.15%2Bds1-1&arch=loong64.
After analysis, three points have been confirmed.
- need to improve loongarch64 support in runc.
- runc depends golang-github-seccomp-libseccomp-golang-dev.
- Debian golang-github-seccomp-libseccomp-golang lacks of loongarch64
support.
Please consider the patch I attached for runc.
Based on my local golang-github-seccomp-libseccomp-golang-dev(including
loongarch64 support), runc was built successfully on my local ENV.
Finally, after installing the locally built runc, the docker.io package
was installed successfully, e.g.
```
# apt install ./runc_1.1.15+ds1-1+loong64_loong64.deb
# apt install docker.io
# systemctl status docker
● docker.service - Docker Application Container Engine
Loaded: loaded (/usr/lib/systemd/system/docker.service; enabled;
preset: enabled)
Active: active (running) since Fri 2025-02-07 08:42:50 UTC; 3min
4s ago
Invocation: d86f7cbfe54e47e2bd59f459db5c9326
TriggeredBy: ● docker.socket
Docs: https://docs.docker.com
Main PID: 2184501 (dockerd)
......
```
Please note that I have submitted loongarch64 support for Debian
golang-github-seccomp-libseccomp-golang(Bug: 1095322).
Before building runc(Make sure you have merged the attached patch) in
Debian, loongarch64 support need to be merged in Debian
golang-github-seccomp-libseccomp-golang first.
Your opinions are welcome.
Best regards,
Dandan Zhang
Description: Update loongarch64 support.
.
runc (1.1.15+ds1-1+loong64) unstable; urgency=medium
.
* Update loongarch64 support.
Author: Dandan Zhang <[email protected]>
---
Last-Update: 2025-02-07
--- runc-1.1.15+ds1.orig/libcontainer/seccomp/config.go
+++ runc-1.1.15+ds1/libcontainer/seccomp/config.go
@@ -69,6 +69,7 @@ var archs = map[string]string{
"SCMP_ARCH_RISCV64": "riscv64",
"SCMP_ARCH_S390": "s390",
"SCMP_ARCH_S390X": "s390x",
+ "SCMP_ARCH_LOONGARCH64": "loong64",
}
// KnownArchs returns the list of the known archs.
--- runc-1.1.15+ds1.orig/libcontainer/seccomp/patchbpf/enosys_linux.go
+++ runc-1.1.15+ds1/libcontainer/seccomp/patchbpf/enosys_linux.go
@@ -55,6 +55,13 @@ const uintptr_t C_FILTER_FLAG_NEW_LISTEN
#define AUDIT_ARCH_RISCV64 (EM_RISCV|__AUDIT_ARCH_64BIT|__AUDIT_ARCH_LE)
#endif
+#ifndef AUDIT_ARCH_LOONGARCH64
+#ifndef EM_LOONGARCH
+#define EM_LOONGARCH 258
+#endif
+#define AUDIT_ARCH_LOONGARCH64 (EM_LOONGARCH|__AUDIT_ARCH_64BIT|__AUDIT_ARCH_LE)
+#endif
+
// We use the AUDIT_ARCH_* values because those are the ones used by the kernel
// and SCMP_ARCH_* sometimes has fake values (such as SCMP_ARCH_X32). But we
// use <seccomp.h> so we get libseccomp's fallback definitions of AUDIT_ARCH_*.
@@ -75,6 +82,7 @@ const uint32_t C_AUDIT_ARCH_PPC64LE
const uint32_t C_AUDIT_ARCH_S390 = AUDIT_ARCH_S390;
const uint32_t C_AUDIT_ARCH_S390X = AUDIT_ARCH_S390X;
const uint32_t C_AUDIT_ARCH_RISCV64 = AUDIT_ARCH_RISCV64;
+const uint32_t C_AUDIT_ARCH_LOONGARCH64 = AUDIT_ARCH_LOONGARCH64;
*/
import "C"
@@ -212,6 +220,8 @@ func scmpArchToAuditArch(arch libseccomp
return linuxAuditArch(C.C_AUDIT_ARCH_S390X), nil
case libseccomp.ArchRISCV64:
return linuxAuditArch(C.C_AUDIT_ARCH_RISCV64), nil
+ case libseccomp.ArchLOONGARCH64:
+ return linuxAuditArch(C.C_AUDIT_ARCH_LOONGARCH64), nil
default:
return invalidArch, fmt.Errorf("unknown architecture: %v", arch)
}
--- End Message ---
--- Begin Message ---
Source: runc
Source-Version: 1.1.15+ds1-2
Done: Gianfranco Costamagna <[email protected]>
We believe that the bug you reported is fixed in the latest version of
runc, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Gianfranco Costamagna <[email protected]> (supplier of updated runc
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 [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Sat, 08 Feb 2025 17:15:23 +0100
Source: runc
Built-For-Profiles: noudeb
Architecture: source
Version: 1.1.15+ds1-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Go Packaging Team <[email protected]>
Changed-By: Gianfranco Costamagna <[email protected]>
Closes: 1095452
Changes:
runc (1.1.15+ds1-2) unstable; urgency=medium
.
* Team upload.
.
[ zhangdandan <[email protected]> ]
* Fix loongarch64 support (Closes: #1095452)
Checksums-Sha1:
5df69d7eaa64db3c6114ebdd6b4c96070727ae1e 3126 runc_1.1.15+ds1-2.dsc
279147893ed8ebc88b45387797da43fef67deb16 13612 runc_1.1.15+ds1-2.debian.tar.xz
21e9f40350ead2be9820f342ab1a5f8ddfcc88d6 7363
runc_1.1.15+ds1-2_source.buildinfo
Checksums-Sha256:
88a7d185b7cfa29d0a5c557219660c07ec0f880cf88738d010b639c2e85ff44b 3126
runc_1.1.15+ds1-2.dsc
9fff6ddf9644349f130aabc71b1c8f1630bd464d0e320af0f8777913e28aaa39 13612
runc_1.1.15+ds1-2.debian.tar.xz
8ff60383972d16fe1dace54555f48388c202f1a45083087c3c2f676e37ab052b 7363
runc_1.1.15+ds1-2_source.buildinfo
Files:
ee6825805d911711eef0453fef43fd1e 3126 admin optional runc_1.1.15+ds1-2.dsc
cf149bc9bbc9ec9f3af9388789cb1b0c 13612 admin optional
runc_1.1.15+ds1-2.debian.tar.xz
a5866ff8a6650197ac4540e1f20116b7 7363 admin optional
runc_1.1.15+ds1-2_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEkpeKbhleSSGCX3/w808JdE6fXdkFAmeng3oACgkQ808JdE6f
Xdlmeg/+M7knkTiSB8QimG0iP20P9/AERgKY5Y784BvzuKb0nnRSaWM6n3io+jzg
VXISJDCMYHFtneIjDKR35pLSjfBFX44FSX8rdqB6wcrfWM1AgL1imKtC0ClEvDwa
PsaMy43Cnn2emDChq11IEFBMhxgrG3GdmWadw93YjeQ8ZHg+YOOSpE8EtkJmyGjS
2S37tI7gAUOOrIpR8XJ9A7PdkQhcZLPLwZPhLGwMQGhEGzzxLou9Qxnb+9cOo9SW
MU/bz/A7ohJnu6UqIjpu7SV6LDIeecSB8tmqNUv+tbzZTMWIgIGAwnDwA9vzVoq3
y0X1AHx20+Fh/zmQfJZdC2iFAAs8+4/V/DbtIyW0RObMxpycNoN9tsEZX33qdqBL
8hC5amLuo1E/gc7eCl6QSgq33hU7QeZirNvLUiiGQ2WG3a1lA4yr2Ew7d3KOyV4i
TkA1xGCYX5rlmoi5GUSHLSivOpNbu2Hf1WpGfGxXbDWID2FegB+FaeUXelEBmQpS
EQfdk63+DZ/TIZJOkPilhSg94OXa/xJ9UmfLFK8y8DP3vjyZUWIpPTvFSLA8F4AP
/C+PcbHdzZ6XN+57Kec7ay91MbSzU2EkW2cdKcRcFvhKO3yk26jmhjQaEk6AXaOw
fF0aGRUuEd/1mfULLGcBMJrteDBwPTv3v2Tb2JWIxa9AgQy/HOU=
=jqCe
-----END PGP SIGNATURE-----
pgpFNZMdtzGFN.pgp
Description: PGP signature
--- End Message ---