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."