borgbackup / borg

Deduplicating archiver with compression and authenticated encryption.
https://www.borgbackup.org/
Other
11.15k stars 743 forks source link

Warning: Using a pure-python msgpack! This will result in lower performance #4538

Closed DannyBen closed 5 years ago

DannyBen commented 5 years ago

Have you checked borgbackup docs, FAQ, and open Github issues?

Yes. Found:

Is this a BUG / ISSUE report or a QUESTION?

Issue

System information. For client/server mode post info for both machines.

Your borg version (borg -V).

The borg alpine package at https://pkgs.alpinelinux.org/package/edge/community/x86/borgbackup

borg 1.1.7

Operating system (distribution) and version.

Alpine linux official image

# cat /etc/alpine-release
3.9.0

Hardware / network configuration, and filesystems used.

NA

How much data is handled by borg?

NA

Full borg commandline that lead to the problem (leave away excludes and passwords)

borg init ./repo -e none

Describe the problem you're observing.

Can you reproduce the problem? If so, describe how. If not, describe troubleshooting steps you took before opening the issue.

Yes. Full reproduction steps:

$ docker pull alpine
$ docker run --rm -it alpine
$ apk --no-cache add borgbackup
$ borg init ./repo -e none

Include any warning/errors/backtraces from the system logs

Just this output:

Using a pure-python msgpack! This will result in lower performance.

ThomasWaldmann commented 5 years ago

As you use a "apk" package, I suspect this means a pre-packaged borg made by some alpine package maintainer and that this package depends on a pre-packaged (python-)msgpack package made by some (other?) alpine package maintainer.

The warning means that the latter (msgpack) is not packaged correctly (the C-based compiled code is missing and if falls back to the pure python code).

So, this is not a borgbackup, but a alpine packaging issue.

Also, there is borgbackup 1.1.9 (just saying).

DannyBen commented 5 years ago

Yeah, I figured as much - not sure where to reach the alpine package maintainer, and was hoping maybe he might be is hanging out here.

ThomasWaldmann commented 5 years ago

Isn't there some packaging metadata or web site where you can find the contact?

DannyBen commented 5 years ago

I'm on it. The place to report is in the global alpine linux bug tracker.

Waiting for my confirmation email, and will open an issue.

ThomasWaldmann commented 5 years ago

@DannyBen besides including the compiled stuff, see borg's setup.py, msgpack needs to satisfy the requirements given there - latest version won't work for borg 1.1.x.

DannyBen commented 5 years ago

I have opened issue 10401 on bugs.alpinelinux.org