borgbackup

Edit Package borgbackup
No description set
Refresh
Refresh
Source Files
Filename Size Changed
borgbackup-1.1.4-sphinx-default-theme.patch 0000001142 1.12 KB
borgbackup-1.4.0.tar.gz 0003798511 3.62 MB
borgbackup-1.4.0.tar.gz.asc 0000000862 862 Bytes
borgbackup.changes 0000092915 90.7 KB
borgbackup.keyring 0000010419 10.2 KB
borgbackup.spec 0000009482 9.26 KB
Latest Revision
Comments 13

Alex Sinev's avatar

There is a problem with the last build of borgbackup because of renamed package python3-msgpack-python to python3-msgpack. It needs older python3-msgpack-python package to work properly. Look here:

https://github.com/borgbackup/borg/issues/3515#issuecomment-368881167


Alex Sinev's avatar

There is a problem with Fuse support in version 1.1.9, it does not work with python3-msgpack >= 0.5.6 (the current python3-msgpack version in Main Repository (OSS) is 0.6.1). Please, see here: https://github.com/borgbackup/borg/issues/4465


Hans-Peter Jansen's avatar

With version 1.1.10, the borg mount issue is solved from upstream (by bundling a "good" python3-msgpack).

Assimilation wasn't more serious fun, ever :-)

Sorry for taking so long, though...


Alex Sinev's avatar

Hi! There is Python 3.8 problem with borgbackup-1.1.10-2.2.x86_64 https://github.com/borgbackup/borg/issues/5028

And there is borgbackup 1.1.11 release https://github.com/borgbackup/borg/releases

Could you please upgrade it?


Alex Sinev's avatar

Hi! Is there any solution for unsupported llfuse?

borg mount not available: loading FUSE support failed [ImportError: No module named 'llfuse']

https://github.com/borgbackup/borg/issues/4122


Hans-Peter Jansen's avatar

Well, not until upstream releases a version, that supports pyfuse3.

At the time being, only some patches are floating around.


Markus Banfi's avatar

According to the SPEC file borg does not include python-msgpack anymore since version 1.2.0. But borg has very specific (as in limited) and hardcoded requirements for the version of python-msgpack. This could potentially cause borgbackup (and borgmatic) not to function every time there is an update of python310-msgpack in TW.

Currently the versions borgbackup-1.2.0-3.1 and python310-msgpack-1.0.4-1.1 in TW (20220622) do not match because borg 1.2.0 wants python-msgpack v1.0.3 (https://github.com/borgbackup/borg/blob/1.2.0/src/borg/helpers/msgpack.py#L182). The latest release of borg (1.2.1) allows python-msgpack v1.0.4. But again very specifically and hardcoded. Guess with the next update of python310-msgpack it potentially breaks again.

I'm not sure how this situation can be mitigated. In my opinion this is an upstream problem. If borg wants a version of python-msgpack that specific it should bundle it. For now a version bump of the borgbackup package to 1.2.1 will fix it.


Hans-Peter Jansen's avatar

There is a specific reason for not including the msgpack dependency in the package: it includes the msgpack since some time.

Do you have any specific reasons that point to problems with borg?


Markus Banfi's avatar

Sorry, I guess my message was not phrased too well.

I'll try to describe the issue again:

  • TW package borgbackup-1.2.0-3.1 has a dependency on python3-msgpack.
  • python3-msgpack is currently python310-msgpack-1.0.4-1.1.
  • borg has a hardcoded check in /usr/lib64/python3.10/site-packages/borg/helpers/msgpack.py:185 that raises an error if the version of msgpack is higher than 1.0.3.
  • The same file in borg version 1.2.1 would raise this check to allow msgpack up to 1.0.4.

In my opinion this very specific version check (instead of maybe allowing all 1.0.x versions of msgpack) has the potential to make borg fail with an error message every time there is an update of python3-msgpack in TW to a version that does not yet match the checked version of borg. Of course there is nothing that the TW package maintainers for the borgbackup package can do about it other than version bump the package often.

I will keep an eye on updates to borgbackup and python310-msgpack on my system from now on and always check the borg changelog online before updating.


Markus Banfi's avatar

My workaround for now was to download the python310-msgpack-1.0.3-1.3 RPM package and downgrade. Now I can make backups.


Benjamin Greiner's avatar

I will keep an eye on updates to borgbackup and python310-msgpack on my system from now on and always check the borg changelog online before updating.

With https://build.opensuse.org/request/show/985025 zypper will do that for you.


Hans-Peter Jansen's avatar

With Ben's change in place, zypper will enforce a resolution for any conflicts that arise and as a consequence will not allow the upgrade of msgpack to an unsupported version with respect to borg.

If you still have issues, let me know.


Markus Banfi's avatar

Great! Thanks for the fast resolution.

openSUSE Build Service is sponsored by