← Back to team overview

ubuntu-sdk-bugs team mailing list archive

[Bug 1610943] Re: UITK FTBFS on yakkety, GCC6 change

 

This bug was fixed in the package ubuntu-ui-toolkit -
1.3.2060+16.10.20160814

---------------
ubuntu-ui-toolkit (1.3.2060+16.10.20160814) yakkety; urgency=medium

  [ Zoltan Balogh ]
  * Fix OptionSelectorTestCase tests.
  * Fix more OptionSelector autopilot tests

  [ Timo Jyrinki ]
  * Disable documentation building for GLES builds. Fixes LP: #1606222.
  * Replace abs with qFabs due to GCC6 breakage. Fixes LP: #1610943.
  * Limit s390x dependencies more due to upstart/s390x problems and removed
    packages in archives. Fixes LP: #1610951

  [ Andrea Bernabei ]
  * ListItemLayout doc: add elide mode change example and add section about
    labels default properties values. Fixes LP: #1603450.
  * ListItemLayout doc: add explicit note about the need to bind ListItem's
    height to layout's height.
  * More Scrollbar optimizations: 20% faster creation time. Fixes LP: #1606451
  * Scrollbar: fix wrong thumb color on tap/mouse release and increase coverage
    of hover states unit tests. Fixes LP: #1608897

  [ Zsombor Egri ]
  * Fix null pointer property initializer used with 1.3 PageWrapper.
    Fixes LP: #1604780.
  * Fix BottomEdge content URL preloading. Fixes LP: #1604509.

  [Albert Astals Cid ]
  * UCUnits::resolveResource: Prefer image path if it exists. This saves
    searching the disk for @gu images, which is a big speedup. According to
    callgrind loading 100 images from a folder that contains 380 images goes
    from around 3 million instructions per UCUnits::resolveResource call down
    to around 10 thousand. This optimization is ok since it is not correct to
    ship both image.png and image@xxxxxx. You either have to ship gu-enabled
    files or not, but mixing them is not allowed. Searched for cases in which
    that may be happening in my phone and found none. Fixes LP: #1604029.

  [ Tim Peeters ]
  * Configure colors of the buttons in the ActionBar and PageHeader through
    their Styles. Fixes LP: #1597774.
  * Fix assigning of constant values to a grouped property in StyleHints.
    Fixes LP: #1602836.
  * Fix list view keyboard navigation for RightToLeft and BottomToTop
    directions. Fixes LP: #1605634
  * Use external QML files instead of embedded QML strings for autopilot tests.
    Fixes LP: #1578319
  * Fix failing autopilot header tests.
  * Fix ActionSelectionPopover Autopilot CPO tests.

  [Christian Dywan ]
  * Include indexes in "offline" docs and filter out link errors.
    Fixes LP: #1603937.
  * Increase focus ring thickness from 1dp to 2dp. Fixes LP: #1602690.
  * Add a snippet about tests to the toplevel README
  * Enter/Return to trigger, Space to expand ComboButton. Fixes LP: #1523817.
  * Initialize engine variable before using it in the _engine case.
  * Use Qt.rgba instead of #0000 checking ListItem default color.
    Fixes LP: #1560004
  * Don't use a different .desktop file in the gallery tests.
    Fixes LP: #1578319
  * Update scaling docs, set QT_SCALE_FACTOR and unset GRID_UNIT_PX.
    Fixes LP: #1610208

  [ Florian Boucault ]
  * Sections: load Icons asynchronously.

 -- Zoltán Balogh <zoltan.balogh@xxxxxxxxxxxxx>  Sun, 14 Aug 2016
09:06:46 +0000

** Changed in: ubuntu-ui-toolkit (Ubuntu)
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
SDK bug tracking, which is subscribed to ubuntu-ui-toolkit in Ubuntu.
https://bugs.launchpad.net/bugs/1610943

Title:
  UITK FTBFS on yakkety, GCC6 change

Status in ubuntu-ui-toolkit package in Ubuntu:
  Fix Released

Bug description:
  ucbottomedge.cpp: In member function ‘void UCBottomEdgePrivate::detectDirection(qreal)’:
  ucbottomedge.cpp:263:33: error: call of overloaded ‘abs(qreal&)’ is ambiguous
       bool deltaPassed = abs(delta) >= qApp->styleHints()->startDragDistance();
                                   ^
  In file included from /usr/include/c++/6/cstdlib:75:0,
                   from /usr/include/c++/6/bits/stl_algo.h:59,
                   from /usr/include/c++/6/algorithm:62,
                   from /usr/include/x86_64-linux-gnu/qt5/QtCore/qglobal.h:88,
                   from /usr/include/x86_64-linux-gnu/qt5/QtCore/qnamespace.h:37,
                   from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs.h:41,
                   from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:40,
                   from /usr/include/x86_64-linux-gnu/qt5/QtCore/qabstractanimation.h:37,
                   from /usr/include/x86_64-linux-gnu/qt5/QtCore/QtCore:4,
                   from ../../../include/UbuntuToolkit/UbuntuToolkitDepends:3:
  /usr/include/stdlib.h:774:12: note: candidate: int abs(int)
   extern int abs (int __x) __THROW __attribute__ ((__const__)) __wur;
              ^~~
  In file included from /usr/include/c++/6/bits/stl_algo.h:59:0,
                   from /usr/include/c++/6/algorithm:62,
                   from /usr/include/x86_64-linux-gnu/qt5/QtCore/qglobal.h:88,
                   from /usr/include/x86_64-linux-gnu/qt5/QtCore/qnamespace.h:37,
                   from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs.h:41,
                   from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:40,
                   from /usr/include/x86_64-linux-gnu/qt5/QtCore/qabstractanimation.h:37,
                   from /usr/include/x86_64-linux-gnu/qt5/QtCore/QtCore:4,
                   from ../../../include/UbuntuToolkit/UbuntuToolkitDepends:3:
  /usr/include/c++/6/cstdlib:180:3: note: candidate: long long int std::abs(long long int)
     abs(long long __x) { return __builtin_llabs (__x); }
     ^~~
  /usr/include/c++/6/cstdlib:172:3: note: candidate: long int std::abs(long int)
     abs(long __i) { return __builtin_labs(__i); }
     ^~~

  
  ...etc

  
  From https://gcc.gnu.org/gcc-6/porting_to.html:
  "Code which assumes that abs, malloc etc. are macros may no longer compile"

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1610943/+subscriptions


References