Page 4 of 4
Re: [tuto] 8.3.5, openSUSE Tumbleweed, installation
Posted: Tue Feb 18, 2025 10:08 am
by calxalot
CBANG_HOME/include/cbang/config.h should exist if and only if cbang is built.
Re: [tuto] 8.3.5, openSUSE Tumbleweed, installation
Posted: Tue Feb 18, 2025 10:14 am
by promeneur
calxalot wrote: ↑Tue Feb 18, 2025 10:06 am
I don't know.
I just use
in a venv
python311-six is already installed.
python311-six - Python 2 and 3 compatibility utilities
/usr/lib/python3.11/site-packages/__pycache__/six.cpython-311.opt-1.pyc
/usr/lib/python3.11/site-packages/__pycache__/six.cpython-311.pyc
/usr/lib/python3.11/site-packages/six-1.17.0.dist-info
/usr/lib/python3.11/site-packages/six-1.17.0.dist-info/INSTALLER
/usr/lib/python3.11/site-packages/six-1.17.0.dist-info/LICENSE
/usr/lib/python3.11/site-packages/six-1.17.0.dist-info/METADATA
/usr/lib/python3.11/site-packages/six-1.17.0.dist-info/RECORD
/usr/lib/python3.11/site-packages/six-1.17.0.dist-info/REQUESTED
/usr/lib/python3.11/site-packages/six-1.17.0.dist-info/WHEEL
/usr/lib/python3.11/site-packages/six-1.17.0.dist-info/top_level.txt
/usr/lib/python3.11/site-packages/six.py
/usr/share/doc/packages/python311-six
/usr/share/doc/packages/python311-six/CHANGES
/usr/share/doc/packages/python311-six/README.rst
/usr/share/licenses/python311-six
/usr/share/licenses/python311-six/LICENSE
Re: [tuto] 8.3.5, openSUSE Tumbleweed, installation
Posted: Tue Feb 18, 2025 10:18 am
by calxalot
What version of scons?
Is it somehow doing builds in another directory?
Re: [tuto] 8.3.5, openSUSE Tumbleweed, installation
Posted: Tue Feb 18, 2025 10:29 am
by promeneur
calxalot wrote: ↑Tue Feb 18, 2025 10:18 am
What version of scons?
Is it somehow doing builds in another directory?
scons 4.8.1
For the beta 8.4.x, there is no problem, the build is well in cbang directory.
I don't find any build outside.
Re: [tuto] 8.3.5, openSUSE Tumbleweed, installation
Posted: Tue Feb 18, 2025 10:44 am
by calxalot
I will have to sleep on it.
Maybe Marcos can help.
Re: [tuto] 8.3.5, openSUSE Tumbleweed, installation
Posted: Tue Feb 18, 2025 10:50 am
by promeneur
calxalot wrote: ↑Tue Feb 18, 2025 10:44 am
I will have to sleep on it.
Maybe Marcos can help.
thanks
Re: [tuto] 8.3.5, openSUSE Tumbleweed, installation
Posted: Tue Feb 18, 2025 11:16 am
by promeneur
promeneur wrote: ↑Tue Feb 18, 2025 10:50 am
calxalot wrote: ↑Tue Feb 18, 2025 10:44 am
I will have to sleep on it.
Maybe Marcos can help.
thanks
Hello
if I compare the folder "cbang" in 8.4.9 folder and 8.4.10 folder (folders I use to create the package)
then
in 4.8.9 there is no folder "Include"
Re: [tuto] 8.3.5, openSUSE Tumbleweed, installation
Posted: Tue Feb 18, 2025 12:14 pm
by promeneur
I copied .../4.8.10/cbang/include/ to .../4.8.9/cbang/
I installed sqlite3.devel and yaml.devel
I run with success
export CBANG_HOME=$PWD/cbang
scons -C cbang
scons -C fah-client-bastet
but
:~/rpmd/fah/rpm/8.4.9> scons -C fah-client-bastet package
scons: Entering directory `/home/roubach/rpmd/fah/rpm/8.4.9/fah-client-bastet'
Adding logic to propagate SOURCE_DATE_EPOCH from the shell environment when building with SCons
scons: Reading SConscript files ...
Compiler: gcc (gnu)
Platform: posix
Compiler Mode: gnu
Build Mode: release
Arch: None
GCC Version: 14
Jobs: 8
Checking for C library pthread... (cached) yes
Checking for C header file zlib.h... (cached) yes
Checking for C library z... (cached) yes
Checking for C header file bzlib.h... (cached) yes
Checking for C library bz2... (cached) yes
Checking for C header file lz4frame.h... (cached) yes
Checking for C library lz4... (cached) yes
Checking for C header file expat.h... (cached) yes
Checking for C library expat... (cached) yes
Checking for C header file pthread.h... (cached) yes
Checking for C library pthread... (cached) yes
Checking for C library dl... (cached) yes
Checking for C library sqlite3... (cached) yes
Checking for C header file sqlite3.h... (cached) yes
Checking for C function sqlite3_backup_init()... (cached) yes
Checking for C header file yaml.h... (cached) yes
Checking for C library yaml... (cached) yes
Checking for C library snappy... no
Need library snappy(cached) error: no result
Checking for C header file mysql/mysql.h... no
Checking for C function clock_gettime()... (cached) yes
Checking for C header file event2/event.h... (cached) yes
Checking for C library event... (cached) yes
Checking for C++ header file re2/re2.h... (cached) yes
Checking for C library re2... (cached) yes
Checking for C function epoll_create1()... (cached) yes
Checking for C library dl... (cached) yes
Checking for C header file openssl/ssl.h... (cached) yes
Checking for C library crypto... (cached) yes
Checking for C library ssl... (cached) yes
Checking for openssl version >= 1.1.0...(cached) yes
Checking for C++ header file v8.h... no
Need C++ header v8.h(cached) error: no result
Checking for C header file pthread.h... (cached) yes
Checking for C library pthread... (cached) yes
Checking for C header file systemd/sd-bus.h... (cached) yes
Checking for C library systemd... (cached) yes
Checking for C library cap... no
Checking for C header file valgrind/valgrind.h... no
Checking for C library cbang-boost... (cached) yes
Checking for C library cbang... (cached) yes
Checking for C++ header file cbang/Exception.h... (cached) yes
replacing variables "install/lin/fah-client.desktop.in" -> "build/install/lin/fah-client.desktop"
replacing variables "install/debian/copyright.in" -> "build/install/debian/copyright"
replacing variables "install/debian/postinst.in" -> "build/install/debian/postinst"
replacing variables "install/rpm/post.in" -> "build/install/rpm/post"
WARNING: Unrecognized POSIX distribution opensuse-tumbleweed, trying to determine package type from filesystem
scons: done reading SConscript files.
scons: Building targets ...
build_function(["fah_client-8.4.9-1.x86_64.rpm"], [])
installing "README.md" to "build/BUILD/usr/share/doc/fah-client/README.md"
installing "CHANGELOG.md" to "build/BUILD/usr/share/doc/fah-client/CHANGELOG.md"
installing "LICENSE" to "build/BUILD/usr/share/doc/fah-client/LICENSE"
installing "fah-client" to "build/BUILD/usr/bin/fah-client"
installing "scripts/fahctl" to "build/BUILD/usr/bin/fahctl"
installing "build/install/lin/fah-client.desktop" to "build/BUILD/usr/share/applications/fah-client.desktop"
installing "images/fahlogo.png" to "build/BUILD/usr/share/pixmaps/fahlogo.png"
installing "build/install/lin/10-fah-client.rules" to "build/BUILD/usr/share/polkit-1/rules.d/10-fah-client.rules"
installing "build/install/lin/fah-client.service" to "build/BUILD/usr/lib/systemd/system/fah-client.service"
creating directory build/BUILD/var/lib/fah-client
creating directory build/BUILD/var/log/fah-client
creating directory build/BUILD/etc/fah-client
Construction pour plateformes cibles : x86_64
Construction pour cible x86_64
attention : ligne 15 : Il n'est pas recommandé d'avoir des Obsoletes non versionnés : Obsoletes: FAHClient
attention : ligne 16 : Il n'est pas recommandé d'avoir des Obsoletes non versionnés : Obsoletes: fahclient
attention : Ne peut canoniser le nom d'hôte : grincheux
Exécution_de(%mkbuilddir) : /usr/bin/bash -e /var/tmp/rpm-tmp.4kzTHy
+ umask 022
+ cd /home/roubach/rpmd/fah/rpm/8.4.9/fah-client-bastet/build/BUILD/fah-client-8.4.9-build
+ test -d /home/roubach/rpmd/fah/rpm/8.4.9/fah-client-bastet/build/BUILD/fah-client-8.4.9-build
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/roubach/rpmd/fah/rpm/8.4.9/fah-client-bastet/build/BUILD/fah-client-8.4.9-build
+ /usr/bin/rm -rf /home/roubach/rpmd/fah/rpm/8.4.9/fah-client-bastet/build/BUILD/fah-client-8.4.9-build
+ /usr/bin/mkdir -p /home/roubach/rpmd/fah/rpm/8.4.9/fah-client-bastet/build/BUILD/fah-client-8.4.9-build
+ /usr/bin/mkdir -p /home/roubach/rpmd/fah/rpm/8.4.9/fah-client-bastet/build/BUILD/fah-client-8.4.9-build/SPECPARTS
+ RPM_EC=0
++ jobs -p
+ exit 0
Exécution_de(%install) : /usr/bin/bash -e /var/tmp/rpm-tmp.Ny4Sa5
+ umask 022
+ cd /home/roubach/rpmd/fah/rpm/8.4.9/fah-client-bastet/build/BUILD/fah-client-8.4.9-build
+ /usr/bin/rm -rf /home/roubach/rpmd/fah/rpm/8.4.9/fah-client-bastet/build/BUILD/fah-client-8.4.9-build/BUILDROOT
+ /usr/bin/mkdir -p /home/roubach/rpmd/fah/rpm/8.4.9/fah-client-bastet/build/BUILD/fah-client-8.4.9-build
+ /usr/bin/mkdir /home/roubach/rpmd/fah/rpm/8.4.9/fah-client-bastet/build/BUILD/fah-client-8.4.9-build/BUILDROOT
+ cp -a . /home/roubach/rpmd/fah/rpm/8.4.9/fah-client-bastet/build/BUILD/fah-client-8.4.9-build/BUILDROOT
cp: cannot copy a directory, '.', into itself, '/home/roubach/rpmd/fah/rpm/8.4.9/fah-client-bastet/build/BUILD/fah-client-8.4.9-build/BUILDROOT/.'
erreur : Mauvais statut de sortie pour /var/tmp/rpm-tmp.Ny4Sa5 (%install)
Avertissements de construction RPM :
ligne 15 : Il n'est pas recommandé d'avoir des Obsoletes non versionnés : Obsoletes: FAHClient
ligne 16 : Il n'est pas recommandé d'avoir des Obsoletes non versionnés : Obsoletes: fahclient
Ne peut canoniser le nom d'hôte : grincheux
Erreurs de compilation RPM :
Mauvais statut de sortie pour /var/tmp/rpm-tmp.Ny4Sa5 (%install)
scons: *** [fah_client-8.4.9-1.x86_64.rpm] build/RPMS/fah_client-8.4.9-1.x86_64.rpm: No such file or directory
scons: building terminated because of errors.
:~/rpmd/fah/rpm/8.4.9>
Re: [tuto] 8.3.5, openSUSE Tumbleweed, installation
Posted: Tue Feb 18, 2025 1:02 pm
by Marcos FRM
I can't reproduce the compilation error. It works fine here. Note that you need to apply
this cbang fix on top of version 8.4.9 to be able to create the package on Tumbleweed.
Re: [tuto] 8.3.5, openSUSE Tumbleweed, installation
Posted: Tue Feb 18, 2025 1:30 pm
by promeneur
Marcos FRM wrote: ↑Tue Feb 18, 2025 1:02 pm
Note that you need to apply
this cbang fix on top of version 8.4.9 to be able to create the package on Tumbleweed.
HOW ?
Re: [tuto] 8.3.5, openSUSE Tumbleweed, installation
Posted: Sun Mar 02, 2025 9:03 am
by promeneur
Marcos FRM wrote: ↑Tue Feb 18, 2025 1:02 pm
I can't reproduce the compilation error. It works fine here. Note that you need to apply
this cbang fix on top of version 8.4.9 to be able to create the package on Tumbleweed.
OK I replaced the /home/<userid>/fah/rpm/8.4.9/cbang/config/rpm/__init__.py by the one here
https://github.com/CauldronDevelopmentL ... _init__.py
I can build a rpm.
Then I install the rpm and restart the PC
then I display the web page "folding@home client".
The dGPU nvidia is not supported in the contrary of the beta 8.4.10 !
11:08:10:I3:gpus = {
11:08:10:I3: "gpu:01:00:00": {"vendor": 4318, "device": 7425, "type": "nvidia", "supported": false, "description": "GP108 [GeForce GT 1030]"}