<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
font-size:11.0pt;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
span.E-MailFormatvorlage17
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 3.0cm 70.85pt 3.0cm;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="ES-MX" link="#0563C1" vlink="#954F72" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal"><span lang="DE">Hi guys,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="DE"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="DE">I originally posted this at #3173, but its a dev question so I should post it here instead:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="DE"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="DE">I've followed the instructions at <o:p></o:p></span></p>
<p class="MsoNormal"><span lang="DE"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="DE">https://git.proxmox.com/?p=proxmox-backup.git;a=blob_plain;f=README.rst;hb=HEAD
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="DE"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="DE">So after a fresh Debian Buster setup I've entered the following commands:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="DE"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="DE">> apt-get update && apt-get dist-upgrade -y<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="DE">> apt-get install curl<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="DE">> echo 'deb http://download.proxmox.com/debian/devel/ buster main' >> /etc/apt/sources.list.d/proxmox-devel.list<o:p></o:p></span></p>
<p class="MsoNormal">> wget http://download.proxmox.com/debian/proxmox-ve-release-6.x.gpg -O /etc/apt/trusted.gpg.d/proxmox-ve-release-6.x.gpg<o:p></o:p></p>
<p class="MsoNormal"><span lang="DE">> apt-get update<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="DE">> apt-get install devscripts debcargo clang<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="DE">> apt-get update && apt-get dist-upgrade -y<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="DE">> git clone git://git.proxmox.com/git/proxmox-backup.git<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="DE">> cd proxmox-backup/<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="DE">> mk-build-deps -ir<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="DE"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="DE">and I get some errors on "rust-proxmox-backup-build-deps"<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="DE"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="DE">> mk-build-deps: Unable to install rust-proxmox-backup-build-deps at /usr/bin/mk-build-deps line 416.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="DE">> mk-build-deps: Unable to install all build-dep packages<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="DE">> ... and later on ...<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="DE">> Broken rust-proxmox-backup-build-deps:amd64 Hängt ab von on librust-proxmox-0.7+api-macro-dev:amd64 < none @un H > (>= 0.7.2-~~)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="DE">> Removing rust-proxmox-backup-build-deps:amd64 because I can't find librust-proxmox-0.7+api-macro-dev:amd64<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="DE"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="DE"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="DE">Same on branch v1.0.5, but on v1.0.4 and lower it seems to work. See attached logs. https://bugzilla.proxmox.com/attachment.cgi?id=659
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="DE"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="DE">Anyhow, on v1.0.4 I can't use make: https://bugzilla.proxmox.com/attachment.cgi?id=660<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="DE"><o:p> </o:p></span></p>
<p class="MsoNormal">> root@debian:~/proxmox-backup# make<o:p></o:p></p>
<p class="MsoNormal">> cargo build <o:p></o:p></p>
<p class="MsoNormal">> error: failed to select a version for the requirement `proxmox = "^0.7.2"`<o:p></o:p></p>
<p class="MsoNormal"><span lang="DE">> candidate versions found which didn't match: 0.7.1<o:p></o:p></span></p>
<p class="MsoNormal">> location searched: directory source `/usr/share/cargo/registry` (which is > replacing registry `https://github.com/rust-lang/crates.io-index`)<o:p></o:p></p>
<p class="MsoNormal">> required by package `proxmox-backup v1.0.4 (/root/proxmox-backup)`<o:p></o:p></p>
<p class="MsoNormal"><span lang="DE">> perhaps a crate was updated and forgotten to be re-vendored?<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="DE">> make: *** [Makefile:125: cargo-build] Fehler 101<o:p></o:p></span></p>
<p class="MsoNormal">> root@debian:~/proxmox-backup#<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span lang="DE">In contrast to v1.0.4 and newer, when I "git checkout v1.0.3", I can "mk-build-deps" and even "make" it.
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="DE"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="DE">> root@debian:~# cd proxmox-backup/ <o:p></o:p></span></p>
<p class="MsoNormal"><span lang="DE">> root@debian:~/proxmox-backup# git checkout v1.0.3
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="DE">> root@debian:~/proxmox-backup# mk-build-deps -ir
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="DE"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="DE">Only a small download error occured once, but nothing serious:
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="DE"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="DE">> E: Fehlschlag beim Holen von http://download.proxmox.com/debian/devel/dists/buster/main/binary-amd64/librust-lexical-core-dev_0.6.7-1~bpo10+pve1_amd64.deb Undetermined Error
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="DE"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="DE">> root@debian:~/proxmox-backup# mk-build-deps -ir
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="DE">> # OK this time <o:p></o:p></span></p>
<p class="MsoNormal"><span lang="DE">> root@debian:~/proxmox-backup# make <o:p></o:p></span></p>
<p class="MsoNormal"><span lang="DE">> # build succeeded, 11 warnings. Build finished.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="DE"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="DE">By the way, does a mailing list support attachments?<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="DE"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="DE">Kind regards<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="DE">Niko Fellner<o:p></o:p></span></p>
</div>
</body>
</html>