[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#811381: marked as done (abiword: ftbfs with GCC-6)



Your message dated Sat, 23 Jan 2016 21:49:40 +0000
with message-id <E1aN63w-0006EQ-Pe@franck.debian.org>
and subject line Bug#811381: fixed in abiword 3.0.1-5
has caused the Debian Bug report #811381,
regarding abiword: ftbfs with GCC-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 owner@bugs.debian.org
immediately.)


-- 
811381: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=811381
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: abiword
Severity: normal
Tags: upstream patch
Usertags: ftbfs-gcc-6

Dear Maintainer,

abiword fails to build with gcc-6.  This appears to be because g++ uses
C++ 11 by default which introduces several errors.  They include brace
initializers that use negative numbers to initialize unsigned variables,
"blah"foo not being valid because of operator "", and errors about
implicitly converting to bool.  The attached patch fixes enough of these
issues to get the package to compile, but it may not always be the best
way to resolve the issue.

-- System Information:
Debian Release: 8.2
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)
--- abiword-3.0.1.orig/plugins/collab/backends/service/xp/RealmProtocol.cpp
+++ abiword-3.0.1/plugins/collab/backends/service/xp/RealmProtocol.cpp
@@ -6,8 +6,8 @@ namespace protocolv1 {
 
 #define MAX_PACKET_DATA_SIZE 64*1024*1024
 		
-#define RPV1_PACKET_NONEXISTENT -2
-#define RPV1_PACKET_VARIABLE -1
+#define RPV1_PACKET_NONEXISTENT uint32_t(-2)
+#define RPV1_PACKET_VARIABLE uint32_t(-1)
 	
 static uint32_t body_size[6] = {
 	RPV1_PACKET_NONEXISTENT, /* 0: reserved */
--- abiword-3.0.1.orig/plugins/collab/backends/service/xp/soa_soup.cpp
+++ abiword-3.0.1/plugins/collab/backends/service/xp/soa_soup.cpp
@@ -163,7 +163,7 @@ namespace soup_soa {
 	
 	static bool _invoke(const std::string& /*url*/, const soa::method_invocation& /*mi*/, SoaSoupSession& sess, std::string& result) {
 		if (!sess.m_session || !sess.m_msg )
-			return soa::GenericPtr();
+			return false;
 
 		guint status = soup_session_send_message (sess.m_session, sess.m_msg);
 		if (!(SOUP_STATUS_IS_SUCCESSFUL (status) ||
--- abiword-3.0.1.orig/plugins/latex/xp/ie_exp_LaTeX.cpp
+++ abiword-3.0.1/plugins/latex/xp/ie_exp_LaTeX.cpp
@@ -1329,7 +1329,7 @@ void s_LaTeX_Listener::_outputData(const
 	m_pie->write(sBuf.c_str(),sBuf.size());
 }
 
-#define SUB(a,who) case a: subst = "\\(\\"who"\\)"; return true;
+#define SUB(a,who) case a: subst = "\\(\\" who"\\)"; return true;
 #define SUBd(a,who) case a: subst = who; return true;
 static bool _convertLettersToSymbols(char c, const char *& subst)
 {
--- abiword-3.0.1.orig/plugins/xslfo/xp/ie_exp_XSL-FO.cpp
+++ abiword-3.0.1/plugins/xslfo/xp/ie_exp_XSL-FO.cpp
@@ -1451,7 +1451,7 @@ void s_XSL_FO_Listener::_openSection(PT_
 	{ \
 		UT_UTF8String esc = szValue; \
 		esc.escapeXML(); \
-		buf += " "x"=\""; \
+		buf += " " x"=\""; \
 		buf += esc.utf8_str(); \
 		buf += "\""; \
 	}

--- End Message ---
--- Begin Message ---
Source: abiword
Source-Version: 3.0.1-5

We believe that the bug you reported is fixed in the latest version of
abiword, 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 811381@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Adam Borowski <kilobyte@angband.pl> (supplier of updated abiword 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 ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Sat, 23 Jan 2016 21:21:21 +0100
Source: abiword
Binary: abiword-common abiword abiword-plugin-grammar libabiword-3.0 libabiword-3.0-dev gir1.2-abiword-3.0 abiword-dbg
Architecture: source
Version: 3.0.1-5
Distribution: unstable
Urgency: medium
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Adam Borowski <kilobyte@angband.pl>
Description:
 abiword    - efficient, featureful word processor with collaboration
 abiword-common - efficient, featureful word processor with collaboration -- common
 abiword-dbg - debugging symbols for abiword word processor
 abiword-plugin-grammar - grammar checking plugin for AbiWord
 gir1.2-abiword-3.0 - GObject introspection data for libabiword
 libabiword-3.0 - efficient, featureful word processor with collaboration -- shared
 libabiword-3.0-dev - efficient, featureful word processor with collaboration -- develo
Closes: 809882 811381
Changes:
 abiword (3.0.1-5) unstable; urgency=medium
 .
   * QA upload.
   * Fix FTBFS with libpng16 (closes: #809882)
   * Use default gnutls cipher/kx priorities, fixes FTBFS with gnutls30.
   * Fix FTBFS with gcc-6 (closes: #811381)
Checksums-Sha1:
 8054c2ca3cd31ae0f563fc463d4db12d4727595e 2625 abiword_3.0.1-5.dsc
 c85f6cc99f1e53c06c4ef74d27cea3f4ac095618 50520 abiword_3.0.1-5.debian.tar.xz
Checksums-Sha256:
 b9a7e557298afb3e7d184ba8a36d398aaa9f9911b756047a8d4a68551605bed1 2625 abiword_3.0.1-5.dsc
 b26c2c12ebb1f578010578a1aa663fab539bb524b9b63b3eb51743db9bb31900 50520 abiword_3.0.1-5.debian.tar.xz
Files:
 321d12652bf169b047e62420a69e462c 2625 gnome optional abiword_3.0.1-5.dsc
 b7f152cdd20b6778748323b96dcddc59 50520 gnome optional abiword_3.0.1-5.debian.tar.xz

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBCAAGBQJWo+UnAAoJECw7Q2/qxoEBhx0IAJMFJ/NgylbrDjOC+MUbhksk
ZjPyI8PFdWIh25FglExIttCGMCDL+K/DHHPpXwUm2qCbGVnGGNLIuspf3nxoNsGn
vMi8TfnkYXzqwbsdOfUij8fcSDFcnZJKLVhA6vFPWsiZmH0dnGtVKB37to97B0UE
2eCWprPcTdu2Fyurk2ZHKue6Rra9U/m1oTyokLpIZJN1l4YMSn5Pn1lXATpbsTt1
RAEgrOzlmhqdlLG63rnFA4OLimVz9Xnrw7YvTRRXI4vMLT0lngqUXAKRKPrkw+1N
CkT4SYBcBFVVF/5QqaeCKKjjvE5uolJUQqlKtGS13udbQBtFpvzu2QlF790x7GY=
=g/09
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: