Hello,
since the thread patch that adresses this https://forum.proxmox.com/threads/low-zfs-read-performance-disk-tape.139494/ still didn't make it upstream I am forced to maintain my own patched Version of PBS, so I have to build my own debian packages. I usually take a clean bookworm vm for this and follow this: https://git.proxmox.com/?p=proxmox-backup.git;a=blob_plain;f=README.rst;hb=HEAD
Still I have to manually adjust some things because the patch at https://lists.proxmox.com/pipermail/pbs-devel/2024-April/009162.html doesn't apply cleanly anymore. However, when trying to "make deb" I get:
Can somebody help me out? I am not a pro when it comes to rust and it's toolchains.
since the thread patch that adresses this https://forum.proxmox.com/threads/low-zfs-read-performance-disk-tape.139494/ still didn't make it upstream I am forced to maintain my own patched Version of PBS, so I have to build my own debian packages. I usually take a clean bookworm vm for this and follow this: https://git.proxmox.com/?p=proxmox-backup.git;a=blob_plain;f=README.rst;hb=HEAD
Still I have to manually adjust some things because the patch at https://lists.proxmox.com/pipermail/pbs-devel/2024-April/009162.html doesn't apply cleanly anymore. However, when trying to "make deb" I get:
Code:
root@promox-build:~/proxmox-backup# make deb
rm -rf build
mkdir build
git rev-parse HEAD > build/.repoid
cp -a debian \
Cargo.toml src \
pbs-api-types pbs-buildcfg pbs-client pbs-datastore pbs-config pbs-key-config pbs-tools pbs-fuse-loop pbs-pxar-fuse pbs-tape proxmox-backup-banner proxmox-backup-client proxmox-file-restore proxmox-restore-daemon pxar-bin \
docs etc examples tests www zsh-completions templates \
defines.mk Makefile \
./build/
rm -f build/Cargo.lock
find build/debian -name "*.hint" -delete
make -C build/etc clean ; make -C build/www clean ; make -C build/docs clean ; make -C build/templates clean ;
make[1]: Entering directory '/root/proxmox-backup/build/etc'
rm -f proxmox-backup-banner.service proxmox-backup-daily-update.service proxmox-backup.service proxmox-backup-proxy.service
make[1]: Leaving directory '/root/proxmox-backup/build/etc'
make[1]: Entering directory '/root/proxmox-backup/build/www'
find . -name '*~' -exec rm {} ';'
rm -rf js .lint-incremental
make[1]: Leaving directory '/root/proxmox-backup/build/www'
make[1]: Entering directory '/root/proxmox-backup/build/docs'
rm -r -f *~ *.1 output config/acl/roles.rst config/datastore/config.rst config/domains/config.rst config/media-pool/config.rst config/notifications-priv/config.rst config/notifications/config.rst config/remote/config.rst config/sync/config.rst config/tape-job/config.rst config/tape/config.rst config/user/config.rst config/verification/config.rst pmt/synopsis.rst pmtx/synopsis.rst proxmox-backup-client/catalog-shell-synopsis.rst proxmox-backup-client/synopsis.rst proxmox-backup-debug/synopsis.rst proxmox-backup-manager/synopsis.rst proxmox-file-restore/synopsis.rst proxmox-tape/synopsis.rst pxar/synopsis.rst api-viewer/apidata.js
rm -f api-viewer/apidoc.js lto-barcode/lto-barcode-generator.js prune-simulator/prune-simulator.js
make[1]: Leaving directory '/root/proxmox-backup/build/docs'
make[1]: Entering directory '/root/proxmox-backup/build/templates'
make[1]: Nothing to be done for 'clean'.
make[1]: Leaving directory '/root/proxmox-backup/build/templates'
cd build; dpkg-buildpackage -b -us -uc
dpkg-buildpackage: info: source package rust-proxmox-backup
dpkg-buildpackage: info: source version 3.3.2-1
dpkg-buildpackage: info: source distribution bookworm
dpkg-buildpackage: info: source changed by Proxmox Support Team <support@proxmox.com>
dpkg-buildpackage: info: host architecture amd64
dpkg-source --before-build .
dpkg-checkbuilddeps: error: Unmet build dependencies: librust-proxmox-schema-3+api-macro-dev librust-proxmox-schema-3+default-dev
dpkg-buildpackage: warning: build dependencies/conflicts unsatisfied; aborting
dpkg-buildpackage: warning: (Use -d flag to override.)
make: *** [Makefile:123: deb] Error 3
Can somebody help me out? I am not a pro when it comes to rust and it's toolchains.
Last edited: