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 699A869C7F
 for <pve-devel@lists.proxmox.com>; Mon,  7 Dec 2020 13:42:20 +0100 (CET)
Received: from firstgate.proxmox.com (localhost [127.0.0.1])
 by firstgate.proxmox.com (Proxmox) with ESMTP id 559C924AAD
 for <pve-devel@lists.proxmox.com>; Mon,  7 Dec 2020 13:42:20 +0100 (CET)
Received: from mail-qk1-x72c.google.com (mail-qk1-x72c.google.com
 [IPv6:2607:f8b0:4864:20::72c])
 (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 4B21F24A99
 for <pve-devel@lists.proxmox.com>; Mon,  7 Dec 2020 13:42:19 +0100 (CET)
Received: by mail-qk1-x72c.google.com with SMTP id z188so12272677qke.9
 for <pve-devel@lists.proxmox.com>; Mon, 07 Dec 2020 04:42:19 -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=t/2obz9RwWTmRbacB53STm5GG9l48jEPebOCRmFvx1c=;
 b=WHMThDlPpxDGXVRuZ96X7z3mmPbU1nagJGCeEU+HMAW9+AhfTnWk1mRDZy+CcEWE3T
 8C9xwYyp73cHqVigyDgbK9XDboF+r/8nf1QEqkx3zb0z+s3l2iBlQxOzWGxQlTpV7btd
 hHSfL3ucNG++x9PTlwl88ghMsrzUpGz9tCE40GibiLnxdA756cxv8kG7ZeGTTzHWMMY9
 B0iQwspL1QdNiude1n3i98OYH3veSLFTE7Ej0fv9RSup5USYEcUFVCu9p+zwbDEMVAxS
 afLQ1274N0Lz6K+wpzeb7RfUJQxRY1CxuSbcfjioUaNsY1TiTY3YH3ejShtuQqeCRGyT
 0xVA==
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=t/2obz9RwWTmRbacB53STm5GG9l48jEPebOCRmFvx1c=;
 b=FkkHj/KhE/Btdr9haYbyjX25GYoQaG70SE0cZxDQurESbFCew/DqdO7YXw2kj49HNA
 ihfM7OpW4yNiqKnxLJOkHXUwOZlsrtaR4s07OoYRlft57PzmnSdSfT+XWVK+UiV4kcCX
 mE6GutI8Fqx8l6feWO7XG2BbPba3gZ3tpInnlC/c452RgtsykpZtzif18iCdEamaIYqD
 FEabR38Tmk2EkkYUDLM0eIGSowwQ31D3BXQlTc4SDuwD1kKbYfKV7kixQdVWW9aQw9CC
 fQlxhHLR5TDLRO+Vzor0t4J9qTotXIufJVbwd50/4xcU6KmoeXfZLf539SlavCNoJXoc
 6hdQ==
X-Gm-Message-State: AOAM533fAKq2sYpRQ5EZYCYyN7rDlAC20L2GDvuYBuHL1FYOULdb3HNt
 JQTgtRS5UlNAZA1CcsdvLy7hhOSVDo7gSVRmqpufipOLMa8=
X-Google-Smtp-Source: ABdhPJwKUOY9tYaOOkD8fQbNk7ILphIf4Dho3uJ3/UUrY1YYUGWIneEOOlcoy2z9qVqz+pw+Ta4Xb2m4TbzxDJoZCdo=
X-Received: by 2002:a05:620a:8d0:: with SMTP id
 z16mr24668908qkz.492.1607344931577; 
 Mon, 07 Dec 2020 04:42:11 -0800 (PST)
MIME-Version: 1.0
References: <CAJ-Uffn1eVivrsxHxVJJjoUp-gJue0BHZ9coYACTssQBaoK+vQ@mail.gmail.com>
 <CAJ-Uffk_gWE9yqFQBn8WzRKf93hu_GtHoraoBj_gLDQNLKTqSw@mail.gmail.com>
 <1607327433.kteohg3dea.astroid@nora.none>
In-Reply-To: <1607327433.kteohg3dea.astroid@nora.none>
From: =?UTF-8?Q?Kamil_Trzci=C5=84ski?= <ayufan@ayufan.eu>
Date: Mon, 7 Dec 2020 13:42:00 +0100
Message-ID: <CAJ-UffmsnNEn57M1rGYco5Dqsrwa1GzAW6z=b_ZWbFje-sjphw@mail.gmail.com>
To: Proxmox VE development discussion <pve-devel@lists.proxmox.com>
X-SPAM-LEVEL: Spam detection results:  0
 AWL -0.100 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
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: Mon, 07 Dec 2020 12:42:20 -0000

Thank you Fabian :)

I was looking for just that.

I was able to remove `.cargo/config` and use `crates.io` to compile
packages. I will post more results once it is done, but I got it rebuild at
least on amd64,
and waiting for arm64 to finish.

Kamil

On Mon, Dec 7, 2020 at 8:54 AM Fabian Gr=C3=BCnbichler <
f.gruenbichler@proxmox.com> wrote:

> 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?
> >
> > 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
>
>
> https://git.proxmox.com/?p=3Ddebcargo-conf.git;a=3Dtree;f=3Dsrc/debcargo/=
debian/patches;h=3D7345cadea4cbffc3174c04e34960e91767892100;hb=3Drefs/heads=
/proxmox/buster
>
> all of the toolchain backports are published as well on
> git.proxmox.com.. if you want to re-compile all of our devel repo for
> arm64, I suggest familiarizing yourself with debcargo and the
> 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> =
wrote:
> >
> >> ARM64 is becoming increasingly popular, especially that PBS seems at
> least
> >> 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
> >>
> >>
> >>
> > _______________________________________________
> > pve-devel mailing list
> > pve-devel@lists.proxmox.com
> > https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
> >
>
>
> _______________________________________________
> pve-devel mailing list
> pve-devel@lists.proxmox.com
> https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
>