all lists on lists.proxmox.com
 help / color / mirror / Atom feed
From: Niko Fellner <n.fellner@logics.de>
To: "pbs-devel@lists.proxmox.com" <pbs-devel@lists.proxmox.com>
Subject: [pbs-devel] how to build proxmox backup >= v1.0.4
Date: Sun, 29 Nov 2020 10:26:30 +0000	[thread overview]
Message-ID: <AM0PR09MB275413F9B67A4C57E41BE9A6F2F60@AM0PR09MB2754.eurprd09.prod.outlook.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 2837 bytes --]

Hi guys,

I originally posted this at #3173, but its a dev question so I should post it here instead:

I've followed the instructions at

https://git.proxmox.com/?p=proxmox-backup.git;a=blob_plain;f=README.rst;hb=HEAD

So after a fresh Debian Buster setup I've entered the following commands:

> apt-get update && apt-get dist-upgrade -y
> apt-get install curl
> echo 'deb http://download.proxmox.com/debian/devel/ buster main' >> /etc/apt/sources.list.d/proxmox-devel.list
> wget http://download.proxmox.com/debian/proxmox-ve-release-6.x.gpg -O /etc/apt/trusted.gpg.d/proxmox-ve-release-6.x.gpg
> apt-get update
> apt-get install devscripts debcargo clang
> apt-get update && apt-get dist-upgrade -y
> git clone git://git.proxmox.com/git/proxmox-backup.git
> cd proxmox-backup/
> mk-build-deps -ir

and I get some errors on "rust-proxmox-backup-build-deps"

> mk-build-deps: Unable to install rust-proxmox-backup-build-deps at /usr/bin/mk-build-deps line 416.
> mk-build-deps: Unable to install all build-dep packages
> ... and later on ...
> 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-~~)
>  Removing rust-proxmox-backup-build-deps:amd64 because I can't find librust-proxmox-0.7+api-macro-dev:amd64


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

Anyhow, on v1.0.4 I can't use make: https://bugzilla.proxmox.com/attachment.cgi?id=660

> root@debian:~/proxmox-backup# make
> cargo build
> error: failed to select a version for the requirement `proxmox = "^0.7.2"`
>  candidate versions found which didn't match: 0.7.1
>  location searched: directory source `/usr/share/cargo/registry` (which is > replacing registry `https://github.com/rust-lang/crates.io-index`)
> required by package `proxmox-backup v1.0.4 (/root/proxmox-backup)`
> perhaps a crate was updated and forgotten to be re-vendored?
> make: *** [Makefile:125: cargo-build] Fehler 101
> root@debian:~/proxmox-backup#

In contrast to v1.0.4 and newer, when I "git checkout v1.0.3", I can "mk-build-deps" and even "make" it.

> root@debian:~# cd proxmox-backup/
> root@debian:~/proxmox-backup# git checkout v1.0.3
> root@debian:~/proxmox-backup# mk-build-deps -ir

Only a small download error occured once, but nothing serious:

> 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

> root@debian:~/proxmox-backup# mk-build-deps -ir
> # OK this time
> root@debian:~/proxmox-backup# make
> # build succeeded, 11 warnings. Build finished.

By the way, does a mailing list support attachments?

Kind regards
Niko Fellner

[-- Attachment #2: Type: text/html, Size: 8203 bytes --]

             reply	other threads:[~2020-11-29 10:26 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-29 10:26 Niko Fellner [this message]
2020-11-30 10:26 ` Fabian Grünbichler
2020-11-30 19:00 Niko Fellner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=AM0PR09MB275413F9B67A4C57E41BE9A6F2F60@AM0PR09MB2754.eurprd09.prod.outlook.com \
    --to=n.fellner@logics.de \
    --cc=pbs-devel@lists.proxmox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal