Build Rpm fails

Moderators: Site Moderators, FAHC Science Team

stevef9432203
Posts: 3
Joined: Tue May 13, 2025 12:07 pm

Build Rpm fails

Post by stevef9432203 »

Current github client still does not rpm for Redhat or Fedora
stevef9432203
Posts: 3
Joined: Tue May 13, 2025 12:07 pm

Re: Build Rpm fails

Post 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 !!!
Marcos FRM
Posts: 37
Joined: Fri Feb 23, 2024 6:26 pm

Re: Build Rpm fails

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

Re: Build Rpm fails

Post by calxalot »

Are all prerequisites installed?
stevef9432203
Posts: 3
Joined: Tue May 13, 2025 12:07 pm

Re: Build Rpm fails

Post by stevef9432203 »

That series of commands did the Job
Thank you
wdanwatts
Posts: 68
Joined: Wed Oct 22, 2008 4:46 pm

Re: Build Rpm fails

Post 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>
      |          ^~~~~~~~~~~~~~~~~~
Marcos FRM
Posts: 37
Joined: Fri Feb 23, 2024 6:26 pm

Re: Build Rpm fails

Post by Marcos FRM »

https://github.com/FoldingAtHome/fah-cl ... ING-RPM.md

"Fedora 41+ also requires the openssl-devel-engine package."
frazelle09
Posts: 67
Joined: Tue Dec 11, 2007 11:44 pm
Hardware configuration: Operating System: PCLinuxOS 2025
KDE Plasma Version: 6.5.0
KDE Frameworks Version: 6.19.0
Qt Version: 6.10.0
Kernel Version: 6.12.43-pclos1 (64-bit)
Graphics Platform: X11
Processors: 8 × Intel® Core™ i7-4810MQ CPU @ 2.80GHz
Memory: 31.3 GiB of usable RAM
Graphics Processor: Intel® HD Graphics 4600
Manufacturer: Dell Inc.
Product Name: Precision M6800
System Version: 00
Location: Mexicali, Baja California, Mexico
Contact:

Re: Build Rpm fails

Post 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! :)
"The earth is one country and mankind its citizens."
Bahá'u'lláh
"La tierra es un sólo país y la humanidad sus ciudadanos."
calxalot
Site Moderator
Posts: 1725
Joined: Sat Dec 08, 2007 1:33 am
Location: San Francisco, CA
Contact:

Re: Build Rpm fails

Post 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.
muziqaz
Posts: 2267
Joined: Sun Dec 16, 2007 6:22 pm
Hardware configuration: 9950x, 9950x3d, 7950x3d, 5950x, 5800x3d
7900xtx, RX9070, Radeon 7, 5700xt, 6900xt, RX550, Intel B580
Location: London
Contact:

Re: Build Rpm fails

Post 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
FAH Omega tester
Image
jmd
Posts: 5
Joined: Sun Jan 16, 2022 6:22 am

Re: Build Rpm fails

Post by jmd »

wdanwatts wrote: Sat Jul 26, 2025 3:37 pm 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>
      |          ^~~~~~~~~~~~~~~~~~
I got this error as well. Fedora 43. Some searching on the net says to install compat-openssl11-devel but I'm weary to do this without knowing exactly what I'm doing. The repos do not have this rpm but it can be found in various places. If I understand it correctly fah is looking for openssl 1 and my sustem has openssl 3.

Has anyone made progress? I might try it on a Silverblue 43 box for fun, but I expect it won't work.
calxalot
Site Moderator
Posts: 1725
Joined: Sat Dec 08, 2007 1:33 am
Location: San Francisco, CA
Contact:

Re: Build Rpm fails

Post by calxalot »

Build on macOS uses openssl 3.5, so you should be fine as long as you have the static libs and the dev headers.

Marcos or muziqaz would know more.
Marcos FRM
Posts: 37
Joined: Fri Feb 23, 2024 6:26 pm

Re: Build Rpm fails

Post by Marcos FRM »

jmd wrote: Sat Dec 06, 2025 8:43 am
wdanwatts wrote: Sat Jul 26, 2025 3:37 pm 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>
      |          ^~~~~~~~~~~~~~~~~~
I got this error as well. Fedora 43. Some searching on the net says to install compat-openssl11-devel but I'm weary to do this without knowing exactly what I'm doing. The repos do not have this rpm but it can be found in various places. If I understand it correctly fah is looking for openssl 1 and my sustem has openssl 3.

Has anyone made progress? I might try it on a Silverblue 43 box for fun, but I expect it won't work.
https://github.com/FoldingAtHome/fah-cl ... ING-RPM.md

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

I'm thinking of putting that bit in bold...
muziqaz
Posts: 2267
Joined: Sun Dec 16, 2007 6:22 pm
Hardware configuration: 9950x, 9950x3d, 7950x3d, 5950x, 5800x3d
7900xtx, RX9070, Radeon 7, 5700xt, 6900xt, RX550, Intel B580
Location: London
Contact:

Re: Build Rpm fails

Post by muziqaz »

Yes, building fine on my fedora 43. Using Marcos' linked guide
FAH Omega tester
Image
Post Reply