severusseptimius / lxqt-1.1-debian

GNU General Public License v2.0
6 stars 2 forks source link

AArch64 #6

Open djsftree opened 2 years ago

djsftree commented 2 years ago

Hi!

Can you build cross compiled Debian AArch64 debs too? (bookworm/testing)

Happy to send a donation!

:-)

djsftree commented 2 years ago

I used the "apt source" method from your ppa and compiled on a PI4 as per

https://github.com/djsftree/arm64_playground_djsftree/blob/main/make_debs.sh

binary packages here

https://github.com/djsftree/arm64_playground_djsftree/tree/1.1.0-packages

severusseptimius commented 2 years ago

Great! I will put a link in the README file.

Sorry for not replying earlier. I don't have any arm hardware, and I had just starting to configure debootstrap yesterday.

stefonarch commented 2 years ago

I've no arm device too, but yes: really nice, thanks!

djsftree commented 2 years ago

I tried setting up a git copy of your ppa using the dev/deb tools but ran into libzstd compression issues with Ubuntu dsc/packaged debs. I gave up on that and just

1). added your ppa to apt sources.list deb-src https://ppa.launchpadcontent.net/severusseptimius/lxqt/ubuntu jammy main

2). fetched the source apt update && apt install equivs && apt source --allow-unauthenticated lxqt-build-tools libqtxdg liblxqt libsysstat libfm-qt lxqt-themes pavucontrol-qt lxqt-about lxqt-admin lxqt-config lxqt-globalkeys lxqt-notificationd lxqt-openssh-askpass lxqt-policykit lxqt-powermanagement lxqt-qtplugin lxqt-session lxqt-sudo pcmanfm-qt lxqt-panel lxqt-runner lxqt-archiver lximage-qt qtermwidget qterminal qps screengrab

3). ran make_debs.sh https://github.com/djsftree/arm64_playground_djsftree/blob/main/make_debs.sh

I'm sure there is a much more elegant way but that got me going on pi hardware quickly.

djsftree commented 2 years ago

Your lastest ubnuntu ppa with arm64 produces this error on a debian host.

dpkg-deb: error: archive '/tmp/apt-dpkg-install-zzjvIg/24-qtermwidget5-data_1.1.0-2_all.deb' uses unknown compression for member 'control.tar.zst', giving up dpkg: error processing archive /tmp/apt-dpkg-install-zzjvIg/24-qtermwidget5-data_1.1.0-2_all.deb (--unpack): dpkg-deb --control subprocess returned error exit status 2

If you can possibly set the -z compression level used to prepare your debs that would be amazing. Or I can patch my debs tools to support the compression ubuntu package use.

https://salsa.debian.org/rbalint/dpkg/-/commit/eb38de93eeb9524a54e80525c480df249828e84f

severusseptimius commented 2 years ago

Your lastest ubnuntu ppa with arm64 produces this error on a debian host.

dpkg-deb: error: archive '/tmp/apt-dpkg-install-zzjvIg/24-qtermwidget5-data_1.1.0-2_all.deb' uses unknown compression for member 'control.tar.zst', giving up dpkg: error processing archive /tmp/apt-dpkg-install-zzjvIg/24-qtermwidget5-data_1.1.0-2_all.deb (--unpack): dpkg-deb --control subprocess returned error exit status 2

If you can possibly set the -z compression level used to prepare your debs that would be amazing. Or I can patch my debs tools to support the compression ubuntu package use.

https://salsa.debian.org/rbalint/dpkg/-/commit/eb38de93eeb9524a54e80525c480df249828e84f

I wish I could, but the debs on the ppa are not built by me. I just upload their *.changes file and a launchpad server builds it.