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

Bug#887452: marked as done (libkf5config-bin-dev is not useful for cross compilation)



Your message dated Mon, 05 Feb 2018 03:00:56 +0000
with message-id <E1eiX1c-0000jY-0X@fasolo.debian.org>
and subject line Bug#887452: fixed in kconfig 5.42.0-1
has caused the Debian Bug report #887452,
regarding libkf5config-bin-dev is not useful for cross compilation
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.)


-- 
887452: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=887452
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: libkf5config-bin-dev
Version: 5.41.0-1
User: helmutg@debian.org
Usertags: rebootstrap
Control: affects -1 + src:okular

libkf5config-bin-dev is not useful for cross compilation. Unfortunately,
I don't know how to fix it, so this bug comes without a patch. I'm sorry
about that. Still let me explain the things I understood thus far.

Observation 1
~~~~~~~~~~~~~
While building okular, I see:

| [  8%] Generating settings_core.h, settings_core.cpp
| /usr/lib/mips-linux-gnu/libexec/kf5/kconfig_compiler_kf5 /<<PKGBUILDDIR>>/conf/okular_core.kcfg /<<PKGBUILDDIR>>/conf/settings_core.kcfgc -d /<<PKGBUILDDIR>>/obj-mips-linux-gnu/
| /usr/lib/mips-linux-gnu/libexec/kf5/kconfig_compiler_kf5: 1: /usr/lib/mips-linux-gnu/libexec/kf5/kconfig_compiler_kf5: Syntax error: "(" unexpected
| CMakeFiles/okularcore_autogen.dir/build.make:76: recipe for target 'settings_core.h' failed

This means that kconfig_compiler_kf5 was needed for execution (aka build
architecture), but was actually installed for the host architecture.
Likely some package needs Multi-Arch: foreign.

Observation 2
~~~~~~~~~~~~~
The libkf5config-dev -> libkf5config-bin-dev split is odd. Splitting
executables from a -dev package is common, but then the package
containing the executables is usually marked Multi-Arch: foreign. Not so
here! libkf5config-bin-dev is marked Multi-Arch: same. This is very
unusual as it removes the benefit of the libkf5config-dev <->
libkf5config-bin-dev split. At present, those packages could simply be
merged without regressing anything.

The Multi-Arch: same marking does have a little merit though: The
package ships most of its file on architecture-dependent paths and when
that happens, we usually use Multi-Arch: same. Just in this case it
turns out to not be useful.

Also usually the package containing the executables is called -dev-bin
rather than -bin-dev.

Observation 3
~~~~~~~~~~~~~
Simply marking libkf5config-bin-dev Multi-Arch: foreign likely is wrong
in a number of ways:
 * It contains .cmake files on an architecture-dependent path. That's
   not reasonable for Multi-Arch: foreign. Likely those can be moved to
   libkf5config-dev. (Don't forget Breaks + Replaces!)
 * The kconfig_compiler_kf5 lives on an architecture-dependent path.
   That's inappropriate for Multi-Arch: foreign as well. If we add such
   a marking, the path needs to be moved. Fortunately, it seems to be
   referenced exclusively via a path mentioned in
   KF5ConfigCompilerTargets-debian.cmake, so updating that file with
   a new path might be sufficient.
 * Then the question arises whether kconfig_compiler_kf5 is eligible for
   being marked Multi-Arch: foreign at all. That's not a given. The
   question to be asked here is whether its interface is
   architecture-dependent.

   Its main method to communicate with a user is the command line as
   well as two input files (.kcfg and .kcgfc) and some output files. The
   .kcfg file seems to be XML, the .kcfgc file seems to be some textual
   variable assignment syntax and the output seems to be a C++ header
   and source file. All of these are text files and that usually means
   that Multi-Arch: foreign is correct.

Plan
~~~~
I think making libkf5config-bin-dev Multi-Arch: foreign is the right
approach. For consistency with other packages, it should be renamed to
libkf5config-dev-bin (optional). For the marking to be correct,
kconfig_compiler_kf5 needs to live on an architecture-independent path
(needs to be moved) and the .cmake files need to be moved to
libkf5config-dev.

Can someone make that work? Or maybe support me in figuring how to
implement that?

Helmut

--- End Message ---
--- Begin Message ---
Source: kconfig
Source-Version: 5.42.0-1

We believe that the bug you reported is fixed in the latest version of
kconfig, 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 887452@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 kconfig 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: Fri, 02 Feb 2018 12:04:46 +0100
Source: kconfig
Binary: libkf5config-bin libkf5config-data libkf5config-dev libkf5config-dev-bin libkf5config-doc libkf5configcore5 libkf5configgui5
Architecture: source amd64 all
Version: 5.42.0-1
Distribution: experimental
Urgency: medium
Maintainer: Debian/Kubuntu Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
Changed-By: Maximiliano Curia <maxy@debian.org>
Description:
 libkf5config-bin - configuration settings framework for Qt
 libkf5config-data - configuration settings framework for Qt
 libkf5config-dev - configuration settings framework for Qt
 libkf5config-dev-bin - configuration settings framework for Qt -- binary package
 libkf5config-doc - configuration settings framework for Qt (documentation)
 libkf5configcore5 - configuration settings framework for Qt
 libkf5configgui5 - configuration settings framework for Qt
Closes: 887452
Changes:
 kconfig (5.42.0-1) experimental; urgency=medium
 .
   * New upstream release (5.42.0).
   * Add link options as-needed
   * Bump debhelper build-dep and compat to 11.
   * Build without build_stamp
   * Allow packagers set kconfig_compiler install dir
   * Fix cross compilation issues
     + Move kconfig_compiler to an arch independant path
     + Move cmake files back to the -dev package
     + Rename -bin-dev package to -dev-bin
     Thanks to Helmut Grohne for the analysis and suggestions (Closes: 887452)
   * Update build-deps and deps with the info from cmake
   * Bump group breaks (5.42)
   * Bump Standards-Version to 4.1.3.
   * Release to experimental
Checksums-Sha1:
 9592d031b066d15868445130eb47d54fef117725 2677 kconfig_5.42.0-1.dsc
 e564befd6129d01a6da53ca03d7a00d5cdc971c4 235412 kconfig_5.42.0.orig.tar.xz
 4f7d6ee687958192fdec6aafaa08907c2e1d7de6 15428 kconfig_5.42.0-1.debian.tar.xz
 2527bbd52b96c9a36eb767fb584391f9ebdb0e72 15378 kconfig_5.42.0-1_amd64.buildinfo
 2fbe172848fbddac8588a91014889ba7daf8b758 566820 libkf5config-bin-dbgsym_5.42.0-1_amd64.deb
 aaf5c560006a881bfe759571a5def08157bace56 33968 libkf5config-bin_5.42.0-1_amd64.deb
 25359564b23d5eaaaa13066d087f6eedad45c92a 68436 libkf5config-data_5.42.0-1_all.deb
 983ebd7857ac2b5089a2c2020fde50e16b27988f 390544 libkf5config-dev-bin-dbgsym_5.42.0-1_amd64.deb
 f442705f92b41ba1d4875ffe90624e616c272da6 50324 libkf5config-dev-bin_5.42.0-1_amd64.deb
 b9284fbff7a7743972b5f9c3b91971bc75e8cb68 39008 libkf5config-dev_5.42.0-1_amd64.deb
 3c0300a3e0ed16865115fd4b35ee7444ae87de9b 541748 libkf5config-doc_5.42.0-1_all.deb
 2b6c678d16651f1b26d083875bc119e3490173bb 1695792 libkf5configcore5-dbgsym_5.42.0-1_amd64.deb
 22b4efadc4ef8500e4df1a66f5800881a77d2751 116052 libkf5configcore5_5.42.0-1_amd64.deb
 c7cac8b6f9c4731eb14b3523dc425b1bb454fb0f 909948 libkf5configgui5-dbgsym_5.42.0-1_amd64.deb
 6868683dce9f592d26082cdac504703cb3e04f16 43476 libkf5configgui5_5.42.0-1_amd64.deb
Checksums-Sha256:
 8d242ad6b14bf222360b6835e9ca3f3bfaeb6c8dba82f517acb3100ccc255376 2677 kconfig_5.42.0-1.dsc
 b8e5889989354fef6c52e7a9f40e6260382fe6bfcda3da3d3c3201064403ef21 235412 kconfig_5.42.0.orig.tar.xz
 fbf4c7ffec5314a5c8fde100ecf1e596ebb9c789772797aa4e6b0a67f6069a39 15428 kconfig_5.42.0-1.debian.tar.xz
 3d1a19202b0686ab7b0f9b76e86334615f0329d246d770e31b636b4392697d07 15378 kconfig_5.42.0-1_amd64.buildinfo
 c060e4ccf0f1bfbfdcd86214aff48d2813fb7bb1c6948e6d22a58a57e41c27f3 566820 libkf5config-bin-dbgsym_5.42.0-1_amd64.deb
 f4b3748f419565d0dda163b40f37a7bcb6d6e3b8252aed504b176bc82fb3d735 33968 libkf5config-bin_5.42.0-1_amd64.deb
 fc19c28e47a1a29a72f637a62be46ab10a6823fef5cc7c99030afcee5b7da886 68436 libkf5config-data_5.42.0-1_all.deb
 b6d6c2eb5b278c315cbe6d9644308f62307f8a41fe135d7ec961250e36cc2322 390544 libkf5config-dev-bin-dbgsym_5.42.0-1_amd64.deb
 ce39289f5492bb0c6e712fa22abaceb798a3d72180aed57e33168c469a5993fb 50324 libkf5config-dev-bin_5.42.0-1_amd64.deb
 7d1a6d1fb069ad08f43447432e2e0946540ae681f583a5861a296e04d3333e47 39008 libkf5config-dev_5.42.0-1_amd64.deb
 6998a15c4170a40316f9ab2996a4efb49e2f7c1e7e6905377e94effebf5c8457 541748 libkf5config-doc_5.42.0-1_all.deb
 4dbe25a3e027aabbb6bb8426e02d8cfc2fb6f254ff7dcaf2cc3ec466951c0efb 1695792 libkf5configcore5-dbgsym_5.42.0-1_amd64.deb
 e0ba3c6579977053f2d49b87a072488260616da87c6ea2ef29a08a16053b93a8 116052 libkf5configcore5_5.42.0-1_amd64.deb
 a22e1e1485eea5d138f98f7a49fdf23a85baf03882ff499a23f968ce4d9252af 909948 libkf5configgui5-dbgsym_5.42.0-1_amd64.deb
 0c2d71d1ac6218bb6fe33e07b87ac5ec361c441553e8d22a6de0e0065f60f613 43476 libkf5configgui5_5.42.0-1_amd64.deb
Files:
 c5152ea3d7ce0a8e62bfb25aa875437d 2677 libs optional kconfig_5.42.0-1.dsc
 a69c7064ffb43b3ae20f4d5342b638bf 235412 libs optional kconfig_5.42.0.orig.tar.xz
 fcafde57e105c2a72b275f4bc6b8b509 15428 libs optional kconfig_5.42.0-1.debian.tar.xz
 0aef11de452a63ec4c24d1c606bc0542 15378 libs optional kconfig_5.42.0-1_amd64.buildinfo
 e1e489fc32fec2a6b8f9335ba2b891f7 566820 debug optional libkf5config-bin-dbgsym_5.42.0-1_amd64.deb
 b22985d7630ab1f98516190fc854be56 33968 libs optional libkf5config-bin_5.42.0-1_amd64.deb
 86f6286dfda5d283a1687c3b5df334f2 68436 libs optional libkf5config-data_5.42.0-1_all.deb
 449ec2e88d14bf3a511c9361cee63a15 390544 debug optional libkf5config-dev-bin-dbgsym_5.42.0-1_amd64.deb
 744a7242c8d000861f5a28c9ffab357c 50324 libdevel optional libkf5config-dev-bin_5.42.0-1_amd64.deb
 8e3109a2cc2c823c651f97a17e57db1e 39008 libdevel optional libkf5config-dev_5.42.0-1_amd64.deb
 3176bcefacae4f936176827a8ead0584 541748 doc optional libkf5config-doc_5.42.0-1_all.deb
 4c16b63e8909e76f84f79d45f1640148 1695792 debug optional libkf5configcore5-dbgsym_5.42.0-1_amd64.deb
 66cf64c2eb62aa9c8c5ae1b421f76345 116052 libs optional libkf5configcore5_5.42.0-1_amd64.deb
 7d5189c8f1a79429c6d2de3e35d976b7 909948 debug optional libkf5configgui5-dbgsym_5.42.0-1_amd64.deb
 78825f3586085f20f8eee0a9e25d9d6c 43476 libs optional libkf5configgui5_5.42.0-1_amd64.deb

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

iQIzBAEBCgAdFiEE+JIdOnQEyG4RNSIVxxl2mbKbIyoFAlp0TacACgkQxxl2mbKb
IyqlGxAAsuXKhBD8oqD/ycdfT5zqLgn513epaMpIzxROMatz3+aHokYKGxCIni/U
9GAQxe7g/Q3a25TAOoEoKSc1+i3JSSxzWUnYUdNzq26MsbA+/kTPq/M0bNoEo54k
XI8XUPQ1ax2pFWjv1uBjUXCL3SSWddMUREmzaBbabRp66R7TktTcnW6Z/l0vp3mA
rZlD77VBR36DX2E8ejKFmtSyIWH/Ek2d1TfQxvK913v53ThoQbIgVLYumpcD90FD
mWPbnLoseNjKUL1vG7iNOxi17hObD1cIoDJ8uDvD6SZkocxd9Cb37T7qPy/tR5F5
Ur5vXyTOFpgXMnheBJ+lpPO/moS8kXgKkTo65/CPFlSALocr38Vgf518nRBphEWn
EFZNZGBHD/RRa1OmkoTNKP6BBqg5KUusP75EI02UlJcO56TDEMD/ATrobG8sAjIJ
cMibranWSPkUMcGwxH+KGvvTEE+0Ncmcyfi5Qkc8MqX4nb7QwchySmugs5Mb6/p4
EWl9x4iOFuiBHuynDIhKsjeU9YmZA5qZvG44RR4qCEwzcpbH7KKm1Tc01K0uJpbJ
H9bZJmvwuCnNfVYOlfWwKkShh/93/ZcNI78iDobT+mFMLYencGp8JIB6OTGTFFZc
klAptBuas9dMjAZ92CzbUklHZBbfDCc61iBDDC0tRgL65qp9zf0=
=sAiy
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: