From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <f.gruenbichler@proxmox.com>
Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
 key-exchange X25519 server-signature RSA-PSS (2048 bits))
 (No client certificate requested)
 by lists.proxmox.com (Postfix) with ESMTPS id 0D88169BED
 for <pve-devel@lists.proxmox.com>; Mon,  7 Dec 2020 08:54:10 +0100 (CET)
Received: from firstgate.proxmox.com (localhost [127.0.0.1])
 by firstgate.proxmox.com (Proxmox) with ESMTP id EEF4C214CB
 for <pve-devel@lists.proxmox.com>; Mon,  7 Dec 2020 08:53:39 +0100 (CET)
Received: from proxmox-new.maurer-it.com (proxmox-new.maurer-it.com
 [212.186.127.180])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
 key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256)
 (No client certificate requested)
 by firstgate.proxmox.com (Proxmox) with ESMTPS id E3546214B5
 for <pve-devel@lists.proxmox.com>; Mon,  7 Dec 2020 08:53:38 +0100 (CET)
Received: from proxmox-new.maurer-it.com (localhost.localdomain [127.0.0.1])
 by proxmox-new.maurer-it.com (Proxmox) with ESMTP id B446044E1C
 for <pve-devel@lists.proxmox.com>; Mon,  7 Dec 2020 08:53:38 +0100 (CET)
Date: Mon, 07 Dec 2020 08:53:31 +0100
From: Fabian =?iso-8859-1?q?Gr=FCnbichler?= <f.gruenbichler@proxmox.com>
To: Proxmox VE development discussion <pve-devel@lists.proxmox.com>
References: <CAJ-Uffn1eVivrsxHxVJJjoUp-gJue0BHZ9coYACTssQBaoK+vQ@mail.gmail.com>
 <CAJ-Uffk_gWE9yqFQBn8WzRKf93hu_GtHoraoBj_gLDQNLKTqSw@mail.gmail.com>
In-Reply-To: <CAJ-Uffk_gWE9yqFQBn8WzRKf93hu_GtHoraoBj_gLDQNLKTqSw@mail.gmail.com>
MIME-Version: 1.0
User-Agent: astroid/0.15.0 (https://github.com/astroidmail/astroid)
Message-Id: <1607327433.kteohg3dea.astroid@nora.none>
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-SPAM-LEVEL: Spam detection results:  0
 AWL -0.226 Adjusted score from AWL reputation of From: address
 KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment
 KAM_NUMSUBJECT 0.5 Subject ends in numbers excluding current years
 RCVD_IN_DNSWL_MED        -2.3 Sender listed at https://www.dnswl.org/,
 medium trust
 SPF_HELO_NONE           0.001 SPF: HELO does not publish an SPF Record
 SPF_PASS               -0.001 SPF: sender matches SPF record
Subject: Re: [pve-devel] Compiling PBS on arm64
X-BeenThere: pve-devel@lists.proxmox.com
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Proxmox VE development discussion <pve-devel.lists.proxmox.com>
List-Unsubscribe: <https://lists.proxmox.com/cgi-bin/mailman/options/pve-devel>, 
 <mailto:pve-devel-request@lists.proxmox.com?subject=unsubscribe>
List-Archive: <http://lists.proxmox.com/pipermail/pve-devel/>
List-Post: <mailto:pve-devel@lists.proxmox.com>
List-Help: <mailto:pve-devel-request@lists.proxmox.com?subject=help>
List-Subscribe: <https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel>, 
 <mailto:pve-devel-request@lists.proxmox.com?subject=subscribe>
X-List-Received-Date: Mon, 07 Dec 2020 07:54:10 -0000

On December 6, 2020 8:41 pm, Kamil Trzci=C5=84ski wrote:
> I'm slightly progressing, but I stumbled across some `debcargo` problem. =
It
> appears that
> Proxmox uses their own fork of `debcargo`, which is needed in order to
> build crates
> without the usage of crates.io. Is this patch published somewhere?
>=20
> rust-debcargo (2.4.2-pve1) proxmox-rust; urgency=3Dmedium
>=20
>   * allow overriding maintainer via debcargo.toml
>   * implement local crate support.patch
>=20
>  -- Proxmox Support Team <support@proxmox.com>  Tue, 14 Jan 2020 16:13:48
> +0100

https://git.proxmox.com/?p=3Ddebcargo-conf.git;a=3Dtree;f=3Dsrc/debcargo/de=
bian/patches;h=3D7345cadea4cbffc3174c04e34960e91767892100;hb=3Drefs/heads/p=
roxmox/buster

all of the toolchain backports are published as well on=20
git.proxmox.com.. if you want to re-compile all of our devel repo for=20
arm64, I suggest familiarizing yourself with debcargo and the=20
debcargo-conf repo (especially the upstream and Proxmox readmes) ;)

> On Fri, Dec 4, 2020 at 4:21 PM Kamil Trzci=C5=84ski <ayufan@ayufan.eu> wr=
ote:
>=20
>> ARM64 is becoming increasingly popular, especially that PBS seems at lea=
st
>> for my usage-pattern to be ideal to run on my arm64 NAS. In the end
>> I want to try to be able to recompile everything for arm64 and see how
>> nicely
>> it works there.
>>
>> But first I decided to try to compile all packages for `amd64`. And I'm
>> scratching my head
>> to try to do that. This proves to be super hard due to multitude of
>> dependencies that are backported,
>> unordered, and require a very special set of commands to be executed
>> depending on a git repo
>> since PBS is rust-based.
>>
>> Do you maybe happen to have a comprehensive guide that allows you to
>> compile everything
>> from the scratch without the use of `/devel` repo, ideally with some kin=
d
>> of CI scripts that would do this heavy lifting?
>>
>> Kamil Trzci=C5=84ski
>>
>>
>>
> _______________________________________________
> pve-devel mailing list
> pve-devel@lists.proxmox.com
> https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
>=20
=