msys2 / MINGW-packages

Package scripts for MinGW-w64 targets to build under MSYS2.
https://packages.msys2.org
BSD 3-Clause "New" or "Revised" License
2.27k stars 1.22k forks source link

capstone broke the build while building mingw-w64-qemu #5009

Closed h3xh4wk closed 5 years ago

h3xh4wk commented 5 years ago

The build failed with an Error while using makepkg-mingw -s.

Here is the detailed log

user@host MINGW64 /usr/src/MINGW-packages/mingw-w64-qemu (master)
$ makepkg-mingw -s
==> Making package: mingw-w64-qemu 2.11.1-1 (27 Feb 2019 16:09:33)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found qemu-2.11.1.tar.xz
==> Validating source files with sha256sums...
    qemu-2.11.1.tar.xz ... Passed
==> Extracting sources...
==> Starting prepare()...
==> Removing existing $pkgdir/ directory...
==> Starting build()...
Install prefix    /mingw64
BIOS directory    /mingw64/etc/qemu
firmware path     /mingw64/share/qemu-firmware
binary directory  /mingw64/bin
library directory /mingw64/lib
module directory  /mingw64/lib
libexec directory /mingw64/libexec
include directory /mingw64/include
config directory  /mingw64/etc/qemu
local state directory   queried at runtime
Windows SDK       no
Source path       /usr/src/MINGW-packages/mingw-w64-qemu/src/qemu-2.11.1
GIT binary        git
GIT submodules
C compiler        /mingw64/bin/gcc
Host C compiler   /mingw64/bin/gcc
C++ compiler      /mingw64/bin/g++
Objective-C compiler /mingw64/bin/gcc
ARFLAGS           rv
CFLAGS            -O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -g -march=x86-64 -mtune=generic -O2 -pipe -ggdb -Og -ggdb -Og
QEMU_CFLAGS       -ID:/jiten/mingw64/include/pixman-1 -I$(SRC_PATH)/dtc/libfdt -DHAS_LIBSSH2_SFTP_FSYNC -pthread -mms-bitfields -ID:/jiten/mingw64/include/glib-2.0 -ID:/jiten/mingw64/lib/glib-2.0/include -ID:/jiten/mingw64/include -m64 -mcx16 -mthreads -D__USE_MINGW_ANSI_STDIO=1 -DWIN32_LEAN_AND_MEAN -DWINVER=0x501 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -fno-common -fwrapv  -Wexpansion-to-defined -Wendif-labels -Wno-shift-negative-value -Wno-missing-include-dirs -Wempty-body -Wnested-externs -Wformat-security -Wformat-y2k -Winit-self -Wignored-qualifiers -Wold-style-declaration -Wold-style-definition -Wtype-limits -fstack-protector-strong -ID:/jiten/mingw64/include -ID:/jiten/mingw64/include/p11-kit-1 -ID:/jiten/mingw64/include  -ID:/jiten/mingw64/include/libpng16 -ID:/jiten/mingw64/include -I$(SRC_PATH)/capstone/include
LDFLAGS           -Wl,--nxcompat -Wl,--no-seh -Wl,--dynamicbase -Wl,--warn-common -m64 -g -pipe
make              make
install           install
python            /mingw64/bin/python2 -B
smbd              /usr/sbin/smbd
module support    no
host CPU          x86_64
host big endian   no
target list       aarch64-softmmu alpha-softmmu arm-softmmu cris-softmmu i386-softmmu lm32-softmmu m68k-softmmu microblazeel-softmmu microblaze-softmmu mips64el-softmmu mips64-softmmu mipsel-softmmu mips-softmmu moxie-softmmu nios2-softmmu or1k-softmmu ppc64-softmmu ppcemb-softmmu ppc-softmmu s390x-softmmu sh4eb-softmmu sh4-softmmu sparc64-softmmu sparc-softmmu tricore-softmmu unicore32-softmmu x86_64-softmmu xtensaeb-softmmu xtensa-softmmu
gprof enabled     no
sparse enabled    no
strip binaries    no
profiler          no
static build      no
SDL support       yes (1.2.15)
GTK support       yes (3.22.30)
GTK GL support    no
VTE support       no
TLS priority      NORMAL
GNUTLS support    yes
GNUTLS rnd        yes
libgcrypt         no
libgcrypt kdf     no
nettle            yes (3.4)
nettle kdf        yes
libtasn1          yes
curses support    no
virgl support     no
curl support      yes
mingw32 support   yes
Audio drivers     dsound
Block whitelist (rw)
Block whitelist (ro)
VirtFS support    no
Multipath support no
VNC support       yes
VNC SASL support  no
VNC JPEG support  yes
VNC PNG support   yes
xen support       no
brlapi support    no
bluez  support    no
Documentation     no
PIE               no
vde support       no
netmap support    no
Linux AIO support no
ATTR/XATTR support no
Install blobs     yes
KVM support       no
HAX support       yes
TCG support       yes
TCG debug enabled no
TCG interpreter   no
RDMA support      no
fdt support       yes
preadv support    no
fdatasync         no
madvise           no
posix_madvise     no
libcap-ng support no
vhost-net support no
vhost-scsi support no
vhost-vsock support no
vhost-user support no
Trace backends    log
spice support     no
rbd support       no
xfsctl support    no
smartcard support no
libusb            yes
usb net redir     yes
OpenGL support    no
OpenGL dmabufs    no
libiscsi support  no
libnfs support    no
build guest agent yes
QGA VSS support   no
QGA w32 disk info yes
QGA MSI support   no
seccomp support   no
coroutine backend win32
coroutine pool    yes
debug stack usage no
crypto afalg      no
GlusterFS support no
gcov              gcov
gcov enabled      no
TPM support       yes
libssh2 support   yes
TPM passthrough   no
TPM emulator      no
QOM debugging     yes
Live block migration yes
lzo support       yes
snappy support    yes
bzip2 support     yes
NUMA host support no
tcmalloc support  no
jemalloc support  no
avx2 optimization yes
replication support yes
VxHS block device no
capstone          internal
  GEN     config-all-devices.mak
mkdir -p dtc/libfdt
mkdir -p dtc/tests
  GEN     config-host.h
  GEN     qapi-event.h
  GEN     qapi-visit.h
  GEN     qmp-marshal.c
make[1]: *** No rule to make target '/usr/src/MINGW-packages/mingw-w64-qemu/src/build-x86_64-w64-mingw32/capstone/capstone.lib'.  Stop.
make: *** [Makefile:408: subdir-capstone] Error 2
make: *** Waiting for unfinished jobs....
==> ERROR: A failure occurred in build().
    Aborting...
Alexpux commented 5 years ago

@stupidnetizen we have in repo qemu 3.1.0. If you build other version you need fix it yourself

h3xh4wk commented 5 years ago

@stupidnetizen we have in repo qemu 3.1.0. If you build other version you need fix it yourself

Thank you @Alexpux.