Bug 13868 - borgbackup - libxxhash.so.0 is missing
Summary: borgbackup - libxxhash.so.0 is missing
Status: ON_QA
Alias: None
Product: IPFire
Classification: Unclassified
Component: --- (show other bugs)
Version: 2
Hardware: x86_64 Linux
: - Unknown - Minor Usability
Assignee: Adolf Belka
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-08-07 09:46 UTC by mroland
Modified: 2025-08-11 15:13 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description mroland 2025-08-07 09:46:39 UTC
since Core-Update-Level 195 I get this error message:
# borg --version
Traceback (most recent call last):
  File "/usr/lib/python3.10/site-packages/borg/archiver.py", line 37, in <module>
    from .algorithms.checksums import crc32
ImportError: libxxhash.so.0: cannot open shared object file: No such file or directory

This causes every call to Borgbackup to fail.
Comment 1 Adolf Belka 2025-08-07 11:01:45 UTC
Checked this and confirmed with CU196.

Looking through the git repo I have identified that back when borgbackup was updated to version 1.4.0 in CU189 libxxhash had to be installed as that version of borgbackup required it.

However it was forgotten to add it into the dependencies line in the borgbackup lfs file.

I can't figure out what caused it to be removed as I am not even sure how it would have got installed in the first place.

I will submit a patch to correct the borgbackup lfs file to inluce libxxhash as a dependency.

As a workaround you can install the rsync addon, as this requires the libxxhash package since CU192.

I have tested out installing rsync and the rsync libxxhash dependency was also installed and therefore became available for borgbackup as well and the borg --version then gave me

-bash-5.2$ borg --version
borg 1.4.0

That will al least give you back a working system until the proper fix is merged and released.
Comment 2 mroland 2025-08-07 14:12:44 UTC
The workaround to install the rsync package works fine. I have successfully created two backups.
Comment 4 Adolf Belka 2025-08-10 19:29:29 UTC
Patch has been merged into master (what will shortly be released as CU197)


https://git.ipfire.org/?p=ipfire-2.x.git;a=commit;h=baee54153bd2a2f0fd126e98d9499f54169af6f3
Comment 6 Adolf Belka 2025-08-11 15:13:11 UTC
Tested out with Core Update 197 Testing and it worked.

It would be good if the bug reporter could also test this out and verify that the bug is fixed.