Public bug reported:
* Built on 14.04 via debuild
libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I/target/./src -I..
-I../gnulib/lib -I/target/./gnulib/lib -I../include -I/target/./include
-I/target/./src/util -DIN_LIBVIRT -I/target/./src/conf -I/target/./src/xenxs
-export-dynamic -I/usr/include/libxml2 -W -Waddress -Wall -Warray-bounds
-Wattributes -Wbad-function-cast -Wbuiltin-macro-redefined -Wcast-align
-Wchar-subscripts -Wclobbered -Wcomment -Wcomments -Wcoverage-mismatch -Wcpp
-Wdeprecated-declarations -Wdisabled-optimization -Wdiv-by-zero
-Wdouble-promotion -Wempty-body -Wendif-labels -Wextra -Wformat-contains-nul
-Wformat-extra-args -Wformat-security -Wformat-y2k -Wformat-zero-length
-Wformat=2 -Wfree-nonheap-object -Wignored-qualifiers -Wimplicit
-Wimplicit-function-declaration -Wimplicit-int -Winit-self -Winline
-Wint-to-pointer-cast -Winvalid-memory-model -Winvalid-pch -Wjump-misses-init
-Wlogical-op -Wmain -Wmaybe-uninitialized -Wmissing-braces
-Wmissing-declarations -Wmissing-field-initializers -Wmissing-format-
attribute -Wmissing-include-dirs -Wmissing-noreturn -Wmissing-parameter-type
-Wmissing-prototypes -Wmudflap -Wmultichar -Wnarrowing -Wnested-externs
-Wnonnull -Wnormalized=nfc -Wold-style-declaration -Wold-style-definition
-Woverflow -Woverride-init -Wpacked-bitfield-compat -Wparentheses
-Wpointer-arith -Wpointer-sign -Wpointer-to-int-cast -Wpragmas -Wreturn-type
-Wsequence-point -Wshadow -Wsizeof-pointer-memaccess -Wstrict-aliasing
-Wstrict-prototypes -Wsuggest-attribute=const -Wsuggest-attribute=format
-Wsuggest-attribute=noreturn -Wsuggest-attribute=pure -Wswitch -Wsync-nand
-Wtrampolines -Wtrigraphs -Wtype-limits -Wuninitialized -Wunknown-pragmas
-Wunused -Wunused-but-set-parameter -Wunused-but-set-variable -Wunused-function
-Wunused-label -Wunused-local-typedefs -Wunused-parameter -Wunused-result
-Wunused-value -Wunused-variable -Wvarargs -Wvariadic-macros
-Wvector-operation-performance -Wvolatile-register-var -Wwrite-strings
-Wno-sign-compare -Wjump-misses-init -Wno-format-non
literal -Wframe-larger-than=4096 -fstack-protector-all
--param=ssp-buffer-size=4 -fexceptions -fasynchronous-unwind-tables
-fdiagnostics-show-option -funit-at-a-time -fipa-pure-const
-Wno-suggest-attribute=pure -Wno-suggest-attribute=const -Werror -g -O2 -c
/target/./src/libxl/libxl_driver.c -fPIC -DPIC -o
.libs/libvirt_driver_libxl_impl_la-libxl_driver.o
/target/./src/libxl/libxl_driver.c:765:5: error: initialization from
incompatible pointer type [-Werror]
.event_occurs = libxlEventHandler,
^
/target/./src/libxl/libxl_driver.c:765:5: error: (near initialization for
'ev_hooks.event_occurs') [-Werror]
/target/./src/libxl/libxl_driver.c: In function 'libxlVmStart':
/target/./src/libxl/libxl_driver.c:965:43: error: too few arguments to function
'libxl_domain_create_restore'
restore_fd, NULL, NULL);
^
In file included from /target/./src/libxl/libxl_driver.c:30:0:
/usr/include/libxl.h:651:5: note: declared here
int libxl_domain_create_restore(libxl_ctx *ctx, libxl_domain_config *d_config,
^
cc1: all warnings being treated as errors
make[4]: *** [libvirt_driver_libxl_impl_la-libxl_driver.lo] Error 1
make[4]: Leaving directory `/target/debian/build/src'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/target/debian/build/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/target/debian/build'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/target/debian/build'
make: *** [debian/stamp-makefile-build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
debuild: fatal error at line 1364:
dpkg-buildpackage -rfakeroot -D -us -uc -nc -b failed
** Affects: libvirt (Ubuntu)
Importance: Undecided
Status: New
** Tags: libvirt trusty
** Tags added: libvirt trusty
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to libvirt in Ubuntu.
https://bugs.launchpad.net/bugs/1504283
Title:
libvirt 1.2.2-0ubuntu13 source package fails to build
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1504283/+subscriptions
--
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at:
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs