I don't suppose you have a testcase that doesn't require docker?

Syscall 382 is renameat2 for arm. Note that messages from QEMU about
unsupported syscalls are often harmless, because typically they only
appear for relatively new syscalls which QEMU hasn't implemented yet.
The guest code will have a fallback path so it works on older kernels
which don't implement the syscall, so a message is printed but the
application still runs. So if the guest program is failing then it is
quite likely to be for an entirely unrelated reason to the missing
syscalls.

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1821006

Title:
  qemu: Unsupported syscall: 382

Status in QEMU:
  New

Bug description:
  I used

  qemu-user-static/stable,stable,now 1:2.8+dfsg-6+deb9u5 amd64
  [installed]

  When I try to build an image of a docker for an arm, an error occurs.

  This affects the operation of applications.

  
  Dockerfile

  ARG ARCH
  FROM ${ARCH}/debian:buster-slim

  RUN \
      printf "Install dependencies...\n" && \
      apt-get update && \
      apt-get install -y --no-install-recommends ca-certificates curl

  RUN curl https://google.com

  EOF

  The command that I run

  docker build --build-arg ARCH=arm32v7 --file ./Dockerfile -t test .

  
  root@unit6:/lib/binfmt.d# cat qemu-arm-static.conf 
  
:qemu-arm:M::\x7fELF\x01\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x28\x00:\xff\xff\xff\xff\xff\xff\xff\x00\x00\x00\x00\x00\x00\x00\x00\x00\xfe\xff\xff\xff:/usr/bin/qemu-arm-static:F

  Here is a related discussion.
  https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=923479

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1821006/+subscriptions

Reply via email to