[Touch-packages] [Bug 1580981] Re: PKGCONFIG not working in SDK
** Changed in: canonical-devices-system-image Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to qtbase-opensource-src in Ubuntu. https://bugs.launchpad.net/bugs/1580981 Title: PKGCONFIG not working in SDK Status in Client Developer Experience: Fix Committed Status in Canonical System Image: Fix Released Status in Ubuntu SDK IDE: Fix Released Status in qtbase-opensource-src package in Ubuntu: Fix Released Status in qtbase-opensource-src package in Ubuntu RTM: Fix Released Bug description: having this in a qmake .pro file: CONFIG += link_pkgconfig PKGCONFIG += url-dispatcher-1 qmenumodel works fine for native building, but fails for crossbuilding for armhf. https://codereview.qt-project.org/#/c/143276/2//ALL,unified To manage notifications about this bug go to: https://bugs.launchpad.net/canonical-developer-experience/+bug/1580981/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1580981] Re: PKGCONFIG not working in SDK
** Changed in: ubuntu-sdk-ide Status: New => Fix Released -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to qtbase-opensource-src in Ubuntu. https://bugs.launchpad.net/bugs/1580981 Title: PKGCONFIG not working in SDK Status in Client Developer Experience: Fix Committed Status in Canonical System Image: Fix Committed Status in Ubuntu SDK IDE: Fix Released Status in qtbase-opensource-src package in Ubuntu: Fix Released Status in qtbase-opensource-src package in Ubuntu RTM: Fix Released Bug description: having this in a qmake .pro file: CONFIG += link_pkgconfig PKGCONFIG += url-dispatcher-1 qmenumodel works fine for native building, but fails for crossbuilding for armhf. https://codereview.qt-project.org/#/c/143276/2//ALL,unified To manage notifications about this bug go to: https://bugs.launchpad.net/canonical-developer-experience/+bug/1580981/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1580981] Re: PKGCONFIG not working in SDK
** Also affects: canonical-devices-system-image Importance: Undecided Status: New ** Changed in: canonical-devices-system-image Status: New => Fix Committed ** Changed in: canonical-devices-system-image Milestone: None => 13 ** Changed in: canonical-devices-system-image Importance: Undecided => High -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to qtbase-opensource-src in Ubuntu. https://bugs.launchpad.net/bugs/1580981 Title: PKGCONFIG not working in SDK Status in Client Developer Experience: Fix Committed Status in Canonical System Image: Fix Committed Status in Ubuntu SDK IDE: New Status in qtbase-opensource-src package in Ubuntu: Fix Released Status in qtbase-opensource-src package in Ubuntu RTM: Fix Released Bug description: having this in a qmake .pro file: CONFIG += link_pkgconfig PKGCONFIG += url-dispatcher-1 qmenumodel works fine for native building, but fails for crossbuilding for armhf. https://codereview.qt-project.org/#/c/143276/2//ALL,unified To manage notifications about this bug go to: https://bugs.launchpad.net/canonical-developer-experience/+bug/1580981/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1580981] Re: PKGCONFIG not working in SDK
This bug was fixed in the package qtbase-opensource-src 5.4.1+dfsg- 2ubuntu11~vivid12~3 in https://launchpad.net/~ci-train-ppa- service/+archive/ubuntu/stable-phone-overlay --- qtbase-opensource-src (5.4.1+dfsg-2ubuntu11~vivid12~3) vivid; urgency=medium * debian/patches/qt5-qmake-arm-linux-gnueabihf: - Support manual cross-compilation inside chroot (LP: #1580981) * debian/patches/Make-sure-connection-is-not-null-before-using-it.patch: - Fix unity8 crasher (LP: #1612309) -- Timo Jyrinki Wed, 24 Aug 2016 08:45:27 + ** Changed in: qtbase-opensource-src (Ubuntu RTM) Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to qtbase-opensource-src in Ubuntu. https://bugs.launchpad.net/bugs/1580981 Title: PKGCONFIG not working in SDK Status in Client Developer Experience: Fix Committed Status in Ubuntu SDK IDE: New Status in qtbase-opensource-src package in Ubuntu: Fix Released Status in qtbase-opensource-src package in Ubuntu RTM: Fix Released Bug description: having this in a qmake .pro file: CONFIG += link_pkgconfig PKGCONFIG += url-dispatcher-1 qmenumodel works fine for native building, but fails for crossbuilding for armhf. https://codereview.qt-project.org/#/c/143276/2//ALL,unified To manage notifications about this bug go to: https://bugs.launchpad.net/canonical-developer-experience/+bug/1580981/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1580981] Re: PKGCONFIG not working in SDK
** Changed in: canonical-developer-experience Status: Confirmed => Fix Committed -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to qtbase-opensource-src in Ubuntu. https://bugs.launchpad.net/bugs/1580981 Title: PKGCONFIG not working in SDK Status in Client Developer Experience: Fix Committed Status in Ubuntu SDK IDE: New Status in qtbase-opensource-src package in Ubuntu: Fix Released Status in qtbase-opensource-src package in Ubuntu RTM: Fix Committed Bug description: having this in a qmake .pro file: CONFIG += link_pkgconfig PKGCONFIG += url-dispatcher-1 qmenumodel works fine for native building, but fails for crossbuilding for armhf. https://codereview.qt-project.org/#/c/143276/2//ALL,unified To manage notifications about this bug go to: https://bugs.launchpad.net/canonical-developer-experience/+bug/1580981/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1580981] Re: PKGCONFIG not working in SDK
Ok going with hard coding. < faenil> Mirv: I think hardcoding in the arm .conf is fine, because that file already has everything hardcoded afaict .. < zbenjamin> Mirv: well there is nothing wrong with fixing it properly < zbenjamin> Mirv: yes sounds perfect -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to qtbase-opensource-src in Ubuntu. https://bugs.launchpad.net/bugs/1580981 Title: PKGCONFIG not working in SDK Status in Client Developer Experience: Confirmed Status in Ubuntu SDK IDE: New Status in qtbase-opensource-src package in Ubuntu: Fix Released Status in qtbase-opensource-src package in Ubuntu RTM: Fix Committed Bug description: having this in a qmake .pro file: CONFIG += link_pkgconfig PKGCONFIG += url-dispatcher-1 qmenumodel works fine for native building, but fails for crossbuilding for armhf. https://codereview.qt-project.org/#/c/143276/2//ALL,unified To manage notifications about this bug go to: https://bugs.launchpad.net/canonical-developer-experience/+bug/1580981/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1580981] Re: PKGCONFIG not working in SDK
Only: PKG_CONFIG = arm-linux-gnueabihf-pkg-config works. Not: contains(DISTRO_OPTS, deb-multi-arch): \ PKG_CONFIG = arm-linux-gnueabihf-pkg-config nor: contains(DISTRO_OPTS, deb-multi-arch): \ PKG_CONFIG = $${CROSS_COMPILE}pkg-config So it seems neither DISTRO_OPTS or CROSS_COMPILE is set in our case. Do you think we could hard code it? At least this qmake.conf file is for armhf only, and only for use with our cross compile toolchain. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to qtbase-opensource-src in Ubuntu. https://bugs.launchpad.net/bugs/1580981 Title: PKGCONFIG not working in SDK Status in Client Developer Experience: Confirmed Status in Ubuntu SDK IDE: New Status in qtbase-opensource-src package in Ubuntu: Fix Released Status in qtbase-opensource-src package in Ubuntu RTM: Fix Committed Bug description: having this in a qmake .pro file: CONFIG += link_pkgconfig PKGCONFIG += url-dispatcher-1 qmenumodel works fine for native building, but fails for crossbuilding for armhf. https://codereview.qt-project.org/#/c/143276/2//ALL,unified To manage notifications about this bug go to: https://bugs.launchpad.net/canonical-developer-experience/+bug/1580981/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1580981] Re: PKGCONFIG not working in SDK
...except that the fix is only the upstream one, not the similar change to our own mkspec. To reproduce: bzr branch lp:telegram-app vi telegram-app/scope/scope.pro # remove the PKG_CONFIG_LIBDIR line as instructed sudo chroot /var/lib/schroot/mount/click-ubuntu-sdk-15.04-armhf-ucca-1000-* # your directory here # navigate to telegram-app qt5-qmake-arm-linux-gnueabihf . Result: Project ERROR: libunity-scopes development package not found Expected: No error. However, even adding the same lines that were added in upstream to our own usr/lib/arm-linux-gnueabihf/qt5/mkspecs/ubuntu-arm- gnueabihf-g++/qmake.conf inside the chroot, the error message is still there. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to qtbase-opensource-src in Ubuntu. https://bugs.launchpad.net/bugs/1580981 Title: PKGCONFIG not working in SDK Status in Client Developer Experience: Confirmed Status in Ubuntu SDK IDE: New Status in qtbase-opensource-src package in Ubuntu: Fix Released Status in qtbase-opensource-src package in Ubuntu RTM: Fix Committed Bug description: having this in a qmake .pro file: CONFIG += link_pkgconfig PKGCONFIG += url-dispatcher-1 qmenumodel works fine for native building, but fails for crossbuilding for armhf. https://codereview.qt-project.org/#/c/143276/2//ALL,unified To manage notifications about this bug go to: https://bugs.launchpad.net/canonical-developer-experience/+bug/1580981/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1580981] Re: PKGCONFIG not working in SDK
This is now fixed in Ubuntu 16.10 and in the to-be-landed xenial overlay silo. ** Changed in: qtbase-opensource-src (Ubuntu) Status: Confirmed => Fix Released ** Changed in: qtbase-opensource-src (Ubuntu RTM) Status: Incomplete => Fix Committed -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to qtbase-opensource-src in Ubuntu. https://bugs.launchpad.net/bugs/1580981 Title: PKGCONFIG not working in SDK Status in Client Developer Experience: Confirmed Status in Ubuntu SDK IDE: New Status in qtbase-opensource-src package in Ubuntu: Fix Released Status in qtbase-opensource-src package in Ubuntu RTM: Fix Committed Bug description: having this in a qmake .pro file: CONFIG += link_pkgconfig PKGCONFIG += url-dispatcher-1 qmenumodel works fine for native building, but fails for crossbuilding for armhf. https://codereview.qt-project.org/#/c/143276/2//ALL,unified To manage notifications about this bug go to: https://bugs.launchpad.net/canonical-developer-experience/+bug/1580981/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1580981] Re: PKGCONFIG not working in SDK
Timo already nicely summed up our discussion :) I will leave my investigation here just for completeness: the fix applies to the "device" mkspec, which is the one (I guess) that is used when building using QtCreator with an ARM device target. So it "should" fix that usecase (not tested). What it doesn't fix, is the usecase where you directly enter an arm chroot for crosscompilation purposes without using QtCreator. In that case the compilation goes through ubuntu-arm-gnueabihf-g++ makespec which is missing the correct PKGCONFIG path redirection that is done by https://codereview.qt-project.org/#/c/143276/2//ALL,unified -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to qtbase-opensource-src in Ubuntu. https://bugs.launchpad.net/bugs/1580981 Title: PKGCONFIG not working in SDK Status in Client Developer Experience: Confirmed Status in Ubuntu SDK IDE: New Status in qtbase-opensource-src package in Ubuntu: Confirmed Status in qtbase-opensource-src package in Ubuntu RTM: Incomplete Bug description: having this in a qmake .pro file: CONFIG += link_pkgconfig PKGCONFIG += url-dispatcher-1 qmenumodel works fine for native building, but fails for crossbuilding for armhf. https://codereview.qt-project.org/#/c/143276/2//ALL,unified To manage notifications about this bug go to: https://bugs.launchpad.net/canonical-developer-experience/+bug/1580981/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1580981] Re: PKGCONFIG not working in SDK
It seems the fix is not enough for our use case, as tested by faenil. We apparently need an additional mkspec file aside from the currently shipped "ubuntu-arm-gnueabihf-g++/qmake.conf" (which is intended for arm chroots from x86 chroots, not direct cross compilation), and that might need to be shipped with the SDK. ** Changed in: qtbase-opensource-src (Ubuntu RTM) Status: In Progress => Incomplete ** Also affects: ubuntu-sdk-ide Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to qtbase-opensource-src in Ubuntu. https://bugs.launchpad.net/bugs/1580981 Title: PKGCONFIG not working in SDK Status in Client Developer Experience: Confirmed Status in Ubuntu SDK IDE: New Status in qtbase-opensource-src package in Ubuntu: Confirmed Status in qtbase-opensource-src package in Ubuntu RTM: Incomplete Bug description: having this in a qmake .pro file: CONFIG += link_pkgconfig PKGCONFIG += url-dispatcher-1 qmenumodel works fine for native building, but fails for crossbuilding for armhf. https://codereview.qt-project.org/#/c/143276/2//ALL,unified To manage notifications about this bug go to: https://bugs.launchpad.net/canonical-developer-experience/+bug/1580981/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1580981] Re: PKGCONFIG not working in SDK
We have had a silo for this already, now combined with another backport: https://requests.ci-train.ubuntu.com/#/ticket/1411 ** Changed in: qtbase-opensource-src (Ubuntu RTM) Status: New => In Progress -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to qtbase-opensource-src in Ubuntu. https://bugs.launchpad.net/bugs/1580981 Title: PKGCONFIG not working in SDK Status in Client Developer Experience: Confirmed Status in qtbase-opensource-src package in Ubuntu: Confirmed Status in qtbase-opensource-src package in Ubuntu RTM: In Progress Bug description: having this in a qmake .pro file: CONFIG += link_pkgconfig PKGCONFIG += url-dispatcher-1 qmenumodel works fine for native building, but fails for crossbuilding for armhf. https://codereview.qt-project.org/#/c/143276/2//ALL,unified To manage notifications about this bug go to: https://bugs.launchpad.net/canonical-developer-experience/+bug/1580981/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1580981] Re: PKGCONFIG not working in SDK
Can we cherry pick from 5.6? ** Changed in: canonical-developer-experience Importance: Undecided => High ** Changed in: canonical-developer-experience Status: New => Confirmed ** Changed in: canonical-developer-experience Assignee: (unassigned) => Zoltan Balogh (bzoltan) ** Changed in: qtbase-opensource-src (Ubuntu) Status: New => Confirmed ** Changed in: qtbase-opensource-src (Ubuntu) Importance: Undecided => High ** Changed in: qtbase-opensource-src (Ubuntu) Assignee: (unassigned) => Timo Jyrinki (timo-jyrinki) -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to qtbase-opensource-src in Ubuntu. https://bugs.launchpad.net/bugs/1580981 Title: PKGCONFIG not working in SDK Status in Client Developer Experience: Confirmed Status in qtbase-opensource-src package in Ubuntu: Confirmed Status in qtbase-opensource-src package in Ubuntu RTM: New Bug description: having this in a qmake .pro file: CONFIG += link_pkgconfig PKGCONFIG += url-dispatcher-1 qmenumodel works fine for native building, but fails for crossbuilding for armhf. https://codereview.qt-project.org/#/c/143276/2//ALL,unified To manage notifications about this bug go to: https://bugs.launchpad.net/canonical-developer-experience/+bug/1580981/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1580981] Re: PKGCONFIG not working in SDK
** Also affects: qtbase-opensource-src (Ubuntu) Importance: Undecided Status: New ** Also affects: qtbase-opensource-src (Ubuntu RTM) Importance: Undecided Status: New ** Description changed: having this in a qmake .pro file: CONFIG += link_pkgconfig PKGCONFIG += url-dispatcher-1 qmenumodel works fine for native building, but fails for crossbuilding for armhf. + + https://codereview.qt-project.org/#/c/143276/2//ALL,unified -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to qtbase-opensource-src in Ubuntu. https://bugs.launchpad.net/bugs/1580981 Title: PKGCONFIG not working in SDK Status in Client Developer Experience: New Status in qtbase-opensource-src package in Ubuntu: New Status in qtbase-opensource-src package in Ubuntu RTM: New Bug description: having this in a qmake .pro file: CONFIG += link_pkgconfig PKGCONFIG += url-dispatcher-1 qmenumodel works fine for native building, but fails for crossbuilding for armhf. https://codereview.qt-project.org/#/c/143276/2//ALL,unified To manage notifications about this bug go to: https://bugs.launchpad.net/canonical-developer-experience/+bug/1580981/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp