Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Jun 2024 10:45:18 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 280047] x11/xcb-util-cursor : problem detecting these libraries on FreeBSD 13.2 and 14.1
Message-ID:  <bug-280047-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D280047

            Bug ID: 280047
           Summary: x11/xcb-util-cursor : problem detecting these
                    libraries on FreeBSD 13.2 and 14.1
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: x11@FreeBSD.org
          Reporter: marietto2008@gmail.com
          Assignee: x11@FreeBSD.org
             Flags: maintainer-feedback?(x11@FreeBSD.org)

Hello.

I wanted to try to run Wayland + KDE 6 plasma on FreeBSD 14.1. I've created=
 the
following tutorial that unfortunately has some errors inside,since the proj=
ect
does not work.

The steps that I have taken are the following :

1 - added user to the wheel and video groups :

sudo pw groupmod wheel video -m marietto

2 - sysrc :

sudo sysrc -f /etc/rc.conf kld_list+=3D"nvidia-modeset nvidia-drm linux lin=
ux64
i915kms"

3 - installed the following packages :

=3D=3D> pkg install --glob "plasma6-*"
=3D=3D> pkg install --glob "kf6-*"
=3D=3D> pkg install plasma-wayland-protocols plasma6-xdg-desktop-portal-kde
kf6-breeze-icons-6 kde6-devel

4- removed these packages :

pkg remove xdg-desktop-portal-wlr wlrobs grim slurp wlr-which-key
wayland-protocols wayfire wf-shell wayfire-plugins-extra

5 - created a startup script called start-kde6 :

#!/usr/local/bin/bash

[ -d $XDG_RUNTIME_DIR ] || mkdir -m 700 -p $XDG_RUNTIME_DIR

export $(dbus-launch)
exec dbus-launch --exit-with-session ck-launch-session startplasma-wayland

6 - made it executable :

chmod +x start-kde6

7 - rebooted the machine and logged in as normal user and ran the startup
script :

./start-kde6

I see the error below and it does not work :

qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even thoug=
h it
was found.
This application failed to start because no Qt platform plugin could be
initialized. Reinstalling the application may fix this problem.

Available platform plugins are: minimal, offscreen, vkkhrdisplay, vnc, xcb,
wayland, wayland-egl.

qt.qpa.xcb: could not connect to display :0
qt.qpa.plugin: From 6.5.0, xcb-cursor0 or libxcb-cursor0 is needed to load =
the
Qt xcb platform plugin.
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even thoug=
h it
was found.
This application failed to start because no Qt platform plugin could be
initialized. Reinstalling the application may fix this problem.

Available platform plugins are: minimal, offscreen, vkkhrdisplay, vnc, xcb,
wayland, wayland-egl.

I read that this problem can be fixed by installing the package libxcb :

root@marietto:/home/marietto # pkg install libxcb

but in my case it is already installed :

Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
Checking integrity... done (0 conflicting)
The most recent versions of packages are already installed

It may be a bug in detecting the library :

marietto@marietto:~ $ pkg info xcb-util-cursor

xcb-util-cursor-0.1.3
Name           : xcb-util-cursor
Version        : 0.1.3
Installed on   : Wed Jun 26 00:33:59 2024 CEST
Origin         : x11/xcb-util-cursor
Architecture   : FreeBSD:14:amd64
Prefix         : /usr/local
Categories     : x11
Licenses       : MIT
Maintainer     : x11@FreeBSD.org
WWW            : https://xcb.freedesktop.org/
Comment        : XCB cursor library
Shared Libs required:
        libxcb.so.1
        libxcb-shm.so.0
        libxcb-render.so.0
        libxcb-render-util.so.0
        libxcb-image.so.0
Shared Libs provided:
        libxcb-cursor.so.0
Annotations    :
        FreeBSD_version: 1400097
        build_timestamp: 2024-06-20T01:55:16+0000
        built_by       : poudriere-git-3.4.1-30-g79e3edcd
        port_checkout_unclean: no
        port_git_hash  : b3aa1ea86
        ports_top_checkout_unclean: no
        ports_top_git_hash: 57a5f006d
        repo_type      : binary
        repository     : FreeBSD
Flat size      : 53.8KiB

Description    :

The xcb-util module provides a number of libraries which sit on top of
libxcb, the core X protocol library, and some of the extension libraries.
These libraries provide convenience functions and interfaces which make the
raw X protocol more usable.  Some of the libraries also provide client-side
code which is not strictly part of the X protocol but which have traditiona=
lly
been provided by Xlib.
The util-cursor module implements the XCB cursor library, which is th XCB
replacement for libXcursor.

marietto@marietto:~ $ ls -l /usr/local/lib/libxcb-cursor*

-rw-r--r--  1 root wheel 28982 20 giu 03:55 /usr/local/lib/libxcb-cursor.a
lrwxr-xr-x  1 root wheel    22 20 giu 03:55 /usr/local/lib/libxcb-cursor.so=
 ->
libxcb-cursor.so.0.0.0
lrwxr-xr-x  1 root wheel    22 20 giu 03:55 /usr/local/lib/libxcb-cursor.so=
.0
-> libxcb-cursor.so.0.0.0
-rwxr-xr-x  1 root wheel 19848 20 giu 03:55
/usr/local/lib/libxcb-cursor.so.0.0.0


I'm on FreeBSD 14.1 ; I don't have the exact requested packages. Please giv=
e a
look here :=20

paste.ubuntu.com/p/7Krdtkvsw9=20

There's a recent unanswered post on the FreeBSD forum which claims the libr=
ary
is installed :

https://forums.freebsd.org/threads/qt6-from-6-5-0-xcb-cursor0-or-libxcb-cur=
sor0-is-needed.93191/

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-280047-7788>