Your message dated Wed, 06 Sep 2017 07:05:55 +0000
with message-id <e1dpupl-0003vi...@fasolo.debian.org>
and subject line Bug#873152: fixed in utopia-documents 3.0.2-1.1
has caused the Debian Bug report #873152,
regarding utopia-documents: Fails to build with qt5.9
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 ow...@bugs.debian.org
immediately.)


-- 
873152: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=873152
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: utopia-documents
Version: 3.0.2-1
Severity: serious
Tags: patch
Justification: FTBFS
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu artful ubuntu-patch

Hi James,

In Ubuntu, we've found that utopia-documents fails to build against Qt5.9
with the following error:

[ 16%] Generating moc_bubble.cpp
cd /<<PKGBUILDDIR>>/utopia-build/libutopia2_qt/utopia2/qt && 
/usr/lib/x86_64-linux-gnu/qt5/bin/moc 
@/<<PKGBUILDDIR>>/utopia-build/libutopia2_qt/utopia2/qt/moc_bubble.cpp_parameters
/<<PKGBUILDDIR>>/libutopia2_qt/utopia2/qt/bubble.h:56: Error: Namespace 
declaration lacks Q_NAMESPACE macro.
libutopia2_qt/utopia2/qt/CMakeFiles/utopia2_qt_autogen.dir/build.make:80: 
recipe for target 'libutopia2_qt/utopia2/qt/moc_bubble.cpp' failed

Full build logs can be found at 
https://launchpad.net/ubuntu/+source/utopia-documents/3.0.2-1

Since the Qt stack is nearly identical between artful and Debian unstable, I
believe (but have not tested) that this build failure applies to Debian as
well.

I have attached the attached patch to fix the build failure in Ubuntu.

Thanks,
-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
slanga...@ubuntu.com                                     vor...@debian.org
diff -Nru utopia-documents-3.0.2/debian/patches/fix-namespace-declaration.patch 
utopia-documents-3.0.2/debian/patches/fix-namespace-declaration.patch
--- utopia-documents-3.0.2/debian/patches/fix-namespace-declaration.patch       
1969-12-31 16:00:00.000000000 -0800
+++ utopia-documents-3.0.2/debian/patches/fix-namespace-declaration.patch       
2017-08-24 17:05:58.000000000 -0700
@@ -0,0 +1,17 @@
+Description: add required Q_NAMESPACE macro to namespace
+ Qt 5.9 doesn't like namespaces without Q_NAMESPACE macro.
+Author: Steve Langasek <steve.langa...@ubuntu.com>
+Bug-Ubuntu: https://bugs.launchpad.net/bugs/1710317
+
+Index: utopia-documents-3.0.2/libutopia2_qt/utopia2/qt/bubble.h
+===================================================================
+--- utopia-documents-3.0.2.orig/libutopia2_qt/utopia2/qt/bubble.h
++++ utopia-documents-3.0.2/libutopia2_qt/utopia2/qt/bubble.h
+@@ -55,6 +55,7 @@
+ 
+ namespace Utopia
+ {
++    Q_NAMESPACE
+ 
+     typedef enum
+     {
diff -Nru utopia-documents-3.0.2/debian/patches/series 
utopia-documents-3.0.2/debian/patches/series
--- utopia-documents-3.0.2/debian/patches/series        2017-04-10 
05:13:10.000000000 -0700
+++ utopia-documents-3.0.2/debian/patches/series        2017-08-24 
16:58:24.000000000 -0700
@@ -1 +1,2 @@
 remove-utopia-update-check.diff
+fix-namespace-declaration.patch

--- End Message ---
--- Begin Message ---
Source: utopia-documents
Source-Version: 3.0.2-1.1

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

Debian distribution maintenance software
pp.
Gianfranco Costamagna <locutusofb...@debian.org> (supplier of updated 
utopia-documents 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 ftpmas...@ftp-master.debian.org)


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

Format: 1.8
Date: Wed, 06 Sep 2017 08:45:38 +0200
Source: utopia-documents
Binary: utopia-documents utopia-documents-dbg
Architecture: source
Version: 3.0.2-1.1
Distribution: unstable
Urgency: medium
Maintainer: James Marsh <deb...@jamesmarsh.net>
Changed-By: Gianfranco Costamagna <locutusofb...@debian.org>
Description:
 utopia-documents - PDF reader that displays interactive annotations on 
scientific ar
 utopia-documents-dbg - debugging symbols for utopia-documents
Closes: 873152
Launchpad-Bugs-Fixed: 1710317
Changes:
 utopia-documents (3.0.2-1.1) unstable; urgency=medium
 .
   * Non-maintainer upload.
 .
   [ Steve Langasek ]
   * debian/patches/fix-namespace-declaration.patch: add required
     Q_NAMESPACE macro to namespace. LP: #1710317. Closes: #873152
Checksums-Sha1:
 7e0df37caf6529874b8607eb055dd87b402dea2a 2353 utopia-documents_3.0.2-1.1.dsc
 8eb90b01893c67c71f550a8254ed4e9e59b529ed 17268 
utopia-documents_3.0.2-1.1.debian.tar.xz
Checksums-Sha256:
 06f3cb38463835fad723573f61d297d48e09c277bcaad6401e9579b429183f35 2353 
utopia-documents_3.0.2-1.1.dsc
 62a7c7d216bdc66bea1d88aedf3a66bf1a7940ee192a90d6ce40e356d201f6ee 17268 
utopia-documents_3.0.2-1.1.debian.tar.xz
Files:
 17093b4a8270c98488a6f3b190cf301f 2353 science optional 
utopia-documents_3.0.2-1.1.dsc
 7e47e17ad3e8bba6d1aa4ff23bf0c919 17268 science optional 
utopia-documents_3.0.2-1.1.debian.tar.xz

-----BEGIN PGP SIGNATURE-----

iQIcBAEBCAAGBQJZr5npAAoJEPNPCXROn13ZbWMP/RVECDn8XSg99EjHsOu2AqZW
SsaeQT15Z8H3eNGfPxJYYoHLVcGNPv3BWXZT554LhH7x2WW6Gt3gCAPHJ6sbYMSS
JIE66xtMctMhpl4BYjHJFpY80/shSedv1WzTTlMF3PxTBapnHeipMZV/YrXXDy+3
+2w5yu2v3gH63nj+weoPhSHL0c0L8ufVzjscL2DfWRs1JUqijWrsOjFYlOAXjhIM
nMaZLRa5j5BRCrfKYAn0G2hV8Ftp8OIeZwGj2bkibPIEsn1ANpdX24GY6voGIjPB
xb+fNXbOXnpq2dEypA+uqBHacdbJy/lZC/J8x/Bki9A1XkXIG2iawx2VPdk/cPY8
U82VQPkqmm4To/vpf0HiPy1NYH+iuQix0b0qwZ54jzbl2DWsGnmJvl9OcOsD4cb3
glQEGfEx7+72uNPU2tQsITn44doYq5IgeerwBgXts9b5pty7flWZUcvAgMZFD5aF
0E7HXTz7f98JMpgamOVD6HhlqIPdSXmZTxCt2InIbRjl0anNgPS12++kAZVIgz0p
X+80L2qw8fHCxAqFk0a3R6v304UjoU1+Gvei9c7XlY5BBxn2YpExDGSxWXrKXAjD
Ntf+7nvyHGzOuEzJcXm4PXdAs4iVpCJvPxp3ym/Ulcm4zlLmdjzuWs/BaQV3ZBzk
D0eA5wmSwJGEciZhTnfD
=4lvS
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to