Hi,
I know this is not the Debian HPC list!
Andreas helped Urmas Rist to put the source of Leil Storage SaunaFS on
Salsa at my suggestion so we could use SaunaFS to replace LizardFS as
shared storage for bioinformatics applications on Debian-based HPC
clusters such as Proxmox, which uses Ceph for shared storage.
However, as you can see from the attached email, I'm new to "gbp" and I
would appreciate help to understand what I'm doing wrong?
Thanks,
Tony.
--
Minke Informatics Limited, Registered in Scotland - Company No. SC419028
Registered Office: 3 Donview, Bridge of Alford, AB33 8QJ, Scotland (UK)
tel. +44(0)19755 63548 http://minke-informatics.co.uk
mob. +44(0)7985 078324 mailto:[email protected]
--- Begin Message ---
On 22/10/2025 11:20, Urmas Rist wrote:
[...]
Hello Tony!
Sorry for the late reply, I had to cut the other day short.
I don't think you even need to use `--git-upstream-tag=v5.1.2` option.
It should work fine without it.
Also make sure the git repository is clean with `git reset --hard HEAD`
and `git clean -f .`.
P.S: I just updated the git repository with 5.3.0 snapshot, you may want
to pull after you are able to build 5.1.2 package.
Hi, Urmas.
I only have guest access to Salsa as Tony Travis @ajtravis-guest, so I
can't create comments or issues in "history". I've requested access, but
I hope you don't mind me contacting you by email for now.
I'm running Debian 12 (bookworm) on my Proxmox Backup server "pbs1":
root@pbs1:/usr/local/src# lsb_release -d
No LSB modules are available.
Description: Debian GNU/Linux 12 (bookworm)
As you can tell from my previous email, I'm new to "gbp" and struggling
to understand how to use it. Your suggestions did not fix the problem,
but I have managed to get it to run using a BRANCH instead of a TAG:
root@pbs1:/usr/local/src/saunafs# gbp clone
https://salsa.debian.org/hpc-team/saunafs.git
root@pbs1:/usr/local/src/saunafs# cd saunafs/
root@pbs1:/usr/local/src/saunafs# DIST=bookworm ARCH=amd64 git-pbuilder create
|& tee /var/tmp/git-pbuilder.log
root@pbs1:/usr/local/src/saunafs# gbp buildpackage --git-pbuilder --git-arch=amd64
--git-dist=bookworm --git-upstream-tag=master |& tee /var/tmp/gbp.log
However, this failed to build because of an error and stopped:
[...]> /build/saunafs-5.3.0-rc3/src/metrics/metrics.cc:64:22: error:
'jthread' is not a member of 'std'; did you mean 'fread'?
64 | std::unique_ptr<std::jthread>
| ^~~~~~~
| fread
/build/saunafs-5.3.0-rc3/src/metrics/metrics.cc:64:29: error: template argument
1 is invalid
64 | std::unique_ptr<std::jthread>
| ^
/build/saunafs-5.3.0-rc3/src/metrics/metrics.cc:64:29: error: template argument
2 is invalid
/build/saunafs-5.3.0-rc3/src/metrics/metrics.cc: In function 'void
metrics::destroy()':
/build/saunafs-5.3.0-rc3/src/metrics/metrics.cc:68:32: error: invalid operands
of types 'int' and 'std::nullptr_t' to binary 'operator!='
68 | if (gMetricsMainThread != nullptr) {
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
/build/saunafs-5.3.0-rc3/src/metrics/metrics.cc:69:35: error: base operand of
'->' is not a pointer
69 | gMetricsMainThread->request_stop();
| ^~
/build/saunafs-5.3.0-rc3/src/metrics/metrics.cc: At global scope:
/build/saunafs-5.3.0-rc3/src/metrics/metrics.cc:105:32: error: 'stop_token' in
namespace 'std' does not name a type
105 | void prometheusLoop(const std::stop_token& stop, const char* host) {
| ^~~~~~~~~~
/build/saunafs-5.3.0-rc3/src/metrics/metrics.cc: In function 'void
metrics::prometheusLoop(const int&, const char*)':
/build/saunafs-5.3.0-rc3/src/metrics/metrics.cc:113:30: error: request for
member 'stop_requested' in 'stop', which is of non-class type 'const int'
113 | while (!stop.stop_requested()) {
| ^~~~~~~~~~~~~~
/build/saunafs-5.3.0-rc3/src/metrics/metrics.cc:114:30: error:
'std::this_thread' has not been declared
114 |
std::this_thread::sleep_for(std::chrono::milliseconds(THREAD_SLEEP_TIME_MS));
| ^~~~~~~~~~~
/build/saunafs-5.3.0-rc3/src/metrics/metrics.cc: In function 'void
metrics::init(const char*)':
/build/saunafs-5.3.0-rc3/src/metrics/metrics.cc:122:52: error: 'jthread' is not
a member of 'std'; did you mean 'fread'?
122 | gMetricsMainThread =
std::make_unique<std::jthread>(std::jthread(prometheusLoop, host));
| ^~~~~~~
| fread
/build/saunafs-5.3.0-rc3/src/metrics/metrics.cc:122:66: error: 'jthread' is not
a member of 'std'; did you mean 'fread'?
122 | gMetricsMainThread =
std::make_unique<std::jthread>(std::jthread(prometheusLoop, host));
| ^~~~~~~
| fread
[...]> [ 40%] Built target sfscommon
make[2]: Leaving directory '/build/saunafs-5.3.0-rc3/build'
make[1]: *** [Makefile:159: all] Error 2
make[1]: Leaving directory '/build/saunafs-5.3.0-rc3/build'
dh_auto_build: error: cd build && make -j32 "INSTALL=install
--strip-program=true" VERBOSE=1 returned exit code 2
make: *** [debian/rules:20: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
I: copying local configuration
E: Failed autobuilding of package
I: unmounting dev/ptmx filesystem
I: unmounting dev/pts filesystem
I: unmounting dev/shm filesystem
I: unmounting proc filesystem
I: unmounting sys filesystem
I: Cleaning COW directory
I: forking: rm -rf /var/cache/pbuilder/build/cow.672597
gbp:error: 'git-pbuilder' failed: it exited with 1
I couldn't get it to run using a version tag and I could not see any
tags in the repository. I don't know how to set my cloned repo to use
the 5.1.2 version. I get the "Not a valid treeish" error if I use the
tag you did. I'd appreciate your advice about what I'm doing wrong!
Thanks,
Tony.
--
Minke Informatics Limited, Registered in Scotland - Company No. SC419028
Registered Office: 3 Donview, Bridge of Alford, AB33 8QJ, Scotland (UK)
tel. +44(0)19755 63548 http://minke-informatics.co.uk
mob. +44(0)7985 078324 mailto:[email protected]
--- End Message ---