Package Details: borg-git 2.0.0.dev0.r2.gb10d6611-1

Git Clone URL: (read-only, click to copy)
Package Base: borg-git
Description: Deduplicating backup program with compression and authenticated encryption
Upstream URL:
Keywords: backup
Licenses: BSD
Conflicts: borg, borgbackup
Provides: borg, borgbackup
Submitter: Ape
Maintainer: AkechiShiro
Last Packager: AkechiShiro
Votes: 13
Popularity: 0.28
First Submitted: 2016-03-26 22:28 (UTC)
Last Updated: 2022-05-24 21:24 (UTC)

Latest Comments

AkechiShiro commented on 2022-05-24 21:26 (UTC) (edited on 2022-05-24 21:26 (UTC) by AkechiShiro)

Thanks to @aminvakil, package dependencies should be completely fixed for now, if anything else is missing, please feel free to comment, I'll do my best to add anything that is still missing.

aminvakil commented on 2022-04-25 17:31 (UTC)

Many packages are missing from depends, makedepends, checkdepends: Here is the fix

From ccdc70b43126f1dac3150da6512d4d010d7fd27a Mon Sep 17 00:00:00 2001
From: Amin Vakil <>
Date: Mon, 25 Apr 2022 21:59:19 +0430
Subject: [PATCH] Fix dependencies

Add 'xxhash' 'libdeflate-git' to depends
Add 'python-pip' 'python-wheel' to makedepends
Add 'python-argon2_cffi' 'python-dateutil' to checkdepends
 PKGBUILD | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/PKGBUILD b/PKGBUILD
index 50d4edb..b543308 100644
@@ -10,11 +10,11 @@ pkgdesc='Deduplicating backup program with compression and authenticated encrypt
-depends=('acl' 'lz4' 'openssl' 'python-msgpack' 'python-setuptools' 'xz' 'zstd')
+depends=('acl' 'lz4' 'openssl' 'python-msgpack' 'python-setuptools' 'xz' 'zstd' 'xxhash' 'libdeflate-git')
 optdepends=('openssh: repositories on remote hosts'
             'python-llfuse: mounting backups as a FUSE file system')
-makedepends=('cython' 'python-sphinx' 'python-guzzle-sphinx-theme' 'git' 'python-pkgconfig')
-checkdepends=('python-pytest' 'python-pytest-cov' 'python-pytest-benchmark' 'python-mock')
+makedepends=('cython' 'python-sphinx' 'python-guzzle-sphinx-theme' 'git' 'python-pkgconfig' 'python-pip' 'python-wheel')
+checkdepends=('python-pytest' 'python-pytest-cov' 'python-pytest-benchmark' 'python-mock' 'python-argon2_cffi' 'python-dateutil')
 provides=('borg' 'borgbackup')
 conflicts=('borg' 'borgbackup')

RomanVolak commented on 2022-04-21 15:39 (UTC)

I've tried libdeflate-git from AUR and it builds. Thank you

AkechiShiro commented on 2022-03-27 23:31 (UTC)

Current build fails :

==> Starting build()...
Detected and preferring libcrypto [via pkg-config]
Detected and preferring liblz4 [via pkg-config]
Detected and preferring libzstd [via pkg-config]
Detected and preferring libxxhash [via pkg-config]
Traceback (most recent call last):
  File "/home/zwei/.cache/paru/clone/borg-git/src/borg/", line 182, in <module>
    lib_ext_kwargs(pc, 'BORG_LIBDEFLATE_PREFIX', 'deflate', 'libdeflate', '>= 1.5'),
  File "/home/user/.cache/paru/clone/borg-git/src/borg/", line 154, in lib_ext_kwargs
    raise Exception(
Exception: Could not find deflate lib/headers, please set BORG_LIBDEFLATE_PREFIX or ensure libdeflate.pc is in PKG_CONFIG_PATH.
==> ERROR: A failure occurred in build().
error: failed to build 'borg-git-1.2.0a4.r32.g20756bd3-1': 
error: packages failed to build: borg-git-1.2.0a4.r32.g20756bd3-1

I've tried installing libdeflate from community, the build still fails, not sure if the BORG_LIBDEFLATE_PREFIX should be set to something specific in order to fix the build.

galvez_65 commented on 2020-04-05 16:04 (UTC)

msgpack 1.0 has been fixed in the master.

Can you please add xxhash as a dependency when I updated this morning borg would not run without that being installed.

Thank you

CjK commented on 2020-04-01 10:36 (UTC)

After upgrading to the latest python-msgpack release (1.0), borg built from master crashes with ContextualVersionConflict.

See upstream issue here:

Can the pkgbuild be upgraded to use a custom msgpack-version?

galvez_65 commented on 2019-11-24 04:22 (UTC) (edited on 2019-11-24 04:49 (UTC) by galvez_65)

Anyone else having issues build this? I am getting a ArchiverTestCase.test_recreate_timestamp error in the test suite preventing it from completing the package

update: Since the recreate feature is experimental and it's the only thing that failed I just commented out the check section and reran the build

Kr1ss commented on 2019-03-18 15:53 (UTC)

Nice, thanks !

Ape commented on 2019-03-18 15:52 (UTC)

I updated the package with that fix.

galvez_65 commented on 2019-03-17 22:17 (UTC)

can confirm adding python-pkgconfig to the makedpends array fixed the issue

Kr1ss commented on 2019-03-16 19:16 (UTC) (edited on 2019-03-16 19:16 (UTC) by Kr1ss)

This can be solved by adding 'python-pkgconfig' to the makedepends array.

galvez_65 commented on 2019-03-16 19:12 (UTC)

Getting the following error trying to build File "", line 170, in <module> setup_crypto.crypto_ext_kwargs(pc, system_prefix_openssl), File "/home/jc/.cache/pikaur/build/borg-git/src/borg/", line 22, in crypto_ext_kwargs raise Exception('Could not find OpenSSL lib/headers, please set BORG_OPENSSL_PREFIX') Exception: Could not find OpenSSL lib/headers, please set BORG_OPENSSL_PREFIX

waitnsea commented on 2019-02-17 01:11 (UTC)

@Ape : =========== 2 failed, 1148 passed, 216 skipped, 1 deselected, 2 xfailed in 531.34 seconds =========== ==> ERREUR : Une erreur s’est produite dans check(). Abandon… erreur : failed to build 'borg-git' :: Build failed, retry? [y/e/N/?]

while every dependency is installed & arch updated

Ape commented on 2019-02-15 06:42 (UTC)

@waitnsea, works for me. What is the actual error there?

waitnsea commented on 2019-02-15 05:45 (UTC)

compilation falls : ERROR : An error has occurred in check()

Ape commented on 2019-01-23 14:47 (UTC)

@kmarius, done.

kmarius commented on 2019-01-22 20:25 (UTC)

git should be added to makedepends. Thanks!

Ape commented on 2019-01-12 20:13 (UTC)

I rewrote the PKGBUILD based on the package borg.

trialuser commented on 2017-06-19 14:19 (UTC)

unlisted dep: python-guzzle-sphinx-theme

Ape commented on 2016-04-16 17:46 (UTC)

Version 1.0.2 released.

Ape commented on 2016-04-10 06:25 (UTC)

Borg 1.0.1 has been released. This git package is always up-to-date of course, but I changed the pkgver to trigger a rebuild. The new release has some fixes and you should update.

Ape commented on 2016-03-26 22:34 (UTC) (edited on 2016-03-30 12:55 (UTC) by Ape)

This package was renamed to 'borg-git'. The old name was 'borgbackup-git'.

SpotlightKid commented on 2016-03-17 10:23 (UTC)

I orphaned the package a while ago, since I no longer use the program. Feel free @Ape to adopt it and implement the changes you propose.

Ape commented on 2016-03-17 00:41 (UTC)

Also, I think this package should be renamed to borg-git.

Ape commented on 2016-03-17 00:41 (UTC)

Here is a new PKGBUILD that fixes this issue. I also updated other things based on the community/borg package.

Ape commented on 2016-03-17 00:29 (UTC)

I have the same issue as DoTheEvolution.

DoTheEvolution commented on 2016-01-24 19:31 (UTC) (edited on 2016-01-24 19:31 (UTC) by DoTheEvolution)

install: cannot stat ‘docs/_build/man/borg-deduplicatingarchiver.1’: No such file or directory

alphazo commented on 2015-08-17 16:55 (UTC)

Latest git version adds support for lz4 compression algorithm. Therefore lz4 library is required to compile.