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

T.C.Berner tcberner at gmail.com
Tue Mar 29 21:08:01 UTC 2016


Awesome :)

2016-03-29 17:33 GMT+02:00 rianav antares <rianav_a at hotmail.com>:

> 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: tcberner at gmail.com
> To: rianav_a at hotmail.com
> CC: kde-freebsd at 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 <tcberner at 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 <rianav_a at 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<double>(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<double>(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 at kde.org
> https://mail.kde.org/mailman/listinfo/kde-freebsd
> See also http://freebsd.kde.org/ for latest information
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-freebsd/attachments/20160329/1c06e3ed/attachment.html>


More information about the kde-freebsd mailing list