[ 32%] Building CXX object src/CMakeFiles/tastymenu_panelapplet-module.dir/menuhandler.cpp.o
cd "/tmp/BUILD.fc39.x86_64/trinity-tastymenu-14.1.2~pre5+e7653d40/build/src" && /usr/lib64/ccache/g++ -DHAVE_CONFIG_H -Dtastymenu_panelapplet_module_EXPORTS -I"/tmp/BUILD.fc39.x86_64/trinity-tastymenu-14.1.2~pre5+e7653d40/build" -I"/tmp/BUILD.fc39.x86_64/trinity-tastymenu-14.1.2~pre5+e7653d40/build/src" -I"/tmp/BUILD.fc39.x86_64/trinity-tastymenu-14.1.2~pre5+e7653d40/src" -I/opt/trinity/include/tde -I/usr/include/tqt3 -I/usr/include/tqt -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdebug-prefix-map=/tmp/BUILD.fc39.x86_64/trinity-tastymenu-14.1.2~pre5+e7653d40=. -fmacro-prefix-map=/tmp/BUILD.fc39.x86_64/trinity-tastymenu-14.1.2~pre5+e7653d40=. -fvisibility=hidden -fvisibility-inlines-hidden -DTQT_NO_ASCII_CAST -DTQT_NO_STL -DTQT_NO_COMPAT -DTQT_NO_TRANSLATION -DTQT_THREAD_SUPPORT -D_REENTRANT -I/usr/include/tqt3 -I/usr/include/tqt -include tqt.h -DTQT_NO_ASCII_CAST -DTQT_NO_STL -DTQT_NO_COMPAT -DTQT_NO_TRANSLATION -DTQT_THREAD_SUPPORT -D_REENTRANT -include tqt.h -DNDEBUG -fPIC -MD -MT src/CMakeFiles/tastymenu_panelapplet-module.dir/menuhandler.cpp.o -MF CMakeFiles/tastymenu_panelapplet-module.dir/menuhandler.cpp.o.d -o CMakeFiles/tastymenu_panelapplet-module.dir/menuhandler.cpp.o -c "/tmp/BUILD.fc39.x86_64/trinity-tastymenu-14.1.2~pre5+e7653d40/src/menuhandler.cpp"
In file included from /usr/include/tqt/tqlistview.h:26,
from /opt/trinity/include/tde/tdelistview.h:25,
from /tmp/BUILD.fc39.x86_64/trinity-tastymenu-14.1.2~pre5+e7653d40/src/menuhandler.h:27,
from /tmp/BUILD.fc39.x86_64/trinity-tastymenu-14.1.2~pre5+e7653d40/src/menuhandler.cpp:36:
/usr/include/tqt3/ntqlistview.h:108:17: warning: ‘virtual int TQListViewItem::width(const TQFontMetrics&, const TQListView*, int) const’ was hidden [-Woverloaded-virtual=]
108 | virtual int width( const TQFontMetrics&,
| ^~~~~
In file included from /tmp/BUILD.fc39.x86_64/trinity-tastymenu-14.1.2~pre5+e7653d40/src/menuhandler.h:48:
/tmp/BUILD.fc39.x86_64/trinity-tastymenu-14.1.2~pre5+e7653d40/src/tastylistview.h:192:9: note: by ‘int TastyListViewItem::width(const TQFontMetrics&, const TQListView*, int)’
192 | int width( const TQFontMetrics & fm, const TQListView * lv, int c )
| ^~~~~
/tmp/BUILD.fc39.x86_64/trinity-tastymenu-14.1.2~pre5+e7653d40/src/menuhandler.cpp: In constructor ‘MenuHandler::MenuHandler(TQWidget*, Prefs*, char*, TQt::WFlags)’:
/tmp/BUILD.fc39.x86_64/trinity-tastymenu-14.1.2~pre5+e7653d40/src/menuhandler.cpp:59:28: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
59 | if( _newAppsNotification = prefSkel->newAppsNotification() )
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/BUILD.fc39.x86_64/trinity-tastymenu-14.1.2~pre5+e7653d40/src/menuhandler.cpp: In member function ‘void MenuHandler::populateList(KServiceGroup*, TastyListView*, TastyListViewItem*, bool, const TQString&)’:
/tmp/BUILD.fc39.x86_64/trinity-tastymenu-14.1.2~pre5+e7653d40/src/menuhandler.cpp:712:20: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
712 | if( listView && listView == menu->rootList
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/BUILD.fc39.x86_64/trinity-tastymenu-14.1.2~pre5+e7653d40/src/menuhandler.cpp:715:25: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
715 | else if( listView && listView == menu->childList
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/BUILD.fc39.x86_64/trinity-tastymenu-14.1.2~pre5+e7653d40/src/menuhandler.cpp: In member function ‘void MenuHandler::slotPopulateSessions()’:
/tmp/BUILD.fc39.x86_64/trinity-tastymenu-14.1.2~pre5+e7653d40/src/menuhandler.cpp:1508:52: error: ‘sess2Str’ is not a member of ‘DM’
1508 | int id = sessionsMenu->insertItem( DM::sess2Str( *it ), (*it).vt );
| ^~~~~~~~
/tmp/BUILD.fc39.x86_64/trinity-tastymenu-14.1.2~pre5+e7653d40/src/menuhandler.cpp: In member function ‘void MenuHandler::slotSessionActivated(int)’:
/tmp/BUILD.fc39.x86_64/trinity-tastymenu-14.1.2~pre5+e7653d40/src/menuhandler.cpp:1543:14: error: ‘class DM’ has no member named ‘lockSwitchVT’; did you mean ‘switchVT’?
1543 | DM().lockSwitchVT( ent );
| ^~~~~~~~~~~~
| switchVT
make[3]: *** [src/CMakeFiles/tastymenu_panelapplet-module.dir/build.make:229: src/CMakeFiles/tastymenu_panelapplet-module.dir/menuhandler.cpp.o] Error 1
make[3]: Leaving directory '/tmp/BUILD.fc39.x86_64/trinity-tastymenu-14.1.2~pre5+e7653d40/build'
make[2]: *** [CMakeFiles/Makefile2:466: src/CMakeFiles/tastymenu_panelapplet-module.dir/all] Error 2
make[2]: Leaving directory '/tmp/BUILD.fc39.x86_64/trinity-tastymenu-14.1.2~pre5+e7653d40/build'
make[1]: *** [Makefile:139: all] Error 2
make[1]: Leaving directory '/tmp/BUILD.fc39.x86_64/trinity-tastymenu-14.1.2~pre5+e7653d40/build'
<!--
This is a comment.
Please fill in the required fields below.
The comments provide instructions on how to do so.
Note: You do not need to remove comments.
-->
## Basic information
- TDE version: 14.1.2
- Distribution: Fedora 39
- Hardware: amd64
<!--
Use SL/* labels to set the severity level.
Please do not set a milestone.
-->
## Description
was building in 14.1.1
## Steps to reproduce
build
## Screenshots
```
[ 32%] Building CXX object src/CMakeFiles/tastymenu_panelapplet-module.dir/menuhandler.cpp.o
cd "/tmp/BUILD.fc39.x86_64/trinity-tastymenu-14.1.2~pre5+e7653d40/build/src" && /usr/lib64/ccache/g++ -DHAVE_CONFIG_H -Dtastymenu_panelapplet_module_EXPORTS -I"/tmp/BUILD.fc39.x86_64/trinity-tastymenu-14.1.2~pre5+e7653d40/build" -I"/tmp/BUILD.fc39.x86_64/trinity-tastymenu-14.1.2~pre5+e7653d40/build/src" -I"/tmp/BUILD.fc39.x86_64/trinity-tastymenu-14.1.2~pre5+e7653d40/src" -I/opt/trinity/include/tde -I/usr/include/tqt3 -I/usr/include/tqt -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdebug-prefix-map=/tmp/BUILD.fc39.x86_64/trinity-tastymenu-14.1.2~pre5+e7653d40=. -fmacro-prefix-map=/tmp/BUILD.fc39.x86_64/trinity-tastymenu-14.1.2~pre5+e7653d40=. -fvisibility=hidden -fvisibility-inlines-hidden -DTQT_NO_ASCII_CAST -DTQT_NO_STL -DTQT_NO_COMPAT -DTQT_NO_TRANSLATION -DTQT_THREAD_SUPPORT -D_REENTRANT -I/usr/include/tqt3 -I/usr/include/tqt -include tqt.h -DTQT_NO_ASCII_CAST -DTQT_NO_STL -DTQT_NO_COMPAT -DTQT_NO_TRANSLATION -DTQT_THREAD_SUPPORT -D_REENTRANT -include tqt.h -DNDEBUG -fPIC -MD -MT src/CMakeFiles/tastymenu_panelapplet-module.dir/menuhandler.cpp.o -MF CMakeFiles/tastymenu_panelapplet-module.dir/menuhandler.cpp.o.d -o CMakeFiles/tastymenu_panelapplet-module.dir/menuhandler.cpp.o -c "/tmp/BUILD.fc39.x86_64/trinity-tastymenu-14.1.2~pre5+e7653d40/src/menuhandler.cpp"
In file included from /usr/include/tqt/tqlistview.h:26,
from /opt/trinity/include/tde/tdelistview.h:25,
from /tmp/BUILD.fc39.x86_64/trinity-tastymenu-14.1.2~pre5+e7653d40/src/menuhandler.h:27,
from /tmp/BUILD.fc39.x86_64/trinity-tastymenu-14.1.2~pre5+e7653d40/src/menuhandler.cpp:36:
/usr/include/tqt3/ntqlistview.h:108:17: warning: ‘virtual int TQListViewItem::width(const TQFontMetrics&, const TQListView*, int) const’ was hidden [-Woverloaded-virtual=]
108 | virtual int width( const TQFontMetrics&,
| ^~~~~
In file included from /tmp/BUILD.fc39.x86_64/trinity-tastymenu-14.1.2~pre5+e7653d40/src/menuhandler.h:48:
/tmp/BUILD.fc39.x86_64/trinity-tastymenu-14.1.2~pre5+e7653d40/src/tastylistview.h:192:9: note: by ‘int TastyListViewItem::width(const TQFontMetrics&, const TQListView*, int)’
192 | int width( const TQFontMetrics & fm, const TQListView * lv, int c )
| ^~~~~
/tmp/BUILD.fc39.x86_64/trinity-tastymenu-14.1.2~pre5+e7653d40/src/menuhandler.cpp: In constructor ‘MenuHandler::MenuHandler(TQWidget*, Prefs*, char*, TQt::WFlags)’:
/tmp/BUILD.fc39.x86_64/trinity-tastymenu-14.1.2~pre5+e7653d40/src/menuhandler.cpp:59:28: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
59 | if( _newAppsNotification = prefSkel->newAppsNotification() )
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/BUILD.fc39.x86_64/trinity-tastymenu-14.1.2~pre5+e7653d40/src/menuhandler.cpp: In member function ‘void MenuHandler::populateList(KServiceGroup*, TastyListView*, TastyListViewItem*, bool, const TQString&)’:
/tmp/BUILD.fc39.x86_64/trinity-tastymenu-14.1.2~pre5+e7653d40/src/menuhandler.cpp:712:20: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
712 | if( listView && listView == menu->rootList
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/BUILD.fc39.x86_64/trinity-tastymenu-14.1.2~pre5+e7653d40/src/menuhandler.cpp:715:25: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
715 | else if( listView && listView == menu->childList
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/BUILD.fc39.x86_64/trinity-tastymenu-14.1.2~pre5+e7653d40/src/menuhandler.cpp: In member function ‘void MenuHandler::slotPopulateSessions()’:
/tmp/BUILD.fc39.x86_64/trinity-tastymenu-14.1.2~pre5+e7653d40/src/menuhandler.cpp:1508:52: error: ‘sess2Str’ is not a member of ‘DM’
1508 | int id = sessionsMenu->insertItem( DM::sess2Str( *it ), (*it).vt );
| ^~~~~~~~
/tmp/BUILD.fc39.x86_64/trinity-tastymenu-14.1.2~pre5+e7653d40/src/menuhandler.cpp: In member function ‘void MenuHandler::slotSessionActivated(int)’:
/tmp/BUILD.fc39.x86_64/trinity-tastymenu-14.1.2~pre5+e7653d40/src/menuhandler.cpp:1543:14: error: ‘class DM’ has no member named ‘lockSwitchVT’; did you mean ‘switchVT’?
1543 | DM().lockSwitchVT( ent );
| ^~~~~~~~~~~~
| switchVT
make[3]: *** [src/CMakeFiles/tastymenu_panelapplet-module.dir/build.make:229: src/CMakeFiles/tastymenu_panelapplet-module.dir/menuhandler.cpp.o] Error 1
make[3]: Leaving directory '/tmp/BUILD.fc39.x86_64/trinity-tastymenu-14.1.2~pre5+e7653d40/build'
make[2]: *** [CMakeFiles/Makefile2:466: src/CMakeFiles/tastymenu_panelapplet-module.dir/all] Error 2
make[2]: Leaving directory '/tmp/BUILD.fc39.x86_64/trinity-tastymenu-14.1.2~pre5+e7653d40/build'
make[1]: *** [Makefile:139: all] Error 2
make[1]: Leaving directory '/tmp/BUILD.fc39.x86_64/trinity-tastymenu-14.1.2~pre5+e7653d40/build'
```
@Francois Looking at the code, it looks like TQ_WS_X11 is not defined and so the DM class is missing those methods that are giving error. TQ_WS_X11 is defined in tqt3/src/tools/ntqglobal.h. Are you able to figure out why this is not defined in your builds and then let us know?
May be need some config to include xserver libraries which are no longer included by default?
@Francois Looking at the code, it looks like `TQ_WS_X11` is not defined and so the `DM` class is missing those methods that are giving error.
`TQ_WS_X11` is defined in `tqt3/src/tools/ntqglobal.h`. Are you able to figure out why this is not defined in your builds and then let us know?
May be need some config to include xserver libraries which are no longer included by default?
@MicheleC : thanks for the reply.
I had messed up my tqt3 git repository, it was outdated and caused this problem.
With up-to-date tqt3, it builds fine.
Closing.
@MicheleC : thanks for the reply.
I had messed up my tqt3 git repository, it was outdated and caused this problem.
With up-to-date tqt3, it builds fine.
Closing.
Basic information
Description
was building in 14.1.1
Steps to reproduce
build
Screenshots
Similar issue in opensuse 15.5:
@Francois Looking at the code, it looks like
TQ_WS_X11
is not defined and so theDM
class is missing those methods that are giving error.TQ_WS_X11
is defined intqt3/src/tools/ntqglobal.h
. Are you able to figure out why this is not defined in your builds and then let us know?May be need some config to include xserver libraries which are no longer included by default?
@MicheleC : thanks for the reply.
I had messed up my tqt3 git repository, it was outdated and caused this problem.
With up-to-date tqt3, it builds fine.
Closing.