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

Bug#919772: marked as done (sonnet FTCBFS: skips building parsetrigrams)



Your message dated Mon, 19 Oct 2020 22:07:47 +0000
with message-id <E1kUdJj-0004DS-3o@fasolo.debian.org>
and subject line Bug#919772: fixed in sonnet 5.74.0-2
has caused the Debian Bug report #919772,
regarding sonnet FTCBFS: skips building parsetrigrams
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.)


-- 
919772: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=919772
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: sonnet
Version: 5.54.0-1
Tags: patch
User: helmutg@debian.org
Usertags: rebootstrap

When cross building sonnet, the build system kindly skips the data
directory. Unfortunately, the packaging fails installing stuff from that
directory then. For building the data directory, one needs a native
parsetrigrams. I propose building it, when the user supplies a
parsetrigrams. I updated the packaging to do just that.

Helmut
diff --minimal -Nru sonnet-5.54.0/debian/changelog sonnet-5.54.0/debian/changelog
--- sonnet-5.54.0/debian/changelog	2019-01-17 23:27:42.000000000 +0100
+++ sonnet-5.54.0/debian/changelog	2019-01-19 09:26:32.000000000 +0100
@@ -1,3 +1,13 @@
+sonnet (5.54.0-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: (Closes: #-1)
+    + cross.patch: Allow cross building the data directory.
+    + Tell cmake where to find a native parsetrigrams.
+    + Add libkf5sonnet-dev-bin to cross Build-Depends for parsetrigrams.
+
+ -- Helmut Grohne <helmut@subdivi.de>  Sat, 19 Jan 2019 09:26:32 +0100
+
 sonnet (5.54.0-1) unstable; urgency=medium
 
   * New upstream release (5.52.0).
diff --minimal -Nru sonnet-5.54.0/debian/control sonnet-5.54.0/debian/control
--- sonnet-5.54.0/debian/control	2019-01-17 23:27:42.000000000 +0100
+++ sonnet-5.54.0/debian/control	2019-01-19 09:26:32.000000000 +0100
@@ -12,6 +12,7 @@
                hspell,
                libaspell-dev,
                libhunspell-dev,
+               libkf5sonnet-dev-bin <cross>,
                libqt5sql5-sqlite,
                libvoikko-dev,
                pkg-config,
diff --minimal -Nru sonnet-5.54.0/debian/patches/cross.patch sonnet-5.54.0/debian/patches/cross.patch
--- sonnet-5.54.0/debian/patches/cross.patch	1970-01-01 01:00:00.000000000 +0100
+++ sonnet-5.54.0/debian/patches/cross.patch	2019-01-19 09:26:32.000000000 +0100
@@ -0,0 +1,11 @@
+--- sonnet-5.54.0.orig/CMakeLists.txt
++++ sonnet-5.54.0/CMakeLists.txt
+@@ -49,7 +49,7 @@
+ if (BUILD_TESTING)
+      add_subdirectory(autotests)
+ endif()
+-if (NOT CMAKE_CROSSCOMPILING)
++if (PARSETRIGRAMS_EXECUTABLE OR NOT CMAKE_CROSSCOMPILING)
+ 	add_subdirectory(data)
+ endif()
+ 
diff --minimal -Nru sonnet-5.54.0/debian/patches/series sonnet-5.54.0/debian/patches/series
--- sonnet-5.54.0/debian/patches/series	1970-01-01 01:00:00.000000000 +0100
+++ sonnet-5.54.0/debian/patches/series	2019-01-19 09:26:19.000000000 +0100
@@ -0,0 +1 @@
+cross.patch
diff --minimal -Nru sonnet-5.54.0/debian/rules sonnet-5.54.0/debian/rules
--- sonnet-5.54.0/debian/rules	2019-01-17 23:27:42.000000000 +0100
+++ sonnet-5.54.0/debian/rules	2019-01-19 09:26:32.000000000 +0100
@@ -6,7 +6,7 @@
 	dh $@ --with kf5,pkgkde_symbolshelper --buildsystem kf5 --without build_stamp
 
 override_dh_auto_configure:
-	dh_auto_configure -- -DBUILD_QCH=ON
+	dh_auto_configure -- -DBUILD_QCH=ON -DPARSETRIGRAMS_EXECUTABLE=parsetrigrams
 
 override_dh_auto_test:
 	export XDG_RUNTIME_DIR="$$(mktemp -d)"; \

--- End Message ---
--- Begin Message ---
Source: sonnet
Source-Version: 5.74.0-2
Done: =?utf-8?q?Sandro_Knau=C3=9F?= <hefee@debian.org>

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

Debian distribution maintenance software
pp.
Sandro Knauß <hefee@debian.org> (supplier of updated sonnet 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: SHA512

Format: 1.8
Date: Mon, 19 Oct 2020 23:13:27 +0200
Source: sonnet
Architecture: source
Version: 5.74.0-2
Distribution: unstable
Urgency: medium
Maintainer: Debian/Kubuntu Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
Changed-By: Sandro Knauß <hefee@debian.org>
Closes: 919772
Changes:
 sonnet (5.74.0-2) unstable; urgency=medium
 .
   * Team upload to unstable.
 .
   [ Helmut Grohne ]
   * Fix FTCBFS: (Closes: #919772)
     + Tell cmake where to find a native parsetrigrams.
     + Add libkf5sonnet-dev-bin to cross Build-Depends for parsetrigrams.
Checksums-Sha1:
 dd16fc25348383fcb06a87869382e5b13046e67e 2998 sonnet_5.74.0-2.dsc
 297e0783aca87dbfac9cbb82cc619497c4cf76d1 15512 sonnet_5.74.0-2.debian.tar.xz
 ec2e2b691977086de3135c0f24985224b6379cd7 14591 sonnet_5.74.0-2_source.buildinfo
Checksums-Sha256:
 fc84c2fab845a7a982f13dbda1f28c21527ee72e5fde4be1a60e71f972a354bc 2998 sonnet_5.74.0-2.dsc
 bcffb1af7696e0d62d696644662c5f8eaae7f920a3cdf19ad9c85460efc3f2e7 15512 sonnet_5.74.0-2.debian.tar.xz
 ebbecbac69356163d2a4f627342e6e8ce80f41a5743b18c226506e8be10f83e6 14591 sonnet_5.74.0-2_source.buildinfo
Files:
 92f182477e1b04f9ea5c0f1201783574 2998 libs optional sonnet_5.74.0-2.dsc
 ae7378e18b015b33b5f54352eb792ccb 15512 libs optional sonnet_5.74.0-2.debian.tar.xz
 5329979aa27b3b934e047e29d62e6524 14591 libs optional sonnet_5.74.0-2_source.buildinfo

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

iQJFBAEBCgAvFiEEOewRoCAWtykmSRoG462wCFBgVjYFAl+OAzYRHGhlZmVlQGRl
Ymlhbi5vcmcACgkQ462wCFBgVjY6RhAApQv2cjWjzlHmsWcQsI8xxFoFbUQJA/Xt
gfi2YZR2Pmh/hDZE92AIS23OBI8k+TOJztf5yADw7wtCvF9KLUcMkNuoOa5+3IEb
eXpJk07Njz9FEOvBEL7FMG1o36t8jPgHQ4MUWtdK+HYD6X1xe8Hfi0nddKm7D/85
P92PH6fzliHJHLCpzracrSAwwZioFgE+3lsbxyPihceXDcGYUHmGz3tEbNL15xOX
U82Cf2VJqhAkIljLk9wbPz/oYWIJpozLBf6KktapcmnVpWJ1+ON72joJ+fbjY4iv
tt1//zDOCt3/sQk5RR5cvuOYY4/V3qjUaIAkh0B+FNrm4D82kVkWfefrluWVQBsh
4Ki4VxPOfG0QPrb7xUoMgVqiCAJ2Ge3GOqmRMK00hfuFDQxY+kySZUDDI1+7//g+
ex5Scl8H/aGzZIOQQL4gRAA+3pGcWnzKnb0nGu4+Vl6bX12Y/zOI7c+cbDzy16rt
ay2/akP9YsUB3ZoX8rMMLLeMWPfm08Qk+h0QXdTpqbz+XFmDDu8i7CvFmcvAoG+C
U5Cjp5Sq1sgZWInFtiZkwlMyLWXHWzVJu1AWjBTkYauJVUdtwLU2NGbELfuH8d2R
tQNbtobUrxagOT3hbfGcKgJ2v2NebSHQKG4AnAfYU9SQQPtEeX1ToSLlgTOUUBpQ
2JdGsLyXvBQ=
=EFH9
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: