Package Details: proxmox-backup-client 4.1.0-3

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: 28
Popularity: 2.93
First Submitted: 2020-07-15 08:23 (UTC)
Last Updated: 2026-01-17 15:14 (UTC)

Latest Comments

1 2 3 4 5 6 .. 8 Next › Last »

tommitscheck commented on 2026-01-17 15:17 (UTC)

@ufna: thanks for the report, this should be fixed in the latest version 4.1.0-3 I just pushed.

ufna commented on 2026-01-17 13:25 (UTC)

Currently proxmox-backup-client 4.1.0 does not build from AUR. Cargo fails because it requires proxmox-fuse ^1, but crates.io only provides proxmox-fuse 2.0.0.

error: failed to select a version for the requirement `proxmox-fuse = "^1"`
candidate versions found which didn't match: 2.0.0
location searched: crates.io index
required by package `pbs-fuse-loop v0.1.0 (...)`

dosenpils commented on 2026-01-06 19:54 (UTC)

@Vallic_Magnus Thank you for the clarification. In the end it was an indentation error that crept in during copying. >.<' But thanks for your patch anyway!

Vallic_Magnus commented on 2026-01-05 20:18 (UTC) (edited on 2026-01-05 20:19 (UTC) by Vallic_Magnus)

@dosenpils The "Hunk #1 FAILED" error usually indicates a context or whitespace mismatch between the patch and the clean source tree. I have updated the patch to use the exact context required for v4.1.x.

Please ensure you are applying this using the _apply helper in your PKGBUILD, which handles the -p1 strip level automatically.

rust-fix.patch

patch
--- a/pbs-client/src/pxar/extract.rs
+++ b/pbs-client/src/pxar/extract.rs
@@ -1337,8 +1337,8 @@
                     "error extracting {}: {err}",
                     match entry.kind() {
-                        EntryKind::GoodbyeTable => "<directory>",
-                        _ => &entry.path().display().to_string(),
+                        EntryKind::GoodbyeTable => "<directory>".to_string(),
+                        _ => entry.path().display().to_string(),
                     },
                 );
             }

PKGBUILD update:

prepare() {
  cd "$pkgname-$pkgver"
  # ... existing logic ...
  _apply rust-fix.patch
  # ...
}

dosenpils commented on 2026-01-05 18:25 (UTC)

@Vallic_Magnus I'm having troubles applying your patch manually. I cannot find this 'extract.rs' anywhere, that's why 'makepkg' is complaining about not being able to apply this patch:

patching file pbs-client/src/pxar/extract.rs
Hunk #1 FAILED at 1337.
1 out of 1 hunk FAILED -- saving rejects to file pbs-client/src/pxar/extract.rs.rej

Vallic_Magnus commented on 2026-01-02 20:52 (UTC) (edited on 2026-01-02 20:55 (UTC) by Vallic_Magnus)

The package currently fails to build with Rust 1.88.0+ due to a borrow-checker error (E0716) in the pbs-client crate (pbs-client/src/pxar/extract.rs). This occurs because a reference is taken to a temporary String created by .to_string().

To fix this, ensure both match arms in the logging block return an owned String. I have verified this fix locally on Arch with rustc 1.88.0.

rust-fix.patch

--- a/pbs-client/src/pxar/extract.rs
+++ b/pbs-client/src/pxar/extract.rs
@@ -1337,8 +1337,8 @@
                     "error extracting {}: {err}",
                     match entry.kind() {
-                        EntryKind::GoodbyeTable => "<directory>",
-                        _ => &entry.path().display().to_string(),
+                        EntryKind::GoodbyeTable => "<directory>".to_string(),
+                        _ => entry.path().display().to_string(),
                     },
                 );
             }

PKGBUILD update:

prepare() {
  # ... existing logic
  _apply rust-fix.patch
  # ...
}

erb commented on 2025-12-25 12:25 (UTC)

Doesn't build for me:

   Compiling pbs-client v0.1.0 (/home/erb/.cache/yay/proxmox-backup-client/src/proxmox-backup-client-4.1.0/pbs-client)
error[E0716]: temporary value dropped while borrowed
    --> pbs-client/src/pxar/extract.rs:1340:27
     |
1338 | /                 match entry.kind() {
1339 | |                     EntryKind::GoodbyeTable => "<directory>",
1340 | |                     _ => &entry.path().display().to_string(),
     | |                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-
     | |                           |                                |
     | |                           |                                temporary value is freed at the end of this statement
     | |                           creates a temporary value which is freed while still in use
1341 | |                 },
     | |_________________- borrow later used here
     |
     = note: consider using a `let` binding to create a longer lived value

For more information about this error, try `rustc --explain E0716`.
error: could not compile `pbs-client` (lib) due to 1 previous error
warning: build failed, waiting for other jobs to finish...
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: proxmox-backup-client-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
proxmox-backup-client - exit status 4

Latest Rust stable

OJaksch commented on 2025-11-26 13:01 (UTC)

x-mas today! PBS 4.1 released and a fresh, suitable and up2date client for Arch!
As always: Many thanks!

OJaksch commented on 2025-11-26 09:00 (UTC)

Thanks, mate! Meanwhile I'm doing the restore by "mount". Slow but working.

tommitscheck commented on 2025-11-26 08:58 (UTC)

@OJaksch I'll look into doing a bump soon, hopefully later today but in any case still this week.