Package Details: borg-git 2.0.0b5.r5.g8027c7b2-1

Git Clone URL: https://aur.archlinux.org/borg-git.git (read-only, click to copy)
Package Base: borg-git
Description: Deduplicating backup program with compression and authenticated encryption
Upstream URL: https://borgbackup.github.io/
Keywords: backup
Licenses: BSD
Conflicts: borg, borgbackup
Provides: borg, borgbackup
Submitter: Ape
Maintainer: None
Last Packager: AkechiShiro
Votes: 14
Popularity: 0.000257
First Submitted: 2016-03-26 22:28 (UTC)
Last Updated: 2023-03-02 23:59 (UTC)

Required by (18)

Sources (1)

Latest Comments

1 2 3 4 Next › Last »

bjo commented on 2023-03-04 21:24 (UTC)

It works, thanks.

AkechiShiro commented on 2023-03-04 17:27 (UTC)

Could you give it a try again @bjo ?

If it stills not work, try adding before the cd :

ls "$srcdir/$_pkgname/build/lib.linux-$CARCH"*/

And show me the output, I'm not sure why, there are some differences on some systems.

bjo commented on 2023-03-02 10:44 (UTC)

Still fails:

/data/build/.cache/aurutils/sync/borg-git/PKGBUILD: line 35: cd: /data/build/.cache/aurutils/sync/borg-git/src/borg/build/lib.linux-x86_64-3*/: No such file or directory

AkechiShiro commented on 2023-03-01 21:45 (UTC) (edited on 2023-03-01 21:47 (UTC) by AkechiShiro)

@stefmanf @alphajack

The issue should now be fixed, if you can confirm to me that's the case, thanks.

@stefmanf Your fix did not work on my end :

==> Starting check()...
# Output of ls "$srcdir/$_pkgname/build/lib.linux-$CARCH"*/

~/project/opensource/borg-git/src/borg/build/lib.linux-x86_64-3.10/:
borg

~/project/opensource/borg-git/src/borg/build/lib.linux-x86_64-cpython-310/:
borg

There are two folders, cd can take only one argument, I believe you meant :

cd "$srcdir/$_pkgname/build/lib.linux-$CARCH-3"*/

stefmanf commented on 2023-01-07 11:15 (UTC)

@AlphaJack I solved editing line 35 in PKGBUILD in this way

cd "$srcdir/$_pkgname/build/lib.linux-$CARCH"*/

AlphaJack commented on 2022-12-05 17:20 (UTC)

==> Starting check()...
/home/jack/Documents/git/aur/borg-git/PKGBUILD: line 35: cd: /tmp/makepkg/borg-git/src/borg/build/lib.linux-x86_64-3.*/: No such file or directory
==> ERROR: A failure occurred in check().
    Aborting...

I have the following folders instead:

total 0
drwxr-xr-x 3 jack jack 60  5 dic 18.09 lib.linux-x86_64-cpython-310/
drwxr-xr-x 3 jack jack 60  5 dic 18.09 temp.linux-x86_64-cpython-31

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 <info@aminvakil.com>
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
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -10,11 +10,11 @@ pkgdesc='Deduplicating backup program with compression and authenticated encrypt
 url='https://borgbackup.github.io/'
 license=('BSD')
 arch=('x86_64')
-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')
 source=("${_pkgname}::git+https://github.com/borgbackup/${_pkgname}.git")
-- 
2.36.0

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/setup.py", 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/setup.py", 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().
    Aborting...
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.