qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

make: /usr/bin/env: Operation not permitted on Alpine container


From: Philippe Mathieu-Daudé
Subject: make: /usr/bin/env: Operation not permitted on Alpine container
Date: Fri, 19 Mar 2021 14:31:21 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.0

Yet another odd error, this time on the build-system-alpine job:

$ make -j"$JOBS"
make: /usr/bin/env: Operation not permitted
make: *** [Makefile:51: git-submodule-update] Error 127

Runner console output:

Running with gitlab-runner 13.9.0 (2ebc4dc4)
Pulling docker image registry.gitlab.com/philmd/qemu2/qemu/alpine:latest ...
Using docker image
sha256:d0f33e2a360a469a221882d0044f587494d103674ea6ab68599b0e4976d17aa7
for registry.gitlab.com/philmd/qemu2/qemu/alpine:latest with digest
registry.gitlab.com/philmd/qemu2/qemu/alpine@sha256:e6a4f0faf241c25b5e1fd1bda7965777a44cead851e4cb7af028327bcff6e6dc
...
$ JOBS=$(expr $(nproc) + 1)
$ mkdir build
$ cd build
$ if test -n "$TARGETS"; then ../configure --enable-werror
$CONFIGURE_ARGS --target-list="$TARGETS" ; else ../configure
--enable-werror $CONFIGURE_ARGS ; fi || { cat config.log
meson-logs/meson-log.txt && exit 1; }
The Meson build system
Version: 0.57.1
Source dir: /builds/philmd/qemu2
Build dir: /builds/philmd/qemu2/build
Build type: native build
Project name: qemu
Project version: 5.2.50
C compiler for the host machine: cc (gcc 10.2.1 "cc (Alpine 10.2.1_pre2)
10.2.1 20210313")
C linker for the host machine: cc ld.bfd 2.35.2
Host machine cpu family: x86_64
Host machine cpu: x86_64
Program sh found: YES (/bin/sh)
Program python3 found: YES (/usr/bin/python3)
Program bzip2 found: YES (/usr/bin/bzip2)
C++ compiler for the host machine: c++ (gcc 10.2.1 "c++ (Alpine
10.2.1_pre2) 10.2.1 20210313")
C++ linker for the host machine: c++ ld.bfd 2.35.2
Program cgcc found: NO
Library m found: YES
Library util found: YES
Run-time dependency appleframeworks found: NO (tried framework)
Found pkg-config: /usr/bin/pkg-config (1.7.3)
Run-time dependency pixman-1 found: YES 0.40.0
Library aio found: YES
Run-time dependency zlib found: YES 1.2.11
Run-time dependency libnfs found: YES 4.0.0
Run-time dependency appleframeworks found: NO (tried framework)
Run-time dependency libseccomp found: YES 2.5.1
Has header "cap-ng.h" : YES
Library cap-ng found: YES
Run-time dependency xkbcommon found: YES 1.1.0
Library rt found: YES
Run-time dependency libiscsi found: NO (tried pkgconfig)
Run-time dependency libzstd found: NO (tried pkgconfig)
Run-time dependency libcurl found: YES 7.75.0
Run-time dependency libudev found: NO (tried pkgconfig)
Library mpathpersist found: NO
Run-time dependency ncursesw found: YES 6.2.20210313
Has header "brlapi.h" : NO
sdl2-config found: NO
Run-time dependency sdl2 found: NO (tried pkgconfig and config-tool)
Library rados found: NO
Has header "rbd/librbd.h" : NO
Run-time dependency glusterfs-api found: NO (tried pkgconfig)
Has header "bzlib.h" : YES
Library bz2 found: YES
Has header "lzfse.h" : NO
Run-time dependency gtk+-3.0 found: YES 3.24.23
Run-time dependency gtk+-x11-3.0 found: YES 3.24.23
Run-time dependency x11 found: YES 1.7.0
Run-time dependency libpng found: YES 1.6.37
Run-time dependency libjpeg found: YES 2.0.6
Has header "sasl/sasl.h" : NO
Has header "snappy-c.h" : YES
Library snappy found: YES
Has header "lzo/lzo1x.h" : YES
Library lzo2 found: YES
Run-time dependency u2f-emu found: NO (tried pkgconfig)
Run-time dependency libkeyutils found: NO (tried pkgconfig)
Checking for function "gettid" : YES
Run-time dependency fuse3 found: NO (tried pkgconfig)
Has header "linux/btrfs.h" : YES
Has header "libdrm/drm.h" : YES
Has header "pty.h" : YES
Has header "sys/ioccom.h" : NO
Has header "sys/kcov.h" : NO
Checking for function "system" : YES
Checking for function "preadv" : YES
Program scripts/minikconf.py found: YES (/usr/bin/python3
/builds/philmd/qemu2/scripts/minikconf.py)
Configuring aarch64-softmmu-config-target.h using configuration
Configuring aarch64-softmmu-config-devices.mak with command
Reading depfile:
/builds/philmd/qemu2/build/meson-private/aarch64-softmmu-config-devices.mak.d
Configuring aarch64-softmmu-config-devices.h using configuration
Configuring alpha-softmmu-config-target.h using configuration
Configuring alpha-softmmu-config-devices.mak with command
Reading depfile:
/builds/philmd/qemu2/build/meson-private/alpha-softmmu-config-devices.mak.d
Configuring alpha-softmmu-config-devices.h using configuration
Configuring cris-softmmu-config-target.h using configuration
Configuring cris-softmmu-config-devices.mak with command
Reading depfile:
/builds/philmd/qemu2/build/meson-private/cris-softmmu-config-devices.mak.d
Configuring cris-softmmu-config-devices.h using configuration
Configuring hppa-softmmu-config-target.h using configuration
Configuring hppa-softmmu-config-devices.mak with command
Reading depfile:
/builds/philmd/qemu2/build/meson-private/hppa-softmmu-config-devices.mak.d
Configuring hppa-softmmu-config-devices.h using configuration
Configuring moxie-softmmu-config-target.h using configuration
Configuring moxie-softmmu-config-devices.mak with command
Reading depfile:
/builds/philmd/qemu2/build/meson-private/moxie-softmmu-config-devices.mak.d
Configuring moxie-softmmu-config-devices.h using configuration
Configuring microblazeel-softmmu-config-target.h using configuration
Configuring microblazeel-softmmu-config-devices.mak with command
Reading depfile:
/builds/philmd/qemu2/build/meson-private/microblazeel-softmmu-config-devices.mak.d
Configuring microblazeel-softmmu-config-devices.h using configuration
Configuring mips64el-softmmu-config-target.h using configuration
Configuring mips64el-softmmu-config-devices.mak with command
Reading depfile:
/builds/philmd/qemu2/build/meson-private/mips64el-softmmu-config-devices.mak.d
Configuring mips64el-softmmu-config-devices.h using configuration
Run-time dependency capstone found: NO (tried pkgconfig)
Configuring capstone-defs.h using configuration
Run-time dependency slirp found: NO (tried pkgconfig)
Configuring libslirp-version.h using configuration
Library fdt found: NO
Configuring config-host.h using configuration
Program scripts/hxtool found: YES (/builds/philmd/qemu2/scripts/hxtool)
Program scripts/shaderinclude.pl found: YES (/usr/bin/env perl
/builds/philmd/qemu2/scripts/shaderinclude.pl)
Program scripts/qapi-gen.py found: YES (/usr/bin/python3
/builds/philmd/qemu2/scripts/qapi-gen.py)
Program scripts/qemu-version.sh found: YES
(/builds/philmd/qemu2/scripts/qemu-version.sh)
|Executing subproject libvhost-user method meson
|
|Project name: libvhost-user
|Project version: undefined
|C compiler for the host machine: cc (gcc 10.2.1 "cc (Alpine
10.2.1_pre2) 10.2.1 20210313")
|C linker for the host machine: cc ld.bfd 2.35.2
|Run-time dependency threads found: YES
|Dependency glib-2.0 found: YES 5.2.50 (overridden)
|Build targets in project: 11
|Subproject libvhost-user finished.
Dependency threads found: YES unknown (cached)
Program keycodemapdb/tools/keymap-gen found: YES
(/builds/philmd/qemu2/ui/keycodemapdb/tools/keymap-gen)
Program scripts/decodetree.py found: YES (/usr/bin/python3
/builds/philmd/qemu2/scripts/decodetree.py)
Program ../scripts/modules/module_block.py found: YES (/usr/bin/python3
/builds/philmd/qemu2/block/../scripts/modules/module_block.py)
Program ../scripts/block-coroutine-wrapper.py found: YES
(/usr/bin/python3
/builds/philmd/qemu2/block/../scripts/block-coroutine-wrapper.py)
Program nm found: YES
Program scripts/undefsym.py found: YES (/usr/bin/python3
/builds/philmd/qemu2/scripts/undefsym.py)
Program scripts/feature_to_c.sh found: YES (/bin/sh
/builds/philmd/qemu2/scripts/feature_to_c.sh)
Configuring 50-qemu-gpu.json using configuration
Configuring 50-qemu-virtiofsd.json using configuration
Configuring 50-edk2-i386-secure.json using configuration
Configuring 50-edk2-x86_64-secure.json using configuration
Configuring 60-edk2-aarch64.json using configuration
Configuring 60-edk2-arm.json using configuration
Configuring 60-edk2-i386.json using configuration
Configuring 60-edk2-x86_64.json using configuration
Program qemu-keymap found: NO
Program sphinx-build-3 found: YES (/usr/bin/sphinx-build-3)
Program python3 found: YES (/usr/bin/python3)
WARNING: Project targeting '>=0.55.0' but tried to use feature
introduced in '0.57.0': test() timeout <= 0.
Program diff found: YES (/usr/bin/diff)
Program dbus-daemon found: NO
Program initrd-stress.sh found: YES
(/builds/philmd/qemu2/tests/migration/initrd-stress.sh)
Program xgettext found: YES (/usr/bin/xgettext)
Build targets in project: 439
WARNING: Project specifies a minimum meson_version '>=0.55.0' but uses
features which were added in newer versions:
 * 0.57.0: {'test() timeout <= 0'}
qemu 5.2.50
  Directories
    Install prefix               : /usr/local
    BIOS directory               : share/qemu
    firmware path                : /usr/local/share/qemu-firmware
    binary directory             : bin
    library directory            : lib
    module directory             : lib/qemu
    libexec directory            : libexec
    include directory            : include
    config directory             : /usr/local/etc
    local state directory        : /usr/local/var
    Manual directory             : share/man
    Doc directory                : /usr/local/share/doc
    Build directory              : /builds/philmd/qemu2/build
    Source path                  : /builds/philmd/qemu2
    GIT submodules               : ui/keycodemapdb
tests/fp/berkeley-testfloat-3 tests/fp/berkeley-softfloat-3 dtc capstone
slirp
  Host binaries
    git                          : git
    make                         : make
    python                       : /usr/bin/python3 (version: 3.8)
    sphinx-build                 : YES
    genisoimage                  :
    smbd                         : "/usr/sbin/smbd"
  Configurable features
    Documentation                : YES
    system-mode emulation        : YES
    user-mode emulation          : NO
    block layer                  : YES
    Install blobs                : YES
    module support               : NO
    plugin support               : NO
    fuzzing support              : NO
    Audio drivers                : pa oss
    Trace backends               : log
    QOM debugging                : YES
    vhost-kernel support         : YES
    vhost-net support            : YES
    vhost-crypto support         : YES
    vhost-scsi support           : YES
    vhost-vsock support          : YES
    vhost-user support           : YES
    vhost-user-blk server support: YES
    vhost-user-fs support        : YES
    vhost-vdpa support           : YES
    build guest agent            : YES
  Compilation
    host CPU                     : x86_64
    host endianness              : little
    C compiler                   : cc
    Host C compiler              : cc
    C++ compiler                 : c++
    ARFLAGS                      : rv
    CFLAGS                       : -O2 -g
    CXXFLAGS                     : -O2 -g
    QEMU_CFLAGS                  : -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2
-m64 -mcx16 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
-Wstrict-prototypes -Wredundant-decls -Wundef -Wwrite-strings
-Wmissing-prototypes -fno-strict-aliasing -fno-common -fwrapv
-Wold-style-declaration -Wold-style-definition -Wtype-limits
-Wformat-security -Wformat-y2k -Winit-self -Wignored-qualifiers
-Wempty-body -Wnested-externs -Wendif-labels -Wexpansion-to-defined
-Wimplicit-fallthrough=2 -Wno-missing-include-dirs
-Wno-shift-negative-value -Wno-psabi -fstack-protector-strong
    QEMU_LDFLAGS                 : -Wl,--warn-common -Wl,-z,relro
-Wl,-z,now -m64  -fstack-protector-strong
    profiler                     : NO
    link-time optimization (LTO) : NO
    PIE                          : YES
    static build                 : NO
    malloc trim support          : NO
    membarrier                   : NO
    preadv support               : YES
    fdatasync                    : NO
    madvise                      : YES
    posix_madvise                : YES
    posix_memalign               : YES
    debug stack usage            : NO
    mutex debugging              : NO
    memory allocator             : system
    avx2 optimization            : YES
    avx512f optimization         : NO
    gprof enabled                : NO
    gcov                         : NO
    thread sanitizer             : NO
    CFI support                  : NO
    strip binaries               : YES
    sparse                       : NO
    mingw32 support              : NO
  Targets and accelerators
    KVM support                  : NO
    HAX support                  : NO
    HVF support                  : NO
    WHPX support                 : NO
    Xen support                  : NO
    TCG support                  : YES
    TCG backend                  : native (x86_64)
    TCG debug enabled            : NO
    target list                  : aarch64-softmmu alpha-softmmu
cris-softmmu hppa-softmmu moxie-softmmu microblazeel-softmmu
mips64el-softmmu
    default devices              : YES
    out of process emulation     : YES
  Block layer support
    coroutine backend            : sigaltstack
    coroutine pool               : YES
    Block whitelist (rw)         :
    Block whitelist (ro)         :
    VirtFS support               : YES
    build virtiofs daemon        : YES
    Live block migration         : YES
    replication support          : YES
    bochs support                : YES
    cloop support                : YES
    dmg support                  : YES
    qcow v1 support              : YES
    vdi support                  : YES
    vvfat support                : YES
    qed support                  : YES
    parallels support            : YES
    sheepdog support             : NO
    FUSE exports                 : NO
  Crypto
    TLS priority                 : "NORMAL"
    GNUTLS support               : YES
    libgcrypt                    : NO
    nettle                       : YES
      XTS                        : YES
    crypto afalg                 : NO
    rng-none                     : NO
    Linux keyring                : YES
  Dependencies
    SDL support                  : NO
    SDL image support            : NO
    GTK support                  : YES
    pixman                       : YES
    VTE support                  : YES
    slirp support                : internal
    libtasn1                     : YES
    PAM                          : NO
    iconv support                : YES
    curses support               : YES
    virgl support                : YES
    curl support                 : YES
    Multipath support            : NO
    VNC support                  : YES
    VNC SASL support             : NO
    VNC JPEG support             : YES
    VNC PNG support              : YES
    brlapi support               : NO
    vde support                  : YES
    netmap support               : NO
    Linux AIO support            : YES
    Linux io_uring support       : NO
    ATTR/XATTR support           : YES
    RDMA support                 : NO
    PVRDMA support               : NO
    fdt support                  : internal
    libcap-ng support            : YES
    spice support                : YES
    rbd support                  : NO
    xfsctl support               : YES
    smartcard support            : NO
    U2F support                  : NO
    libusb                       : YES
    usb net redir                : YES
    OpenGL support               : YES
    GBM                          : YES
    libiscsi support             : NO
    libnfs support               : YES
    seccomp support              : YES
    GlusterFS support            : NO
    TPM support                  : YES
    libssh support               : YES
    lzo support                  : YES
    snappy support               : YES
    bzip2 support                : YES
    lzfse support                : NO
    zstd support                 : NO
    NUMA host support            : NO
    libxml2                      : YES
    capstone                     : internal
    libpmem support              : NO
    libdaxctl support            : NO
    libudev                      : NO
    FUSE lseek                   : NO
  Subprojects
    libvhost-user                : YES
Option b_staticpic is: false [default: false]
Found ninja-1.9 at /usr/bin/ninja
$ if test -n "$LD_JOBS"; then meson configure .
-Dbackend_max_links="$LD_JOBS" ; fi || exit 1;
$ make -j"$JOBS"
make: /usr/bin/env: Operation not permitted
make: /usr/bin/env: Operation not permitted
make: /usr/bin/env: Operation not permitted
make: /usr/bin/env: Operation not permitted
make: /usr/bin/env: Operation not permitted
make: /usr/bin/env: Operation not permitted
make: *** [Makefile:51: git-submodule-update] Error 127
ERROR: Job failed: exit code 1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]