Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

several projects cannot be build #47

Open
lduboeuf opened this issue Oct 19, 2020 · 8 comments
Open

several projects cannot be build #47

lduboeuf opened this issue Oct 19, 2020 · 8 comments

Comments

@lduboeuf
Copy link
Contributor

Tried crossbuilder with several projects, here is the ones that don't work for me:

  • history-service
  • telephony-service
  • messaging-app
@mardy
Copy link
Member

mardy commented Oct 29, 2020

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.

@lduboeuf
Copy link
Contributor Author

lduboeuf commented Oct 29, 2020

@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)

`

@mardy
Copy link
Member

mardy commented Oct 29, 2020

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.

@lduboeuf
Copy link
Contributor Author

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

@lduboeuf
Copy link
Contributor Author

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

@mardy
Copy link
Member

mardy commented Oct 29, 2020

I noticed the same, but that is another issue :-)

I created ubports/messaging-app#249 to fix that.

@jezek
Copy link
Contributor

jezek commented Dec 9, 2020

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 (ubports/messaging-app#249).

@lduboeuf
Copy link
Contributor Author

lduboeuf commented Dec 9, 2020

Also found that by specifying -qt5 when using ${QMAKE_EXECUTABLE} var is working

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants