armhf builds in PPA #6262

Closed
opened 2026-02-21 18:18:40 -05:00 by deekerman · 4 comments
Owner

Originally created by @fliker09 on GitHub (Nov 17, 2017).

Any chances to get armhf builds on your PPA? What is your official position in this regard?

Originally created by @fliker09 on GitHub (Nov 17, 2017). Any chances to get _armhf_ builds on your _PPA_? What is your official position in this regard?
Author
Owner

@sledgehammer999 commented on GitHub (Nov 19, 2017):

I just enable arm64 , armel armhf in the unstable PPA.
I'll do the same for stable ppa when next version is released.

@sledgehammer999 commented on GitHub (Nov 19, 2017): I just enable arm64 , armel armhf in the unstable PPA. I'll do the same for stable ppa when next version is released.
Author
Owner

@fliker09 commented on GitHub (Nov 20, 2017):

Awesome! Sadly, armhf build of qbittorrent for xenial failed :-\

@fliker09 commented on GitHub (Nov 20, 2017): Awesome! Sadly, _armhf_ build of _qbittorrent_ for _xenial_ failed :-\
Author
Owner

@sledgehammer999 commented on GitHub (Nov 20, 2017):

Awesome! Sadly, armhf build of qbittorrent for xenial failed :-\

Yes and the configure log isn't helpful:

checking for Qt5 qmake >= 5.5.1... /usr/lib/arm-linux-gnueabihf/qt5/bin/qmake
checking whether QtDBus should be enabled... no
checking for boostlib >= 1.35 (103500)... yes
configure: Boost CPPFLAGS: "-I/usr/include"
                Boost LDFLAGS: "-L/usr/lib/armv7l-linux-gnueabihf"
checking whether the Boost::System library is available... yes
configure: error: Could not find a version of the library!
debian/rules:7: recipe for target 'override_dh_auto_configure' failed
make[1]: *** [override_dh_auto_configure] Error 1

I don't know which lib failed. Was it boost? (but it has found it)
If you're willing to debug a local armhf build of xenial and find what is the problem, I'll try to fix it.

@sledgehammer999 commented on GitHub (Nov 20, 2017): >Awesome! Sadly, armhf build of qbittorrent for xenial failed :-\ Yes and the configure log isn't helpful: ``` checking for Qt5 qmake >= 5.5.1... /usr/lib/arm-linux-gnueabihf/qt5/bin/qmake checking whether QtDBus should be enabled... no checking for boostlib >= 1.35 (103500)... yes configure: Boost CPPFLAGS: "-I/usr/include" Boost LDFLAGS: "-L/usr/lib/armv7l-linux-gnueabihf" checking whether the Boost::System library is available... yes configure: error: Could not find a version of the library! debian/rules:7: recipe for target 'override_dh_auto_configure' failed make[1]: *** [override_dh_auto_configure] Error 1 ``` I don't know which lib failed. Was it boost? (but it has found it) If you're willing to debug a local armhf build of xenial and find what is the problem, I'll try to fix it.
Author
Owner

@surfernsk commented on GitHub (Nov 24, 2017):

@sledgehammer999 maybe reason is the different parameters passed to ./configure. rules file in 16.04 and 17.10 are different:

xenial rules

override_dh_auto_configure:
	mkdir -p build-nox && cd build-nox && ../configure --prefix=/usr --disable-gui
	mkdir -p build-gui && cd build-gui && ../configure --prefix=/usr

artful rules

override_dh_auto_configure:
	mkdir -p build-nox && cd build-nox && ../configure --prefix=/usr --disable-gui \
		--with-boost-libdir=/usr/lib/$(DEB_HOST_MULTIARCH)
	mkdir -p build-gui && cd build-gui && ../configure --prefix=/usr \
		--with-boost-libdir=/usr/lib/$(DEB_HOST_MULTIARCH)

namely the parameter '--with-boost-libdir=/usr/lib/$(DEB_HOST_MULTIARCH)', is absent in the xenial version

UPD
Successfully built armhf Ubuntu Xenial --with-boost-libdir=/usr/lib/$(DEB_HOST_MULTIARCH)

@surfernsk commented on GitHub (Nov 24, 2017): @sledgehammer999 maybe reason is the different parameters passed to ./configure. rules file in 16.04 and 17.10 are different: xenial rules ``` override_dh_auto_configure: mkdir -p build-nox && cd build-nox && ../configure --prefix=/usr --disable-gui mkdir -p build-gui && cd build-gui && ../configure --prefix=/usr ``` artful rules ``` override_dh_auto_configure: mkdir -p build-nox && cd build-nox && ../configure --prefix=/usr --disable-gui \ --with-boost-libdir=/usr/lib/$(DEB_HOST_MULTIARCH) mkdir -p build-gui && cd build-gui && ../configure --prefix=/usr \ --with-boost-libdir=/usr/lib/$(DEB_HOST_MULTIARCH) ``` namely the parameter '--with-boost-libdir=/usr/lib/$(DEB_HOST_MULTIARCH)', is absent in the xenial version UPD [Successfully built armhf Ubuntu Xenial](https://launchpad.net/~surfernsk/+archive/ubuntu/test/+build/13794713) --with-boost-libdir=/usr/lib/$(DEB_HOST_MULTIARCH)
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/qBittorrent#6262
No description provided.