Package: kdevelop-pg-qt Version: 2.1.0-1 User: helm...@debian.org Usertags: rebootstrap Control: affects -1 + src:kdevelop-php
kdevelop-php fails to cross build from source, because it fails running kdev-pg-qt with an "Exec format error". Usually, that indicates that kdevelop-pg-qt needs to be installed for the build architecture. After doing so, cmake fails to find KDevelop-PG-QtConfig.cmake. Bummer. We cannot use kdevelop-pg-qt as is for cross compilation as is. Getting it to support cross building also needs a deeper understanding of what kdev-pg-qt actually is. The description says that it is a parser generator, which hints that it would transform (textual) programs. If that is accurate, it could be moved to a M-A:foreign package. Assuming that's correct, we could create a new binary package kdevelop-pg-qt-bin and move /usr/bin/kdev-pg-qt into that package. Then have kdevelop-pg-qt depend on kdevelop-pg-qt-bin and mark kdevelop-pg-qt-bin Multi-Arch: foreign. What do you think about that approach? Helmut