Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 634222

Summary: lxqt-base/lxqt-panel-0.11.0 : /.../kbdlayout.cpp:36:18: error: _explicit does not name a type
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: LxQt maintainers <lxqt>
Status: RESOLVED FIXED    
Severity: normal CC: leonchik1976, tdalman
Priority: Normal Keywords: TESTFAILURE
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/7026
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tbz2
logs.tbz2
lxqt-base:lxqt-panel-0.11.0:20171014-081328.log
temp.tbz2

Description Toralf Förster gentoo-dev 2017-10-14 08:25:32 UTC
cd /var/tmp/portage/lxqt-base/lxqt-panel-0.11.0/work/lxqt-panel-0.11.0_build/plugin-kbindicator && /usr/bin/x86_64-pc-linux-gnu-g++ -DLXQT_DATA_DIR=\"/usr/share\" -DLXQT_ETC_XDG_DIR=\"/etc/xdg\" -DLXQT_GRAPHICS_DIR=\"/usr/share/lxqt/graphics\" -DLXQT_RELATIVE_SHARE_DIR=\"lxqt\" -DLXQT_RELATIVE_SHARE_TRANSLATIONS_DIR=\"lxqt/translations\" -DLXQT_SHARE_DIR=\"/usr/share/lxqt\" -DLXQT_SHARE_TRANSLATIONS_DIR=\"/usr/share/lxqt/translations\" -DLXQT_VERSION=\"0.11.0\" -DPLUGIN_DIR=\"/usr/lib64/lxqt-panel\" -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_USE_QSTRINGBUILDER -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_XML_LIB -DWITH_CLOCK_PLUGIN -DWITH_DESKTOPSWITCH_PLUGIN -DX11_ENABLED -Dkbindicator_EXPORTS -I/var/tmp/portage/lxqt-base/lxqt-panel-0.11.0/work/lxqt-panel-0.11.0_build/plugin-kbindicator -I/var/tmp/portage/lxqt-base/lxqt-panel-0.11.0/work/lxqt-panel-0.11.0/plugin-kbindicator -I/var/tmp/portage/lxqt-base/lxqt-panel-0.11.0/work/lxqt-panel-0.11.0_build/plugin-kbindicator/kbindicator_autogen/include -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/lxqt -isystem /usr/include/lxqt/LXQt -isystem /usr/include/KF5/KWindowSystem -isystem /usr/include/KF5 -isystem /usr/include/qt5/QtDBus -isystem /usr/include/qt5/QtX11Extras -isystem /usr/include/qt5xdg -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5xdgiconloader -isystem /usr/include/qt5xdgiconloader/2.0.0 -isystem /usr/include/qt5/QtSvg   -DNDEBUG -Werror=terminate -O2 -pipe -march=native -std=c++11 -fvisibility=hidden -fvisibility-inlines-hidden -fno-exceptions -fPIC   -Wall -fPIC -std=gnu++11 -o CMakeFiles/kbindicator.dir/src/x11/kbdlayout.cpp.o -c /var/tmp/portage/lxqt-base/lxqt-panel-0.11.0/work/lxqt-panel-0.11.0/plugin-kbindicator/src/x11/kbdlayout.cpp
/var/tmp/portage/lxqt-base/lxqt-panel-0.11.0/work/lxqt-panel-0.11.0/plugin-kbindicator/src/x11/kbdlayout.cpp:36:18: error: ‘_explicit’ does not name a type
 #define explicit _explicit
                  ^
/var/tmp/portage/lxqt-base/lxqt-panel-0.11.0/work/lxqt-panel-0.11.0/plugin-kbindicator/src/x11/kbdlayout.cpp:36:18: error: ‘_explicit’ does not name a type

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 13.0-desktop-plasma_20171010-201400

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-6.4.0 *

Available Python interpreters, in order of preference:
  [1]   python3.4
  [2]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby22 (with Rubygems) *
java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.5.1 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

emerge -qpv lxqt-base/lxqt-panel
[ebuild  N    ] lxqt-base/lxqt-panel-0.11.0  USE="alsa clock desktopswitch kbindicator mainmenu mount quicklaunch showdesktop taskbar tray volume -colorpicker -cpuload -dom -networkmonitor -pulseaudio -sensors -statusnotifier -sysstat -worldclock"
Comment 1 Toralf Förster gentoo-dev 2017-10-14 08:25:35 UTC
Created attachment 498636 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2017-10-14 08:25:38 UTC
Created attachment 498638 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2017-10-14 08:25:41 UTC
Created attachment 498640 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2017-10-14 08:25:44 UTC
Created attachment 498642 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2017-10-14 08:25:47 UTC
Created attachment 498644 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2017-10-14 08:25:50 UTC
Created attachment 498646 [details]
lxqt-base:lxqt-panel-0.11.0:20171014-081328.log
Comment 7 Toralf Förster gentoo-dev 2017-10-14 08:25:53 UTC
Created attachment 498648 [details]
temp.tbz2
Comment 8 Tolga Dalman 2017-10-16 19:30:25 UTC
I believe there is a bugreport (https://github.com/lxde/lxqt/issues/1251)

and a patch upstream (https://github.com/lxde/lxqt-panel/commit/ec62109e0fa678875a9b10fc6f1975267432712d)
Comment 9 Alexey Min 2017-12-10 09:42:53 UTC
(In reply to Tolga Dalman from comment #8)
> I believe there is a bugreport (https://github.com/lxde/lxqt/issues/1251)
> 
> and a patch upstream
> (https://github.com/lxde/lxqt-panel/commit/
> ec62109e0fa678875a9b10fc6f1975267432712d)

Thanks! Patch helped! I did wget https://github.com/lxde/lxqt-panel/commit/ec62109e0fa678875a9b10fc6f1975267432712d.patch in /etc/portage/patches/lxqt-base/lxqt-panel-0.11.0/ and re-eemerged, no error.
Comment 10 Anthony Basile gentoo-dev 2017-12-11 00:56:25 UTC
*** Bug 638472 has been marked as a duplicate of this bug. ***
Comment 11 Anthony Basile gentoo-dev 2017-12-11 01:00:02 UTC
(In reply to Alexey Min from comment #9)
> (In reply to Tolga Dalman from comment #8)
> > I believe there is a bugreport (https://github.com/lxde/lxqt/issues/1251)
> > 
> > and a patch upstream
> > (https://github.com/lxde/lxqt-panel/commit/
> > ec62109e0fa678875a9b10fc6f1975267432712d)
> 
> Thanks! Patch helped! I did wget
> https://github.com/lxde/lxqt-panel/commit/
> ec62109e0fa678875a9b10fc6f1975267432712d.patch in
> /etc/portage/patches/lxqt-base/lxqt-panel-0.11.0/ and re-eemerged, no error.

Sorry I just stabilized this package before I read this report.  I *did* test the package but on a musl system.  I never thought it would work on musl but not on glibc (since it is almost always the opposite).  I'll test on both and add the patch.
Comment 12 Anthony Basile gentoo-dev 2017-12-11 01:38:23 UTC
(In reply to Anthony Basile from comment #11)
> (In reply to Alexey Min from comment #9)
> > (In reply to Tolga Dalman from comment #8)
> > > I believe there is a bugreport (https://github.com/lxde/lxqt/issues/1251)
> > > 
> > > and a patch upstream
> > > (https://github.com/lxde/lxqt-panel/commit/
> > > ec62109e0fa678875a9b10fc6f1975267432712d)
> > 
> > Thanks! Patch helped! I did wget
> > https://github.com/lxde/lxqt-panel/commit/
> > ec62109e0fa678875a9b10fc6f1975267432712d.patch in
> > /etc/portage/patches/lxqt-base/lxqt-panel-0.11.0/ and re-eemerged, no error.
> 
> Sorry I just stabilized this package before I read this report.  I *did*
> test the package but on a musl system.  I never thought it would work on
> musl but not on glibc (since it is almost always the opposite).  I'll test
> on both and add the patch.

okay i added the patch.  its already upstream and very safe.