ftbfs in disco

Bug #1801031 reported by Michael Hudson-Doyle
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
youker-assistant (Ubuntu)
Fix Released
High
binghe

Bug Description

Hi, youkey-assistant fails to build in disco:

https://launchpad.net/ubuntu/+source/youker-assistant/3.0.0-0ubuntu2

This is the error message:

../../component/alertdialog.cpp: In member function ‘virtual void AlertDialog::paintEvent(QPaintEvent*)’:
../../component/alertdialog.cpp:40:5: error: ‘QStyleOption’ was not declared in this scope
     QStyleOption opt;
     ^~~~~~~~~~~~
../../component/alertdialog.cpp:40:5: note: suggested alternative: ‘QTextOption’
     QStyleOption opt;
     ^~~~~~~~~~~~
     QTextOption
../../component/alertdialog.cpp:41:5: error: ‘opt’ was not declared in this scope
     opt.init(this);
     ^~~
../../component/alertdialog.cpp:41:5: note: suggested alternative: ‘oct’
     opt.init(this);
     ^~~
     oct
../../component/alertdialog.cpp:42:12: error: invalid use of incomplete type ‘class QStyle’
     style()->drawPrimitive(QStyle::PE_Widget, &opt, &painter, this);
            ^~
In file included from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QWidget:1,
                 from ../../component/alertdialog.h:19,
                 from ../../component/alertdialog.cpp:16:
/usr/include/x86_64-linux-gnu/qt5/QtWidgets/qwidget.h:67:7: note: forward declaration of ‘class QStyle’
 class QStyle;
       ^~~~~~
../../component/alertdialog.cpp:42:36: error: incomplete type ‘QStyle’ used in nested name specifier
     style()->drawPrimitive(QStyle::PE_Widget, &opt, &painter, this);
                                    ^~~~~~~~~

Tags: ftbfs
tags: added: ftbfs
Changed in youker-assistant (Ubuntu):
status: New → Confirmed
assignee: nobody → binghe (binghe)
Revision history for this message
Steve Langasek (vorlon) wrote :

A rebuild of this package was triggered for the switch from python3.6 to python3.7, but it appears that this rebuild was not needed. So this is not a blocker for the disco release; however, it's important that supported packages be buildable from source.

Changed in youker-assistant (Ubuntu):
importance: Undecided → Critical
importance: Critical → High
binghe (binghe)
Changed in youker-assistant (Ubuntu):
status: Confirmed → Fix Committed
Balint Reczey (rbalint)
Changed in youker-assistant (Ubuntu):
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.