Open lduboeuf opened 3 years ago
What is the error? If it's about dh-translations
, please try
crossbuilder inst-foreign dh-translations
If it's something else, please attach the error logs.
@mardy yes i always add dh-translations,
eg for history-service while doing inst foreign dh-translations:
Unpacking dh-translations (129) ... dpkg: error processing archive /home/lduboeuf/history-service/foreign/dh-translations_129_all.deb (--install): trying to overwrite '/usr/bin/glib-genmarshal', which is also in package libglib2.0-dev:armhf 2.48.2-0ubuntu4.6 dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
telephony-service seems ok now.
messaging-app:
Unpacking dh-translations (129) ... dpkg: error processing archive /home/lduboeuf/messaging-app/foreign/dh-translations_129_all.deb (--install): trying to overwrite '/usr/bin/dh_installxfonts', which is also in package debhelper 9.20160115ubuntu3 dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
`
I tried messaging-app, and it works fine after doing
crossbuilder inst-foreign apparmor-easyprof-ubuntu
crossbuilder inst-foreign dh-translations
Just in case, make sure you run a git clean -dfx
to remove any leftover files.
Just in case, make sure you run a
git clean -dfx
to remove any leftover files.
Oh that one solve the issue for messaging-app. Thank You
Just in case, make sure you run a
git clean -dfx
to remove any leftover files.Oh that one solve the issue for messaging-app. Thank You humm no, in fact i have this:
dh_install --fail-missing dh_install: messaging-app-autopilot missing files: usr/lib/python*/dist-packages/messaging_app/* dh_install: messaging-app-autopilot missing files: usr/lib/python*/dist-packages/messaging_app/testdata/* dh_install: missing files, aborting debian/rules:48: recipe for target 'override_dh_install' failed make[1]: *** [override_dh_install] Error 2 make[1]: Leaving directory '/home/lduboeuf/messaging-app' debian/rules:24: recipe for target 'binary' failed make: *** [binary] Error 2
I noticed the same, but that is another issue :-)
I created https://github.com/ubports/messaging-app/pull/249 to fix that.
Some notes & observations.
I had problems to compile telephony-service
using crossbuilder
on Ubuntu MATE 20.10, even after the inst-foreign dh-translations and apparmor-easyprof-ubuntu commands.
The first error was:
qmake: could not find a Qt installation of ''
CMake Error at CMakeLists.txt:56 (message):
Failed to determine QT_INSTALL_QML from qmake
As a workaround, I set the QT_INSTALL_QML manually, after commenting out the auto detection.
There was a second error (yesterday), because of which I had to skip tests to build, but today after turning the tests back on, it compiled flawlessly (even after clearing git and deleting and setting up new container). Which is strange.
The messaging-app
can be compiled after applying providing PR (https://github.com/ubports/messaging-app/pull/249).
Also found that by specifying -qt5
when using ${QMAKE_EXECUTABLE}
var is working
Tried crossbuilder with several projects, here is the ones that don't work for me: