Build Rpm fails

Moderators: Site Moderators, FAHC Science Team

Post Reply
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: 35
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: 1612
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: 35
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: 54
Joined: Tue Dec 11, 2007 11:44 pm
Hardware configuration: Operating System: PCLinuxOS 2025
KDE Plasma Version: 6.4.4
KDE Frameworks Version: 6.17.0
Qt Version: 6.8.2
Kernel Version: 6.12.43-pclos1 (64-bit)
Graphics Platform: X11
Processors: 8 × AMD Ryzen 5 3400G with Radeon Vega Graphics
Memory: 13.6 GiB of usable RAM
Graphics Processor: AMD Radeon Vega 11 Graphics
Manufacturer: Gigabyte Technology Co., Ltd.
Product Name: B450 AORUS M
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: 1612
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: 1998
Joined: Sun Dec 16, 2007 6:22 pm
Hardware configuration: 9950x, 9950x3D, 5950x, 5800x3D
7900xtx, RX9070, Radeon 7, 5700xt, 6900xt, 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
Post Reply