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

Bug#906966: marked as done (kdesignerplugin FTCBFS: KF5::kgendesignerplugin: not found)



Your message dated Wed, 07 Nov 2018 17:22:13 +0000
with message-id <E1gKRWv-0007dg-Q0@fasolo.debian.org>
and subject line Bug#906966: fixed in kdesignerplugin 5.51.0-1
has caused the Debian Bug report #906966,
regarding kdesignerplugin FTCBFS: KF5::kgendesignerplugin: not found
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.)


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

kdesignerplugin fails to cross build from source, because it cannot find
KF5::kgendesignerplugin. During native builds it refers to an executable
that is both used during build and installed to the package. So rather
than using the built one, we need to use the system copy. The attached
patch implements that and makes kdesignerplugin cross build
successfully. Please consider applying it.

Helmut
diff --minimal -Nru kdesignerplugin-5.49.0/debian/changelog kdesignerplugin-5.49.0/debian/changelog
--- kdesignerplugin-5.49.0/debian/changelog	2018-08-17 16:18:21.000000000 +0200
+++ kdesignerplugin-5.49.0/debian/changelog	2018-08-22 20:35:08.000000000 +0200
@@ -1,3 +1,11 @@
+kdesignerplugin (5.49.0-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Use the system kgendesignerplugin for cross building.
+    (Closes: #-1)
+
+ -- Helmut Grohne <helmut@subdivi.de>  Wed, 22 Aug 2018 20:35:08 +0200
+
 kdesignerplugin (5.49.0-1) unstable; urgency=medium
 
   * New upstream release (5.48.0).
diff --minimal -Nru kdesignerplugin-5.49.0/debian/control kdesignerplugin-5.49.0/debian/control
--- kdesignerplugin-5.49.0/debian/control	2018-08-17 16:18:21.000000000 +0200
+++ kdesignerplugin-5.49.0/debian/control	2018-08-22 20:35:07.000000000 +0200
@@ -6,6 +6,7 @@
 Build-Depends: cmake (>= 3.0~),
                debhelper (>= 11~),
                extra-cmake-modules (>= 5.49.0~),
+               kgendesignerplugin-bin <cross>,
                libkf5completion-dev (>= 5.49.0~),
                libkf5config-dev (>= 5.49.0~),
                libkf5configwidgets-dev (>= 5.49.0~),
diff --minimal -Nru kdesignerplugin-5.49.0/debian/patches/cross.patch kdesignerplugin-5.49.0/debian/patches/cross.patch
--- kdesignerplugin-5.49.0/debian/patches/cross.patch	1970-01-01 01:00:00.000000000 +0100
+++ kdesignerplugin-5.49.0/debian/patches/cross.patch	2018-08-22 20:35:08.000000000 +0200
@@ -0,0 +1,17 @@
+--- kdesignerplugin-5.49.0.orig/src/CMakeLists.txt
++++ kdesignerplugin-5.49.0/src/CMakeLists.txt
+@@ -11,7 +11,13 @@
+   ${kdesignerplugin_QM_LOADER}
+ )
+ add_executable(kgendesignerplugin ${kgendesignerplugin_SRCS})
+-add_executable(KF5::kgendesignerplugin ALIAS kgendesignerplugin)
++if(CMAKE_CROSSCOMPILING)
++    find_program(KGENDESIGNERPLUGIN_EXECUTABLE kgendesignerplugin)
++    add_executable(KF5::kgendesignerplugin IMPORTED GLOBAL)
++    set_target_properties(KF5::kgendesignerplugin PROPERTIES IMPORTED_LOCATION ${KGENDESIGNERPLUGIN_EXECUTABLE})
++else()
++    add_executable(KF5::kgendesignerplugin ALIAS kgendesignerplugin)
++endif()
+ ecm_mark_nongui_executable(kgendesignerplugin)
+ 
+ target_link_libraries(kgendesignerplugin KF5::ConfigCore # KConfig + KConfigGroup
diff --minimal -Nru kdesignerplugin-5.49.0/debian/patches/series kdesignerplugin-5.49.0/debian/patches/series
--- kdesignerplugin-5.49.0/debian/patches/series	1970-01-01 01:00:00.000000000 +0100
+++ kdesignerplugin-5.49.0/debian/patches/series	2018-08-22 20:35:08.000000000 +0200
@@ -0,0 +1 @@
+cross.patch

--- End Message ---
--- Begin Message ---
Source: kdesignerplugin
Source-Version: 5.51.0-1

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

Debian distribution maintenance software
pp.
Maximiliano Curia <maxy@debian.org> (supplier of updated kdesignerplugin 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: Wed, 07 Nov 2018 17:16:41 +0100
Source: kdesignerplugin
Binary: kdesignerplugin kdesignerplugin-data kgendesignerplugin kgendesignerplugin-bin
Architecture: source
Version: 5.51.0-1
Distribution: unstable
Urgency: medium
Maintainer: Debian/Kubuntu Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
Changed-By: Maximiliano Curia <maxy@debian.org>
Description:
 kdesignerplugin - Integration of KF5 widgets in Qt Designer/Creator
 kdesignerplugin-data - Integration of KF5 widgets in Qt Designer/Creator
 kgendesignerplugin - Integration of KF5 widgets in Qt Designer/Creator
 kgendesignerplugin-bin - Integration of KF5 widgets in Qt Designer/Creator (bin files)
Closes: 906966
Changes:
 kdesignerplugin (5.51.0-1) unstable; urgency=medium
 .
   [ Maximiliano Curia ]
   * New revision
   * New upstream release (5.50.0).
   * Update build-deps and deps with the info from cmake
   * Bump group breaks (5.50)
   * New upstream release (5.51.0).
   * Update build-deps and deps with the info from cmake
   * Bump group breaks (5.51)
   * Release to unstable
 .
   [ Helmut Grohne ]
   * Fix FTCBFS: Use the system kgendesignerplugin for cross building
     (Closes: 906966)
Checksums-Sha1:
 1f76880884d6e57d4bd10d691390d05d57cd919a 3217 kdesignerplugin_5.51.0-1.dsc
 281527405a2c70eceb9476acb62697f0733e559b 90912 kdesignerplugin_5.51.0.orig.tar.xz
 5b581af65981b8e6be918d5f6c9622c9b4caf3bc 753 kdesignerplugin_5.51.0.orig.tar.xz.asc
 e7a2d3e19e89cd39f4656e244aff7eaa6d6d0da8 7700 kdesignerplugin_5.51.0-1.debian.tar.xz
 42ed06fe5eae89bcb652da7a0ad85df3d88c4106 25273 kdesignerplugin_5.51.0-1_source.buildinfo
Checksums-Sha256:
 2e8cad6a6208447bdd01bc43b45f84a691fbfe800994ce9950439b59510ce0ab 3217 kdesignerplugin_5.51.0-1.dsc
 406eb8a9f2028b6d057fde6e8027c22fc98c49ce6fc43826127229533dc0c122 90912 kdesignerplugin_5.51.0.orig.tar.xz
 278f7e9fefa48de92f03aa2574ebf2ab9f86b4c4dcd6a8862d2f471f06b3a149 753 kdesignerplugin_5.51.0.orig.tar.xz.asc
 9f674e21abbb298d1f58e32148c512d4968843eb859356d32dad302574afe8ce 7700 kdesignerplugin_5.51.0-1.debian.tar.xz
 28b9a2bdff60d28c568ea3d4ae765ad448e93ec0e03d8dde355cbb4aee864158 25273 kdesignerplugin_5.51.0-1_source.buildinfo
Files:
 ee75d15658d43cd5030e122c7a479a53 3217 libs optional kdesignerplugin_5.51.0-1.dsc
 5facd2f9401a33172c3b31ddbe83d7d3 90912 libs optional kdesignerplugin_5.51.0.orig.tar.xz
 be3fea90b170b8b74007c42e61edc9eb 753 libs optional kdesignerplugin_5.51.0.orig.tar.xz.asc
 23487976ca41f539c6b9bc3b16fb6ed1 7700 libs optional kdesignerplugin_5.51.0-1.debian.tar.xz
 e7d94f80d887b587238c96632a9285e5 25273 libs optional kdesignerplugin_5.51.0-1_source.buildinfo

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

iQIzBAEBCgAdFiEE+JIdOnQEyG4RNSIVxxl2mbKbIyoFAlvjHLEACgkQxxl2mbKb
Iyqwdw//YIrrPAfVYplgcK24wVbeVnYSdme3TY1CHfUzVv72Frtch6tPcYsE39uj
qrb4E7rRZr9DHHy5Wd5ROXuUQX+2R0k1N8rcU/OYE4KZDFgIEJoPiPHU3ZipRSSW
WnjfXrFuSftO4JnOKCEHfFNJkQh0VKY7ZATPIW4ojUxKBrhU8joRE2Xzlz3/YBnX
7nRmHus+gNYVY7ptr7/wPdWfeFYCbe2vOkurKWgOLXmqXHANgcftfQsvhO0w7OS0
WOFtSzrVo6lXqEP7HaGVuPFUllRo9xV/4hBXKG7kFa5cBSZvJlyN95xKaHCRiqhp
Zs1YjbARqYHW2MYMGmXNPrROfqnpjen614IddTXNJPhRlbThVXjmivW8uC8h3VSu
Uqhf8FAK6J+llVklooFB2fTYY806m3RkqpAeGzwh88sEmj5Sl1m8p4FljThuqW7D
osIXvoDwa/7E3ZvarrHI7ZHyX6MWhR4fY15ufblbDtFUFJMNyQY+zRyd6EBbRkVC
3Ewm1kSlTTdEvILanUvLTfubqsXg76WRxpGHCO2l0+3VIMshDLRhPQfQefaAF+KN
kMWK5d0i9/6UxAvU8PwAxGDqq4i5R/AUOJ4PkAJ3UeXtp7kPSUcKAriqHIqYdpkW
hHTqz050CvMEkhsGdY/AzR+ygO9U9jCZ1y7BPvnib3AvxIy4ulA=
=sx8W
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: