UPgrading from 7 to 8 on openrc (no systemd)

If you're new to FAH and need help getting started or you have very basic questions, start here.

Moderators: Site Moderators, FAHC Science Team

Post Reply
ostroffjh
Posts: 3
Joined: Thu Jul 11, 2024 2:41 am

UPgrading from 7 to 8 on openrc (no systemd)

Post 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.
calxalot
Site Moderator
Posts: 1094
Joined: Sat Dec 08, 2007 1:33 am
Location: San Francisco, CA
Contact:

Re: UPgrading from 7 to 8 on openrc (no systemd)

Post 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.
calxalot
Site Moderator
Posts: 1094
Joined: Sat Dec 08, 2007 1:33 am
Location: San Francisco, CA
Contact:

Re: UPgrading from 7 to 8 on openrc (no systemd)

Post by calxalot »

If you can’t build without systemd, please create a bug issue. It’s supposed to work.
calxalot
Site Moderator
Posts: 1094
Joined: Sat Dec 08, 2007 1:33 am
Location: San Francisco, CA
Contact:

Re: UPgrading from 7 to 8 on openrc (no systemd)

Post by calxalot »

Without systemd, the client loses a few features. I think two are user idle detection and system sleep disable.
ostroffjh
Posts: 3
Joined: Thu Jul 11, 2024 2:41 am

Re: UPgrading from 7 to 8 on openrc (no systemd)

Post by ostroffjh »

I'm working on it and will post back. Delayed response here because I thought I'd get notified of responses.
Joe_H
Site Admin
Posts: 7926
Joined: Tue Apr 21, 2009 4:41 pm
Hardware configuration: Mac Pro 2.8 quad 12 GB smp4
MacBook Pro 2.9 i7 8 GB smp2
Location: W. MA

Re: UPgrading from 7 to 8 on openrc (no systemd)

Post 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.
Image

iMac 2.8 i7 12 GB smp8, Mac Pro 2.8 quad 12 GB smp6
MacBook Pro 2.9 i7 8 GB smp3
ostroffjh
Posts: 3
Joined: Thu Jul 11, 2024 2:41 am

Re: UPgrading from 7 to 8 on openrc (no systemd)

Post 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.
calxalot
Site Moderator
Posts: 1094
Joined: Sat Dec 08, 2007 1:33 am
Location: San Francisco, CA
Contact:

Re: UPgrading from 7 to 8 on openrc (no systemd)

Post 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.
calxalot
Site Moderator
Posts: 1094
Joined: Sat Dec 08, 2007 1:33 am
Location: San Francisco, CA
Contact:

Re: UPgrading from 7 to 8 on openrc (no systemd)

Post by calxalot »

Many scons options of interest are in
https://github.com/CauldronDevelopmentL ... _init__.py
Scroll down to

Code: Select all

def generate(env):
Note that some of these are altered in client SConstruct
Post Reply