Kwin 5.9.2 fails to build with reference to udev

Tobias C. Berner tcberner at freebsd.org
Wed Feb 15 17:05:46 UTC 2017


Hi there

That's a very strange error. As it should not try to build the udev stuff.
Can you upload the whole buildlog somewhere?


mfg Tobias

On 15 February 2017 at 17:56, Rianav Antares <rianav_a at hotmail.com> wrote:

>
>                   Greetings all,
>
>
> I attempted to update to the 5.9.2 release. However the 'kwin' port build
> process eventually stops with the following:
>
> MakeFiles/libinputtest.dir/__/udev.cpp.o: In function
> `KWin::Udev::Udev()':
> --- effects/CMakeFiles/kwin4_effect_builtins.dir/all ---
>
> cd /usr/ports/x11-wm/plasma5-kwin/work/.build/effects &&
> /usr/local/lib/libexec/kf5/kconfig_compiler_kf5 /usr/ports/x11-wm/plasma5-
> kwin/work/kwin-5.9.2/effects/mouseclick/mouseclick.kcfg
> /usr/ports/x11-wm/plasma5-kwin/work/kwin-5.9.2/effects/
> mouseclick/mouseclickconfig.kcfgc -d /usr/ports/x11-wm/plasma5-
> kwin/work/.build/effects/
> --- effects/mousemarkconfig.h ---
> --- tests/CMakeFiles/libinputtest.dir/all ---
> /usr/ports/x11-wm/plasma5-kwin/work/kwin-5.9.2/udev.cpp:(.text+0xa):
> undefined reference to `udev_new()'
> CMakeFiles/libinputtest.dir/__/udev.cpp.o: In function
> `KWin::Udev::~Udev()':
> /usr/ports/x11-wm/plasma5-kwin/work/kwin-5.9.2/udev.cpp:(.text+0x2e):
> undefined reference to `udev_unref(udev*)'
> CMakeFiles/libinputtest.dir/__/udev.cpp.o: In function
> `KWin::UdevEnumerate::UdevEnumerate(KWin::Udev*)':
> /usr/ports/x11-wm/plasma5-kwin/work/kwin-5.9.2/udev.cpp:(.text+0x50):
> undefined reference to `udev_enumerate_new(udev*)'
> CMakeFiles/libinputtest.dir/__/udev.cpp.o: In function
> `KWin::UdevEnumerate::~UdevEnumerate()':
> /usr/ports/x11-wm/plasma5-kwin/work/kwin-5.9.2/udev.cpp:(.text+0x6a):
> undefined reference to `udev_enumerate_unref(udev_enumerate*)'
> CMakeFiles/libinputtest.dir/__/udev.cpp.o: In function
> `KWin::UdevEnumerate::addMatch(KWin::UdevEnumerate::Match, char const*)':
> /usr/ports/x11-wm/plasma5-kwin/work/kwin-5.9.2/udev.cpp:(.text+0x86):
> undefined reference to `udev_enumerate_add_match_sysname(udev_enumerate*,
> char const*)'
> /usr/ports/x11-wm/plasma5-kwin/work/kwin-5.9.2/udev.cpp:(.text+0x91):
> undefined reference to `udev_enumerate_add_match_subsystem(udev_enumerate*,
> char const*)'
> CMakeFiles/libinputtest.dir/__/udev.cpp.o: In function
> `KWin::UdevEnumerate::scan()':
> /usr/ports/x11-wm/plasma5-kwin/work/kwin-5.9.2/udev.cpp:(.text+0xaf):
> undefined reference to `udev_enumerate_scan_devices(udev_enumerate*)'
> CMakeFiles/libinputtest.dir/__/udev.cpp.o: In function
> `KWin::UdevEnumerate::find(std::__1::function<bool
> ()(std::__1::unique_ptr<KWin::UdevDevice, std::__1::default_delete<KWin::UdevDevice>
> > const&)>)':
> /usr/ports/x11-wm/plasma5-kwin/work/kwin-5.9.2/udev.cpp:(.text+0xea):
> undefined reference to `udev_enumerate_get_list_entry(udev_enumerate*)'
> /usr/ports/x11-wm/plasma5-kwin/work/kwin-5.9.2/udev.cpp:(.text+0x117):
> undefined reference to `udev_list_entry_get_next(udev_list_entry*)'
> /usr/ports/x11-wm/plasma5-kwin/work/kwin-5.9.2/udev.cpp:(.text+0x129):
> undefined reference to `udev_list_entry_get_name(udev_list_entry*)'
> /usr/ports/x11-wm/plasma5-kwin/work/kwin-5.9.2/udev.cpp:(.text+0x145):
> undefined reference to `udev_device_new_from_syspath(udev*, char const*)'
> /usr/ports/x11-wm/plasma5-kwin/work/kwin-5.9.2/udev.cpp:(.text+0x186):
> undefined reference to `udev_device_unref(udev_device*)'
> /usr/ports/x11-wm/plasma5-kwin/work/kwin-5.9.2/udev.cpp:(.text+0x1dd):
> undefined reference to `udev_device_unref(udev_device*)'
> CMakeFiles/libinputtest.dir/__/udev.cpp.o: In function `KWin::Udev::deviceFromSyspath(char
> const*)':
> /usr/ports/x11-wm/plasma5-kwin/work/kwin-5.9.2/udev.cpp:(.text+0x238):
> undefined reference to `udev_device_new_from_syspath(udev*, char const*)'
> CMakeFiles/libinputtest.dir/__/udev.cpp.o: In function
> `KWin::Udev::primaryGpu()':
> /usr/ports/x11-wm/plasma5-kwin/work/kwin-5.9.2/udev.cpp:(.text+0x27e):
> undefined reference to `udev_enumerate_new(udev*)'
> /usr/ports/x11-wm/plasma5-kwin/work/kwin-5.9.2/udev.cpp:(.text+0x299):
> undefined reference to `udev_enumerate_add_match_subsystem(udev_enumerate*,
> char const*)'
> /usr/ports/x11-wm/plasma5-kwin/work/kwin-5.9.2/udev.cpp:(.text+0x2a8):
> undefined reference to `udev_enumerate_add_match_sysname(udev_enumerate*,
> char const*)'
> /usr/ports/x11-wm/plasma5-kwin/work/kwin-5.9.2/udev.cpp:(.text+0x2b0):
> undefined reference to `udev_enumerate_scan_devices(udev_enumerate*)'
> /usr/ports/x11-wm/plasma5-kwin/work/kwin-5.9.2/udev.cpp:(.text+0x2ff):
> undefined reference to `udev_enumerate_unref(udev_enumerate*)'
> CMakeFiles/libinputtest.dir/__/udev.cpp.o: In function
> `KWin::Udev::virtualGpu()':
> /usr/ports/x11-wm/plasma5-kwin/work/kwin-5.9.2/udev.cpp:(.text+0x35e):
> undefined reference to `udev_enumerate_new(udev*)'
> /usr/ports/x11-wm/plasma5-kwin/work/kwin-5.9.2/udev.cpp:(.text+0x379):
> undefined reference to `udev_enumerate_add_match_subsystem(udev_enumerate*,
> char const*)'
> /usr/ports/x11-wm/plasma5-kwin/work/kwin-5.9.2/udev.cpp:(.text+0x388):
> undefined reference to `udev_enumerate_add_match_sysname(udev_enumerate*,
> char const*)'
> /usr/ports/x11-wm/plasma5-kwin/work/kwin-5.9.2/udev.cpp:(.text+0x390):
> undefined reference to `udev_enumerate_scan_devices(udev_enumerate*)'
> /usr/ports/x11-wm/plasma5-kwin/work/kwin-5.9.2/udev.cpp:(.text+0x3df):
> undefined reference to `udev_enumerate_unref(udev_enumerate*)'
> CMakeFiles/libinputtest.dir/__/udev.cpp.o: In function
> `KWin::Udev::renderNode()':
> /usr/ports/x11-wm/plasma5-kwin/work/kwin-5.9.2/udev.cpp:(.text+0x43e):
> undefined reference to `udev_enumerate_new(udev*)'
> /usr/ports/x11-wm/plasma5-kwin/work/kwin-5.9.2/udev.cpp:(.text+0x459):
> undefined reference to `udev_enumerate_add_match_subsystem(udev_enumerate*,
> char const*)'
> /usr/ports/x11-wm/plasma5-kwin/work/kwin-5.9.2/udev.cpp:(.text+0x468):
> undefined reference to `udev_enumerate_add_match_sysname(udev_enumerate*,
> char const*)'
> /usr/ports/x11-wm/plasma5-kwin/work/kwin-5.9.2/udev.cpp:(.text+0x470):
> undefined reference to `udev_enumerate_scan_devices(udev_enumerate*)'
> /usr/ports/x11-wm/plasma5-kwin/work/kwin-5.9.2/udev.cpp:(.text+0x4bf):
> undefined reference to `udev_enumerate_unref(udev_enumerate*)'
> CMakeFiles/libinputtest.dir/__/udev.cpp.o: In function
> `KWin::Udev::monitor()':
> /usr/ports/x11-wm/plasma5-kwin/work/kwin-5.9.2/udev.cpp:(.text+0x515):
> undefined reference to `udev_monitor_new_from_netlink(udev*, char const*)'
> CMakeFiles/libinputtest.dir/__/udev.cpp.o: In function
> `KWin::UdevDevice::~UdevDevice()':
> /usr/ports/x11-wm/plasma5-kwin/work/kwin-5.9.2/udev.cpp:(.text+0x55e):
> undefined reference to `udev_device_unref(udev_device*)'
> CMakeFiles/libinputtest.dir/__/udev.cpp.o: In function `KWin::UdevDevice::
> getParentWithSubsystemDevType(char const*, char const*) const':
> /usr/ports/x11-wm/plasma5-kwin/work/kwin-5.9.2/udev.cpp:(.text+0x57e):
> undefined reference to `udev_device_get_parent_with_
> subsystem_devtype(udev_device*, char const*, char const*)'
> CMakeFiles/libinputtest.dir/__/udev.cpp.o: In function
> `KWin::UdevDevice::devNode()':
> /usr/ports/x11-wm/plasma5-kwin/work/kwin-5.9.2/udev.cpp:(.text+0x59e):
> undefined reference to `udev_device_get_devnode(udev_device*)'
> CMakeFiles/libinputtest.dir/__/udev.cpp.o: In function
> `KWin::UdevDevice::sysNum() const':
> /usr/ports/x11-wm/plasma5-kwin/work/kwin-5.9.2/udev.cpp:(.text+0x5c1):
> undefined reference to `udev_device_get_sysnum(udev_device*)'
> CMakeFiles/libinputtest.dir/__/udev.cpp.o: In function
> `KWin::UdevDevice::property(char const*)':
> /usr/ports/x11-wm/plasma5-kwin/work/kwin-5.9.2/udev.cpp:(.text+0x63e):
> undefined reference to `udev_device_get_property_value(udev_device*, char
> const*)'
> CMakeFiles/libinputtest.dir/__/udev.cpp.o: In function `KWin::UdevDevice::hasProperty(char
> const*, char const*)':
> /usr/ports/x11-wm/plasma5-kwin/work/kwin-5.9.2/udev.cpp:(.text+0x662):
> undefined reference to `udev_device_get_property_value(udev_device*, char
> const*)'
> CMakeFiles/libinputtest.dir/__/udev.cpp.o: In function
> `KWin::UdevMonitor::UdevMonitor(KWin::Udev*)':
> /usr/ports/x11-wm/plasma5-kwin/work/kwin-5.9.2/udev.cpp:(.text+0x6a7):
> undefined reference to `udev_monitor_new_from_netlink(udev*, char const*)'
> CMakeFiles/libinputtest.dir/__/udev.cpp.o: In function
> `KWin::UdevMonitor::~UdevMonitor()':
> /usr/ports/x11-wm/plasma5-kwin/work/kwin-5.9.2/udev.cpp:(.text+0x6cf):
> undefined reference to `udev_monitor_unref(udev_monitor*)'
> CMakeFiles/libinputtest.dir/__/udev.cpp.o: In function
> `KWin::UdevMonitor::fd() const':
> /usr/ports/x11-wm/plasma5-kwin/work/kwin-5.9.2/udev.cpp:(.text+0x6ef):
> undefined reference to `udev_monitor_get_fd(udev_monitor*)'
> CMakeFiles/libinputtest.dir/__/udev.cpp.o: In function
> `KWin::UdevMonitor::filterSubsystemDevType(char const*, char const*)':
> /usr/ports/x11-wm/plasma5-kwin/work/kwin-5.9.2/udev.cpp:(.text+0x70f):
> undefined reference to `udev_monitor_filter_add_
> match_subsystem_devtype(udev_monitor*, char const*, char const*)'
> CMakeFiles/libinputtest.dir/__/udev.cpp.o: In function
> `KWin::UdevMonitor::enable()':
> /usr/ports/x11-wm/plasma5-kwin/work/kwin-5.9.2/udev.cpp:(.text+0x72f):
> undefined reference to `udev_monitor_enable_receiving(udev_monitor*)'
> CMakeFiles/libinputtest.dir/__/udev.cpp.o: In function
> `KWin::UdevMonitor::getDevice()':
> /usr/ports/x11-wm/plasma5-kwin/work/kwin-5.9.2/udev.cpp:(.text+0x767):
> undefined reference to `udev_monitor_receive_device(udev_monitor*)'
> CMakeFiles/libinputtest.dir/__/udev.cpp.o: In function
> `std::__1::__function::__func<KWin::Udev::primaryGpu()::$_0,
> std::__1::allocator<KWin::Udev::primaryGpu()::$_0>, bool
> ()(std::__1::unique_ptr<KWin::UdevDevice, std::__1::default_delete<KWin::UdevDevice>
> > const&)>::operator()(std::__1::unique_ptr<KWin::UdevDevice,
> std::__1::default_delete<KWin::UdevDevice> > const&)':
> /usr/ports/x11-wm/plasma5-kwin/work/kwin-5.9.2/udev.cpp:(.text+0x80d):
> undefined reference to `udev_device_get_parent_with_
> subsystem_devtype(udev_device*, char const*, char const*)'
> /usr/ports/x11-wm/plasma5-kwin/work/kwin-5.9.2/udev.cpp:(.text+0x821):
> undefined reference to `udev_device_get_sysattr_value(udev_device*, char
> const*)'
> CMakeFiles/libinputtest.dir/__/udev.cpp.o: In function
> `std::__1::__function::__func<KWin::Udev::virtualGpu()::$_1,
> std::__1::allocator<KWin::Udev::virtualGpu()::$_1>, bool
> ()(std::__1::unique_ptr<KWin::UdevDevice, std::__1::default_delete<KWin::UdevDevice>
> > const&)>::operator()(std::__1::unique_ptr<KWin::UdevDevice,
> std::__1::default_delete<KWin::UdevDevice> > const&)':
> /usr/ports/x11-wm/plasma5-kwin/work/kwin-5.9.2/udev.cpp:(.text+0x8ed):
> undefined reference to `udev_device_get_syspath(udev_device*)'
> c++: error: linker command failed with exit code 1 (use -v to see
> invocation)
> *** [tests/libinputtest] Error code 1
>
> Any idea how to fix? Thanks.
>
> Best Regards,
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-freebsd/attachments/20170215/ba998443/attachment.html>


More information about the kde-freebsd mailing list