Page 1 of 1

Build Rpm fails

Posted: Tue May 13, 2025 12:22 pm
by stevef9432203
Current github client still does not rpm for Redhat or Fedora

Re: Build Rpm fails

Posted: Tue May 13, 2025 5:00 pm
by Marcos FRM

Re: Build Rpm fails

Posted: Tue May 13, 2025 9:12 pm
by stevef9432203
After appying the patch

Marcos FRM » Tue May 13, 2025 10:00 am
https://github.com/FoldingAtHome/fah-cl ... 2869043250

Fails with -
hecking for C library pthread... (cached) yes
Checking for C header file pthread.h... (cached) yes
Checking for C library kern... no
scons: done reading SConscript files.
scons: Building targets ...
scons: *** Do not know how to make File target `package' (/usb/probox12/Downloads/Folding@Home/cbang/package). Stop.
scons: building terminated because of errors

Still fails .. Crap !!!

Re: Build Rpm fails

Posted: Tue May 13, 2025 10:56 pm
by Marcos FRM

Code: Select all

git clone https://github.com/cauldrondevelopmentllc/cbang
git clone https://github.com/foldingathome/fah-client-bastet
git -C cbang checkout bastet-v8.4.9
git -C fah-client-bastet checkout v8.4.9
git -C cbang cherry-pick -n 1e24e6d90cde528db0bb7a1f65009d237c737701
export CBANG_HOME=$PWD/cbang
scons -C cbang
scons -C fah-client-bastet
scons -C fah-client-bastet package
That works on my Fedora 41 installation.

Re: Build Rpm fails

Posted: Tue May 13, 2025 10:58 pm
by calxalot
Are all prerequisites installed?

Re: Build Rpm fails

Posted: Tue May 13, 2025 11:57 pm
by stevef9432203
That series of commands did the Job
Thank you

Re: Build Rpm fails

Posted: Sat Jul 26, 2025 3:37 pm
by wdanwatts
I tried Marcos FRM code and got

Code: Select all

src/cbang/openssl/KeyPair.cpp:55:10: fatal error: openssl/engine.h: No such file or directory
   55 | #include <openssl/engine.h>
      |          ^~~~~~~~~~~~~~~~~~

Re: Build Rpm fails

Posted: Mon Jul 28, 2025 7:24 pm
by Marcos FRM
https://github.com/FoldingAtHome/fah-cl ... ING-RPM.md

"Fedora 41+ also requires the openssl-devel-engine package."

Re: Build Rpm fails

Posted: Mon Sep 08, 2025 4:15 pm
by frazelle09
Does this RPM still require systemd? Some of us still prefer the previous way of doing things...

In the meantime, still happily running the 7.4 version and foldin' away!

Have a great day and be happy! :)

Re: Build Rpm fails

Posted: Mon Sep 08, 2025 9:27 pm
by calxalot
To have a client that doesn’t need systemd, you need to build it yourself on a machine without systemd. The install package will not work for you, because it will require systemd anyway. You will have to use the tarball and set up a service yourself. Or just manually run it.

Re: Build Rpm fails

Posted: Tue Sep 09, 2025 8:34 am
by muziqaz
Marcos FRM wrote: Tue May 13, 2025 10:56 pm

Code: Select all

git clone https://github.com/cauldrondevelopmentllc/cbang
git clone https://github.com/foldingathome/fah-client-bastet
git -C cbang checkout bastet-v8.4.9
git -C fah-client-bastet checkout v8.4.9
git -C cbang cherry-pick -n 1e24e6d90cde528db0bb7a1f65009d237c737701
export CBANG_HOME=$PWD/cbang
scons -C cbang
scons -C fah-client-bastet
scons -C fah-client-bastet package
That works on my Fedora 41 installation.
This worked on Fedora 42 just a week ago or so