Package Details: liketaskmanager-git 2.3.r1.g3e06229-1

Git Clone URL: https://aur.archlinux.org/liketaskmanager-git.git (read-only, click to copy)
Package Base: liketaskmanager-git
Description: Tool that mimics the permformance monitoring of Windows Task Manager
Upstream URL: https://github.com/rejuce/LikeTaskManager
Licenses: GPL-3.0-or-later
Conflicts: liketaskmanager
Provides: liketaskmanager
Submitter: yochananmarqos
Maintainer: yochananmarqos
Last Packager: yochananmarqos
Votes: 0
Popularity: 0.000000
First Submitted: 2020-06-15 16:30 (UTC)
Last Updated: 2024-01-20 23:51 (UTC)

Latest Comments

simona commented on 2023-03-03 17:48 (UTC)

/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/../../../../lib/libnethogs.so: undefined reference to `pidsToWatch'
collect2: error: ld returned 1 exit status
make: *** [Makefile:535: LikeTaskManager] Error 1

yochananmarqos commented on 2023-03-03 16:40 (UTC)

@dreieck: It may be related to this upstream nethogs issue.

dreieck commented on 2023-03-03 11:41 (UTC)

↗ The error: ‘fmod’ is not a member of ‘std’-error has been fixed upstream.

Now I get another subsequent error while linking:

[...]
g++ -Wl,-O1,--sort-common,--as-needed,-z,relro,--hash-style=gnu -pipe -g0 -march=x86-64 -mtune=native -O3 -flto -ffat-lto-objects -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -fomit-frame-pointer -fPIC -fpermissive -std=gnu++1y -flto=4 -fno-fat-lto-objects -fuse-linker-plugin -fPIC -o LikeTaskManager cpuitemwidget.o cpustatreader.o cpustats.o diskitemwidget.o diskstatreader.o ltm_cpu.o ltm_disk.o ltm_network.o ltm_ram.o networkitemwidget.o networkstatreader.o perfitemwidget.o main.o ltm.o processstatreader.o ramitemwidget.o ramstatreader.o qrc_style.o qrc_images.o moc_cpustatreader.o moc_diskstatreader.o moc_networkstatreader.o moc_ltm.o moc_processstatreader.o moc_ramstatreader.o   -lqwt -lnethogs /usr/lib/libQt5Widgets.so /usr/lib/libQt5Gui.so /usr/lib/libQt5Network.so /usr/lib/libQt5Core.so -lGL -lpthread   
/usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/../../../../lib/libnethogs.so: undefined reference to `pidsToWatch'
collect2: error: ld returned 1 exit status
make: *** [Makefile:476: LikeTaskManager] Error 1

Regards!

dreieck commented on 2023-02-28 15:30 (UTC) (edited on 2023-02-28 15:35 (UTC) by dreieck)

liketaskmanager-git alsoo fails to build for me with:

g++ -c -pipe -g0 -march=x86-64 -mtune=native -O3 -ffat-lto-objects -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -fomit-frame-pointer -fPIC -fpermissive -std=gnu++1y -flto -fno-fat-lto-objects -Wall -Wextra -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/usr/include/qwt -I/usr/include/qt -I/usr/include/qt/QtWidgets -I/usr/include/qt/QtGui -I/usr/include/qt/QtNetwork -I/usr/include/qt/QtCore -I. -I. -I/usr/lib/qt/mkspecs/linux-g++ -o ltm_cpu.o ltm_cpu.cpp
ltm_cpu.cpp: In lambda function:
ltm_cpu.cpp:48:31: error: ‘fmod’ is not a member of ‘std’
   48 |             currentHue = std::fmod(currentHue, 1.0f);
      |                               ^~~~
ltm_cpu.cpp: In member function ‘void LTM::plot_cpu_activity()’:
ltm_cpu.cpp:91:26: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
   91 |         for(size_t i=0; i<DataVec.size(); i++){
      |                         ~^~~~~~~~~~~~~~~
make: *** [Makefile:1534: ltm_cpu.o] Error 1

Upstream bug repot ↗ here.

Regards!

simona commented on 2022-08-17 20:30 (UTC)

ltm_cpu.cpp: In lambda function:
ltm_cpu.cpp:48:31: error: ‘fmod’ is not a member of ‘std’
48 | currentHue = std::fmod(currentHue, 1.0f);
| ^~~~
ltm_cpu.cpp: In member function ‘void LTM::plot_cpu_activity()’:

TeaJeep commented on 2022-07-12 09:56 (UTC)

Having the same issue as @brunomiguel

yochananmarqos commented on 2021-10-13 19:36 (UTC)

@brunomiguel: Open an issue upstream.

brunomiguel commented on 2021-10-13 19:14 (UTC)

I'm getting this error when trying to build the package:

g++ -c -pipe -D_FORTIFY_SOURCE=2 -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -std=gnu++1y -Wall -Wextra -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/usr/include/qwt -I/usr/include/qt -I/usr/include/qt/QtWidgets -I/usr/include/qt/QtGui -I/usr/include/qt/QtNetwork -I/usr/include/qt/QtCore -I. -I. -I/usr/lib/qt/mkspecs/linux-g++ -o moc_ltm.o moc_ltm.cpp
ltm_disk.cpp: In member function ‘void LTM::setup_disk_plots()’:
ltm_disk.cpp:20:12: warning: unused variable ‘DiskCnt’ [-Wunused-variable]
   20 |     size_t DiskCnt = m_DiskStatReaderT.getDeviceCount();
      |            ^~~~~~~
ltm_disk.cpp: In member function ‘void LTM::plot_disk_activity()’:
ltm_disk.cpp:196:29: warning: catching polymorphic type ‘class std::exception’ by value [-Wcatch-value=]
  196 |     } catch (std::exception e) {
      |                             ^
ltm_network.cpp: In member function ‘void LTM::setup_network_plots()’:
ltm_network.cpp:20:12: warning: unused variable ‘NetworkCnt’ [-Wunused-variable]
   20 |     size_t NetworkCnt = m_NetworkStatReaderT.getDeviceCount();
      |            ^~~~~~~~~~
ltm_network.cpp: In member function ‘void LTM::update_static_network_info_from(StatTypes::NetworkData&)’:
ltm_network.cpp:176:67: warning: unused parameter ‘networkData’ [-Wunused-parameter]
  176 | void LTM::update_static_network_info_from(StatTypes::NetworkData& networkData){
      |                                           ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
ltm.cpp: In member function ‘void LTM::selfUpdate()’:
ltm.cpp:205:38: warning: ‘void QProcess::setReadChannelMode(QProcess::ProcessChannelMode)’ is deprecated: Use QProcess::setProcessChannelMode() instead [-Wdeprecated-declarations]
  205 |     updateprocess->setReadChannelMode(QProcess::ProcessChannelMode::MergedChannels);
      |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/qt/QtCore/QProcess:1,
                 from ltm.h:19,
                 from ltm.cpp:1:
/usr/include/qt/QtCore/qprocess.h:185:10: note: declared here
  185 |     void setReadChannelMode(ProcessChannelMode mode);
      |          ^~~~~~~~~~~~~~~~~~
ltm.cpp: In member function ‘void LTM::on_butKillProcess_clicked()’:
ltm.cpp:388:12: warning: ignoring return value of ‘int system(const char*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  388 |      system((std::string("kill -9 ")+ terminateID.toStdString()).c_str());
      |      ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ltm_cpu.cpp: In lambda function:
ltm_cpu.cpp:48:31: error: ‘fmod’ is not a member of ‘std’
   48 |             currentHue = std::fmod(currentHue, 1.0f);
      |                               ^~~~
ltm_cpu.cpp: In member function ‘void LTM::plot_cpu_activity()’:
ltm_cpu.cpp:91:26: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
   91 |         for(size_t i=0; i<DataVec.size(); i++){
      |                         ~^~~~~~~~~~~~~~~
make: *** [Makefile:1225: ltm_cpu.o] Erro 1
==> ERRO: Uma falha ocorreu em build().
    A cancelar...