:: Re: [maemo-leste] Missing cross-bui…
Etusivu
Poista viesti
Vastaa
Lähettäjä: Merlijn Wajer
Päiväys:  
Vastaanottaja: maemo-leste
Aihe: Re: [maemo-leste] Missing cross-build requirements
Hi,

On 18/04/2020 13:35, Javier Palacios wrote:
> Hello,
>
> I'm trying to build hildon-desktop to try to debug portrait mode on
> pinephone, and it seems that some arm build requirements are not available
> on repositories.
>
> apt build-dep -y hildon-desktop -a arm64
> [...]
> The following packages have unmet dependencies:
>  builddeps:hildon-desktop:arm64 : Depends: libhildondesktop1-dev:arm64 but
> it is not going to be installed
>                                   Depends: libhildonmime-dev:arm64 but it
> is not going to be installed
> E: Unable to correct problems, you have held broken packages.


I will try to repeat this cross build setup, but I wonder if you can try
to run build-dep on for example libhildondesktop1-dev, and see what that
blocks on? Or at least figure out why the package "is not going to be
installed"?

>
> For amd64 all requirements are in place, and the package can be built
> without problems, but not for arm64 or armhf targets.
>
> To allow for repeatability, I've started from the 20200324 virtual machine,
> to setup there the crossbuilding environments, running the commands below


Thanks, will take a look on Sunday/tomorrow.

Cheers,
Merlijn

>
> JaviP
>
> ---
>
> sed -i -e '5 s/^/# /' /etc/apt/sources.list
> sed -i -e 's/^#deb /deb /' /etc/apt/sources.list.d/devuan.list
> sed -n -e 's/^deb /deb-src /p' /etc/apt/sources.list
> /etc/apt/sources.list.d/*.list > /etc/apt/sources.list.d/sources.list
> dpkg --add-architecture armhf
> dpkg --add-architecture arm64
> apt update
> apt upgrade -y
> apt install -y debhelper build-essential crossbuild-essential-arm64
> crossbuild-essential-armhf
>
>
> _______________________________________________
> Maemo-Leste mailing list
> Maemo-Leste@???
> https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/maemo-leste
>