Thursday, 11 February 2016

Re: Launchpad invoking 64-bit programme in 32-bit build environment

Dear all,

Apparently the list is refusing attachments, this is the log from the 64-bit build: http://pastebin.com/MvUbBVYd

The build is failing simply because qmake is being invoked without a target. I have no idea why, suggestions are welcome.

The 32-bit build is also failing, but for different reasons: http://pastebin.com/Cb12e6RH

In this case it seems SBuild is trying to emulate the build on a 64-bit. How can I instruct it to emulate a 32-bit system?

Thank you and regards,

Luís


Sent from ProtonMail, encrypted email based in Switzerland.


-------- Original Message --------
Subject: Re: Launchpad invoking 64-bit programme in 32-bit build environment
Local Time: February 10, 2016 2:56 pm
UTC Time: February 10, 2016 1:56 PM
To:

Thank you Colin and Dmitry for the replies.

I modified the debian.rules file (and removed qt5-default from the build dependencies), it now looks like this:

#!/usr/bin/make -f
# -*- makefile -*-

include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/qmake.mk

# Uncomment this to turn on verbose mode.
export DH_VERBOSE=1
export QT_SELECT=5

pre-build::
rm -f Makefile

I set up SimpleSBuild like Colin suggested and tried to build the package locally. It still fails, but this time there is no clear error message (at least to me). I am attaching the output of sbuild in 64bit mode.

Any other hints on what may be going wrong? Thank you,

Luís

Sent from ProtonMail, encrypted email based in Switzerland.


-------- Original Message --------
Subject: Re: Launchpad invoking 64-bit programme in 32-bit build environment
Local Time: February 10, 2016 8:45 am
UTC Time: February 10, 2016 7:45 AM

On Tue, Feb 09, 2016 at 09:34:24AM -0500, Luís de Sousa wrote:
> Build-Depends: debhelper (>= 8.0.0), cdbs, libpq-dev, libxml2-dev, clang,
> qt5-qmake, qt5-default, qttools5-dev-tools, qt5-image-formats-plugins

I haven't looked at the packaging, but please do not build-depend on qt5-default
package. Export QT_SELECT=5 in debian/rules instead (as described in [1]).

And the build-dependency on clang also looks strange to me.

[1]: http://pkg-kde.alioth.debian.org/packagingqtbasedstuff.html

--
Dmitry Shachnev--
ubuntu-devel mailing list
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel