lcpu-club / loong64-dockerfiles

Dockerfiles for LoongArch64
MIT License
10 stars 0 forks source link

debian 无法执行apt-get update #1

Closed msojocs closed 4 months ago

msojocs commented 4 months ago

image

docker exec -it ttt apt-get install gunpg gunpg1 gunpg2
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package gunpg
E: Unable to locate package gunpg1
E: Unable to locate package gunpg2

请问有什么方法能处理吗?

leavelet commented 4 months ago

正在准备重新打镜像,麻烦稍等一会。新镜像会把gpg带上

msojocs commented 4 months ago

感谢

msojocs commented 4 months ago

好像挂了,有空修一下服务器?

image

msojocs commented 4 months ago

站点好了,我试试看

leavelet commented 4 months ago

抱歉昨晚机房停电,现在网站已修复,同时我这边测试 debian 镜像也正常了,你看下?

msojocs commented 4 months ago

image

奇怪,没成功(

unstable-240513unstable-slim-240513 一样的结果。

docker exec -it ttt ls /lib64
ld-linux-loongarch-lp64d.so.1
leavelet commented 4 months ago

诶等等,你在windows上跑loong64的容器?qemu 配置了吗

leavelet commented 4 months ago

我这边运行是这样的:

image

msojocs commented 4 months ago

我没做额外配置

[msojocs@DESKTOP-1TV4OAG AppImageBuild]$ docker run --rm --privileged zhangguanzhang/qemu-user-static --reset -p yes
Setting /usr/bin/qemu-alpha-static as binfmt interpreter for alpha
Setting /usr/bin/qemu-arm-static as binfmt interpreter for arm
Setting /usr/bin/qemu-armeb-static as binfmt interpreter for armeb
Setting /usr/bin/qemu-sparc-static as binfmt interpreter for sparc
Setting /usr/bin/qemu-sparc32plus-static as binfmt interpreter for sparc32plus
Setting /usr/bin/qemu-sparc64-static as binfmt interpreter for sparc64
Setting /usr/bin/qemu-ppc-static as binfmt interpreter for ppc
Setting /usr/bin/qemu-ppc64-static as binfmt interpreter for ppc64
Setting /usr/bin/qemu-ppc64le-static as binfmt interpreter for ppc64le
Setting /usr/bin/qemu-m68k-static as binfmt interpreter for m68k
Setting /usr/bin/qemu-mips-static as binfmt interpreter for mips
Setting /usr/bin/qemu-mipsel-static as binfmt interpreter for mipsel
Setting /usr/bin/qemu-mipsn32-static as binfmt interpreter for mipsn32
Setting /usr/bin/qemu-mipsn32el-static as binfmt interpreter for mipsn32el
Setting /usr/bin/qemu-mips64-static as binfmt interpreter for mips64
Setting /usr/bin/qemu-mips64el-static as binfmt interpreter for mips64el
Setting /usr/bin/qemu-sh4-static as binfmt interpreter for sh4
Setting /usr/bin/qemu-sh4eb-static as binfmt interpreter for sh4eb
Setting /usr/bin/qemu-s390x-static as binfmt interpreter for s390x
Setting /usr/bin/qemu-aarch64-static as binfmt interpreter for aarch64
Setting /usr/bin/qemu-aarch64_be-static as binfmt interpreter for aarch64_be
Setting /usr/bin/qemu-hppa-static as binfmt interpreter for hppa
Setting /usr/bin/qemu-riscv32-static as binfmt interpreter for riscv32
Setting /usr/bin/qemu-riscv64-static as binfmt interpreter for riscv64
Setting /usr/bin/qemu-xtensa-static as binfmt interpreter for xtensa
Setting /usr/bin/qemu-xtensaeb-static as binfmt interpreter for xtensaeb
Setting /usr/bin/qemu-microblaze-static as binfmt interpreter for microblaze
Setting /usr/bin/qemu-microblazeel-static as binfmt interpreter for microblazeel
Setting /usr/bin/qemu-or1k-static as binfmt interpreter for or1k
Setting /usr/bin/qemu-hexagon-static as binfmt interpreter for hexagon
Setting /usr/bin/qemu-loongarch64-static as binfmt interpreter for loongarch64
[msojocs@DESKTOP-1TV4OAG AppImageBuild]$ docker run --rm -it --name ttt loongcr.lcpu.dev/lcpu/debian:unstable-240513 tail -f /etc/issue
WARNING: The requested image's platform (linux/loong64) does not match the detected host platform (linux/amd64/v3) and no specific platform was requested
Debian GNU/Linux trixie/sid \n \l

我现在这么做:

  1. wsl Arch执行 docker run --rm --privileged zhangguanzhang/qemu-user-static --reset -p yes
  2. 然后执行 docker run --rm -it --name ttt loongcr.lcpu.dev/lcpu/debian:unstable-240513 tail -f /etc/issue
  3. 最后执行, 新开一个shell docker exec -it ttt apt update
[msojocs@DESKTOP-1TV4OAG AppImageBuild]$  docker exec -it ttt apt update
Get:1 http://mirrors.cloud.tencent.com/debian-ports sid InRelease [80.4 kB]
Get:2 http://mirrors.cloud.tencent.com/debian-ports unreleased InRelease [54.1 kB]
Err:1 http://mirrors.cloud.tencent.com/debian-ports sid InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 8D69674688B6CB36
Err:2 http://mirrors.cloud.tencent.com/debian-ports unreleased InRelease                                                                                                                        
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 8D69674688B6CB36
Warning: GPG error: http://mirrors.cloud.tencent.com/debian-ports sid InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 8D69674688B6CB36
Error: The repository 'http://mirrors.cloud.tencent.com/debian-ports sid InRelease' is not signed.
Notice: Updating from such a repository can't be done securely, and is therefore disabled by default.
Notice: See apt-secure(8) manpage for repository creation and user configuration details.
Warning: GPG error: http://mirrors.cloud.tencent.com/debian-ports unreleased InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 8D69674688B6CB36
Error: The repository 'http://mirrors.cloud.tencent.com/debian-ports unreleased InRelease' is not signed.
Notice: Updating from such a repository can't be done securely, and is therefore disabled by default.
Notice: See apt-secure(8) manpage for repository creation and user configuration details.
msojocs commented 4 months ago

对了,我进不了bash,一进就自动退出。

[msojocs@DESKTOP-1TV4OAG AppImageBuild]$  docker exec -it ttt bash
root@1e6ebcf16ea6:/# 
exit
[msojocs@DESKTOP-1TV4OAG AppImageBuild]$ 

用sh能进,但是执行不了命令。

[msojocs@DESKTOP-1TV4OAG AppImageBuild]$  docker exec -it ttt bash
root@1e6ebcf16ea6:/# 
exit
[msojocs@DESKTOP-1TV4OAG AppImageBuild]$  docker exec -it ttt sh
# exit
[msojocs@DESKTOP-1TV4OAG AppImageBuild]$  docker exec -it ttt sh
# ls
[1] + Stopped (tty output)       ls
# exit
You have stopped jobs.
# ls
[2] + Stopped (tty output)       ls
# apt update
[3] + Stopped (tty output)       apt update
# 
wszqkzqk commented 4 months ago

请尽量贴出原始文本 log,不要只放截图

msojocs commented 4 months ago

请尽量贴出原始文本 log,不要只放截图

好的,我换成文本了。

leavelet commented 4 months ago

我刚刚在x86的设备上成功运行了,具体来说:

docker run --rm --privileged loongcr.lcpu.dev/multiarch/archlinux --reset -p yes
docker run --rm -it --name ttt loongcr.lcpu.dev/lcpu/debian:unstable-240513 apt update

我们维护了一个qemu-user-static,或许是你现在用的版本比较低?

wszqkzqk commented 4 months ago

请问qemu-user-static-binfmtqemu-user-static是否正常安装

leavelet commented 4 months ago

请问qemu-user-static-binfmtqemu-user-static是否正常安装

应该不需要吧,用我们的multiarch应该就可以?

msojocs commented 4 months ago

行了,是那个qemu镜像的问题,解决了,感谢。

[msojocs@DESKTOP-1TV4OAG AppImageBuild]$ docker run --rm --privileged loongcr.lcpu.dev/multiarch/archlinux --reset -p yes
Unable to find image 'loongcr.lcpu.dev/multiarch/archlinux:latest' locally
latest: Pulling from multiarch/archlinux
3a2e9cc4b126: Pull complete 
f48bb01e3470: Pull complete 
732a0c3f8463: Pull complete 
6acf263efd2f: Pull complete 
74566fc665cd: Pull complete 
Digest: sha256:2d75840a3a6183bb81e37a75704ce68be2a5e6e5e51e89417afa76f7080d529a
Status: Downloaded newer image for loongcr.lcpu.dev/multiarch/archlinux:latest
Setting /usr/bin/qemu-alpha-static as binfmt interpreter for alpha
Setting /usr/bin/qemu-arm-static as binfmt interpreter for arm
Setting /usr/bin/qemu-armeb-static as binfmt interpreter for armeb
Setting /usr/bin/qemu-sparc-static as binfmt interpreter for sparc
Setting /usr/bin/qemu-sparc32plus-static as binfmt interpreter for sparc32plus
Setting /usr/bin/qemu-sparc64-static as binfmt interpreter for sparc64
Setting /usr/bin/qemu-ppc-static as binfmt interpreter for ppc
Setting /usr/bin/qemu-ppc64-static as binfmt interpreter for ppc64
Setting /usr/bin/qemu-ppc64le-static as binfmt interpreter for ppc64le
Setting /usr/bin/qemu-m68k-static as binfmt interpreter for m68k
Setting /usr/bin/qemu-mips-static as binfmt interpreter for mips
Setting /usr/bin/qemu-mipsel-static as binfmt interpreter for mipsel
Setting /usr/bin/qemu-mipsn32-static as binfmt interpreter for mipsn32
Setting /usr/bin/qemu-mipsn32el-static as binfmt interpreter for mipsn32el
Setting /usr/bin/qemu-mips64-static as binfmt interpreter for mips64
Setting /usr/bin/qemu-mips64el-static as binfmt interpreter for mips64el
Setting /usr/bin/qemu-sh4-static as binfmt interpreter for sh4
Setting /usr/bin/qemu-sh4eb-static as binfmt interpreter for sh4eb
Setting /usr/bin/qemu-s390x-static as binfmt interpreter for s390x
Setting /usr/bin/qemu-aarch64-static as binfmt interpreter for aarch64
Setting /usr/bin/qemu-aarch64_be-static as binfmt interpreter for aarch64_be
Setting /usr/bin/qemu-hppa-static as binfmt interpreter for hppa
Setting /usr/bin/qemu-riscv32-static as binfmt interpreter for riscv32
Setting /usr/bin/qemu-riscv64-static as binfmt interpreter for riscv64
Setting /usr/bin/qemu-xtensa-static as binfmt interpreter for xtensa
Setting /usr/bin/qemu-xtensaeb-static as binfmt interpreter for xtensaeb
Setting /usr/bin/qemu-microblaze-static as binfmt interpreter for microblaze
Setting /usr/bin/qemu-microblazeel-static as binfmt interpreter for microblazeel
Setting /usr/bin/qemu-or1k-static as binfmt interpreter for or1k
Setting /usr/bin/qemu-hexagon-static as binfmt interpreter for hexagon
Setting /usr/bin/qemu-loongarch64-static as binfmt interpreter for loongarch64
[msojocs@DESKTOP-1TV4OAG AppImageBuild]$ docker run --rm -it --name ttt loongcr.lcpu.dev/lcpu/debian:unstable-240513 apt update
WARNING: The requested image's platform (linux/loong64) does not match the detected host platform (linux/amd64/v3) and no specific platform was requested
Get:1 http://mirrors.cloud.tencent.com/debian-ports sid InRelease [80.4 kB]
Get:2 http://mirrors.cloud.tencent.com/debian-ports unreleased InRelease [54.1 kB]
Get:3 http://mirrors.cloud.tencent.com/debian-ports sid/main loong64 Packages [15.9 MB]
Get:4 http://mirrors.cloud.tencent.com/debian-ports unreleased/main loong64 Packages [142 kB]
Fetched 16.2 MB in 7s (2270 kB/s)                                                                                                                               
All packages are up to date.    
[msojocs@DESKTOP-1TV4OAG AppImageBuild]$ 
wszqkzqk commented 4 months ago

请问qemu-user-static-binfmtqemu-user-static是否正常安装

应该不需要吧,用我们的multiarch应该就可以?

他的log有单独的设置binfmt的输出🤔

zhangguanzhang commented 4 months ago

这个报错不是说apt repo没签名吗

wszqkzqk commented 4 months ago

这个报错不是说apt repo没签名吗

之前的镜像有问题

zhangguanzhang commented 4 months ago

我们公司龙芯适配都是我那个qemu镜像搞的,那个镜像没啥修改,就是把 https://github.com/multiarch/qemu-user-static 里更新到 qemu官方最新脚本+龙芯给的qemu-user-static文件打包

msojocs commented 4 months ago

我不是很清楚什么情况,但是确实有点问题,看着像新旧世界的问题?

qemu image result
zhangguanzhang/qemu-user-static ghcr.io/loongarchlinux/archlinux:latest error
zhangguanzhang/qemu-user-static cr.loongnix.cn/library/debian:buster-slim ok
loongcr.lcpu.dev/multiarch/archlinux ghcr.io/loongarchlinux/archlinux:latest ok
loongcr.lcpu.dev/multiarch/archlinux cr.loongnix.cn/library/debian:buster-slim error

zhangguanzhang/qemu-user-static + ghcr.io/loongarchlinux/archlinux:latest

[msojocs@DESKTOP-1TV4OAG AppImageBuild]$ docker run --rm --privileged zhangguanzhang/qemu-user-static --reset -p yes
Unable to find image 'zhangguanzhang/qemu-user-static:latest' locally
latest: Pulling from zhangguanzhang/qemu-user-static
3f4d90098f5b: Pull complete 
d0904aac8cf8: Pull complete 
732a0c3f8463: Pull complete 
6acf263efd2f: Pull complete 
898374f99e4b: Pull complete 
Digest: sha256:0fe738c300c4effb3e2e80711ce1751c7ac146ebb2d55f165e3179e5ff0787a0
Status: Downloaded newer image for zhangguanzhang/qemu-user-static:latest
Setting /usr/bin/qemu-alpha-static as binfmt interpreter for alpha
Setting /usr/bin/qemu-arm-static as binfmt interpreter for arm
Setting /usr/bin/qemu-armeb-static as binfmt interpreter for armeb
Setting /usr/bin/qemu-sparc-static as binfmt interpreter for sparc
Setting /usr/bin/qemu-sparc32plus-static as binfmt interpreter for sparc32plus
Setting /usr/bin/qemu-sparc64-static as binfmt interpreter for sparc64
Setting /usr/bin/qemu-ppc-static as binfmt interpreter for ppc
Setting /usr/bin/qemu-ppc64-static as binfmt interpreter for ppc64
Setting /usr/bin/qemu-ppc64le-static as binfmt interpreter for ppc64le
Setting /usr/bin/qemu-m68k-static as binfmt interpreter for m68k
Setting /usr/bin/qemu-mips-static as binfmt interpreter for mips
Setting /usr/bin/qemu-mipsel-static as binfmt interpreter for mipsel
Setting /usr/bin/qemu-mipsn32-static as binfmt interpreter for mipsn32
Setting /usr/bin/qemu-mipsn32el-static as binfmt interpreter for mipsn32el
Setting /usr/bin/qemu-mips64-static as binfmt interpreter for mips64
Setting /usr/bin/qemu-mips64el-static as binfmt interpreter for mips64el
Setting /usr/bin/qemu-sh4-static as binfmt interpreter for sh4
Setting /usr/bin/qemu-sh4eb-static as binfmt interpreter for sh4eb
Setting /usr/bin/qemu-s390x-static as binfmt interpreter for s390x
Setting /usr/bin/qemu-aarch64-static as binfmt interpreter for aarch64
Setting /usr/bin/qemu-aarch64_be-static as binfmt interpreter for aarch64_be
Setting /usr/bin/qemu-hppa-static as binfmt interpreter for hppa
Setting /usr/bin/qemu-riscv32-static as binfmt interpreter for riscv32
Setting /usr/bin/qemu-riscv64-static as binfmt interpreter for riscv64
Setting /usr/bin/qemu-xtensa-static as binfmt interpreter for xtensa
Setting /usr/bin/qemu-xtensaeb-static as binfmt interpreter for xtensaeb
Setting /usr/bin/qemu-microblaze-static as binfmt interpreter for microblaze
Setting /usr/bin/qemu-microblazeel-static as binfmt interpreter for microblazeel
Setting /usr/bin/qemu-or1k-static as binfmt interpreter for or1k
Setting /usr/bin/qemu-hexagon-static as binfmt interpreter for hexagon
Setting /usr/bin/qemu-loongarch64-static as binfmt interpreter for loongarch64
[msojocs@DESKTOP-1TV4OAG AppImageBuild]$ docker run --rm ghcr.io/loongarchlinux/archlinux:latest uname -m
WARNING: The requested image's platform (linux/loong64) does not match the detected host platform (linux/amd64/v3) and no specific platform was requested
qemu: uncaught target signal 4 (Illegal instruction) - core dumped

loongcr.lcpu.dev/multiarch/archlinux + ghcr.io/loongarchlinux/archlinux:latest

[msojocs@DESKTOP-1TV4OAG AppImageBuild]$ docker run --rm --privileged loongcr.lcpu.dev/multiarch/archlinux --reset -p yes
Setting /usr/bin/qemu-alpha-static as binfmt interpreter for alpha
Setting /usr/bin/qemu-arm-static as binfmt interpreter for arm
Setting /usr/bin/qemu-armeb-static as binfmt interpreter for armeb
Setting /usr/bin/qemu-sparc-static as binfmt interpreter for sparc
Setting /usr/bin/qemu-sparc32plus-static as binfmt interpreter for sparc32plus
Setting /usr/bin/qemu-sparc64-static as binfmt interpreter for sparc64
Setting /usr/bin/qemu-ppc-static as binfmt interpreter for ppc
Setting /usr/bin/qemu-ppc64-static as binfmt interpreter for ppc64
Setting /usr/bin/qemu-ppc64le-static as binfmt interpreter for ppc64le
Setting /usr/bin/qemu-m68k-static as binfmt interpreter for m68k
Setting /usr/bin/qemu-mips-static as binfmt interpreter for mips
Setting /usr/bin/qemu-mipsel-static as binfmt interpreter for mipsel
Setting /usr/bin/qemu-mipsn32-static as binfmt interpreter for mipsn32
Setting /usr/bin/qemu-mipsn32el-static as binfmt interpreter for mipsn32el
Setting /usr/bin/qemu-mips64-static as binfmt interpreter for mips64
Setting /usr/bin/qemu-mips64el-static as binfmt interpreter for mips64el
Setting /usr/bin/qemu-sh4-static as binfmt interpreter for sh4
Setting /usr/bin/qemu-sh4eb-static as binfmt interpreter for sh4eb
Setting /usr/bin/qemu-s390x-static as binfmt interpreter for s390x
Setting /usr/bin/qemu-aarch64-static as binfmt interpreter for aarch64
Setting /usr/bin/qemu-aarch64_be-static as binfmt interpreter for aarch64_be
Setting /usr/bin/qemu-hppa-static as binfmt interpreter for hppa
Setting /usr/bin/qemu-riscv32-static as binfmt interpreter for riscv32
Setting /usr/bin/qemu-riscv64-static as binfmt interpreter for riscv64
Setting /usr/bin/qemu-xtensa-static as binfmt interpreter for xtensa
Setting /usr/bin/qemu-xtensaeb-static as binfmt interpreter for xtensaeb
Setting /usr/bin/qemu-microblaze-static as binfmt interpreter for microblaze
Setting /usr/bin/qemu-microblazeel-static as binfmt interpreter for microblazeel
Setting /usr/bin/qemu-or1k-static as binfmt interpreter for or1k
Setting /usr/bin/qemu-hexagon-static as binfmt interpreter for hexagon
Setting /usr/bin/qemu-loongarch64-static as binfmt interpreter for loongarch64
[msojocs@DESKTOP-1TV4OAG AppImageBuild]$ docker run --rm ghcr.io/loongarchlinux/archlinux:latest uname -m
WARNING: The requested image's platform (linux/loong64) does not match the detected host platform (linux/amd64/v3) and no specific platform was requested
loongarch64

zhangguanzhang/qemu-user-static + cr.loongnix.cn/library/debian:buster-slim

[msojocs@DESKTOP-1TV4OAG AppImageBuild]$ docker run --rm --privileged zhangguanzhang/qemu-user-static --reset -p yes
Setting /usr/bin/qemu-alpha-static as binfmt interpreter for alpha
Setting /usr/bin/qemu-arm-static as binfmt interpreter for arm
Setting /usr/bin/qemu-armeb-static as binfmt interpreter for armeb
Setting /usr/bin/qemu-sparc-static as binfmt interpreter for sparc
Setting /usr/bin/qemu-sparc32plus-static as binfmt interpreter for sparc32plus
Setting /usr/bin/qemu-sparc64-static as binfmt interpreter for sparc64
Setting /usr/bin/qemu-ppc-static as binfmt interpreter for ppc
Setting /usr/bin/qemu-ppc64-static as binfmt interpreter for ppc64
Setting /usr/bin/qemu-ppc64le-static as binfmt interpreter for ppc64le
Setting /usr/bin/qemu-m68k-static as binfmt interpreter for m68k
Setting /usr/bin/qemu-mips-static as binfmt interpreter for mips
Setting /usr/bin/qemu-mipsel-static as binfmt interpreter for mipsel
Setting /usr/bin/qemu-mipsn32-static as binfmt interpreter for mipsn32
Setting /usr/bin/qemu-mipsn32el-static as binfmt interpreter for mipsn32el
Setting /usr/bin/qemu-mips64-static as binfmt interpreter for mips64
Setting /usr/bin/qemu-mips64el-static as binfmt interpreter for mips64el
Setting /usr/bin/qemu-sh4-static as binfmt interpreter for sh4
Setting /usr/bin/qemu-sh4eb-static as binfmt interpreter for sh4eb
Setting /usr/bin/qemu-s390x-static as binfmt interpreter for s390x
Setting /usr/bin/qemu-aarch64-static as binfmt interpreter for aarch64
Setting /usr/bin/qemu-aarch64_be-static as binfmt interpreter for aarch64_be
Setting /usr/bin/qemu-hppa-static as binfmt interpreter for hppa
Setting /usr/bin/qemu-riscv32-static as binfmt interpreter for riscv32
Setting /usr/bin/qemu-riscv64-static as binfmt interpreter for riscv64
Setting /usr/bin/qemu-xtensa-static as binfmt interpreter for xtensa
Setting /usr/bin/qemu-xtensaeb-static as binfmt interpreter for xtensaeb
Setting /usr/bin/qemu-microblaze-static as binfmt interpreter for microblaze
Setting /usr/bin/qemu-microblazeel-static as binfmt interpreter for microblazeel
Setting /usr/bin/qemu-or1k-static as binfmt interpreter for or1k
Setting /usr/bin/qemu-hexagon-static as binfmt interpreter for hexagon
Setting /usr/bin/qemu-loongarch64-static as binfmt interpreter for loongarch64
[msojocs@DESKTOP-1TV4OAG AppImageBuild]$ docker run --rm cr.loongnix.cn/library/debian:buster-slim uname -m
WARNING: The requested image's platform (linux/loong64) does not match the detected host platform (linux/amd64/v3) and no specific platform was requested
loongarch64

loongcr.lcpu.dev/multiarch/archlinux + cr.loongnix.cn/library/debian:buster-slim

[msojocs@DESKTOP-1TV4OAG AppImageBuild]$ docker run --rm --privileged loongcr.lcpu.dev/multiarch/archlinux --reset -p yes
Setting /usr/bin/qemu-alpha-static as binfmt interpreter for alpha
Setting /usr/bin/qemu-arm-static as binfmt interpreter for arm
Setting /usr/bin/qemu-armeb-static as binfmt interpreter for armeb
Setting /usr/bin/qemu-sparc-static as binfmt interpreter for sparc
Setting /usr/bin/qemu-sparc32plus-static as binfmt interpreter for sparc32plus
Setting /usr/bin/qemu-sparc64-static as binfmt interpreter for sparc64
Setting /usr/bin/qemu-ppc-static as binfmt interpreter for ppc
Setting /usr/bin/qemu-ppc64-static as binfmt interpreter for ppc64
Setting /usr/bin/qemu-ppc64le-static as binfmt interpreter for ppc64le
Setting /usr/bin/qemu-m68k-static as binfmt interpreter for m68k
Setting /usr/bin/qemu-mips-static as binfmt interpreter for mips
Setting /usr/bin/qemu-mipsel-static as binfmt interpreter for mipsel
Setting /usr/bin/qemu-mipsn32-static as binfmt interpreter for mipsn32
Setting /usr/bin/qemu-mipsn32el-static as binfmt interpreter for mipsn32el
Setting /usr/bin/qemu-mips64-static as binfmt interpreter for mips64
Setting /usr/bin/qemu-mips64el-static as binfmt interpreter for mips64el
Setting /usr/bin/qemu-sh4-static as binfmt interpreter for sh4
Setting /usr/bin/qemu-sh4eb-static as binfmt interpreter for sh4eb
Setting /usr/bin/qemu-s390x-static as binfmt interpreter for s390x
Setting /usr/bin/qemu-aarch64-static as binfmt interpreter for aarch64
Setting /usr/bin/qemu-aarch64_be-static as binfmt interpreter for aarch64_be
Setting /usr/bin/qemu-hppa-static as binfmt interpreter for hppa
Setting /usr/bin/qemu-riscv32-static as binfmt interpreter for riscv32
Setting /usr/bin/qemu-riscv64-static as binfmt interpreter for riscv64
Setting /usr/bin/qemu-xtensa-static as binfmt interpreter for xtensa
Setting /usr/bin/qemu-xtensaeb-static as binfmt interpreter for xtensaeb
Setting /usr/bin/qemu-microblaze-static as binfmt interpreter for microblaze
Setting /usr/bin/qemu-microblazeel-static as binfmt interpreter for microblazeel
Setting /usr/bin/qemu-or1k-static as binfmt interpreter for or1k
Setting /usr/bin/qemu-hexagon-static as binfmt interpreter for hexagon
Setting /usr/bin/qemu-loongarch64-static as binfmt interpreter for loongarch64
[msojocs@DESKTOP-1TV4OAG AppImageBuild]$ docker run --rm cr.loongnix.cn/library/debian:buster-slim uname -m
WARNING: The requested image's platform (linux/loong64) does not match the detected host platform (linux/amd64/v3) and no specific platform was requested
/usr/bin/uname: error while loading shared libraries: libc.so.6: cannot stat shared object: Error 38
[msojocs@DESKTOP-1TV4OAG AppImageBuild]$ 
leavelet commented 4 months ago

我们公司龙芯适配都是我那个qemu镜像搞的,那个镜像没啥修改,就是把 https://github.com/multiarch/qemu-user-static 里更新到 qemu官方最新脚本+龙芯给的qemu-user-static文件打包

据我所知贵司应该都是旧世界?

zhangguanzhang commented 4 months ago

我们公司龙芯适配都是我那个qemu镜像搞的,那个镜像没啥修改,就是把 https://github.com/multiarch/qemu-user-static 里更新到 qemu官方最新脚本+龙芯给的qemu-user-static文件打包

据我所知贵司应该都是旧世界?

https://cr.loongnix.cn/search https://github.com/Loongson-Cloud-Community/dockerfiles 用的这些镜像都没问题,abi1.0的

leavelet commented 4 months ago

我们公司龙芯适配都是我那个qemu镜像搞的,那个镜像没啥修改,就是把 https://github.com/multiarch/qemu-user-static 里更新到 qemu官方最新脚本+龙芯给的qemu-user-static文件打包

据我所知贵司应该都是旧世界?

https://cr.loongnix.cn/search https://github.com/Loongson-Cloud-Community/dockerfiles 用的这些镜像都没问题,abi1.0的

那应该就是 ABI 的问题,我们这个仓库都是 ABI2.0。稍后我看下是什么导致的

leavelet commented 4 months ago

我们公司龙芯适配都是我那个qemu镜像搞的,那个镜像没啥修改,就是把 https://github.com/multiarch/qemu-user-static 里更新到 qemu官方最新脚本+龙芯给的qemu-user-static文件打包

据我所知贵司应该都是旧世界?

https://cr.loongnix.cn/search https://github.com/Loongson-Cloud-Community/dockerfiles 用的这些镜像都没问题,abi1.0的

您镜像里的qemu的版本是 7.1.50,而且是树外的,推测可能是打了支持 ABI1.0 的补丁。 ABI2.0 的同学还是用我们维护的镜像吧。

zhangguanzhang commented 4 months ago

我们公司龙芯适配都是我那个qemu镜像搞的,那个镜像没啥修改,就是把 https://github.com/multiarch/qemu-user-static 里更新到 qemu官方最新脚本+龙芯给的qemu-user-static文件打包

据我所知贵司应该都是旧世界?

https://cr.loongnix.cn/search https://github.com/Loongson-Cloud-Community/dockerfiles 用的这些镜像都没问题,abi1.0的

您镜像里的qemu的版本是 7.1.50,而且是树外的,推测可能是打了支持 ABI1.0 的补丁。 ABI2.0 的同学还是用我们维护的镜像吧。

这个qemu是龙芯官方的qemu提交人,之前编译发给我的

leavelet commented 4 months ago

我们公司龙芯适配都是我那个qemu镜像搞的,那个镜像没啥修改,就是把 https://github.com/multiarch/qemu-user-static 里更新到 qemu官方最新脚本+龙芯给的qemu-user-static文件打包

据我所知贵司应该都是旧世界?

https://cr.loongnix.cn/search https://github.com/Loongson-Cloud-Community/dockerfiles 用的这些镜像都没问题,abi1.0的

您镜像里的qemu的版本是 7.1.50,而且是树外的,推测可能是打了支持 ABI1.0 的补丁。 ABI2.0 的同学还是用我们维护的镜像吧。

这个qemu是龙芯官方的qemu提交人,之前编译发给我的

对,所以旧世界(ABI1.0)的支持很完善,这正是我们没有支持的,旧世界的镜像应该继续用您的multiarch镜像,新世界建议用我们的镜像。我们在所有评论都是这么说的。

同时,这个仓库明确写了只支持新世界(ABI2.0),所以这个仓库也推荐用我们维护的multiarch 镜像。

感谢您的时间!