Page 1 of 1
UPgrading from 7 to 8 on openrc (no systemd)
Posted: Thu Jul 11, 2024 2:47 am
by ostroffjh
I have been running foldingathome for quite a while on both Gentoo Linux and Artix Linux, but both run openrc, with no systemd. The latest Gentoo ebuild is 7.6.21, and the latest AUR version (unfortunately ArchLinux, not specifically Artix Linux) is the same. In an attempt to update the PKGBUILD for AUR, I downloaded fah-client_8.3.17-64bit-release.tar.bz2 but on running fah-client, it immediately fails with because it can't find libsystemd.so.0. Before I waste lots of time trying to compile my own version, is systemd now a hard requirement, or can I avoid that by compiling from source?
Thanks for any pointers.
Re: UPgrading from 7 to 8 on openrc (no systemd)
Posted: Thu Jul 11, 2024 3:27 am
by calxalot
You should be able to build from source without systemd.
However, you cannot build the installer packages, which assume systemd.
The build instructions only cover Debian and a couple rpm distributions. Installing build dependencies will differ for Arch or others that use pacman.
Re: UPgrading from 7 to 8 on openrc (no systemd)
Posted: Thu Jul 11, 2024 3:31 am
by calxalot
If you can’t build without systemd, please create a bug issue. It’s supposed to work.
Re: UPgrading from 7 to 8 on openrc (no systemd)
Posted: Thu Jul 11, 2024 3:35 am
by calxalot
Without systemd, the client loses a few features. I think two are user idle detection and system sleep disable.
Re: UPgrading from 7 to 8 on openrc (no systemd)
Posted: Fri Jul 12, 2024 12:47 am
by ostroffjh
I'm working on it and will post back. Delayed response here because I thought I'd get notified of responses.
Re: UPgrading from 7 to 8 on openrc (no systemd)
Posted: Fri Jul 12, 2024 12:55 am
by Joe_H
ostroffjh wrote: ↑Fri Jul 12, 2024 12:47 am
I'm working on it and will post back. Delayed response here because I thought I'd get notified of responses.
The forum default does not notify when responses are made. You can opt in as part of the regular reply window or by editing your post.
Re: UPgrading from 7 to 8 on openrc (no systemd)
Posted: Fri Jul 12, 2024 3:13 am
by ostroffjh
I thought I had done so, but have made sure of it now. My current issue is that scons seems to default calling g++ with --std=c++14 but it really seems to need c++17, and I'm trying to figure out where to force this, if it's really necessary.
Re: UPgrading from 7 to 8 on openrc (no systemd)
Posted: Fri Jul 12, 2024 3:42 am
by calxalot
scons cxxstd=c++17
Obviously, use when building both cbang and client
example
scons -C cbang cxxstd=c++17
The build system uses c++17 on linux and macOS.
Windows builds do not, but probably should.
c++14 is a default in cbang, which is used by other projects.
Re: UPgrading from 7 to 8 on openrc (no systemd)
Posted: Fri Jul 12, 2024 4:07 am
by calxalot
Many scons options of interest are in
https://github.com/CauldronDevelopmentL ... _init__.py
Scroll down to
Note that some of these are altered in client SConstruct