Your message dated Fri, 14 Nov 2008 14:32:04 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#505607: fixed in libvirt 0.4.6-5
has caused the Debian Bug report #505607,
regarding FTBFS with GCC 4.4: wrong #elif
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [EMAIL PROTECTED]
immediately.)


-- 
505607: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=505607
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: libvirt
Version: 0.4.6-4
User: [EMAIL PROTECTED]
Usertags: ftbfs-gcc-4.4
Tags: patch

Your package fails to build with the upcoming GCC 4.4.  Version 4.4
has not been released yet but I'm building with a snapshot in order
to find errors and give people an advance warning.

GCC 4.4 will introduce better checks in the preprocessor, which made
me found a typo in your code.

You can reproduce this problem with gcc-snapshot from unstable.

> Automatic build of libvirt_0.4.6-4 on em64t by sbuild/amd64 0.53
...
> /bin/sh ../libtool --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I. -I.. 
> -I../gnulib/lib -I../gnulib/lib -I../include -I../include -I../qemud 
> -I/usr/include/libxml2       -DBINDIR=\""/usr/lib/libvirt"\" 
> -DSBINDIR=\""/usr/sbin"\" -DSYSCONF_DIR="\"/etc\"" 
> -DLOCALEBASEDIR=\""/usr/share/locale"\" -DLOCAL_STATE_DIR=\""/var"\" 
> -DGETTEXT_PACKAGE=\"libvirt\" -Wall -Wformat -Wformat-security 
> -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wextra -Wshadow 
> -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Winline 
> -Wredundant-decls -Wno-sign-compare -Wp,-D_FORTIFY_SOURCE=2 -fexceptions 
> -fasynchronous-unwind-tables  -DWITH_QEMU -DWITH_TEST -DWITH_REMOTE 
> -DWITH_LIBVIRTD -DWITH_XEN    -DIN_LIBVIRT -g -O2 -g -Wall -O2 -c -o 
> libvirt_la-xen_internal.lo `test -f 'xen_internal.c' || echo 
> './'`xen_internal.c
>  cc -DHAVE_CONFIG_H -I. -I.. -I../gnulib/lib -I../gnulib/lib -I../include 
> -I../include -I../qemud -I/usr/include/libxml2 -DBINDIR=\"/usr/lib/libvirt\" 
> -DSBINDIR=\"/usr/sbin\" -DSYSCONF_DIR=\"/etc\" 
> -DLOCALEBASEDIR=\"/usr/share/locale\" -DLOCAL_STATE_DIR=\"/var\" 
> -DGETTEXT_PACKAGE=\"libvirt\" -Wall -Wformat -Wformat-security 
> -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wextra -Wshadow 
> -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Winline 
> -Wredundant-decls -Wno-sign-compare -Wp,-D_FORTIFY_SOURCE=2 -fexceptions 
> -fasynchronous-unwind-tables -DWITH_QEMU -DWITH_TEST -DWITH_REMOTE 
> -DWITH_LIBVIRTD -DWITH_XEN -DIN_LIBVIRT -g -O2 -g -Wall -O2 -c xen_internal.c 
>  -fPIC -DPIC -o .libs/libvirt_la-xen_internal.o
> xen_internal.c:76:13: error: missing binary operator before token "("
> xen_internal.c:341:13: error: missing binary operator before token "("
> xen_internal.c:351:13: error: missing binary operator before token "("
> xen_internal.c:667:13: error: missing binary operator before token "("
> make[4]: *** [libvirt_la-xen_internal.lo] Error 1
> make[4]: Leaving directory `/build/tbm/libvirt-0.4.6/src'

--- src/xen_internal.c~ 2008-11-13 19:26:46.000000000 +0000
+++ src/xen_internal.c  2008-11-13 19:27:02.000000000 +0000
@@ -73,7 +73,7 @@
 #define XEN_V1_IOCTL_HYPERCALL_CMD                  \
     _IOC(_IOC_NONE, 'P', 0, sizeof(v1_hypercall_t))
 typedef v1_hypercall_t hypercall_t;
-#elif define(__sun__)
+#elif defined(__sun__)
 typedef privcmd_hypercall_t hypercall_t;
 #else
 #error "unsupported platform"
@@ -338,7 +338,7 @@
 {
 #ifdef __linux__
         return (mlock(addr, len));
-#elif define(__sun)
+#elif defined(__sun)
         return (0);
 #endif
 }
@@ -348,7 +348,7 @@
 {
 #ifdef __linux__
         return (munlock(addr, len));
-#elif define(__sun)
+#elif defined(__sun)
         return (0);
 #endif
 }
@@ -664,7 +664,7 @@
 #define XEN_HYPERVISOR_SOCKET  "/proc/xen/privcmd"
 #define HYPERVISOR_CAPABILITIES        
"/sys/hypervisor/properties/capabilities"
 #define CPUINFO                        "/proc/cpuinfo"
-#elif define(__sun__)
+#elif defined(__sun__)
 #define XEN_HYPERVISOR_SOCKET  "/dev/xen/privcmd"
 #define HYPERVISOR_CAPABILITIES        ""
 #define CPUINFO                        "/dev/cpu/self/cpuid"
--- src/xs_internal.c~  2008-11-13 19:28:01.000000000 +0000
+++ src/xs_internal.c   2008-11-13 19:28:06.000000000 +0000
@@ -34,7 +34,7 @@
 
 #ifdef __linux__
 #define XEN_HYPERVISOR_SOCKET "/proc/xen/privcmd"
-#elif define(__sun__)
+#elif defined(__sun__)
 #define XEN_HYPERVISOR_SOCKET "/dev/xen/privcmd"
 #else
 #error "unsupported platform"

-- 
Martin Michlmayr
http://www.cyrius.com/



--- End Message ---
--- Begin Message ---
Source: libvirt
Source-Version: 0.4.6-5

We believe that the bug you reported is fixed in the latest version of
libvirt, which is due to be installed in the Debian FTP archive:

libvirt-bin_0.4.6-5_powerpc.deb
  to pool/main/libv/libvirt/libvirt-bin_0.4.6-5_powerpc.deb
libvirt-dev_0.4.6-5_powerpc.deb
  to pool/main/libv/libvirt/libvirt-dev_0.4.6-5_powerpc.deb
libvirt-doc_0.4.6-5_all.deb
  to pool/main/libv/libvirt/libvirt-doc_0.4.6-5_all.deb
libvirt0-dbg_0.4.6-5_powerpc.deb
  to pool/main/libv/libvirt/libvirt0-dbg_0.4.6-5_powerpc.deb
libvirt0_0.4.6-5_powerpc.deb
  to pool/main/libv/libvirt/libvirt0_0.4.6-5_powerpc.deb
libvirt_0.4.6-5.diff.gz
  to pool/main/libv/libvirt/libvirt_0.4.6-5.diff.gz
libvirt_0.4.6-5.dsc
  to pool/main/libv/libvirt/libvirt_0.4.6-5.dsc
python-libvirt_0.4.6-5_powerpc.deb
  to pool/main/libv/libvirt/python-libvirt_0.4.6-5_powerpc.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Guido Günther <[EMAIL PROTECTED]> (supplier of updated libvirt package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Fri, 14 Nov 2008 14:54:48 +0100
Source: libvirt
Binary: libvirt-bin libvirt0 libvirt0-dbg libvirt-doc libvirt-dev python-libvirt
Architecture: source all powerpc
Version: 0.4.6-5
Distribution: unstable
Urgency: low
Maintainer: Debian Libvirt Maintainers <[EMAIL PROTECTED]>
Changed-By: Guido Günther <[EMAIL PROTECTED]>
Description: 
 libvirt-bin - the programs for the libvirt library
 libvirt-dev - development files for the libvirt library
 libvirt-doc - documentation for the libvirt library
 libvirt0   - library for interfacing with different virtualization systems
 libvirt0-dbg - library for interfacing with different virtualization systems
 python-libvirt - libvirt Python bindings
Closes: 504605 505577 505607
Changes: 
 libvirt (0.4.6-5) unstable; urgency=low
 .
   * [411ada3] add more details about dnsmasq vs. libvirtd (Closes: #504605)
   * [2f8f07d] add default image dir virt-manager assumes they exist and
     they're used in the SELinux policies too. (Closes: #505577)
   * [9eb3a83] fix #define vs. #defined typos - affects non Linux architectures
     and fixes the build with gcc 4.4 (Closes: #505607) - thanks to Martin
     Michlmayr
   * [0e21634] fix uploader
Checksums-Sha1: 
 3bd3dac04bd467c2b21c0e2a672b652fc7857781 1593 libvirt_0.4.6-5.dsc
 f366754ee5b1bf22af27a9113d908347ebd4291c 12964 libvirt_0.4.6-5.diff.gz
 e081900e5e7ecd08b99a27fd9d624af7ea5496bf 547566 libvirt-doc_0.4.6-5_all.deb
 7df31878e45502daaad0a97e160b6b3cf867692b 236206 libvirt-bin_0.4.6-5_powerpc.deb
 ef559b2baf6144054276ccf9eb6f386edcad33c5 307160 libvirt0_0.4.6-5_powerpc.deb
 27b3379a5543cb8085790b142e356fc5e2dab0cf 553942 
libvirt0-dbg_0.4.6-5_powerpc.deb
 5d14aec6dbcdee4ec204257e371b81bd1d45fb4f 385362 libvirt-dev_0.4.6-5_powerpc.deb
 b31d23ec0aac001a73480c57a7b350af01b92f3d 151080 
python-libvirt_0.4.6-5_powerpc.deb
Checksums-Sha256: 
 12912c9d0cc6d952de887c9271456e0ca37abebb4e486096fb70c79cf99fb4c3 1593 
libvirt_0.4.6-5.dsc
 77a13b55de199639570fba6fb4997d671a3f9a8bd7aba60f76d06a124d65dafc 12964 
libvirt_0.4.6-5.diff.gz
 610ca3f73c577f951127c12c0523c6dc4802e310a19b6b1aed3792fddb043527 547566 
libvirt-doc_0.4.6-5_all.deb
 e7b3f71bacc2bdf806c36cff565606974fb0dffc7f9982505ccb11597453eb08 236206 
libvirt-bin_0.4.6-5_powerpc.deb
 b9f6057f4bfbf77ec194de6480142131fba1a06e7de32b15607ecf2d3d665600 307160 
libvirt0_0.4.6-5_powerpc.deb
 f36c8f578dbe7d30ae0d654c39d3deecf28d75262e49befafd278bd45aec1f2a 553942 
libvirt0-dbg_0.4.6-5_powerpc.deb
 f1c9c0a84c105ab405662029b4fee14f7a114084e450396c90170d1453fa45e9 385362 
libvirt-dev_0.4.6-5_powerpc.deb
 4ab928ab71a761f935e5a824cd5a2458588a16f1777631b885b20447c73fb6d9 151080 
python-libvirt_0.4.6-5_powerpc.deb
Files: 
 7ed51c69795e7debfc3bda379348aaa5 1593 libs optional libvirt_0.4.6-5.dsc
 e2a98e96bfc3d4dae2f8be2636c6b3e7 12964 libs optional libvirt_0.4.6-5.diff.gz
 6c3eb596afe2385d9aa6ee2b1d44fbe2 547566 doc optional 
libvirt-doc_0.4.6-5_all.deb
 3f7af19ffbb163411f8dc0356217a2eb 236206 admin optional 
libvirt-bin_0.4.6-5_powerpc.deb
 0da94dcd8cdad1d410f11d0cd18e8e60 307160 libs optional 
libvirt0_0.4.6-5_powerpc.deb
 241eeb26179f9f775dc9f5f5c45a436f 553942 libs extra 
libvirt0-dbg_0.4.6-5_powerpc.deb
 43e0a119d45aaf9f75716e0b787cf072 385362 libdevel optional 
libvirt-dev_0.4.6-5_powerpc.deb
 c1ad6be0e66d009bab9f642db358ea91 151080 python optional 
python-libvirt_0.4.6-5_powerpc.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iD8DBQFJHYkAn88szT8+ZCYRAp8ZAJ9CALZ2YAXHQ7oPT70dwegbM6rItQCeM/ER
4yeF7NFtwneL9cccRn7hlEw=
=Q/sQ
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to