Package: qemu
Version: 1:2.4+dfsg-4
Severity: serious
Justification: fails to build from source (but built successfully in the past)

Dear Maintainer,

*** Reporter, please consider answering these questions, where appropriate ***

   * What led up to the situation?

I am trying to build the debian qemu package from source - I want to
investigate the problems described in the
qemu mailing list here: http://lists.gnu.org/archive/html/qemu-
devel/2014-08/msg02161.html

   * What exactly did you do (or not do) that was effective (or
     ineffective)?

I issued the following commands:
    apt-source qemu
    apt-get build-dep qemu
    debuild -b -uc -us

The configure step here fails with the error message:

ERROR: User requested feature spice
       configure was not able to find it.
       Install spice-server(>=0.12.0) and spice-protocol(>=0.12.3) devel

The subsequent compilation steps throw up problems at different steps:
cc -DHAS_LIBSSH2_SFTP_FSYNC -fPIE -DPIE -m64 -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 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security
-D_FORTIFY_SOURCE=2
-DCONFIG_QEMU_DATAPATH='"/usr/share/qemu:/usr/share/seabios:/usr/lib/ipxe/qemu"'
-DVENDOR_DEBIAN -Wendif-labels -Wmissing-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
-I/usr/include/p11-kit-1 -I/usr/include/p11-kit-1 -I/usr/include/libpng12 -o
config-temp/qemu-conf.exe config-temp/qemu-conf.c -Wl,-z,relro -Wl,-z,now -pie
-m64 -g -Wl,-z,relro -Wl,--as-needed
config-temp/qemu-conf.c:1:24: fatal error: sys/endian.h: No such file or
directory
(...)
cc -DHAS_LIBSSH2_SFTP_FSYNC -fPIE -DPIE -m64 -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 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security
-D_FORTIFY_SOURCE=2
-DCONFIG_QEMU_DATAPATH='"/usr/share/qemu:/usr/share/seabios:/usr/lib/ipxe/qemu"'
-DVENDOR_DEBIAN -Wendif-labels -Wmissing-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
-I/usr/include/p11-kit-1 -I/usr/include/p11-kit-1 -I/usr/include/libpng12 -o
config-temp/qemu-conf.exe config-temp/qemu-conf.c -Wl,-z,relro -Wl,-z,now -pie
-m64 -g -Wl,-z,relro -Wl,--as-needed
/tmp/cc4crmnD.o: In function `main':
/home/thomas/Desktop/sources/qemu-2.4+dfsg/qemu-build/config-temp/qemu-
conf.c:4: undefined reference to `timer_create'

   * What was the outcome of this action?

I failed to build the package from source.

   * What outcome did you expect instead?

I would like for the package to be built :-)

PS: Thanks a ton for the work you're doing!



-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.1.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages qemu depends on:
ii  qemu-system  1:2.4+dfsg-4
ii  qemu-user    1:2.4+dfsg-4
ii  qemu-utils   1:2.4+dfsg-4

qemu recommends no packages.

Versions of packages qemu suggests:
pn  qemu-user-static  <none>

-- no debconf information

Reply via email to