Package Details: proxmox-backup-client 3.2.2-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.084686
First Submitted: 2020-07-15 08:23 (UTC)
Last Updated: 2024-04-25 15:58 (UTC)

Latest Comments

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

youduda commented on 2022-12-23 00:44 (UTC)

Compilation fails in a clean chroot environment due to some linking error to zlib. Any ideas why it does not include zlib into the library list to link against since the last release?

error: linking with `cc` failed: exit status: 1

  = note: "cc" "-m64" "/tmp/rustc26zrXC/symbols.o" <...> "-Wl,--as-needed" "-L" "/build/proxmox-backup-client/src/proxmox-backup-client-2.3.1/target/release/deps" "-L" "/build/proxmox-backup-client/src/proxmox-backup-client-2.3.1/target/release/build/zstd-sys-b2ef5dda1d4a1671/out" "-L" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" <...> "/build/proxmox-backup-client/src/proxmox-backup-client-2.3.1/target/release/deps/libzstd-16a1f189c0640886.rlib" "/build/proxmox-backup-client/src/proxmox-backup-client-2.3.1/target/release/deps/libzstd_safe-4e6073ce20f02f26.rlib" "/build/proxmox-backup-client/src/proxmox-backup-client-2.3.1/target/release/deps/libzstd_sys-4854b148300e0a6c.rlib" <...> "-Wl,-Bdynamic" "-lfuse3" "-lssl" "-lcrypto" "-luuid" "-lcrypt" "-lacl" "-lrt" "-lc" "-lcrypto" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/build/proxmox-backup-client/src/proxmox-backup-client-2.3.1/target/release/deps/proxmox_backup_client-fd811c9f5f811bc2" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro,-znow" "-Wl,-O1" "-nodefaultlibs"
  = note: /usr/bin/ld: /build/proxmox-backup-client/src/proxmox-backup-client-2.3.1/target/release/deps/libzstd_safe-4e6073ce20f02f26.rlib(zstd_safe-4e6073ce20f02f26.zstd_safe.ac06af16-cgu.6.rcgu.o): in function `zstd_safe::compress_bound':
          zstd_safe.ac06af16-cgu.6:(.text._ZN9zstd_safe14compress_bound17hadae7f4e8f96b03bE+0x2): undefined reference to `ZSTD_compressBound'
          /usr/bin/ld: /build/proxmox-backup-client/src/proxmox-backup-client-2.3.1/target/release/deps/libzstd_safe-4e6073ce20f02f26.rlib(zstd_safe-4e6073ce20f02f26.zstd_safe.ac06af16-cgu.6.rcgu.o): in function `<zstd_safe::CCtx as core::default::Default>::default':
          <...>
          zstd_safe.ac06af16-cgu.6:(.text._ZN9zstd_safe19compress_using_dict17h3457076a503708c1E+0xf): undefined reference to `ZSTD_compress_usingDict'
          /usr/bin/ld: zstd_safe.ac06af16-cgu.6:(.text._ZN9zstd_safe19compress_using_dict17h3457076a503708c1E+0x1f): undefined reference to `ZSTD_isError'
          /usr/bin/ld: /build/proxmox-backup-client/src/proxmox-backup-client-2.3.1/target/release/deps/libzstd_safe-4e6073ce20f02f26.rlib(zstd_safe-4e6073ce20f02f26.zstd_safe.ac06af16-cgu.6.rcgu.o): in function `zstd_safe::dstream_in_size':
          zstd_safe.ac06af16-cgu.6:(.text._ZN9zstd_safe15dstream_in_size17h922f3cdb6ebb6fcdE+0x2): undefined reference to `ZSTD_DStreamInSize'
          collect2: error: ld returned 1 exit status

flumm commented on 2022-12-01 10:10 (UTC)

we updated the package again, and it works (tested on a fresh minimal arch install with only installing base-devel, git and the deps listed in makepkg that were missing)

the missing libssl.so error is probably only an issue when the package is not rebuilt (but i think that's a general issue with aur packages that link against libraries)

<deleted-account> commented on 2022-11-07 13:32 (UTC)

After the latest update of the openssl package, I'm getting the following error:

/usr/bin/proxmox-backup-client: error while loading shared libraries: libssl.so.1.1: cannot open shared object file: No such file or directory

Looks, like the openssl package dropped the dependency openssl-1.1 in this commit: https://github.com/archlinux/svntogit-packages/commit/beacb20de03d3412ea721b98ce42e009b2efdd37

I fixed it for me by installing openssl-1.1 but this might be solvable by recompiling the package as well.

tommitscheck commented on 2022-10-23 09:33 (UTC)

@knieselpriem:

Caused by: Read-only file system (os error 30)

Your (build) filesystem is read only, so cargo cannot download any dependencies, iow. seems unrelated to this package...

knieselpriem commented on 2022-10-23 09:22 (UTC) (edited on 2022-10-23 09:24 (UTC) by knieselpriem)

failed to get `anyhow` as a dependency of package `pbs-client v0.1.0` on x86-64 (6.0.2-2-MANJARO) with command pamac install proxmox-backup-client

applying patch '0001-re-route-dependencies-not-available-on-crates.io-to-.patch'
patching file Cargo.toml
warning: /var/cache/private/pamac/proxmox-backup-client/src/proxmox-backup-client-2.2.1/Cargo.toml: unused manifest key: workspace.pbs-api-types
warning: /var/cache/private/pamac/proxmox-backup-client/src/proxmox-backup-client-2.2.1/Cargo.toml: unused manifest key: workspace.pbs-buildcfg
warning: /var/cache/private/pamac/proxmox-backup-client/src/proxmox-backup-client-2.2.1/Cargo.toml: unused manifest key: workspace.pbs-client
warning: /var/cache/private/pamac/proxmox-backup-client/src/proxmox-backup-client-2.2.1/Cargo.toml: unused manifest key: workspace.pbs-config
warning: /var/cache/private/pamac/proxmox-backup-client/src/proxmox-backup-client-2.2.1/Cargo.toml: unused manifest key: workspace.pbs-datastore
warning: /var/cache/private/pamac/proxmox-backup-client/src/proxmox-backup-client-2.2.1/Cargo.toml: unused manifest key: workspace.pbs-tape
warning: /var/cache/private/pamac/proxmox-backup-client/src/proxmox-backup-client-2.2.1/Cargo.toml: unused manifest key: workspace.pbs-tools
warning: /var/cache/private/pamac/proxmox-backup-client/src/proxmox-backup-client-2.2.1/Cargo.toml: unused manifest key: workspace.proxmox-rest-server
warning: /var/cache/private/pamac/proxmox-backup-client/src/proxmox-backup-client-2.2.1/Cargo.toml: unused manifest key: workspace.proxmox-rrd
error: failed to get `anyhow` as a dependency of package `pbs-client v0.1.0 (/var/cache/private/pamac/proxmox-backup-client/src/proxmox-backup-client-2.2.1/pbs-client)`

Caused by:
failed to load source for dependency `anyhow`

Caused by:
Unable to update registry `crates-io`

Caused by:
failed to create directory `/.cargo/registry/index/github.com-1ecc6299db9ec823`

Caused by:
Read-only file system (os error 30)

How can I avoid this?

DanSman commented on 2022-02-14 19:30 (UTC)

@flumm

Thank you for pointing this out. I thought I already have it.

flumm commented on 2022-02-13 19:32 (UTC)

@DanSman

You should install the base-devel group as written here: https://wiki.archlinux.org/title/Arch_User_Repository#Prerequisites

That should contain both patch and pkg-config

DanSman commented on 2022-02-13 19:16 (UTC)

proxmox-backup-client/PKGBUILD: line 40: patch: command not found on aarch64 device.

And

  It looks like you're compiling on Linux and also targeting Linux. Currently this
  requires the `pkg-config` utility to find OpenSSL but unfortunately `pkg-config`
  could not be found. If you have OpenSSL installed you can likely fix this by
  installing `pkg-config`.

So https://archlinux.org/packages/core/x86_64/patch/ and https://archlinux.org/packages/core/x86_64/pkgconf/ seems to be missing.

BuzzKillingtonne commented on 2021-12-12 21:57 (UTC)

Thanks for all your hard work!

tommitscheck commented on 2021-12-12 12:35 (UTC) (edited on 2021-12-12 13:23 (UTC) by tommitscheck)

The issue is actually not the compiler at all, its a newer anyhow crate version than Proxmox uses that gets pulled in on Arch.

The anyhow version 1.0.49 adds a Ok fn helper which gets imported by accident on a few places and trips then up resolving the tuple variant from the implicit imported core::result::Result::Ok

You can override anyhow to stick at 1.0.48 or wait until the anyhow imports gets fixed up in the Proxmox Backup code, that shouldn't take too long.

EDIT: Ok, was only three imports in proxmox helper crates, so I patch those for now here in the package.