Bug#1143322: hyprland-plugins: FTBFS: /<<PKGBUILDDIR>>/csgo-vulkan-fix/main.cpp:83:41: error: 'class CCompositor' has no member named 'getWindowFromSurface'
Santiago Vila <[email protected]>
| Newsgroups | gmane.linux.debian.devel.bugs.rc |
|---|---|
| Message-ID | <[email protected]> |
Package: src:hyprland-plugins
Version: 0.55.0-2
Severity: serious
Tags: ftbfs forky sid
Dear maintainer:
During a rebuild of all packages in unstable, this package failed to build.
Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:
https://people.debian.org/~sanvila/build-logs/202608/
About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.
If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.
If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:hyprland-plugins, so that this is still
visible in the BTS web page for this package.
Thanks.
--------------------------------------------------------------------------------
[...]
debian/rules clean
dh clean
dh_clean
debian/rules binary
dh binary
dh_update_autotools_config
dh_autoreconf
dh_auto_configure
cd obj-x86_64-linux-gnu && DEB_PYTHON_INSTALL_LAYOUT=deb PKG_CONFIG=x86_64-linux-gnu-pkg-config cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=None -DCMAKE_INSTALL_SYSCONFDIR=/etc -DCMAKE_INSTALL_LOCALSTATEDIR=/var -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON -DCMAKE_FIND_USE_PACKAGE_REGISTRY=OFF -DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON -DFETCHCONTENT_FULLY_DISCONNECTED=ON -DCMAKE_INSTALL_RUNSTATEDIR=/run -DCMAKE_SKIP_INSTALL_ALL_DEPENDENCY=ON "-GUnix Makefiles" -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_C_COMPILER=/usr/bin/x86_64-linux-gnu-gcc -DCMAKE_CXX_COMPILER=/usr/bin/x86_64-linux-gnu-g\+\+ -DPKG_CONFIG_EXECUTABLE=/usr/bin/x86_64-linux-gnu-pkg-config -DPKGCONFIG_EXECUTABLE=/usr/bin/x86_64-linux-gnu-pkg-config -DCMAKE_INSTALL_LIBDIR=lib/x86_64-linux-gnu ..
-- The CXX compiler identification is GNU 16.1.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/x86_64-linux-gnu-g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- The C compiler identification is GNU 16.1.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/x86_64-linux-gnu-gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Found PkgConfig: /usr/bin/x86_64-linux-gnu-pkg-config (found version "2.5.1")
-- Checking for modules 'hyprland;libdrm;libinput;libudev;pangocairo;pixman-1;wayland-server;xkbcommon'
-- Found hyprland, version 0.56.0
-- Found libdrm, version 2.4.134
-- Found libinput, version 1.31.3
-- Found libudev, version 261
-- Found pangocairo, version 1.58.0
-- Found pixman-1, version 0.46.4
-- Found wayland-server, version 1.26.0
-- Found xkbcommon, version 1.13.1
-- Checking for modules 'hyprland;libdrm;libinput;libudev;pixman-1;wayland-server;xkbcommon'
-- Found hyprland, version 0.56.0
-- Found libdrm, version 2.4.134
-- Found libinput, version 1.31.3
-- Found libudev, version 261
-- Found pixman-1, version 0.46.4
-- Found wayland-server, version 1.26.0
-- Found xkbcommon, version 1.13.1
-- Checking for modules 'hyprland;libdrm;libinput;libudev;pangocairo;pixman-1;wayland-server;xkbcommon'
-- Found hyprland, version 0.56.0
-- Found libdrm, version 2.4.134
-- Found libinput, version 1.31.3
-- Found libudev, version 261
-- Found pangocairo, version 1.58.0
-- Found pixman-1, version 0.46.4
-- Found wayland-server, version 1.26.0
-- Found xkbcommon, version 1.13.1
-- Configuring done (0.8s)
-- Generating done (0.0s)
CMake Warning:
Manually-specified variables were not used by the project:
CMAKE_EXPORT_NO_PACKAGE_REGISTRY
CMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY
CMAKE_INSTALL_LOCALSTATEDIR
CMAKE_INSTALL_RUNSTATEDIR
CMAKE_INSTALL_SYSCONFDIR
FETCHCONTENT_FULLY_DISCONNECTED
PKGCONFIG_EXECUTABLE
-- Build files have been written to: /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu
dh_auto_build
cd obj-x86_64-linux-gnu && make -j2 INSTALL="install --strip-program=true" VERBOSE=1
make[1]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
/usr/bin/cmake -S/<<PKGBUILDDIR>> -B/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu --check-build-system CMakeFiles/Makefile.cmake 0
/usr/bin/cmake -E cmake_progress_start /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/CMakeFiles /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu//CMakeFiles/progress.marks
make -f CMakeFiles/Makefile2 all
make[2]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make -f borders-plus-plus/CMakeFiles/borders-plus-plus.dir/build.make borders-plus-plus/CMakeFiles/borders-plus-plus.dir/depend
make -f csgo-vulkan-fix/CMakeFiles/csgo-vulkan-fix.dir/build.make csgo-vulkan-fix/CMakeFiles/csgo-vulkan-fix.dir/depend
make[3]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<<PKGBUILDDIR>> /<<PKGBUILDDIR>>/borders-plus-plus /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/borders-plus-plus /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/borders-plus-plus/CMakeFiles/borders-plus-plus.dir/DependInfo.cmake "--color=" borders-plus-plus
make[3]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<<PKGBUILDDIR>> /<<PKGBUILDDIR>>/csgo-vulkan-fix /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/csgo-vulkan-fix /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/csgo-vulkan-fix/CMakeFiles/csgo-vulkan-fix.dir/DependInfo.cmake "--color=" csgo-vulkan-fix
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make -f borders-plus-plus/CMakeFiles/borders-plus-plus.dir/build.make borders-plus-plus/CMakeFiles/borders-plus-plus.dir/build
make -f csgo-vulkan-fix/CMakeFiles/csgo-vulkan-fix.dir/build.make csgo-vulkan-fix/CMakeFiles/csgo-vulkan-fix.dir/build
make[3]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[3]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
[ 16%] Building CXX object borders-plus-plus/CMakeFiles/borders-plus-plus.dir/BorderppPassElement.cpp.o
[ 16%] Building CXX object csgo-vulkan-fix/CMakeFiles/csgo-vulkan-fix.dir/main.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/borders-plus-plus & [too-long-redacted] us-plus/BorderppPassElement.cpp
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/csgo-vulkan-fix && [too-long-redacted] DDIR>>/csgo-vulkan-fix/main.cpp
/<<PKGBUILDDIR>>/csgo-vulkan-fix/main.cpp: In function ‘void hkSetWindowSize(CXWaylandSurface*, const Hyprutils::Math::CBox&)’:
/<<PKGBUILDDIR>>/csgo-vulkan-fix/main.cpp:83:41: error: ‘class CCompositor’ has no member named ‘getWindowFromSurface’
83 | const auto PWINDOW = g_pCompositor->getWindowFromSurface(SURF);
| ^~~~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/csgo-vulkan-fix/main.cpp: In function ‘PLUGIN_DESCRIPTION_INFO pluginInit(void*)’:
/<<PKGBUILDDIR>>/csgo-vulkan-fix/main.cpp:180:38: warning: ‘bool HyprlandAPI::addConfigKeyword(void*, const std::string&, Hyprlang::PCONFIGHANDLERFUNC, Hyprlang::SHandlerOptions)’ is deprecated [-Wdeprecated-declarations]
180 | HyprlandAPI::addConfigKeyword(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
181 | PHANDLE, "vkfix-app",
| ~~~~~~~~~~~~~~~~~~~~~
182 | [](const char* l, const char* r) -> Hyprlang::CParseResult {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
183 | const std::string str = r;
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
184 | CConstVarList data(str, 0, ',', true);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
185 |
|
186 | Hyprlang::CParseResult result;
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
187 |
|
188 | if (data.size() != 3) {
| ~~~~~~~~~~~~~~~~~~~~~~~
189 | result.setError("vkfix-app requires 3 params");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
190 | return result;
| ~~~~~~~~~~~~~~
191 | }
| ~
192 |
|
193 | try {
| ~~~~~
194 | SAppConfig config;
| ~~~~~~~~~~~~~~~~~~
195 | config.szClass = data[0];
| ~~~~~~~~~~~~~~~~~~~~~~~~~
196 | config.res = Vector2D{std::stoi(std::string{data[1]}), std::stoi(std::string{data[2]})};
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
197 | g_appConfigs.emplace_back(std::move(config));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
198 | } catch (std::exception& e) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
199 | result.setError("failed to parse line");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
200 | return result;
| ~~~~~~~~~~~~~~
201 | }
| ~
202 |
|
203 | return result;
| ~~~~~~~~~~~~~~
204 | },
| ~~
205 | Hyprlang::SHandlerOptions{});
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /<<PKGBUILDDIR>>/csgo-vulkan-fix/globals.hpp:3,
from /<<PKGBUILDDIR>>/csgo-vulkan-fix/main.cpp:16:
/usr/include/x86_64-linux-gnu/hyprland/src/plugins/PluginAPI.hpp:151:33: note: declared here
151 | APICALL [[deprecated]] bool addConfigKeyword(HANDLE handle, const std::string& name, Hyprlang::PCONFIGHANDLERFUNC fn, Hyprlang::SHandlerOptions opts);
| ^~~~~~~~~~~~~~~~
make[3]: *** [csgo-vulkan-fix/CMakeFiles/csgo-vulkan-fix.dir/build.make:82: csgo-vulkan-fix/CMakeFiles/csgo-vulkan-fix.dir/main.cpp.o] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[2]: *** [CMakeFiles/Makefile2:210: csgo-vulkan-fix/CMakeFiles/csgo-vulkan-fix.dir/all] Error 2
make[2]: *** Waiting for unfinished jobs....
[ 25%] Building CXX object borders-plus-plus/CMakeFiles/borders-plus-plus.dir/borderDeco.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/borders-plus-plus & [too-long-redacted] orders-plus-plus/borderDeco.cpp
[ 33%] Building CXX object borders-plus-plus/CMakeFiles/borders-plus-plus.dir/main.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/borders-plus-plus & [too-long-redacted] IR>>/borders-plus-plus/main.cpp
/<<PKGBUILDDIR>>/borders-plus-plus/borderDeco.cpp: In constructor ‘CBordersPlusPlus::CBordersPlusPlus(PHLWINDOW)’:
/<<PKGBUILDDIR>>/borders-plus-plus/borderDeco.cpp:19:33: error: ‘PHLANIMVAR<Hyprutils::Math::Vector2D> Desktop::View::CGeometricMovableAnimated::m_realPosition’ is protected within this context
19 | m_lastWindowPos = pWindow->m_realPosition->value();
| ^~~~~~~~~~~~~~
In file included from /usr/include/x86_64-linux-gnu/hyprland/src/desktop/view/Window.hpp:25,
from /usr/include/x86_64-linux-gnu/hyprland/src/Compositor.hpp:11,
from /<<PKGBUILDDIR>>/borders-plus-plus/borderDeco.cpp:5:
/usr/include/x86_64-linux-gnu/hyprland/src/desktop/view/types/GeometricMovableAnimated.hpp:29:30: note: declared protected here
29 | PHLANIMVAR<Vector2D> m_realPosition;
| ^~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/borders-plus-plus/borderDeco.cpp:20:33: error: ‘PHLANIMVAR<Hyprutils::Math::Vector2D> Desktop::View::CGeometricMovableAnimated::m_realSize’ is protected within this context
20 | m_lastWindowSize = pWindow->m_realSize->value();
| ^~~~~~~~~~
/usr/include/x86_64-linux-gnu/hyprland/src/desktop/view/types/GeometricMovableAnimated.hpp:30:30: note: declared protected here
30 | PHLANIMVAR<Vector2D> m_realSize;
| ^~~~~~~~~~
/<<PKGBUILDDIR>>/borders-plus-plus/borderDeco.cpp: In member function ‘virtual void CBordersPlusPlus::updateWindow(PHLWINDOW)’:
/<<PKGBUILDDIR>>/borders-plus-plus/borderDeco.cpp:159:33: error: ‘PHLANIMVAR<Hyprutils::Math::Vector2D> Desktop::View::CGeometricMovableAnimated::m_realPosition’ is protected within this context
159 | m_lastWindowPos = pWindow->m_realPosition->value();
| ^~~~~~~~~~~~~~
/usr/include/x86_64-linux-gnu/hyprland/src/desktop/view/types/GeometricMovableAnimated.hpp:29:30: note: declared protected here
29 | PHLANIMVAR<Vector2D> m_realPosition;
| ^~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/borders-plus-plus/borderDeco.cpp:160:33: error: ‘PHLANIMVAR<Hyprutils::Math::Vector2D> Desktop::View::CGeometricMovableAnimated::m_realSize’ is protected within this context
160 | m_lastWindowSize = pWindow->m_realSize->value();
| ^~~~~~~~~~
/usr/include/x86_64-linux-gnu/hyprland/src/desktop/view/types/GeometricMovableAnimated.hpp:30:30: note: declared protected here
30 | PHLANIMVAR<Vector2D> m_realSize;
| ^~~~~~~~~~
/<<PKGBUILDDIR>>/borders-plus-plus/main.cpp: In function ‘PLUGIN_DESCRIPTION_INFO pluginInit(void*)’:
/<<PKGBUILDDIR>>/borders-plus-plus/main.cpp:63:35: error: ‘class CCompositor’ has no member named ‘m_windows’
63 | for (auto& w : g_pCompositor->m_windows) {
| ^~~~~~~~~
make[3]: *** [borders-plus-plus/CMakeFiles/borders-plus-plus.dir/build.make:96: borders-plus-plus/CMakeFiles/borders-plus-plus.dir/borderDeco.cpp.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: *** [borders-plus-plus/CMakeFiles/borders-plus-plus.dir/build.make:110: borders-plus-plus/CMakeFiles/borders-plus-plus.dir/main.cpp.o] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[2]: *** [CMakeFiles/Makefile2:178: borders-plus-plus/CMakeFiles/borders-plus-plus.dir/all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[1]: *** [Makefile:139: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
dh_auto_build: error: cd obj-x86_64-linux-gnu && make -j2 INSTALL="install --strip-program=true" VERBOSE=1 returned exit code 2
make: *** [debian/rules:7: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------