Package Details: proxmox-backup-client 3.3.2-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: 20
Popularity: 0.96
First Submitted: 2020-07-15 08:23 (UTC)
Last Updated: 2025-01-21 11:26 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 Next › Last »

BuzzKillingtonne commented on 2021-03-28 17:40 (UTC)

@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 (UTC) (edited on 2021-03-28 17:05 (UTC) by tommitscheck)

@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 (UTC) (edited on 2021-03-28 17:05 (UTC) by BuzzKillingtonne)

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 (UTC)

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 (UTC)

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 (UTC)

Thanks for keeping this up to date! :-*

cebner commented on 2020-11-11 16:58 (UTC)

Version 1.0 is out, super nice! Congratulations to the Proxmox developers for this nice work!

uffsalot commented on 2020-11-05 11:59 (UTC)

Any updates on this? Currently 0.9.5-1 is out.

OJaksch commented on 2020-09-06 11:21 (UTC)

@cebner Great catchup, that works and I can build it as normal. Many thanks!

cebner commented on 2020-09-06 10:40 (UTC)

@OJaksch this might be related to a known issue in rustc https://github.com/rust-lang/rust/issues/54540 and seems to occur more frequently with rustc 1.46.0.

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