WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] libxl build errors in xen-unstable

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] libxl build errors in xen-unstable
From: Olaf Hering <olaf@xxxxxxxxx>
Date: Mon, 30 May 2011 18:33:26 +0200
Delivery-date: Mon, 30 May 2011 10:59:26 -0700
Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; t=1306778220; l=6530; s=domk; d=aepfle.de; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:To:From: Date:X-RZG-CLASS-ID:X-RZG-AUTH; bh=r5vtcsJsrpy2SYB8aezTFPQ/6jU=; b=URoDYCrOXyJbQvycCdKQfZp3NUJ/UL52BUqS8turqh7w+KH8OrYSw/XUVUM/MZAoeaz CnLKm6RreLXFExYh0QB2xDMF9iPjyeun21sGpqfTGg0iPzABfpCNpgxzT2fdMIhtQDO+g dCC6WdrIM0dANIPcDmZOg8PbgZPHGYjarU0=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.21 (2010-12-30)
There are new build errors in xen-unstable since revision 23368.
Wether the _libxl_paths.h.tmp/_libxl_paths.h errros/warnings are new, no
idea.

Olaf

..........
make -C libxl install
make[3]: Entering directory 
`/usr/src/packages/BUILD/xen-unstable.hg-4.2.23437/tools/libxl'
python gentypes.py libxl.idl __libxl_types.h __libxl_types.c
rm -f _libxl_paths.h.tmp.tmp; echo "SBINDIR=\"/usr/sbin\"" >> 
_libxl_paths.h.tmp.tmp; echo "BINDIR=\"/usr/bin\"" >> _libxl_paths.h.tmp.tmp; 
echo "LIBEXEC=\"/usr/lib/xen/bin\"" >> _libxl_paths.h.tmp.tmp; echo 
"LIBDIR=\"/usr/lib64\"" >> _libxl_paths.h.tmp.tmp; echo 
"SHAREDIR=\"/usr/share\"" >> _libxl_paths.h.tmp.tmp; echo 
"PRIVATE_BINDIR=\"/usr/lib64/xen/bin\"" >> _libxl_paths.h.tmp.tmp; echo 
"XENFIRMWAREDIR=\"/usr/lib/xen/boot\"" >> _libxl_paths.h.tmp.tmp; echo 
"XEN_CONFIG_DIR=\"/etc/xen\"" >> _libxl_paths.h.tmp.tmp; echo 
"XEN_SCRIPT_DIR=\"/etc/xen/scripts\"" >> _libxl_paths.h.tmp.tmp; echo 
"XEN_LOCK_DIR=\"/var/lock\"" >> _libxl_paths.h.tmp.tmp; if ! cmp 
_libxl_paths.h.tmp.tmp _libxl_paths.h.tmp; then mv -f _libxl_paths.h.tmp.tmp 
_libxl_paths.h.tmp; fi
cmp: _libxl_paths.h.tmp: No such file or directory
sed -e "s/\([^=]*\)=\(.*\)/#define \1 \2/g" _libxl_paths.h.tmp 
>_libxl_paths.h.2.tmp
if ! cmp _libxl_paths.h.2.tmp _libxl_paths.h; then mv -f _libxl_paths.h.2.tmp 
_libxl_paths.h; fi
Parsing libxl.idl
cmp: _libxl_paths.h: No such file or directory
outputting libxl type definitions to __libxl_types.h
outputting libxl type implementations to __libxl_types.c
mv __libxl_types.h _libxl_types.h
mv __libxl_types.c _libxl_types.c
gcc  -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2  -funwind-tables 
-fasynchronous-unwind-tables -O1 -fno-omit-frame-pointer -m64 -g 
-fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wno-unused-value 
-Wdeclaration-after-statement  -O1 -fno-omit-frame-pointer -m64 -g 
-fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wno-unused-value 
-Wdeclaration-after-statement  -O1 -fno-omit-frame-pointer -m64 -g 
-fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wno-unused-value 
-Wdeclaration-after-statement  -D__XEN_TOOLS__ -MMD -MF .subdirs-install.d  
-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -fno-optimize-sibling-calls -O1 
-fno-omit-frame-pointer -m64 -g -fno-strict-aliasing -std=gnu99 -Wall 
-Wstrict-prototypes -Wno-unused-value -Wdeclaration-after-statement  
-D__XEN_TOOLS__ -MMD -MF .subdir-install-libxl.d  -D_LARGEFILE_SOURCE 
-D_LARGEFILE64_SOURCE -fno-optimize-sibling-calls -O1 -fno-omit-frame-pointer 
-m64 -g -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes 
-Wno-unused-value -Wdeclaration-after-statement  -D__XEN_TOOLS__ -MMD -MF 
.libxl_exec.o.d  -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE 
-fno-optimize-sibling-calls -Werror -Wno-format-zero-length 
-Wmissing-declarations -I. -fPIC 
-I/usr/src/packages/BUILD/xen-unstable.hg-4.2.23437/tools/libxl/../../tools/libxc
 
-I/usr/src/packages/BUILD/xen-unstable.hg-4.2.23437/tools/libxl/../../tools/include
 
-I/usr/src/packages/BUILD/xen-unstable.hg-4.2.23437/tools/libxl/../../tools/libxc
 
-I/usr/src/packages/BUILD/xen-unstable.hg-4.2.23437/tools/libxl/../../tools/include
 
-I/usr/src/packages/BUILD/xen-unstable.hg-4.2.23437/tools/libxl/../../tools/xenstore
 
-I/usr/src/packages/BUILD/xen-unstable.hg-4.2.23437/tools/libxl/../../tools/include
 
-I/usr/src/packages/BUILD/xen-unstable.hg-4.2.23437/tools/libxl/../../tools/blktap2/control
 
-I/usr/src/packages/BUILD/xen-unstable.hg-4.2.23437/tools/libxl/../../tools/blktap2/include
 
-I/usr/src/packages/BUILD/xen-unstable.hg-4.2.23437/tools/libxl/../../tools/include
  -c -o libxl_exec.o libxl_exec.c
cc1: warnings being treated as errors
libxl_exec.c: In function 'check_open_fds':
libxl_exec.c:48: error: ignoring return value of 'atoi', declared with 
attribute warn_unused_result
gcc  -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2  -funwind-tables 
-fasynchronous-unwind-tables -O1 -fno-omit-frame-pointer -m64 -g 
-fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wno-unused-value 
-Wdeclaration-after-statement  -O1 -fno-omit-frame-pointer -m64 -g 
-fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wno-unused-value 
-Wdeclaration-after-statement  -O1 -fno-omit-frame-pointer -m64 -g 
-fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wno-unused-value 
-Wdeclaration-after-statement  -D__XEN_TOOLS__ -MMD -MF .subdirs-install.d  
-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -fno-optimize-sibling-calls -O1 
-fno-omit-frame-pointer -m64 -g -fno-strict-aliasing -std=gnu99 -Wall 
-Wstrict-prototypes -Wno-unused-value -Wdeclaration-after-statement  
-D__XEN_TOOLS__ -MMD -MF .subdir-install-libxl.d  -D_LARGEFILE_SOURCE 
-D_LARGEFILE64_SOURCE -fno-optimize-sibling-calls -O1 -fno-omit-frame-pointer 
-m64 -g -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes 
-Wno-unused-value -Wdeclaration-after-statement  -D__XEN_TOOLS__ -MMD -MF 
.libxl_device.o.d  -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE 
-fno-optimize-sibling-calls -Werror -Wno-format-zero-length 
-Wmissing-declarations -I. -fPIC 
-I/usr/src/packages/BUILD/xen-unstable.hg-4.2.23437/tools/libxl/../../tools/libxc
 
-I/usr/src/packages/BUILD/xen-unstable.hg-4.2.23437/tools/libxl/../../tools/include
 
-I/usr/src/packages/BUILD/xen-unstable.hg-4.2.23437/tools/libxl/../../tools/libxc
 
-I/usr/src/packages/BUILD/xen-unstable.hg-4.2.23437/tools/libxl/../../tools/include
 
-I/usr/src/packages/BUILD/xen-unstable.hg-4.2.23437/tools/libxl/../../tools/xenstore
 
-I/usr/src/packages/BUILD/xen-unstable.hg-4.2.23437/tools/libxl/../../tools/include
 
-I/usr/src/packages/BUILD/xen-unstable.hg-4.2.23437/tools/libxl/../../tools/blktap2/control
 
-I/usr/src/packages/BUILD/xen-unstable.hg-4.2.23437/tools/libxl/../../tools/blktap2/include
 
-I/usr/src/packages/BUILD/xen-unstable.hg-4.2.23437/tools/libxl/../../tools/include
  -c -o libxl_device.o libxl_device.c
libxl_exec.c: In function 'libxl__spawn_spawn':
libxl_exec.c:224: error: ignoring return value of 'write', declared with 
attribute warn_unused_result
make[3]: *** [libxl_exec.o] Error 1
cc1: warnings being treated as errors
libxl_device.c: In function 'libxl__wait_for_device_model':
libxl_device.c:488: error: ignoring return value of 'read', declared with 
attribute warn_unused_result
make[3]: *** [libxl_device.o] Error 1


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel