Your message dated Thu, 31 May 2012 15:28:40 +0000
with message-id <[email protected]>
and subject line Bug#667423: fixed in xorp 1.8.5-1.1
has caused the Debian Bug report #667423,
regarding xorp: ftbfs with GCC-4.7
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.)


-- 
667423: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=667423
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: xorp
Version: 1.8.5-1
Severity: important
Tags: sid wheezy
User: [email protected]
Usertags: ftbfs-gcc-4.7

The package fails to build in a test rebuild on at least amd64 with
gcc-4.7/g++-4.7, but succeeds to build with gcc-4.6/g++-4.6. The
severity of this report may be raised before the wheezy release.

fea/data_plane/ifconfig/ifconfig_get_netlink_socket.cc:283:9: error: cast from 
type 'const nlmsghdr*' to type 'char*' casts away qualifiers [-Werror=cast-qual]

The full build log can be found at:
http://people.debian.org/~lucas/logs/2012/03/29-clang-gcc47/unstable-gcc47/xorp_1.8.5-1_unstable-gcc47.log
The last lines of the build log are at the end of this report.

Some hints on fixing these issues can be found at
http://gcc.gnu.org/gcc-4.7/porting_to.html

To build with GCC 4.7, either set CC=gcc-4.7 CXX=g++-4.7 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.

[...]
g++ -o obj/x86_64-unknown-linux-gnu/xrl/interfaces/libxif_rip.so -Wl,-z,origin 
-rdynamic -shared obj/x86_64-unknown-linux-gnu/xrl/interfaces/rip_xif.os 
-Lobj/x86_64-unknown-linux-gnu/xrl/interfaces/usr/lib -Lxrl/interfaces/usr/lib 
-Lobj/x86_64-unknown-linux-gnu/libxipc -Llibxipc 
-Lobj/x86_64-unknown-linux-gnu/libcomm -Llibcomm 
-Lobj/x86_64-unknown-linux-gnu/libxorp -Llibxorp -lxorp_ipc -lxorp_comm 
-lxorp_core
Symlink("/«PKGBUILDDIR»/obj/x86_64-unknown-linux-gnu/xrl/interfaces/libxif_rip.so",
 as "/«PKGBUILDDIR»/obj/x86_64-unknown-linux-gnu/lib/libxif_rip.so")
/«PKGBUILDDIR»/xrl/scripts/clnt-gen 
-Iobj/x86_64-unknown-linux-gnu/xrl/interfaces/../.. --output-dir 
obj/x86_64-unknown-linux-gnu/xrl/interfaces xrl/interfaces/ripng.xif
g++ -o obj/x86_64-unknown-linux-gnu/xrl/interfaces/ripng_xif.os -c -O2 -g3 
-Werror -W -Wall -Wwrite-strings -Wcast-qual -Wpointer-arith -Wcast-align 
-Woverloaded-virtual -ftemplate-depth-25 -pipe -DXORP_BUILDINFO -fPIC 
-DXRL_PF=120 -DXORP_VERSION=1.8.5 -Iobj/x86_64-unknown-linux-gnu -I. -I. 
obj/x86_64-unknown-linux-gnu/xrl/interfaces/ripng_xif.cc
g++ -o obj/x86_64-unknown-linux-gnu/xrl/interfaces/libxif_ripng.so 
-Wl,-z,origin -rdynamic -shared 
obj/x86_64-unknown-linux-gnu/xrl/interfaces/ripng_xif.os 
-Lobj/x86_64-unknown-linux-gnu/xrl/interfaces/usr/lib -Lxrl/interfaces/usr/lib 
-Lobj/x86_64-unknown-linux-gnu/libxipc -Llibxipc 
-Lobj/x86_64-unknown-linux-gnu/libcomm -Llibcomm 
-Lobj/x86_64-unknown-linux-gnu/libxorp -Llibxorp -lxorp_ipc -lxorp_comm 
-lxorp_core
Symlink("/«PKGBUILDDIR»/obj/x86_64-unknown-linux-gnu/xrl/interfaces/libxif_ripng.so",
 as "/«PKGBUILDDIR»/obj/x86_64-unknown-linux-gnu/lib/libxif_ripng.so")
/«PKGBUILDDIR»/xrl/scripts/clnt-gen 
-Iobj/x86_64-unknown-linux-gnu/xrl/interfaces/../.. --output-dir 
obj/x86_64-unknown-linux-gnu/xrl/interfaces xrl/interfaces/vrrp.xif
g++ -o obj/x86_64-unknown-linux-gnu/xrl/interfaces/vrrp_xif.os -c -O2 -g3 
-Werror -W -Wall -Wwrite-strings -Wcast-qual -Wpointer-arith -Wcast-align 
-Woverloaded-virtual -ftemplate-depth-25 -pipe -DXORP_BUILDINFO -fPIC 
-DXRL_PF=120 -DXORP_VERSION=1.8.5 -Iobj/x86_64-unknown-linux-gnu -I. -I. 
obj/x86_64-unknown-linux-gnu/xrl/interfaces/vrrp_xif.cc
g++ -o obj/x86_64-unknown-linux-gnu/xrl/interfaces/libxif_vrrp.so -Wl,-z,origin 
-rdynamic -shared obj/x86_64-unknown-linux-gnu/xrl/interfaces/vrrp_xif.os 
-Lobj/x86_64-unknown-linux-gnu/xrl/interfaces/usr/lib -Lxrl/interfaces/usr/lib 
-Lobj/x86_64-unknown-linux-gnu/libxipc -Llibxipc 
-Lobj/x86_64-unknown-linux-gnu/libcomm -Llibcomm 
-Lobj/x86_64-unknown-linux-gnu/libxorp -Llibxorp -lxorp_ipc -lxorp_comm 
-lxorp_core
Symlink("/«PKGBUILDDIR»/obj/x86_64-unknown-linux-gnu/xrl/interfaces/libxif_vrrp.so",
 as "/«PKGBUILDDIR»/obj/x86_64-unknown-linux-gnu/lib/libxif_vrrp.so")
/«PKGBUILDDIR»/xrl/scripts/clnt-gen 
-Iobj/x86_64-unknown-linux-gnu/xrl/interfaces/../.. --output-dir 
obj/x86_64-unknown-linux-gnu/xrl/interfaces xrl/interfaces/ospfv2.xif
g++ -o obj/x86_64-unknown-linux-gnu/xrl/interfaces/ospfv2_xif.os -c -O2 -g3 
-Werror -W -Wall -Wwrite-strings -Wcast-qual -Wpointer-arith -Wcast-align 
-Woverloaded-virtual -ftemplate-depth-25 -pipe -DXORP_BUILDINFO -fPIC 
-DXRL_PF=120 -DXORP_VERSION=1.8.5 -Iobj/x86_64-unknown-linux-gnu -I. -I. 
obj/x86_64-unknown-linux-gnu/xrl/interfaces/ospfv2_xif.cc
g++ -o obj/x86_64-unknown-linux-gnu/xrl/interfaces/libxif_ospfv2.so 
-Wl,-z,origin -rdynamic -shared 
obj/x86_64-unknown-linux-gnu/xrl/interfaces/ospfv2_xif.os 
-Lobj/x86_64-unknown-linux-gnu/xrl/interfaces/usr/lib -Lxrl/interfaces/usr/lib 
-Lobj/x86_64-unknown-linux-gnu/libxipc -Llibxipc 
-Lobj/x86_64-unknown-linux-gnu/libcomm -Llibcomm 
-Lobj/x86_64-unknown-linux-gnu/libxorp -Llibxorp -lxorp_ipc -lxorp_comm 
-lxorp_core
Symlink("/«PKGBUILDDIR»/obj/x86_64-unknown-linux-gnu/xrl/interfaces/libxif_ospfv2.so",
 as "/«PKGBUILDDIR»/obj/x86_64-unknown-linux-gnu/lib/libxif_ospfv2.so")
BuildXrlTemplate(["obj/x86_64-unknown-linux-gnu/etc/templates/fea.tp"], 
["etc/templates/fea.tp.raw"])
source:  etc/templates/fea.tp.raw
target:  obj/x86_64-unknown-linux-gnu/etc/templates/fea.tp
g++ -o 
obj/x86_64-unknown-linux-gnu/fea/data_plane/ifconfig/ifconfig_get_click.os -c 
-O2 -g3 -Werror -W -Wall -Wwrite-strings -Wcast-qual -Wpointer-arith 
-Wcast-align -Woverloaded-virtual -ftemplate-depth-25 -pipe -DXORP_BUILDINFO 
-fPIC -DXRL_PF=120 -DXORP_VERSION=1.8.5 -Iobj/x86_64-unknown-linux-gnu -I. -I. 
fea/data_plane/ifconfig/ifconfig_get_click.cc
g++ -o 
obj/x86_64-unknown-linux-gnu/fea/data_plane/ifconfig/ifconfig_get_getifaddrs.os 
-c -O2 -g3 -Werror -W -Wall -Wwrite-strings -Wcast-qual -Wpointer-arith 
-Wcast-align -Woverloaded-virtual -ftemplate-depth-25 -pipe -DXORP_BUILDINFO 
-fPIC -DXRL_PF=120 -DXORP_VERSION=1.8.5 -Iobj/x86_64-unknown-linux-gnu -I. -I. 
fea/data_plane/ifconfig/ifconfig_get_getifaddrs.cc
g++ -o 
obj/x86_64-unknown-linux-gnu/fea/data_plane/ifconfig/ifconfig_get_ioctl.os -c 
-O2 -g3 -Werror -W -Wall -Wwrite-strings -Wcast-qual -Wpointer-arith 
-Wcast-align -Woverloaded-virtual -ftemplate-depth-25 -pipe -DXORP_BUILDINFO 
-fPIC -DXRL_PF=120 -DXORP_VERSION=1.8.5 -Iobj/x86_64-unknown-linux-gnu -I. -I. 
fea/data_plane/ifconfig/ifconfig_get_ioctl.cc
g++ -o 
obj/x86_64-unknown-linux-gnu/fea/data_plane/ifconfig/ifconfig_get_iphelper.os 
-c -O2 -g3 -Werror -W -Wall -Wwrite-strings -Wcast-qual -Wpointer-arith 
-Wcast-align -Woverloaded-virtual -ftemplate-depth-25 -pipe -DXORP_BUILDINFO 
-fPIC -DXRL_PF=120 -DXORP_VERSION=1.8.5 -Iobj/x86_64-unknown-linux-gnu -I. -I. 
fea/data_plane/ifconfig/ifconfig_get_iphelper.cc
g++ -o 
obj/x86_64-unknown-linux-gnu/fea/data_plane/ifconfig/ifconfig_get_netlink_socket.os
 -c -O2 -g3 -Werror -W -Wall -Wwrite-strings -Wcast-qual -Wpointer-arith 
-Wcast-align -Woverloaded-virtual -ftemplate-depth-25 -pipe -DXORP_BUILDINFO 
-fPIC -DXRL_PF=120 -DXORP_VERSION=1.8.5 -Iobj/x86_64-unknown-linux-gnu -I. -I. 
fea/data_plane/ifconfig/ifconfig_get_netlink_socket.cc
fea/data_plane/ifconfig/ifconfig_get_netlink_socket.cc: In static member 
function 'static int 
IfConfigGetNetlinkSocket::parse_buffer_netlink_socket(IfConfig&, IfTree&, const 
std::vector<unsigned char>&, bool&, int&)':
fea/data_plane/ifconfig/ifconfig_get_netlink_socket.cc:283:9: error: cast from 
type 'const nlmsghdr*' to type 'char*' casts away qualifiers [-Werror=cast-qual]
fea/data_plane/ifconfig/ifconfig_get_netlink_socket.cc:284:21: error: cast from 
type 'const nlmsghdr*' to type 'char*' casts away qualifiers [-Werror=cast-qual]
cc1plus: all warnings being treated as errors
scons: *** 
[obj/x86_64-unknown-linux-gnu/fea/data_plane/ifconfig/ifconfig_get_netlink_socket.os]
 Error 1
scons: building terminated because of errors.
make: *** [build-arch-stamp] Error 2
dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2



--- End Message ---
--- Begin Message ---
Source: xorp
Source-Version: 1.8.5-1.1

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

xorp_1.8.5-1.1.diff.gz
  to main/x/xorp/xorp_1.8.5-1.1.diff.gz
xorp_1.8.5-1.1.dsc
  to main/x/xorp/xorp_1.8.5-1.1.dsc
xorp_1.8.5-1.1_amd64.deb
  to main/x/xorp/xorp_1.8.5-1.1_amd64.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.
Matthias Klose <[email protected]> (supplier of updated xorp 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: Mon, 28 May 2012 13:44:30 +0000
Source: xorp
Binary: xorp
Architecture: source amd64
Version: 1.8.5-1.1
Distribution: unstable
Urgency: low
Maintainer: Jose Calhariz <[email protected]>
Changed-By: Matthias Klose <[email protected]>
Description: 
 xorp       - eXtensible Open Router Platform
Closes: 667423
Changes: 
 xorp (1.8.5-1.1) unstable; urgency=low
 .
   * Non maintainer upload
   * Work around build failure with GCC 4.7. Closes: #667423.
Checksums-Sha1: 
 949e078b98635883b95985a276b8d99b022cb596 1361 xorp_1.8.5-1.1.dsc
 83e51bc3e74b3834ceeb3dd44c390c46b534efc9 36266 xorp_1.8.5-1.1.diff.gz
 fb423c25892a97dc66a6c3c979609b214ad25e6c 7211106 xorp_1.8.5-1.1_amd64.deb
Checksums-Sha256: 
 399d059ebe563f0baaaea38c431f5b4c3e098faf0e122b0dba2400358295d101 1361 
xorp_1.8.5-1.1.dsc
 9168b956ff7b6619b53816576548d37d8d616333904ff70da571ce71f08c5875 36266 
xorp_1.8.5-1.1.diff.gz
 73a4775d896dfb922afd26e016220951b296ad545dd353d363d5f490ad208fa5 7211106 
xorp_1.8.5-1.1_amd64.deb
Files: 
 93bfca47d91c772955f46e9137f7cc3f 1361 net extra xorp_1.8.5-1.1.dsc
 ee94dad0119b40be8ff939a0d01096dd 36266 net extra xorp_1.8.5-1.1.diff.gz
 bc33007164721c18716a3c2268968d2d 7211106 net extra xorp_1.8.5-1.1_amd64.deb

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

iEYEARECAAYFAk/DiOwACgkQStlRaw+TLJw3VACeOEdtCDu4cuxldOQdMz3Ia59P
KBQAoKughj8wkLEoBJZyIEhyBN0BZfqR
=e4oc
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to