plasma5-plasma-desktop build error

2024-02-14 Thread Nijad
I run "cd /usr/ports/x11/plasma5-plasma-desktop/ && doas make install 
clean" and get the error:



===>   plasma5-plasma-desktop-5.27.10_1 depends on package: 
xf86-input-evdev>0 - found
===>   plasma5-plasma-desktop-5.27.10_1 depends on package: 
xf86-input-synaptics>0 - found
===>   plasma5-plasma-desktop-5.27.10_1 depends on package: 
xf86-input-libinput>0 - found
===>   plasma5-plasma-desktop-5.27.10_1 depends on executable: 
xdg-user-dir - found
===>   plasma5-plasma-desktop-5.27.10_1 depends on package: 
wayland-protocols>=1.18 - found
===>   plasma5-plasma-desktop-5.27.10_1 depends on file: 
/usr/local/bin/cmake - found
===>   plasma5-plasma-desktop-5.27.10_1 depends on executable: ninja - 
found
===>   plasma5-plasma-desktop-5.27.10_1 depends on executable: 
update-desktop-database - found
===>   plasma5-plasma-desktop-5.27.10_1 depends on package: 
gettext-runtime>=0.22_1 - found
===>   plasma5-plasma-desktop-5.27.10_1 depends on executable: msgfmt - 
found
===>   plasma5-plasma-desktop-5.27.10_1 depends on file: 
/usr/local/bin/intltool-extract - found
===>   plasma5-plasma-desktop-5.27.10_1 depends on file: 
/usr/local/bin/meinproc5 - not found
===>   kf5-kdoctools-5.114.0_1 depends on file: 
/usr/local/share/xsl/docbook/html/docbook.xsl - found

===>   kf5-kdoctools-5.114.0_1 depends on package: docbook-xml>0 - found
===>   kf5-kdoctools-5.114.0_1 depends on package: p5-URI>=0 - found
===>   kf5-kdoctools-5.114.0_1 depends on file: /usr/local/bin/cmake - 
found

===>   kf5-kdoctools-5.114.0_1 depends on executable: ninja - found
===>   kf5-kdoctools-5.114.0_1 depends on package: 
gettext-runtime>=0.22_1 - found

===>   kf5-kdoctools-5.114.0_1 depends on executable: msgfmt - found
===>   kf5-kdoctools-5.114.0_1 depends on file: 
/usr/local/share/ECM/cmake/ECMConfig.cmake - found
===>   kf5-kdoctools-5.114.0_1 depends on package: qt5-buildtools>=5.15 
- found
===>   kf5-kdoctools-5.114.0_1 depends on package: qt5-qmake>=5.15 - 
found
===>   kf5-kdoctools-5.114.0_1 depends on shared library: libintl.so - 
found (/usr/local/lib/libintl.so)
===>   kf5-kdoctools-5.114.0_1 depends on shared library: libxml2.so - 
found (/usr/local/lib/libxml2.so)
===>   kf5-kdoctools-5.114.0_1 depends on shared library: libxslt.so - 
found (/usr/local/lib/libxslt.so)
===>   kf5-kdoctools-5.114.0_1 depends on shared library: 
libKF5Archive.so - not found
===>   kf5-karchive-5.114.0 depends on file: /usr/local/bin/cmake - 
found

===>   kf5-karchive-5.114.0 depends on executable: ninja - found
===>   kf5-karchive-5.114.0 depends on file: 
/usr/local/share/ECM/cmake/ECMConfig.cmake - found
===>   kf5-karchive-5.114.0 depends on package: qt5-buildtools>=5.15 - 
found

===>   kf5-karchive-5.114.0 depends on package: qt5-qmake>=5.15 - found
===>   kf5-karchive-5.114.0 depends on shared library: libQt5Core.so - 
found (/usr/local/lib/qt5/libQt5Core.so)

===>  Configuring for kf5-karchive-5.114.0
===>  Performing out-of-source build
/bin/mkdir -p /usr/ports/archivers/kf5-karchive/work/.build
--

CMake Error at /usr/local/share/ECM/modules/ECMPoQmTools.cmake:151 
(find_package):
  Could not find a package configuration file provided by 
"Qt5LinguistTools"

  with any of the following names:

Qt5LinguistToolsConfig.cmake
qt5linguisttools-config.cmake

  Add the installation prefix of "Qt5LinguistTools" to CMAKE_PREFIX_PATH 
or

  set "Qt5LinguistTools_DIR" to a directory containing one of the above
  files.  If "Qt5LinguistTools" provides a separate development package 
or

  SDK, be sure it has been installed.
Call Stack (most recent call first):
  /usr/local/share/ECM/modules/ECMPoQmTools.cmake:247 
(ecm_process_po_files_as_qm)

  CMakeLists.txt:84 (ecm_install_po_files_as_qm)


-- Configuring incomplete, errors occurred!
*** Error code 1

Stop.
make[3]: stopped in /usr/ports/archivers/kf5-karchive
*** Error code 1

Stop.
make[2]: stopped in /usr/ports/devel/kf5-kdoctools
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/x11/plasma5-plasma-desktop
*** Error code 1

Stop.
make: stopped in /usr/ports/x11/plasma5-plasma-desktop


Re: [kde-freebsd] x11/plasma5-plasma-desktop build error

2016-03-29 Thread rianav antares
HI,
Many thanks. I did so and the build completes successfully!  Great!  

Date: Tue, 29 Mar 2016 12:33:48 +0200
Subject: Re: [kde-freebsd] x11/plasma5-plasma-desktop build error
From: tcber...@gmail.com
To: riana...@hotmail.com
CC: kde-freebsd@kde.org

Hi
Can you update your plasma5 ports tree to r12230 and try again?

mfg Tobias
2016-03-29 11:09 GMT+02:00 T.C.Berner <tcber...@gmail.com>:
Hi
Ah, I think the issue is, that you have x11-drivers/xf86-input-synaptics 
installed., which is an optional dependency. I haven't so I have never tested 
that one. I will add a patch later today, that should hopefully fix the build 
for that.

mfg Tobias

2016-03-28 16:38 GMT+02:00 rianav antares <riana...@hotmail.com>:



Greetings all,
I see this error now. I hope it is not due to untracked files again. Can you 
indicate how to fix?
Thank you.

[ 94%] Built target kcm-touchpad-list-devices
[ 94%] Building CXX object 
kcms/touchpad/src/CMakeFiles/kded_touchpad.dir/backends/x11/synapticstouchpad.cpp.o
[ 95%] Built target plasma_engine_touchpad
[ 95%] Building CXX object 
kcms/touchpad/src/CMakeFiles/kded_touchpad.dir/backends/x11/libinputtouchpad.cpp.o
/ramdisk/usr/ports/x11/plasma5-plasma-desktop/work/plasma-desktop-5.6.0/kcms/touchpad/src/backends/x11/synapticstouchpad.cpp:240:21:
 error: no member named 'sqrt' in namespace 'std'; did you mean 'sort'?
return std::sqrt(static_cast(m_resX) * m_resX
   ~^~~~
sort
/usr/include/c++/v1/algorithm:4029:1: note: 'sort' declared here
sort(_RandomAccessIterator __first, _RandomAccessIterator __last, _Compare 
__comp)
^
/ramdisk/usr/ports/x11/plasma5-plasma-desktop/work/plasma-desktop-5.6.0/kcms/touchpad/src/backends/x11/synapticstouchpad.cpp:240:16:
 error: no matching function for call to 'sort'
return std::sqrt(static_cast(m_resX) * m_resX
   ^
/usr/include/c++/v1/algorithm:4029:1: note: candidate function template not 
viable: requires 3 arguments, but 1 was provided
sort(_RandomAccessIterator __first, _RandomAccessIterator __last, _Compare 
__comp)
^
/ramdisk/usr/ports/x11/plasma5-plasma-desktop/work/plasma-desktop-5.6.0/kcms/touchpad/src/backends/x11/synapticstouchpad.cpp:247:16:
 error: use of undeclared identifier 'M_PI_4'
return M_PI_4 / 45.0;
   ^
3 errors generated.
--- 
kcms/touchpad/src/CMakeFiles/kded_touchpad.dir/backends/x11/synapticstouchpad.cpp.o
 ---
*** 
[kcms/touchpad/src/CMakeFiles/kded_touchpad.dir/backends/x11/synapticstouchpad.cpp.o]
 Error code 1

make[4]: stopped in /ramdisk/usr/ports/x11/plasma5-plasma-desktop/work/.build
1 error

make[4]: stopped in /ramdisk/usr/ports/x11/plasma5-plasma-desktop/work/.build
--- kcms/touchpad/src/CMakeFiles/kded_touchpad.dir/all ---
*** [kcms/touchpad/src/CMakeFiles/kded_touchpad.dir/all] Error code 2

make[3]: stopped in /ramdisk/usr/ports/x11/plasma5-plasma-desktop/work/.build
1 error

make[3]: stopped in /ramdisk/usr/ports/x11/plasma5-plasma-desktop/work/.build
*** [all] Error code 2

make[2]: stopped in /ramdisk/usr/ports/x11/plasma5-plasma-desktop/work/.build
1 error

make[2]: stopped in /ramdisk/usr/ports/x11/plasma5-plasma-desktop/work/.build
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1


  

___

kde-freebsd mailing list

kde-freebsd@kde.org

https://mail.kde.org/mailman/listinfo/kde-freebsd

See also http://freebsd.kde.org/ for latest information





  ___
kde-freebsd mailing list
kde-freebsd@kde.org
https://mail.kde.org/mailman/listinfo/kde-freebsd
See also http://freebsd.kde.org/ for latest information