Package Details: proxmox-backup-client 3.3.0-1

Git Clone URL: https://aur.archlinux.org/proxmox-backup-client.git (read-only, click to copy)
Package Base: proxmox-backup-client
Description: Client for Proxmox Backup Server
Upstream URL: https://pbs.proxmox.com
Keywords: backup pbs proxmox pve rust
Licenses: AGPL3
Submitter: flumm
Maintainer: flumm (tommitscheck)
Last Packager: tommitscheck
Votes: 19
Popularity: 0.000481
First Submitted: 2020-07-15 08:23 (UTC)
Last Updated: 2024-11-30 12:00 (UTC)

Latest Comments

1 2 3 4 5 Next › Last »

OJaksch commented on 2025-01-13 16:13 (UTC)

It's me again and compiling on aarch64 is failing again:

   Compiling http v0.2.12
   Compiling proxmox-sys v0.6.4 (/var/cache/pacman/pkg/yaourt/proxmox-backup-client/src/proxmox/proxmox-sys)
error[E0308]: mismatched types
    --> /var/cache/pacman/pkg/yaourt/proxmox-backup-client/src/proxmox/proxmox-sys/src/fs/dir.rs:211:50
     |
211  |     let returned_buffer = unsafe { libc::mkdtemp(template.as_mut_ptr() as *mut i8) };
     |                                    ------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `*mut u8`, found `*mut i8`
     |                                    |
     |                                    arguments to this function are incorrect
     |
     = note: expected raw pointer `*mut u8`
                found raw pointer `*mut i8`
note: function defined here
    --> /home/larry/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.169/src/unix/mod.rs:1479:12
     |
1479 |     pub fn mkdtemp(template: *mut c_char) -> *mut c_char;
     |            ^^^^^^^

For more information about this error, try `rustc --explain E0308`.
error: could not compile `proxmox-sys` (lib) due to 1 previous error
warning: build failed, waiting for other jobs to finish...

OJaksch commented on 2024-12-03 07:32 (UTC)

To everyone who is using this great tool together with an uptodate PBS and isn't aware of the new features:
Add --change-detection-mode data (or metadata) to your command/script to give your backup a significant burst!

OJaksch commented on 2024-09-19 08:37 (UTC)

Just compiled on x86_64 and aarch64 and can confirm that it's building fine again on the latter.
Thanks for fixing!

tommitscheck commented on 2024-09-19 07:51 (UTC)

@OJaksch I backported a patch for an internal dependency [0] that should fix this error, but I did not have an aarch64 ready to quickly test this, so feedback would be welcome.

OJaksch commented on 2024-09-02 11:53 (UTC)

Doesn't build on aarch64 anymore. There were some warnings before the build failed.
If you need a more detailed log, gimme sign.

   Compiling proxmox-sys v0.5.8 (/tmp/x/src/proxmox/proxmox-sys)
   Compiling form_urlencoded v1.2.1
error[E0308]: mismatched types
  --> /tmp/x/src/proxmox/proxmox-sys/src/crypt.rs:74:67
   |
74 |         if data.output.first().is_none() || Some(&('*' as i8)) == data.output.first() {
   |                                                                   ^^^^^^^^^^^^^^^^^^^ expected `Option<&i8>`, found `Option<&u8>`
   |
   = note: expected enum `std::option::Option<&i8>`
              found enum `std::option::Option<&u8>`

error[E0308]: mismatched types
   --> /tmp/x/src/proxmox/proxmox-sys/src/crypt.rs:136:58
    |
136 |     if output.first().is_none() || Some(&('*' as i8)) == output.first() {
    |                                                          ^^^^^^^^^^^^^^ expected `Option<&i8>`, found `Option<&u8>`
    |
    = note: expected enum `std::option::Option<&i8>`
               found enum `std::option::Option<&u8>`

   Compiling crc32fast v1.4.2
   Compiling base64 v0.22.1
For more information about this error, try `rustc --explain E0308`.
error: could not compile `proxmox-sys` (lib) due to 2 previous errors
warning: build failed, waiting for other jobs to finish...

Sept commented on 2024-07-06 22:37 (UTC)

I was able to build it with this patch:

diff --git a/PKGBUILD b/PKGBUILD
index 90e1726..23fad4a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
 # Maintainer: Dominik Csapak <dominik.csapak@gmail.com>
 # Maintainer: Thomas Lamprecht <thomas@lamprecht.org>
 pkgname=proxmox-backup-client
-pkgver=3.2.2
+pkgver=3.2.7
 pkgrel=1
 pkgdesc="Client for Proxmox Backup Server"
 arch=('x86_64' 'aarch64')
@@ -17,7 +17,7 @@ makedepends=('cargo' 'clang' 'git' 'llvm' 'patchelf' 'python-docutils' 'python-s
 options=(!lto)
 source=(
     "$pkgname-$pkgver::git://git.proxmox.com/git/proxmox-backup.git#tag=v$pkgver"
-    "proxmox::git://git.proxmox.com/git/proxmox.git#commit=863d7603403405ccbf8e841b875bf3c9a7a76116"
+    "proxmox::git://git.proxmox.com/git/proxmox.git#commit=9ec5a487012b336b62c00b00d4362ec61f648f3b"
     "proxmox-fuse::git://git.proxmox.com/git/proxmox-fuse.git"
     "pxar::git://git.proxmox.com/git/pxar.git"
     "pathpatterns::git://git.proxmox.com/git/pathpatterns.git"
@@ -45,7 +45,7 @@ _apply() {

 prepare() {
   cd "$pkgname-$pkgver"
-  rm .cargo/config # drop Debian-style redirect of crates.io to local registry
+  rm .cargo/config.toml # drop Debian-style redirect of crates.io to local registry

   _apply 0001-re-route-dependencies-not-available-on-crates.io-to-.patch
   _apply 0002-docs-drop-all-but-client-man-pages.patch

This updates the package to the latest tagged version on their git, and picks the latest commit in master for the proxmox base library. I couldn't find where they mark stable commits, no tags, no stable 3.x branch, so Im not sure if this is a good commit to use or not.

markc commented on 2024-06-18 05:02 (UTC)

Howdy, is there any chance you could update this to 3.2.3 ?

OJaksch commented on 2024-06-10 14:15 (UTC)

I'm getting an error when (re-) building:

==> Starting prepare()...
applying patch '0001-re-route-dependencies-not-available-on-crates.io-to-.patch'
patching file Cargo.toml
applying patch '0002-docs-drop-all-but-client-man-pages.patch'
patching file docs/Makefile
patching file docs/conf.py
    Updating crates.io index
error: failed to select a version for the requirement `pxar = "^0.10.2"`
candidate versions found which didn't match: 0.11.1
location searched: crates.io index
required by package `pbs-client v0.1.0 (/tmp/makepkg/proxmox-backup-client/src/proxmox-backup-client-3.2.2/pbs-client)`
perhaps a crate was updated and forgotten to be re-vendored?
==> ERROR: A failure occurred in prepare().
    Aborting...
 -> Fehler beim Erstellen: proxmox-backup-client-exit status 4
 -> Die folgenden Pakete konnten nicht installiert werden. Ein manueller Eingriff ist erforderlich:
proxmox-backup-client - exit status 4

tommitscheck commented on 2024-04-25 15:58 (UTC)

@boomer41 thanks for the hint, this should be fixed in the just uploaded version 3.2.2-1

boomer41 commented on 2024-04-21 17:26 (UTC) (edited on 2024-04-21 17:27 (UTC) by boomer41)

@flumm A simpler workaround for the LTO problem would be to (temporarily) disable LTO for this package:

options=(!lto)