Package: extra-cmake-modules
Version: 6.6.0-2
User: debian-cr...@lists.debian.org
Usertags: ftcbfs
Control: affects -1 + src:kf6-kio

kf6-kio fails to cross build from source. A build fails as follows:

| make[1]: Leaving directory '/<<PKGBUILDDIR>>/obj-arm-linux-gnueabi'
|    dh_install -a
| dh_install: warning: Cannot find (any matches for) 
"usr/share/kdevappwizard/templates/kioworker6.tar.bz2" (tried in ., debian/tmp)
| 
| dh_install: warning: libkf6kio-dev missing files: 
usr/share/kdevappwizard/templates/kioworker6.tar.bz2
| dh_install: error: missing files, aborting
| make: *** [debian/rules:13: binary-arch] Error 255
| dpkg-buildpackage: error: debian/rules binary-arch subprocess returned exit 
status 2

The root cause of this failure resides in extra-cmake-modules, more
precisely in kde_package_app_templates which does nothing when cross
compiling. It otherwise works fine. It just refuses to do its thing. I
argue that whether the function should skip itself or not is a decision
of the caller, not the callee and thus propose to drop this
functionality. Doing so makes kf6-kio cross buildable. I'm attaching a
patch for your convenience.

Helmut

Reply via email to