Package Details: proxmox-backup-client 1.1.10-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://www.proxmox.com
Keywords: backup pbs proxmox pve rust
Licenses: AGPL3
Submitter: flumm
Maintainer: flumm (tommitscheck)
Last Packager: tommitscheck
Votes: 13
Popularity: 1.91
First Submitted: 2020-07-15 08:23
Last Updated: 2021-06-16 16:22

Latest Comments

1 2 Next › Last »

storbake commented on 2021-07-21 00:12

Would like to say thanks for creating this package! I'm using it to backup a physical machine as a full image to a PBS server and it works great.

OJaksch commented on 2021-03-29 08:45

@tommitscheck Great! Can confirm that it's compiling with Rust 1.51.0 now. No more jumping between Rust versions. YMMD!

tommitscheck commented on 2021-03-29 08:18

@OJaksch, FYI: we build our own rust and LLVM toolchain, so we're not relying on Debian's version here (currently 1.48 is used by us)

And this was actually not a compiler fault but rather an update in a transitive dependency (http-body 0.4.1) which added a new map_err to their type, causing an ambiguity rust could not resolve automatically here.

Now fixed by telling rust which type's map_err method we actually want here.

OJaksch commented on 2021-03-28 18:10

@BuzzKillingtonne Have a look to my question from 2020/09 and to it's according answer:

As a workaround, for now you can build with a previous version of rustc e.g. rustc 1.45.2.

rustup toolchain install 1.45.2 rustup default 1.45.2

and when done you can go back to the stable toolchain

rustup default stable

That way I was allowed to create this package. If I remember correctly Debian is still using this "old" rust toolchain and therefore it seems to be required to build this package.

BuzzKillingtonne commented on 2021-03-28 17:40

@tommitscheck I just tried it on 1.50.0-1 and 1.50.0-2 and I get the same error when compiling.

tommitscheck commented on 2021-03-28 17:05

@BuzzKillingtonne can you try to downgrade rust to 1.50? As that was the Rust version I used when updating to 1.0.11 and it worked fine here.

We'll investigate this for 1.51, I can reproduce it...

BuzzKillingtonne commented on 2021-03-28 16:56

Since the latest version 1.0.11-1 I've not been able to compile, I've tried this on two different computers.

Compiling proxmox-backup v1.0.11 (/home/user/.cache/yay/proxmox-backup-client/src/proxmox-backup-client-1.0.11)
error[E0034]: multiple applicable items in scope
   --> src/server/rest.rs:310:10
    |
310 |         .map_err(|err| http_err!(BAD_REQUEST, "Promlems reading request body: {}", err))
    |          ^^^^^^^ multiple `map_err` found
    |
    = note: candidate #1 is defined in an impl of the trait `HttpBody` for the type `Body`
    = note: candidate #2 is defined in an impl of the trait `futures::TryFutureExt` for the type `Fut`
    = note: candidate #3 is defined in an impl of the trait `futures::TryStreamExt` for the type `S`
help: disambiguate the associated function for candidate #1
    |
309 |     let body = HttpBody::map_err(req_body, |err| http_err!(BAD_REQUEST, "Promlems reading request body: {}", err))
    |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
help: disambiguate the associated function for candidate #2
    |
309 |     let body = futures::TryFutureExt::map_err(req_body, |err| http_err!(BAD_REQUEST, "Promlems reading request body: {}", err))
    |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
help: disambiguate the associated function for candidate #3
    |
309 |     let body = futures::TryStreamExt::map_err(req_body, |err| http_err!(BAD_REQUEST, "Promlems reading request body: {}", err))
    |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error[E0277]: the size for values of type `[u8]` cannot be known at compilation time
   --> src/server/rest.rs:309:9
    |
309 |     let body = req_body
    |         ^^^^ doesn't have a size known at compile-time
    |
    = help: the trait `Sized` is not implemented for `[u8]`
    = note: all local variables must have a statically known size
    = help: unsized locals are gated as an unstable feature

error[E0277]: the size for values of type `[u8]` cannot be known at compilation time
   --> src/server/rest.rs:309:16
    |
309 |       let body = req_body
    |  ________________^
310 | |         .map_err(|err| http_err!(BAD_REQUEST, "Promlems reading request body: {}", err))
311 | |         .try_fold(Vec::new(), |mut acc, chunk| async move {
312 | |             if acc.len() + chunk.len() < 64*1024 { //fimxe: max request body size?
...   |
317 | |             }
318 | |         }).await?;
    | |_________________^ doesn't have a size known at compile-time
    |
    = help: the trait `Sized` is not implemented for `[u8]`
    = note: all local variables must have a statically known size
    = help: unsized locals are gated as an unstable feature

error[E0277]: the size for values of type `[u8]` cannot be known at compilation time
   --> src/server/rest.rs:318:17
    |
318 |         }).await?;
    |                 ^ doesn't have a size known at compile-time
    |
    = help: the trait `Sized` is not implemented for `[u8]`
    = note: required by `anyhow::private::Err`

error: aborting due to 4 previous errors

Some errors have detailed explanations: E0034, E0277.
For more information about an error, try `rustc --explain E0034`.
error: could not compile `proxmox-backup`

To learn more, run the command again with --verbose.
==> ERROR: A failure occurred in build().
    Aborting...
error making: proxmox-backup-client

OJaksch commented on 2021-03-18 15:30

Potzblitz! I know that we're living at the Bleeding Edge with our Arch, but I didn't know that we're in a future time, as their original Debian repo is still at v1.09 (pbs) and v1.10 (pve). Cheeers!

tylerlm commented on 2021-03-18 10:41

Build fails in a chroot because PKGBUILD is missing 'systemd' in makedepends.

Please can we add it? (And also, I agree, thanks for keeping this up-to-date!)

OJaksch commented on 2020-11-26 15:07

Thanks for keeping this up to date! :-*