Skip to content
This repository has been archived by the owner on Feb 16, 2024. It is now read-only.

this isn't compilable with crossbuilder #6

Open
mymike00 opened this issue Oct 15, 2018 · 4 comments
Open

this isn't compilable with crossbuilder #6

mymike00 opened this issue Oct 15, 2018 · 4 comments

Comments

@mymike00
Copy link
Contributor

When I try to compile this with crossbuilder I got some deps error:

The following packages have unmet dependencies:
 builddeps:indicator-sound:armhf : Depends: gnome-common:armhf but it is not installable
                                   Depends: valac:armhf (>= 0.20)
                                   Depends: lcov:armhf but it is not installable
                                   Depends: libgirepository1.0-dev:armhf but it is not going to be installed

and also it was complaining about dh-translations, which I resolved unsing crossbuilder inst-foreign

@mardy
Copy link
Member

mardy commented Oct 15, 2018

Ciao! I think you'll have to experiment a bit with editing the debian/control file. For sure, you need to add a <!nocheck> marker in the lcov line, since it's needed only for tests. Also, you most likely need to replace valac with valac:native.

I think that you should also use inst-foreign with gnome-common, as it contains architecture-independent files.

But the problem is libgirepository: it depends on gobject-introspection, which contains both python files and binary tools. For the latter, we definitely need to depend on gobject-introspection:native, but then I'm afraid that apt won't consider the dependency satisfied. You can try, but my understanding is that projects using gobject introspection cannot be cross built (see for example here).

@mymike00
Copy link
Contributor Author

thanks
I did what you say and tried to add gobject-introspection:native as dep but I still get

Depends: valac:amd64 (>= 0.20)
Depends: libgirepository1.0-dev:armhf but it is not going to be installed

what's the problem with valac?

@mardy
Copy link
Member

mardy commented Oct 24, 2018

You can try to run apt install valac:amd64 in the container and see what error it gives. But as far as I understand, the problem is with gobject-introspection. One possibility to fix this, might be avoid generating the vala bindings at build time, and instead commit the generated files to the repository.

@mymike00
Copy link
Contributor Author

I had to do also apt -f install inside the container to install all the valac deps but now I have other unmet deps...

Depends: libaccountsservice-dev:armhf but it is not going to be installed
Depends: libdbustest1-dev:armhf (>= 15.04.0) but it is not going to be installed
Depends: libglib2.0-dev:armhf (>= 2.32.0) but it is not going to be installed
Depends: liburl-dispatcher1-dev:armhf but it is not going to be installed
Depends: libpulse-dev:armhf (>= 1:4.0-0ubuntu21) but it is not going to be installed
Depends: libnotify-dev:armhf but it is not going to be installed
Depends: libgee-0.8-dev:armhf but it is not going to be installed

I think I'll give up in cross-compiling this for now...

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

No branches or pull requests

2 participants