Unable to setup build env for backup client

do you have our "devel" repository configured?
 
do you have our "devel" repository configured?
I followed: https://git.proxmox.com/?p=proxmox-...6f3c20391c7a9241a4d0e477c6c04ce834566;hb=HEAD


Code:
Setup:
1. # echo 'deb http://download.proxmox.com/debian/devel/ bookworm main' | sudo tee /etc/apt/sources.list.d/proxmox-devel.list
2. # sudo wget https://enterprise.proxmox.com/debian/proxmox-release-bookworm.gpg -O /etc/apt/trusted.gpg.d/proxmox-release-bookworm.gpg
3. # sudo apt update
4. # sudo apt install devscripts debcargo clang
5. # git clone git://git.proxmox.com/git/proxmox-backup.git
6. # cd proxmox-backup; sudo mk-build-deps -ir

Step 6 fails
 
please post "apt-cache policy" and "apt show librust-proxmox-metrics-dev" output
 
Code:
apt-cache policy
Package files:
 100 /var/lib/dpkg/status
     release a=now
 500 http://download.proxmox.com/debian/devel bookworm/main amd64 Packages
     release o=Proxmox,a=stable,n=bookworm,l=Proxmox Development Debian Repository,c=main,b=amd64
     origin download.proxmox.com
 500 http://security.debian.org bookworm-security/contrib amd64 Packages
     release v=12,o=Debian,a=stable-security,n=bookworm-security,l=Debian-Security,c=contrib,b=amd64
     origin security.debian.org
 500 http://security.debian.org bookworm-security/main amd64 Packages
     release v=12,o=Debian,a=stable-security,n=bookworm-security,l=Debian-Security,c=main,b=amd64
     origin security.debian.org
 500 http://deb.debian.org/debian bookworm-updates/contrib amd64 Packages
     release v=12-updates,o=Debian,a=stable-updates,n=bookworm-updates,l=Debian,c=contrib,b=amd64
     origin deb.debian.org
 500 http://deb.debian.org/debian bookworm-updates/main amd64 Packages
     release v=12-updates,o=Debian,a=stable-updates,n=bookworm-updates,l=Debian,c=main,b=amd64
     origin deb.debian.org
 500 http://deb.debian.org/debian bookworm/contrib amd64 Packages
     release v=12.5,o=Debian,a=stable,n=bookworm,l=Debian,c=contrib,b=amd64
     origin deb.debian.org
 500 http://deb.debian.org/debian bookworm/main amd64 Packages
     release v=12.5,o=Debian,a=stable,n=bookworm,l=Debian,c=main,b=amd64
     origin deb.debian.org
Pinned packages:



Code:
apt show librust-proxmox-metrics-dev
Package: librust-proxmox-metrics-dev
Version: 0.3.0-1
Priority: optional
Section: rust
Source: rust-proxmox-metrics
Maintainer: Proxmox Support Team <support@proxmox.com>
Installed-Size: 31.7 kB
Provides: librust-proxmox-metrics+default-dev (= 0.3.0-1), librust-proxmox-metrics-0+default-dev (= 0.3.0-1), librust-proxmox-metrics-0-dev (= 0.3.0-1), librust-proxmox-metrics-0.3+default-dev (= 0.3.0-1), librust-proxmox-metrics-0.3-dev (= 0.3.0-1), librust-proxmox-metrics-0.3.0+default-dev (= 0.3.0-1), librust-proxmox-metrics-0.3.0-dev (= 0.3.0-1)
Depends: librust-anyhow-1+default-dev, librust-futures-0.3+default-dev, librust-http-0.2+default-dev, librust-hyper-0.14+default-dev (>= 0.14.5-~~), librust-openssl-0.10+default-dev, librust-proxmox-async-0.4+default-dev (>= 0.4.1-~~), librust-proxmox-http-0.9+client-dev, librust-proxmox-http-0.9+default-dev, librust-serde-1+default-dev, librust-serde-json-1+default-dev, librust-tokio-1+default-dev (>= 1.6-~~), librust-tokio-1+net-dev (>= 1.6-~~), librust-tokio-1+sync-dev (>= 1.6-~~)
Download-Size: 6528 B
APT-Sources: http://download.proxmox.com/debian/devel bookworm/main amd64 Packages
Description: Metrics Server export utilitites - Rust source code
 This package contains the source for the Rust proxmox-metrics crate, packaged
 by debcargo for use with cargo and dh-cargo.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!