cookbook for building proxmox-backup-client on CentOS/RHEL 7

seba45

Renowned Member
Feb 17, 2012
9
13
68
Hello,

On Centos 7 when i run "bash ./pbs.build.sh" I get the following error

Updating git repository `git://git.proxmox.com/git/pxar.git`
error: failed to sync

Caused by:
failed to load pkg lockfile

Caused by:
failed to select a version for the requirement `pxar = "^0.6.1"`
candidate versions found which didn't match: 0.7.0
location searched: Git repository git://git.proxmox.com/git/pxar.git
required by package `proxmox-backup v1.0.6 (/opt/proxmox-backup-client/proxmox-backup)`
error: failed to get `pathpatterns` as a dependency of package `proxmox-backup v1.0.6 (/opt/proxmox-backup-client/proxmox-backup)`



Do you have any idea?

Thank you
 
Hello,

On Centos 7 when i run "bash ./pbs.build.sh" I get the following error

Updating git repository `git://git.proxmox.com/git/pxar.git`
error: failed to sync

Caused by:
failed to load pkg lockfile

Caused by:
failed to select a version for the requirement `pxar = "^0.6.1"`
candidate versions found which didn't match: 0.7.0
location searched: Git repository git://git.proxmox.com/git/pxar.git
required by package `proxmox-backup v1.0.6 (/opt/proxmox-backup-client/proxmox-backup)`
error: failed to get `pathpatterns` as a dependency of package `proxmox-backup v1.0.6 (/opt/proxmox-backup-client/proxmox-backup)`



Do you have any idea?

Thank you
I got the same issue on Centos7. However, it works on another Centos7 machine with the same OS version.
 
Hi,
I have prepared a cookbook for building the proxmox-backup-client for CentOS 7.

it's available from https://github.com/sg4r/proxmox-backup-client

I'm looking for information to create an rpm package for ease of deployment.

thanks for other patch and commit

https://forum.proxmox.com/threads/building-proxmox-backup-client-on-centos-rhel-7.74292/

https://aur.archlinux.org/packages/proxmox-backup-client/

Regards,
Sébastien - IT Systems Engineer
Hi Sébastien

Will you update your rpm package release v1.0.11 to a release 2.x.x.x
Thank you very much
Michael
 
Nice work Thomas!

Seems the Cargo.toml file changed a bit between 2.3.1 and 2.3.3, sections updated a bit for deps/workspace.dependencies etc.
Are you still updating your repo?
 
Thanks and thanks for the hint, there have been some changes indeed.

I've just updated the repo to proxmox-backup-client version 2.3.3.
Would be great if you can add a SHA-256 checksum file for your RPMs to confirm download integrity.