[Qbs] qmath3d build issue

Wookey wookey at wookware.org
Wed Feb 19 13:18:13 CET 2020

I maintain a couple of debian packages that build with qbs.

Last night, whilst fixing a couple of bugs in qmath3d (https://tracker.debian.org/pkg/qmath3d) I found a problem: it used to build but no longer does.

Well it builds fine but the qbs install step is installing to:
instead of 

when given:
	qbs install --settings-dir debian --no-build \
           --install-root $(CURDIR)/debian/tmp \
           project.libDir:lib/$(DEB_HOST_MULTIARCH) \
           profile:deb \

If I also configure with:
        qbs config --settings-dir debian profiles.deb.qbs.installPrefix usr/

then it installs into
(so we got rid of the 'local', but still have two 'usr's)

To make it work I now have to do:
        qbs config --settings-dir debian profiles.deb.qbs.installPrefix ""

All this doesn't seem to fit with InstallPrefix and InstallRoot info on

I'm not sure what's going on, and why it has changed.
installing to
seems almost always likely to be wrong.

I have made it work, but it used to be that the path was correctly constructed from
but that seems no longer to be true, and now I don't understand what it is doing.

I'm on qbs 1.13.1, and I guess it was 1.11 or 1.12 last time I tried any of this.

Is this a deliberate change in behaviour, in which case can someone
explain the new logic, or is it a bug?

Principal hats:  Linaro, Debian, Wookware, ARM

More information about the Qbs mailing list