From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <ayufan@ayufan.eu>
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 EBB57695F5
 for <pve-devel@lists.proxmox.com>; Sun,  6 Dec 2020 20:41:21 +0100 (CET)
Received: from firstgate.proxmox.com (localhost [127.0.0.1])
 by firstgate.proxmox.com (Proxmox) with ESMTP id DBF511D00F
 for <pve-devel@lists.proxmox.com>; Sun,  6 Dec 2020 20:41:21 +0100 (CET)
Received: from mail-qv1-xf34.google.com (mail-qv1-xf34.google.com
 [IPv6:2607:f8b0:4864:20::f34])
 (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 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 0738F1CFFA
 for <pve-devel@lists.proxmox.com>; Sun,  6 Dec 2020 20:41:21 +0100 (CET)
Received: by mail-qv1-xf34.google.com with SMTP id q7so5522848qvt.12
 for <pve-devel@lists.proxmox.com>; Sun, 06 Dec 2020 11:41:20 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=ayufan-eu.20150623.gappssmtp.com; s=20150623;
 h=mime-version:references:in-reply-to:from:date:message-id:subject:to;
 bh=UyU9VyAKs0U2ZcBjT1U+UhtDKVCiPfAqtZw5oc7xBSk=;
 b=ripVKQnSMgyiKljjkwYUXaOSdXwsKRhtkAfsFTJ6BZIzchOZ6L77W6WEKxOCua/Swo
 1r+FYNqZ6MM9XarwvR3UijsgA6v5KFgpsSXqsEiWU6j24m2qqOfyQEm1/zbdQeNngNAB
 06Ik/r36Zn8aTIdn/H3FwjxV09RE6yxXmEIqYneBnvGAJo1/33oNd7Wa/2anidf4EwoP
 c5ji9Gi2IEeHlOBoorCDOOmDqepCQgH1EB9SbIXxWvaAFusJZXJDWv8viCEU1WyhTJtx
 DXcVwobzC0RG0L4eC8jica3XpvseVUxlhdy6k158F/sL6+EJjbFzdUL7wt8rCwAltS0O
 m4mw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:references:in-reply-to:from:date
 :message-id:subject:to;
 bh=UyU9VyAKs0U2ZcBjT1U+UhtDKVCiPfAqtZw5oc7xBSk=;
 b=fHO3wLZJ74OHRpVd6byb8ZL002f6X2Fn0GrzMbxxzayO4l3ybAYG6WWewfwhkEGi7x
 eCk8ORoI4mx+jv62vdT99Nri+lH6+97dm8gr/cLTa4mRc8qyVjN3nqhqL2zDiBTyKPxM
 UXfVXxI9Otipef6ngAA/klcNRUZl68zn6culx2I0lc6h2zOi/UiUXHEr/Cefq1Cd6clt
 86ieNsYGyQZRyJoZ8oqU9B+jpPpFwwV4HjQfsCvewh8iHyxTwNan/ZTiRDzP5XolPgnC
 6giXGcGwsMmX7LLQIOO33TNXO4TLr2FsTEtM9piKYZ/gMUFq4y3M7VH5hQwL7r5qxnW4
 gJLA==
X-Gm-Message-State: AOAM530NJ1ShdD9xECbmCoe/n5BOXmTa2eRwXXVVeNXscSuHM7+B+Lb6
 bKMs/IVqufNEPQKQjOHm/eCNyg3eT0kgbDWripgBMiPCmbWJXQ==
X-Google-Smtp-Source: ABdhPJwwuwidW2zFiMuyK713aBWbuNLtM0hkF+phzcwFRRWT4otyW6Cw0sjr2UUA6IO6j4X/peOmES/Q+l0leRzju5c=
X-Received: by 2002:ad4:5886:: with SMTP id dz6mr17724822qvb.10.1607283673231; 
 Sun, 06 Dec 2020 11:41:13 -0800 (PST)
MIME-Version: 1.0
References: <CAJ-Uffn1eVivrsxHxVJJjoUp-gJue0BHZ9coYACTssQBaoK+vQ@mail.gmail.com>
In-Reply-To: <CAJ-Uffn1eVivrsxHxVJJjoUp-gJue0BHZ9coYACTssQBaoK+vQ@mail.gmail.com>
From: =?UTF-8?Q?Kamil_Trzci=C5=84ski?= <ayufan@ayufan.eu>
Date: Sun, 6 Dec 2020 20:41:02 +0100
Message-ID: <CAJ-Uffk_gWE9yqFQBn8WzRKf93hu_GtHoraoBj_gLDQNLKTqSw@mail.gmail.com>
To: pve-devel@lists.proxmox.com
X-SPAM-LEVEL: Spam detection results:  0
 AWL -0.125 Adjusted score from AWL reputation of From: address
 DKIM_SIGNED               0.1 Message has a DKIM or DK signature,
 not necessarily valid
 DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature
 HTML_MESSAGE            0.001 HTML included in message
 KAM_NUMSUBJECT 0.5 Subject ends in numbers excluding current years
 RCVD_IN_DNSWL_NONE     -0.0001 Sender listed at https://www.dnswl.org/,
 no trust
 SPF_HELO_NONE           0.001 SPF: HELO does not publish an SPF Record
 SPF_NONE                0.001 SPF: sender does not publish an SPF Record
 URIBL_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to URIBL was blocked. See
 http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more
 information. [crates.io]
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Content-Filtered-By: Mailman/MimeDel 2.1.29
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: Sun, 06 Dec 2020 19:41:22 -0000

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?

rust-debcargo (2.4.2-pve1) proxmox-rust; urgency=3Dmedium

  * allow overriding maintainer via debcargo.toml
  * implement local crate support.patch

 -- Proxmox Support Team <support@proxmox.com>  Tue, 14 Jan 2020 16:13:48
+0100


On Fri, Dec 4, 2020 at 4:21 PM Kamil Trzci=C5=84ski <ayufan@ayufan.eu> wrot=
e:

> ARM64 is becoming increasingly popular, especially that PBS seems at leas=
t
> 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 kind
> of CI scripts that would do this heavy lifting?
>
> Kamil Trzci=C5=84ski
>
>
>