installing UITK files during build fails with Qt 5.6

Bug #1560000 reported by Timo Jyrinki
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical System Image
Fix Released
Medium
Zoltan Balogh
ubuntu-ui-toolkit (Ubuntu)
Fix Released
Medium
Timo Jyrinki
ubuntu-ui-toolkit (Ubuntu RTM)
Fix Released
Medium
Timo Jyrinki

Bug Description

Somehow building UITK with Qt 5.6 does an infinite loop of sorts as seen at https://launchpad.net/~ci-train-ppa-service/+archive/ubuntu/landing-011/+build/9368814/+files/buildlog_ubuntu-xenial-amd64.ubuntu-ui-toolkit_1.3.1896+16.04.20160316.2-0ubuntu1~fix3~disabletests1_BUILDING.txt.gz (recommended to wget + gunzip, might kill browser). All architectures are affected.

It seems to happen also locally, and even without debuild or such when doing eg fakeroot make install (fakeroot here is the important bit).

If UITK is already built, the problem does not go away even if dowgrading to Qt 5.5. But a qmake run with Qt 5.5 would seem like to fix the issue.

More information about Qt 5.6 at https://wiki.ubuntu.com/Touch/QtTesting

Tags: qt5.6

Related branches

description: updated
description: updated
Revision history for this message
Timo Jyrinki (timo-jyrinki) wrote :

In src/Ubuntu/Components/Makefile.ComponentModule I found the following command that also causes the problem:

/home/ubuntu/tmp/uitk/b/ubuntu-ui-toolkit-1.3.1896+16.04.20160316.1/src/Ubuntu/Components/wrapper.sh -nonrelocatable Ubuntu.Components 0.1 > /home/ubuntu/tmp/uitk/b/ubuntu-ui-toolkit-1.3.1896+16.04.20160316.1/qml/Ubuntu/Components/plugins.qmltypes

Revision history for this message
Timo Jyrinki (timo-jyrinki) wrote :

With Qt 5.5 the same is:
LD_LIBRARY_PATH=/home/ubuntu/tmp/uitk/b2/ubuntu-ui-toolkit-1.3.1896+16.04.20160316.1/lib ALARM_BACKEND=memory QML2_IMPORT_PATH=/home/ubuntu/tmp/uitk/b2/ubuntu-ui-toolkit-1.3.1896+16.04.20160316.1/qml /usr/lib/x86_64-linux-gnu/qt5/bin/qmlplugindump -nonrelocatable Ubuntu.Components 0.1 > /home/ubuntu/tmp/uitk/b2/ubuntu-ui-toolkit-1.3.1896+16.04.20160316.1/qml/Ubuntu/Components/plugins.qmltypes

Revision history for this message
Timo Jyrinki (timo-jyrinki) wrote :

The wrapper.sh calling itself is where the loop happens:

#!/bin/sh
LD_LIBRARY_PATH=/home/ubuntu/tmp/uitk/b/build-area/ubuntu-ui-toolkit-1.3.1896+16.04.20160316/lib
export LD_LIBRARY_PATH
exec /home/ubuntu/tmp/uitk/b/build-area/ubuntu-ui-toolkit-1.3.1896+16.04.20160316/src/Ubuntu/Components/wrapper.sh "$@"

Revision history for this message
Timo Jyrinki (timo-jyrinki) wrote :

In addition to the wrapper problem this bug is probably related to the fact that qmlplugindump fails even if the wrapper.sh is fixed:

https://bugreports.qt.io/browse/QTBUG-51369

Changed in ubuntu-ui-toolkit (Ubuntu):
status: New → In Progress
assignee: nobody → Timo Jyrinki (timo-jyrinki)
Revision history for this message
Timo Jyrinki (timo-jyrinki) wrote :

The earlier suggested packaging side MP is no longer needed, a change that fixes the generation of the wrapper.sh was found.

Changed in ubuntu-ui-toolkit (Ubuntu RTM):
assignee: nobody → Timo Jyrinki (timo-jyrinki)
Changed in ubuntu-ui-toolkit (Ubuntu):
importance: Undecided → High
importance: High → Medium
Changed in ubuntu-ui-toolkit (Ubuntu RTM):
importance: Undecided → Medium
Changed in canonical-devices-system-image:
importance: Undecided → Medium
assignee: nobody → Zoltan Balogh (bzoltan)
milestone: none → ww08-2016
milestone: ww08-2016 → 11
Changed in ubuntu-ui-toolkit (Ubuntu):
status: In Progress → Fix Committed
Changed in ubuntu-ui-toolkit (Ubuntu RTM):
status: New → Fix Committed
Changed in canonical-devices-system-image:
status: New → In Progress
Revision history for this message
Łukasz Zemczak (sil2100) wrote :

This bug was fixed in the package ubuntu-ui-toolkit 1.3.1938+15.04.20160412 in https://launchpad.net/~ci-train-ppa-service/+archive/ubuntu/stable-phone-overlay

---------------

ubuntu-ui-toolkit (1.3.1938+15.04.20160412) vivid; urgency=medium

  [ Tim Peeters ]
  * Hide the PageStack back button when depth == 1. Fixes LP: #1565811
  * Add header subtitle. Fixes LP: #1399289
  * Reveal the header in gallery when changing the layout to two columns.
    Fixes LP: #1556860
  * Set correct colors for disabled actions in the header.
    Fixes LP: #1393485
  * Disable tst_datepicker.qml to unblock the staging.Fixes LP: #1567840
  * Prevent invisible header from setting the flickable topMargin.
    Fixes LP: #1560419, LP: #1560458, LP: #1566231.

  [ Zsombor Egri ]
  * Move MouseTouchAdaptor into UbuntuToolkit library. Fix adaptor code for
    Xenial. Fixes LP: #1561436

  [ Christian Dywan ]
  * Don't use a separate argument to distinguish touch events. If it's touch,
    it has our overloaded methods. Fixes LP: #1530802
  * Use export_qml_dir.sh in qmlapicheck and runtest Also add Usage to runtest.
    Fixes LP: #1567286.
  * Summary style error results with sections. Fixes LP: #1568804

  [ Andrea Bernabei ]
  * Mouse filter: check if mouse is inside the area on mouse moves and
    setHovered accordingly. Fixes LP: #1566378.

  [ Timo Jyrinki ]
  * Add latest changes for GLES.
  * Add back Provides: qtdeclarative5-ubuntu-ui-toolkit-plugin to resolve
    upgrade issue. Fixes LP: #1568817
  * Fix wrapper script auto-generated by Qt that incorrectly tries to execute
    itself. Fixes LP: #1560000
  * bileto_convert_to_gles: sort and add
    qml-module-ubuntu-performancemetrics-gles.install. Fixes LP: #1569217

  * Add additional Breaks as requested by archive admin.
  * Add latest changes for GLES.

  [ Zolán Balogh ]
  * Fix the UITK test plan script.

  [ CI Train Bot ]
  * Resync trunk. added: examples/ubuntu-ui-toolkit-gallery/po/nb.po

  [ Robert Park ]
  * Inline GLES packaging. added: debian/bileto_convert_to_gles
    debian/control.gles debian/rules.gles

 -- Zoltan Balogh <email address hidden> Tue, 12 Apr 2016 11:12:44 +0000

Changed in ubuntu-ui-toolkit (Ubuntu RTM):
status: Fix Committed → Fix Released
Changed in canonical-devices-system-image:
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ubuntu-ui-toolkit - 1.3.1984+16.10.20160527.2

---------------
ubuntu-ui-toolkit (1.3.1984+16.10.20160527.2) yakkety; urgency=medium

  [ Christian Dywan ]
  * Slimmer frame for TextFields: 0.5dp. Fixes LP: #1578190.

  [ Albert Astals Cid ]
  * Add override
    The override specifier (since C++11) specifies that a virtual function
    overrides another virtual function. In a member function declaration or
    definition, override ensures that the function is virtual and is overriding
    a virtual function from the base class.

  [ Tim Peeters ]
  * Fix reference error in PullToRefreshStyle. Fixes LP: #1582843
  * Mark Tab, Tabs, TabBar, PageHeadConfiguration, PageHeadSections,
    PageHeadState, ToolbarButton, ToolbarItems as deprecated in the
    documentation. Fixes LP: #1566735, LP: #1566741.

  [ CI Train Bot ]
  * Resync trunk.

 -- Zoltan Balogh <email address hidden> Fri, 27 May 2016 07:08:44 +0000

Changed in ubuntu-ui-toolkit (Ubuntu):
status: Fix Committed → Fix Released
Changed in canonical-devices-system-image:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.