Package: libkf6config-bin
Version: 6.11.0-1
Severity: important
User: debian-cr...@lists.debian.org
Usertags: ftcbfs
Control: affects -1 + src:marble
X-Debbugs-Cc: debian-cr...@lists.debian.org

marble fails to cross build from source with the following error:

| CMake Error at 
/usr/lib/powerpc64le-linux-gnu/cmake/KF6Config/KF6ConfigCompilerTargets.cmake:92
 (message):
|   The imported target "KF6::kconf_update" references the file
| 
|      "/usr/lib/powerpc64le-linux-gnu/libexec/kf6/kconf_update"
| 
|   but this file does not exist.  Possible reasons include:

It used to cross build successfully, but now it no longer does. What
changed is that libkf6config-bin was marked Multi-Arch: foreign and as a
result, the build no longer installs libkf6config-bin:$HOST and instead
installs libkf6config-bin:$BUILD. The kconf_update executable is then
located in /usr/lib/x86_64-linux-gnu/libexec/kf6/kconf_update (in my
cross build from amd64 to ppc64el).

The changelog says

| Mark libkf6config-bin as multi-arch: foreign since it only contains
| binaries to manipulate

and while I mostly agree with that, the use of architecture dependent
filenames evidently breaks the Multi-Arch: foreign contract.

Don't get me wrong. I think that installing kconf_update as a build
architecture executable is the right path forward, but the way it is
done here is not the full solution unfortunately.

What is the full solution, is less clear to me. Ideally, we keep the
foreign annotation as it is what we want. In order to make it correct,
we must give up this architecture-dependent path. So maybe, the path
should be /usr/libexec/kf6/kconf_update (precedent via
libkf6kcmutils-bin) or /usr/lib/libexec/kf6/kconf_update (precedent via
libkf6config-dev-bin)? And then, we need to either ship symbolic links
in libkf6config-dev to provide the old location in the architecture
dependent path or we need to update some configuration file to point at
the new location. Can I ask you kde people to figure this out?

Unless a solution can be found within two weeks, I appreciate reverting
the foreign marking as an interim measure.

Helmut

Reply via email to