KZDKM / Hyprspace

Workspace overview plugin for Hyprland
GNU General Public License v2.0
523 stars 16 forks source link

Build failure on latest Hyprland using nixos #67

Closed leon-erd closed 2 months ago

leon-erd commented 4 months ago
Hyprspace> [1/6] Compiling C++ object libHyprspace.so.p/src_Render.cpp.o
Hyprspace> FAILED: libHyprspace.so.p/src_Render.cpp.o
Hyprspace> g++ -IlibHyprspace.so.p -I. -I.. -I/nix/store/mi6mfb37fbcxribggp45shks67jwdcib-hyprland-0.41.2+date=2024-07-13_bc6b088-dev/include -I/nix/store/mi6mfb37fbcxribggp45shks67jwdcib-hyprland-0.41.2+date=2024-07-13_bc6b088-dev/include/hyprland/protocols -I/nix/store/mi6mfb37fbcxribggp45shks67jwdcib-hyprland-0.41.2+date=2024-07-13_bc6b088-dev/include/hyprland -I/nix/store/mi6mfb37fbcxribggp45shks67jwdcib-hyprland-0.41.2+date=2024-07-13_bc6b088-dev/include/hyprland/wlr -I/nix/store/i1s8sqa2adi6lb84znc26ywchfan6w4m-pixman-0.43.4/include/pixman-1 -I/nix/store/7bz83rdb3b9bk7wsbaqp844na3jizjhv-libdrm-2.4.121-dev/include -I/nix/store/7bz83rdb3b9bk7wsbaqp844na3jizjhv-libdrm-2.4.121-dev/include/libdrm -fdiagnostics-color=always -D_GLIBCXX_ASSERTIONS=1 -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -DWLR_USE_UNSTABLE -std=c++23 -fPIC -MD -MQ libHyprspace.so.p/src_Render.cpp.o -MF libHyprspace.so.p/src_Render.cpp.o.d -o libHyprspace.so.p/src_Render.cpp.o -c ../src/Render.cpp
Hyprspace> ../src/Render.cpp: In function 'void renderWindowStub(PHLWINDOW, CMonitor*, PHLWORKSPACE, Hyprutils::Math::CBox, timespec*)':
Hyprspace> ../src/Render.cpp:11:47: error: 'class CWindow' has no member named 'm_sAdditionalConfigData'
Hyprspace>    11 |     const auto oUseNearestNeighbor = pWindow->m_sAdditionalConfigData.nearestNeighbor.toUnderlying();
Hyprspace>       |                                               ^~~~~~~~~~~~~~~~~~~~~~~
Hyprspace> ../src/Render.cpp:17:44: error: 'class CWindow' has no member named 'm_sAdditionalConfigData'
Hyprspace>    17 |     const auto oSpecialRounding = pWindow->m_sAdditionalConfigData.rounding;
Hyprspace>       |                                            ^~~~~~~~~~~~~~~~~~~~~~~
Hyprspace> ../src/Render.cpp:28:14: error: 'class CWindow' has no member named 'm_sAdditionalConfigData'
Hyprspace>    28 |     pWindow->m_sAdditionalConfigData.nearestNeighbor = false; // FIX: this wont do, need to scale surface texture down properly so that windows arent shown as pixelated mess
Hyprspace>       |              ^~~~~~~~~~~~~~~~~~~~~~~
Hyprspace> ../src/Render.cpp:31:14: error: 'class CWindow' has no member named 'm_sAdditionalConfigData'
Hyprspace>    31 |     pWindow->m_sAdditionalConfigData.rounding = pWindow->rounding() * pMonitor->scale * curScaling;
Hyprspace>       |              ^~~~~~~~~~~~~~~~~~~~~~~
Hyprspace> ../src/Render.cpp:42:14: error: 'class CWindow' has no member named 'm_sAdditionalConfigData'
Hyprspace>    42 |     pWindow->m_sAdditionalConfigData.nearestNeighbor = oUseNearestNeighbor;
Hyprspace>       |              ^~~~~~~~~~~~~~~~~~~~~~~
Hyprspace> ../src/Render.cpp:45:14: error: 'class CWindow' has no member named 'm_sAdditionalConfigData'
Hyprspace>    45 |     pWindow->m_sAdditionalConfigData.rounding = oSpecialRounding;
Hyprspace>       |              ^~~~~~~~~~~~~~~~~~~~~~~
Hyprspace> ../src/Render.cpp: In member function 'void CHyprspaceWidget::draw()':
Hyprspace> ../src/Render.cpp:117:247: warning: narrowing conversion of 'Config::panelBorderWidth' from 'int' to 'double' [-Wnarrowing]
Hyprspace>   117 |         CBox borderBox = {widgetBox.x, owner->vecPosition.y + (Config::onBottom * owner->vecTransformedSize.y) + (Config::panelHeight + Config::reservedArea - curYOffset.value()* owner->scale) * bottomInvert, owner->vecTransformedSize.x, Config::panelBorderWidth};
Hyprspace>       |                                                                                                                                                                                                                                               ~~~~~~~~^~~~~~~~~~~~~~~~
Hyprspace> [2/6] Compiling C++ object libHyprspace.so.p/src_Overview.cpp.o
Hyprspace> [3/6] Compiling C++ object libHyprspace.so.p/src_main.cpp.o
Hyprspace> [4/6] Compiling C++ object libHyprspace.so.p/src_Input.cpp.o
Hyprspace> [5/6] Compiling C++ object libHyprspace.so.p/src_Layout.cpp.o
Hyprspace> ninja: build stopped: subcommand failed.
error: builder for '/nix/store/k4pfq9w2wlnliazwvrx69yahhbfwziyn-Hyprspace-0.1+date=2024-07-09_e866209.drv' failed with exit code 1;
       last 10 log lines:
       >       |              ^~~~~~~~~~~~~~~~~~~~~~~
       > ../src/Render.cpp: In member function 'void CHyprspaceWidget::draw()':
       > ../src/Render.cpp:117:247: warning: narrowing conversion of 'Config::panelBorderWidth' from 'int' to 'double' [-Wnarrowing]
       >   117 |         CBox borderBox = {widgetBox.x, owner->vecPosition.y + (Config::onBottom * owner->vecTransformedSize.y) + (Config::panelHeight + Config::reservedArea - curYOffset.value()* owner->scale) * bottomInvert, owner->vecTransformedSize.x, Config::panelBorderWidth};
       >       |                                                                                                                                                                                                                                               ~~~~~~~~^~~~~~~~~~~~~~~~
       > [2/6] Compiling C++ object libHyprspace.so.p/src_Overview.cpp.o
       > [3/6] Compiling C++ object libHyprspace.so.p/src_main.cpp.o
       > [4/6] Compiling C++ object libHyprspace.so.p/src_Input.cpp.o
       > [5/6] Compiling C++ object libHyprspace.so.p/src_Layout.cpp.o
       > ninja: build stopped: subcommand failed.
       For full logs, run 'nix log /nix/store/k4pfq9w2wlnliazwvrx69yahhbfwziyn-Hyprspace-0.1+date=2024-07-09_e866209.drv'.
error: 1 dependencies of derivation '/nix/store/ma2xfh531hr0zrxaxmk90g849zgvhxgb-hm_hyprhyprland.conf.drv' failed to build
error: 1 dependencies of derivation '/nix/store/1fg2x706vc5f8gvr3skcr8zx7w9y19fa-activation-script.drv' failed to build
error: 1 dependencies of derivation '/nix/store/sgszgfdm0mb92ipivr1vgi7nbhisp75w-home-manager-generation.drv' failed to build
Uncorrupt3318 commented 4 months ago

Same

building the system configuration...
error: builder for '/nix/store/5qff4shajfsja9p1vh8byaafkgplxflp-Hyprspace-0.1+date=2024-07-09_e866209.drv' failed with exit code 1;
       last 10 log lines:
       >       |              ^~~~~~~~~~~~~~~~~~~~~~~
       > ../src/Render.cpp: In member function 'void CHyprspaceWidget::draw()':
       > ../src/Render.cpp:117:247: warning: narrowing conversion of 'Config::panelBorderWidth' from 'int' to 'double' [-Wnarrowing]
       >   117 |         CBox borderBox = {widgetBox.x, owner->vecPosition.y + (Config::onBottom * owner->vecTransformedSize.y) + (Config::panelHeight + Config::reservedArea - curYOffset.value()* owner->scale) * bottomInvert, owner->vecTransformedSize.x, Config::panelBorderWidth};
       >       |                                                                                                                                                                                                                                               ~~~~~~~~^~~~~~~~~~~~~~~~
       > [2/6] Compiling C++ object libHyprspace.so.p/src_Layout.cpp.o
       > [3/6] Compiling C++ object libHyprspace.so.p/src_Input.cpp.o
       > [4/6] Compiling C++ object libHyprspace.so.p/src_Overview.cpp.o
       > [5/6] Compiling C++ object libHyprspace.so.p/src_main.cpp.o
       > ninja: build stopped: subcommand failed.
       For full logs, run 'nix log /nix/store/5qff4shajfsja9p1vh8byaafkgplxflp-Hyprspace-0.1+date=2024-07-09_e866209.drv'.
error: 1 dependencies of derivation '/nix/store/zp4s1v1mmkh0c9ybx0vhj967lky0bz66-hm_hyprhyprland.conf.drv' failed to build
error: 1 dependencies of derivation '/nix/store/gcvih7bsc0n2kq2y2y2kxr4dppy1x9iw-activation-script.drv' failed to build
error: 1 dependencies of derivation '/nix/store/h57qd5r0i5rkxgk2fr2i301qns9vypl8-home-manager-generation.drv' failed to build
error: 1 dependencies of derivation '/nix/store/kvg6d8d35i1cprv09i4jb69d04psiryz-unit-home-manager-xxxx.service.drv' failed to build
error: 1 dependencies of derivation '/nix/store/3p0jwh6ppi5sszqrvbqn68p52q8apzbs-system-units.drv' failed to build
error: 1 dependencies of derivation '/nix/store/25mv5s9bxyzqbj38svmadwq4ayjp4k94-etc.drv' failed to build
error: 1 dependencies of derivation '/nix/store/84kazfizxakyydqd09fjkz2birkshjkn-nixos-system-xxxxx-24.05.20240714.53e81e7.drv' failed to build
Soliprem commented 4 months ago

Same here

AadamLok commented 4 months ago

Same, I can provide additional details if need be. But my error looks similar to ones provided above.