Your message dated Fri, 13 May 2016 11:49:30 +0000
with message-id <[email protected]>
and subject line Bug#824013: fixed in libzeep 3.0.2-4
has caused the Debian Bug report #824013,
regarding libzeep: FTBFS with g++6 and libboost-1.60 also compiled with g++-6
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.)


-- 
824013: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=824013
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: libzeep
Version: 3.0.2-3
Severity: important
Tags: patch

Control: block 816569 by -1

When compiled against libboost1.60 that is compiled with g++-6 compilation
fails because std::tie and boost::fusion::tie are both availabe with equal
signatures (see below). The attached patch fixes this.

Currently, boost1.60 is still compiled with g++-5 and not yet the default, but
this will probably change soon.

error log:
g++ -MD -c -o obj/doctype.o src/doctype.cpp -g -O2 -fstack-protector-strong
-Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -I. -fPIC
-pthread -shared -std=c++0x -Wall
src/doctype.cpp: In member function 'virtual boost::fusion::tuple<bool, bool>
zeep::xml::doctype::state_repeated_zero_or_once::allow(const string&)':
src/doctype.cpp:135:20: error: call of overloaded 'tie(bool&, bool&)' is
ambiguous
    tie(result, done) = m_sub->allow(name);
                    ^
In file included from /usr/include/boost/fusion/tuple.hpp:13:0,
                 from /usr/include/boost/fusion/include/tuple.hpp:11,
                 from /usr/include/boost/tr1/tuple.hpp:58,
                 from src/doctype.cpp:12:
/usr/include/boost/fusion/tuple/tuple_tie.hpp:30:5: note: candidate:
boost::fusion::tuple<T& ...> boost::fusion::tie(T& ...) [with T = {bool, bool}]
     tie(T&... arg)
     ^~~
In file included from /usr/include/c++/6/functional:55:0,
                 from
/usr/include/boost/fusion/support/detail/as_fusion_element.hpp:15,
                 from
/usr/include/boost/fusion/algorithm/transformation/push_back.hpp:11,
                 from
/usr/include/boost/fusion/view/iterator_range/detail/segmented_iterator_range.hpp:20,
                 from
/usr/include/boost/fusion/view/iterator_range/detail/segments_impl.hpp:14,
                 from
/usr/include/boost/fusion/view/iterator_range/iterator_range.hpp:22,
                 from /usr/include/boost/fusion/view/iterator_range.hpp:11,
                 from
/usr/include/boost/fusion/sequence/intrinsic/detail/segmented_begin.hpp:13,
                 from
/usr/include/boost/fusion/sequence/intrinsic/begin.hpp:18,
                 from /usr/include/boost/fusion/mpl/begin.hpp:12,
                 from
/usr/include/boost/fusion/sequence/intrinsic/detail/segmented_size.hpp:18,
                 from /usr/include/boost/fusion/sequence/intrinsic/size.hpp:17,
                 from /usr/include/boost/fusion/container/vector/vector.hpp:32,
                 from /usr/include/boost/fusion/tuple/tuple.hpp:23,
                 from /usr/include/boost/fusion/tuple.hpp:11,
                 from /usr/include/boost/fusion/include/tuple.hpp:11,
                 from /usr/include/boost/tr1/tuple.hpp:58,
                 from src/doctype.cpp:12:
/usr/include/c++/6/tuple:1521:5: note: candidate: constexpr
std::tuple<_Elements& ...> std::tie(_Elements& ...) [with _Elements = {bool,
bool}]
     tie(_Elements&... __args) noexcept
     ^~~
src/doctype.cpp:143:20: error: call of overloaded 'tie(bool&, bool&)' is
ambiguous
    tie(result, done) = m_sub->allow(name);
                    ^
Best,
Gert



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

Kernel: Linux 4.5.0-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Author: Gert Wollny <[email protected]>
Last-Update: Wed, 11 May 2016
Description: Correct use of boost::fusion::tie
 With the combination of g++6 and boost-1.60 compiled with g++-6
 both provide the function tie with equal signatures, hence
 compilation fails. This patch ensures that always
 boost::fusion::tie is used.

--- a/src/doctype.cpp
+++ b/src/doctype.cpp
@@ -132,7 +132,7 @@
 	switch (m_state)
 	{
 		case state_Start:
-			tie(result, done) = m_sub->allow(name);
+		        boost::fusion::tie(result, done) = m_sub->allow(name);
 			if (result == true)
 				m_state = state_Loop;
 			else
@@ -140,7 +140,7 @@
 			break;
 		
 		case state_Loop:
-			tie(result, done) = m_sub->allow(name);
+			boost::fusion::tie(result, done) = m_sub->allow(name);
 			if (result == false and done)
 				done = true;
 			break;
@@ -172,7 +172,7 @@
 	switch (m_state)
 	{
 		case state_Start:
-			tie(result, done) = m_sub->allow(name);
+			boost::fusion::tie(result, done) = m_sub->allow(name);
 			if (result == true)
 				m_state = state_Loop;
 			else
@@ -180,11 +180,11 @@
 			break;
 		
 		case state_Loop:
-			tie(result, done) = m_sub->allow(name);
+			boost::fusion::tie(result, done) = m_sub->allow(name);
 			if (result == false and done)
 			{
 				m_sub->reset();
-				tie(result, done) = m_sub->allow(name);
+				boost::fusion::tie(result, done) = m_sub->allow(name);
 				if (result == false)
 					done = true;
 			}
@@ -218,28 +218,28 @@
 	switch (m_state)
 	{
 		case state_Start:
-			tie(result, done) = m_sub->allow(name);
+			boost::fusion::tie(result, done) = m_sub->allow(name);
 			if (result == true)
 				m_state = state_FirstLoop;
 			break;
 		
 		case state_FirstLoop:
-			tie(result, done) = m_sub->allow(name);
+			boost::fusion::tie(result, done) = m_sub->allow(name);
 			if (result == false and done)
 			{
 				m_sub->reset();
-				tie(result, done) = m_sub->allow(name);
+				boost::fusion::tie(result, done) = m_sub->allow(name);
 				if (result == true)
 					m_state = state_NextLoop;
 			}
 			break;
 
 		case state_NextLoop:
-			tie(result, done) = m_sub->allow(name);
+			boost::fusion::tie(result, done) = m_sub->allow(name);
 			if (result == false and done)
 			{
 				m_sub->reset();
-				tie(result, done) = m_sub->allow(name);
+				boost::fusion::tie(result, done) = m_sub->allow(name);
 				if (result == false)
 					done = true;
 			}
@@ -319,7 +319,7 @@
 			// fall through
 		
 		case state_Element:
-			tie(result, done) = (*m_next)->allow(name);
+			boost::fusion::tie(result, done) = (*m_next)->allow(name);
 			while (result == false and done)
 			{
 				++m_next;
@@ -330,7 +330,7 @@
 					break;
 				}
 
-				tie(result, done) = (*m_next)->allow(name);
+				boost::fusion::tie(result, done) = (*m_next)->allow(name);
 			}
 			break;
 	}
@@ -404,7 +404,7 @@
 		case state_Start:
 			for (list<state_ptr>::iterator choice = m_states.begin(); choice != m_states.end(); ++choice)
 			{
-				tie(result, done) = (*choice)->allow(name);
+				boost::fusion::tie(result, done) = (*choice)->allow(name);
 				if (result == true)
 				{
 					m_sub = *choice;
@@ -415,7 +415,7 @@
 			break;
 
 		case state_Choice:
-			tie(result, done) = m_sub->allow(name);
+			boost::fusion::tie(result, done) = m_sub->allow(name);
 			break;
 	}
 	
@@ -490,7 +490,7 @@
 bool validator::allow(const string& name)
 {
 	bool result;
-	tie(result, m_done) = m_state->allow(name);
+	boost::fusion::tie(result, m_done) = m_state->allow(name);
 	return result;
 }
 

--- End Message ---
--- Begin Message ---
Source: libzeep
Source-Version: 3.0.2-4

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

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.
Gert Wollny <[email protected]> (supplier of updated libzeep 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: SHA256

Format: 1.8
Date: Fri, 13 May 2016 07:41:01 +0000
Source: libzeep
Binary: libzeep-dev libzeep3.0v5
Architecture: source amd64
Version: 3.0.2-4
Distribution: unstable
Urgency: medium
Maintainer: Debian Med Packaging Team 
<[email protected]>
Changed-By: Gert Wollny <[email protected]>
Description:
 libzeep-dev - Development files for libzeep
 libzeep3.0v5 - Library files for libzeep
Closes: 824013
Changes:
 libzeep (3.0.2-4) unstable; urgency=medium
 .
   * Team upload.
   * d/p/libzeep-3.0-g++6-boost1.60.patch: correct compiling with
     libboost1.60 in combination with g++ Closes: #824013
   * d/control: cme fix dpkg-control
   * d/control: set secure url for repository viewer
Checksums-Sha1:
 d11c040e901b2096149b4e66023c514ccce65a35 2169 libzeep_3.0.2-4.dsc
 c19db6d1b43b5fccb19c003d1df333cca3c5a81d 5588 libzeep_3.0.2-4.debian.tar.xz
 8aa615bbfbc358fc9a5668153f7a48a1dd82e430 117540 libzeep-dev_3.0.2-4_amd64.deb
 c231bad6ee8ea082d89c83f4ee8b383649f6e6dc 433228 libzeep3.0v5_3.0.2-4_amd64.deb
Checksums-Sha256:
 9f4afaf58e500c93efa4063e9109370e050ebccbc0d2a820d4d403a803b80e47 2169 
libzeep_3.0.2-4.dsc
 5499f8aa534e2ade5950bbcc32b5911e1f067bded167a15e5db0b991ff72d44a 5588 
libzeep_3.0.2-4.debian.tar.xz
 30a14e4853d89b9cfc378e1b747bea5d17883e6e2bb74e9d452403275b7c2473 117540 
libzeep-dev_3.0.2-4_amd64.deb
 2ce4e6f786c18322501f6e695f84236e0f6837d9a97ce1a2699e5fb7b004e03f 433228 
libzeep3.0v5_3.0.2-4_amd64.deb
Files:
 5e40b66d33c8ac64e61f36fde092641e 2169 libs optional libzeep_3.0.2-4.dsc
 8ae87c92b08adf3887d50f863eea4dc2 5588 libs optional 
libzeep_3.0.2-4.debian.tar.xz
 2a1c35bf25c3a59356a9a291187e3281 117540 libdevel optional 
libzeep-dev_3.0.2-4_amd64.deb
 9087957f0a94b7f549b327f09e233aa0 433228 libs optional 
libzeep3.0v5_3.0.2-4_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCAAGBQJXNb0JAAoJEFeKBJTRxkbRJO4P/R7wv9yBWrFVRFh4+rvHItKA
50JS/m3cvtOKkZbm/ZvkMe/mjEOpsBoISZ3t/pHW5VE93PkiIyfPiKZn8IXY0Tw/
rw14irhyZCA4NNPD4+AkRTK8l8JV67j9auhzTR7N728/fKM8Qe1J2lUr5KD6RGbr
NmthyIUazYf9evV5gwpqkfKRxCQ7wXkw27m38M7UAQ6QPbYiG/scnj5x+BpB8LHp
ITr0N+jr2MpSMS8LB0q77V5ZGKk0IKd/QDwV5SLrCTZzIjC8miObqzWwAo5Q1oNq
wtnhIFpT8G0Rhki6z6ehF+3C6aFsDYeIhOBx41lXOGEMvWhLLpaVaMSoTrSncV2G
FoN3Rec1DwkOFdzs1907v2iug2sIcn8cZkShMJ3aPwf8Lke2LnOSxojjM4Finetc
4bGlGEV6P30HZQLh3YfPHtmbcVLtPMRKYd0Ew7Dzq3wkDlAQUt+8as1oXO3SNaWD
d3J5usqZwWxI6qUccd827B7z7YjfYqpiXpYoNhFNHDy8icwo4tX66f0WIyVq5qDH
oKjDxJ2szk2odAnltAN57s80wvFGmdLCxqEH+6Z/D6X3WsezdHWkriGiRTiiWwJm
KWMMFQIfhflWiAHy12uZDJZ2AdXNl65D9hpmQ0Cu/puU5DhaTR4SvJzcw64KZu2b
3Gyhqb6AlBtohl33MJH4
=hu1b
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to