New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
test(types_test.cpp.o): Build error in Fedora 35 #45
Comments
Already fixed by using system doctest in #43. wf-config.spec diff--- a/wf-config.spec
+++ b/wf-config.spec
@@ -6,14 +6,17 @@ Summary: Library for managing configuration files, written for wayfire
License: MIT
URL: https://github.com/WayfireWM/wf-config
Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
+# Fix build caused by glibc 2.34 SIGSTKSZ changes
+# Fedora doctest package is already patched, but wf-config was using bundled copy
+Patch0: %{url}/pull/43.patch#/wf-config-0.7.0-use-system-doctest.patch
BuildRequires: gcc-c++
BuildRequires: meson
BuildRequires: cmake
+BuildRequires: cmake(doctest)
BuildRequires: cmake(glm)
BuildRequires: pkgconfig(libevdev)
BuildRequires: pkgconfig(libxml-2.0)
-BuildRequires: pkgconfig(wlroots) >= 0.12.0
%description
%{summary}.
@@ -40,6 +43,10 @@ Development files for %{name}.
%meson_install
+%check
+%meson_test
+
+
%files
%license LICENSE
%{_libdir}/lib%{name}.so.0* Similar issue with |
If you don't mind i'd reopen issue since we still have a problem with tests, but now on 32-bit arches like
|
Ah, that's a funny one: Lines 33 to 38 in 4a69935
I guess |
Nice find, we could also just return int64_t, I am not a fan of such long types :) |
Thank you. Built for f35 and all tests passed. |
In Fedora 34 compiles fine, but build error in f34. GCC version basically identical -
11.0.1
.11.0.1
0.56.2
0.57.2
The text was updated successfully, but these errors were encountered: