https://bugs.kde.org/show_bug.cgi?id=506136

            Bug ID: 506136
           Summary: xwaylandvideobridge cannot build on Qt 6.9
    Classification: I don't know
           Product: kde
      Version First unspecified
       Reported In:
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: unassigned-b...@kde.org
          Reporter: 1900011...@pku.edu.cn
  Target Milestone: ---

SUMMARY

xwaylandvideobridge cannot build, maybe incompatible to Qt 6.9

STEPS TO REPRODUCE
1. yay -S xwaylandvideobridge (or any other application relies on that, for me
I need wemeet-wayland-screenshare-git)

OBSERVED RESULT

```
-- Configuring done (2.1s)
CMake Warning at src/CMakeLists.txt:5 (add_executable):
  Cannot generate a safe runtime search path for target xwaylandvideobridge
  because files in some directories may conflict with libraries in implicit
  directories:

    runtime library [libxcb.so.1] in /usr/lib may be hidden by files in:
      /home/firestar/.miniconda/lib
    runtime library [libxcb-composite.so.0] in /usr/lib may be hidden by files
in:
      /home/firestar/.miniconda/lib
    runtime library [libxcb-record.so.0] in /usr/lib may be hidden by files in:
      /home/firestar/.miniconda/lib
    runtime library [libxcb-xfixes.so.0] in /usr/lib may be hidden by files in:
      /home/firestar/.miniconda/lib
    runtime library [libxcb-render.so.0] in /usr/lib may be hidden by files in:
      /home/firestar/.miniconda/lib
    runtime library [libxcb-shape.so.0] in /usr/lib may be hidden by files in:
      /home/firestar/.miniconda/lib
    runtime library [libxkbcommon.so.0] in /usr/lib may be hidden by files in:
      /home/firestar/.miniconda/lib
    runtime library [libX11.so.6] in /usr/lib may be hidden by files in:
      /home/firestar/.miniconda/lib
    runtime library [libGLX.so.0] in /usr/lib may be hidden by files in:
      /home/firestar/.miniconda/lib
    runtime library [libOpenGL.so.0] in /usr/lib may be hidden by files in:
      /home/firestar/.miniconda/lib

  Some of these libraries may not be found correctly.

......

/usr/bin/ld: /usr/lib/libKPipeWire.so.6.3.5: undefined reference to
`QPainter::setBrush(QColor)@Qt_6'
/usr/bin/ld: /usr/lib/libKF6I18n.so.6.15.0: undefined reference to
`QString::arg_impl(double, int, char, int, QChar) const@Qt_6'
/usr/bin/ld: /usr/lib/libKF6StatusNotifierItem.so.6.15.0: undefined reference
to `QString::arg_impl(long long, int, int, QChar) const@Qt_6'
/usr/bin/ld: /usr/lib/libKF6StatusNotifierItem.so.6.15.0: undefined reference
to `QString::arg_impl(QAnyStringView, int, QChar) const@Qt_6'
/usr/bin/ld: /usr/lib/libKF6WindowSystem.so.6.15.0: undefined reference to
`QBasicTimer::start(std::chrono::duration<long, std::ratio<1l, 1000000000l> >,
Qt::TimerType, QObject*)@Qt_6'
/usr/bin/ld: /usr/lib/libKF6StatusNotifierItem.so.6.15.0: undefined reference
to `QMetaEnum::valueToKey(unsigned long long) const@Qt_6'
/usr/bin/ld: /usr/lib/libKPipeWire.so.6.3.5: undefined reference to
`QString::arg_impl(unsigned long long, int, int, QChar) const@Qt_6'
/usr/bin/ld: /usr/lib/libKF6StatusNotifierItem.so.6.15.0: undefined reference
to `qt_version_tag@Qt_6.9'
/usr/bin/ld: /usr/lib/libKF6I18n.so.6.15.0: undefined reference to
`QtPrivate::argToQString(QAnyStringView, unsigned long, QtPrivate::ArgBase
const**)@Qt_6'
/usr/bin/ld: /usr/lib/libKF6I18n.so.6.15.0: undefined reference to
`QBasicMutex::destroyInternal(void*)@Qt_6'
collect2: error: ld returned 1 exit status
make[2]: *** [src/CMakeFiles/xwaylandvideobridge.dir/build.make:226:
bin/xwaylandvideobridge] Error 1
make[1]: *** [CMakeFiles/Makefile2:301:
src/CMakeFiles/xwaylandvideobridge.dir/all] Error 2
make: *** [Makefile:136: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
error: failed to build 'xwaylandvideobridge-0.4.0-2': 
error: can't build wemeet-wayland-screenshare-git-3.19.2.400.H.r56.g7f33896-1,
deps not satisfied: xwaylandvideobridge
error: packages failed to build: xwaylandvideobridge-0.4.0-2 
wemeet-wayland-screenshare-git-3.19.2.400.H.r56.g7f33896-1
```

EXPECTED RESULT


SOFTWARE/OS VERSIONS
$ kinfo
Operating System: Arch Linux 
KDE Plasma Version: 6.4.1
KDE Frameworks Version: 6.15.0
Qt Version: 6.9.1
Kernel Version: 6.15.3-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 24 × AMD Ryzen 9 9900X 12-Core Processor
Memory: 64 GiB of RAM (60.5 GiB usable)
Graphics Processor 1: NVIDIA GeForce RTX 4060 Ti/PCIe/SSE2
Graphics Processor 2: NVIDIA GeForce RTX 4060 Ti/PCIe/SSE2

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to