V.
Dne 08. 09. 23 v 17:59 Jun Aruga (he / him) napsal(a):
Note that I am trying to fix the FTBFS on the current rpms/ruby
rawhide.
Below is the scratch build with the modification to print the output
of the checksec command below.
https://koji.fedoraproject.org/koji/taskinfo?taskID=105910607
```
diff --git a/ruby.spec b/ruby.spec
index 51ada32..f61c3fe 100644
--- a/ruby.spec
+++ b/ruby.spec
@@ -855,6 +855,7 @@ rm -rf
%{buildroot}%{gem_dir}/gems/rake-%{rake_version}/.github
%check
%if 0%{?with_hardening_test}
# Check Ruby hardening.
+checksec --file=%{_vpath_builddir}/libruby.so.%{ruby_version}
checksec --file=%{_vpath_builddir}/libruby.so.%{ruby_version} | \
grep "Full RELRO.*Canary found.*NX enabled.*DSO.*No RPATH.*No
RUNPATH.*Yes.*\d*.*\d*.*libruby.so.%{ruby_version}"
%endif
```
On only s390x build, there is another error in root.log. I am asking
how to fix it on devel@ mailing list now.
https://kojipkgs.fedoraproject.org//work/tasks/753/105910753/root.log
```
DEBUG util.py:442: No matches found for the following disable plugin
patterns: local, spacewalk, versionlock
DEBUG util.py:442: Error:-
DEBUG util.py:442: Problem: conflicting requests
DEBUG util.py:442: - nothing provides nm needed by
checksec-2.6.0-5.fc40.noarch from build
DEBUG util.py:442: - nothing provides python3.12dist(unicorn) >=
1.0.2~rc1 needed by python3-pwntools-4.9.0-4.fc39.noarch from build
```