Bug 374966 - Icon applet doesn't build on 32 bits
Summary: Icon applet doesn't build on 32 bits
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Icon (show other bugs)
Version: 5.8.95
Platform: Other Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-01-12 17:01 UTC by Antonio Rojas
Modified: 2017-01-13 09:16 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Antonio Rojas 2017-01-12 17:01:17 UTC
Build failure on i686:

In file included from /build/plasma-workspace/src/build/applets/icon/plasma_applet_icon_automoc.cpp:2:0:
/build/plasma-workspace/src/build/applets/icon/plasma_applet_icon_automoc.dir/moc_iconapplet_FERWDM656PUOUJ.cpp: In static member function 'static void IconApplet::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)':
/build/plasma-workspace/src/build/applets/icon/plasma_applet_icon_automoc.dir/moc_iconapplet_FERWDM656PUOUJ.cpp:123:21: error: 'class IconApplet' has no member named 'open64'; did you mean 'open'?
         case 5: _t->open64(); break;
                     ^~~~~~
make[2]: *** [applets/icon/CMakeFiles/plasma_applet_icon.dir/build.make:87: applets/icon/CMakeFiles/plasma_applet_icon.dir/plasma_applet_icon_automoc.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:10445: applets/icon/CMakeFiles/plasma_applet_icon.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
Comment 1 Kai Uwe Broulik 2017-01-12 17:06:11 UTC
Umm... wat. I don't have access to a 32-bit system, can you perhaps investigate? Does it build just renaming that function?
Comment 2 Kai Uwe Broulik 2017-01-12 17:12:48 UTC
Git commit f8f27526ea09305417a9bab7c69f4b6801c4d0da by Kai Uwe Broulik.
Committed on 12/01/2017 at 17:12.
Pushed by broulik into branch 'Plasma/5.9'.

[Icon Applet] Rename open() to run() to fix compilation on 32-bit

M  +1    -1    applets/icon/iconapplet.cpp
M  +1    -1    applets/icon/iconapplet.h
M  +2    -2    applets/icon/package/contents/ui/main.qml

https://commits.kde.org/plasma-workspace/f8f27526ea09305417a9bab7c69f4b6801c4d0da
Comment 3 Wolfgang Bauer 2017-01-13 09:16:14 UTC
See also bug#374027 (which is about the same problem) and https://bugreports.qt.io/browse/QTBUG-57796 ...