[bareos-devel] Building on EL9 family

2022-06-27 Thread Alan Brown
As a fyi: 21.1.3 tarball doesn't build on Rhel9/clang using the existing SPEC files and instructions The most obvious issue is that clang treats all warnings as errors and the MD5 code is deprecated, however it still falls over after this is overridden The build-test script building from the

[bareos-devel] Re: Building on EL9 family

2022-06-27 Thread Alan Brown
e and work out what changes are needed for the SPEC file On Monday, 27 June 2022 at 10:34:40 UTC+1 Alan Brown wrote: > As a fyi: 21.1.3 tarball doesn't build on Rhel9/clang using the existing > SPEC files and instructions > > The most obvious issue is that clang treats all warnings as

[bareos-devel] Re: Building on EL9 family (and EL8 - major bugs in the spec file)

2022-06-27 Thread Alan Brown
/55131772/how-to-check-for-redhat-rhel-minor-version-in-rpm-spec-file Centos is so closely tied into RHEL these days that I doubt the centos_version macro is working correctly either Should I post the diff here or pastebin? On Monday, 27 June 2022 at 14:49:39 UTC+1 Alan Brown wrote: > us

[bareos-devel] Re: Building on EL9 family (and EL8 - major bugs in the spec file)

2022-06-28 Thread Alan Brown
} >= 700 || 0%{?fedora_version} >= 16 || 0%{?suse_version} >= 1110 --- > %if 0%{?rhel} >= 7 || 0%{?centos_version} >= 700 || 0%{?fedora_version} >= 16 || 0%{?suse_version} >= 1110 913c913 < %if 0%{?centos_version} == 700 || 0%{?rhel_version} == 700 --- >

[bareos-devel] Re: Building on EL9 family (and EL8 - major bugs in the spec file)

2022-06-28 Thread Alan Brown
reos*.so" -maxdepth 1 -exec rm {} \; --- > find %{buildroot}/%{library_dir} -maxdepth 1 -type l -name "libbareos*.so" -exec rm {} \; On Tuesday, 28 June 2022 at 10:00:55 UTC+1 Alan Brown wrote: > Extra EL8 requires "so far" > > > EPEL! > > gtest-devel

[bareos-devel] Re: Building on EL9 family (and EL8 - major bugs in the spec file)

2022-06-28 Thread Alan Brown
bably would also accept a PR changing rhel_version to rhel, ... > against master. > > I hope, this helps. > > Regards, > Jörg > > On 28.06.22 at 11:00 wrote Alan Brown: > > Extra EL8 requires "so far" > > > > > > EPEL! > &