public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* Re: [pve-devel] Building proxmox on riscv64 Debian Sid
@ 2023-02-21 14:32 Fabian Grünbichler
  0 siblings, 0 replies; 5+ messages in thread
From: Fabian Grünbichler @ 2023-02-21 14:32 UTC (permalink / raw)
  To: Tianyu Chen, Wolfgang Bumiller
  Cc: Proxmox VE development discussion, Zenithal

> Tianyu Chen <billchenchina2001@gmail.com> hat am 21.02.2023 13:53 CET geschrieben:
> On Tue, Feb 21, 2023 at 12:14:04PM +0100, Wolfgang Bumiller wrote:
> 
> > You can build from that, or, since they're actually source-only
> > packages, you could fixup the architecture on the deb files from our
> > bullseye repo directly (dpkg-deb --extract, sed, dpkg-deb --build) and
> > use it that way ;-)
> 
> Haha dpkg-deb --extract is a nice trick! I've done it before for some
> packages. debcargo use `Architecture: any` for librust-*-dev files but I
> believe they could be installed for `all`.

there's actually a reason for that - having librust-*-dev as arch:any is required for cross-compiling/multi-arch support (not something we do (yet) in Proxmox, but relevant for Debian), where arch:all would pull in non-rust transitive build dependencies from the wrong arch.




^ permalink raw reply	[flat|nested] 5+ messages in thread
* Re: [pve-devel] Building proxmox on riscv64 Debian Sid
@ 2023-02-27  7:36 Fabian Grünbichler
  0 siblings, 0 replies; 5+ messages in thread
From: Fabian Grünbichler @ 2023-02-27  7:36 UTC (permalink / raw)
  To: Tianyu Chen; +Cc: Proxmox VE development discussion, Zenithal

> Tianyu Chen <billchenchina2001@gmail.com> hat am 25.02.2023 13:13 CET geschrieben:
> 
>  
> Hi Fabian,
> 
> On Tue, Feb 21, 2023 at 12:19:39PM +0100, Fabian Grünbichler wrote:
> > 1. our git repositories are hosted on git.proxmox.com (the Github org is just an unofficial mirror)
> 
> I'm curious where is proxmox-rs hosted? I'm afraid i cannot find it on
> git.proxmox.com.

https://git.proxmox.com/?p=proxmox.git;a=tree (seems the GH mirror is out of sync?)




^ permalink raw reply	[flat|nested] 5+ messages in thread
* Re: [pve-devel] Building proxmox on riscv64 Debian Sid
@ 2023-02-21 14:37 Fabian Grünbichler
  0 siblings, 0 replies; 5+ messages in thread
From: Fabian Grünbichler @ 2023-02-21 14:37 UTC (permalink / raw)
  To: Tianyu Chen; +Cc: Proxmox VE development discussion, Zenithal

> Tianyu Chen <billchenchina2001@gmail.com> hat am 21.02.2023 14:11 CET geschrieben:
> On Tue, Feb 21, 2023 at 12:19:39PM +0100, Fabian Grünbichler wrote:
> > unless you have very little time left to wait before proceeding, you will likely have considerable less work (other than rebuilding packages for riscv64) if you wait for our bookworm-targeting branches/repos to become available.
> 
> As previous e-mail, I'm wondering when will the bookworm tree be
> available?

the usual answer is "when it's done" ;) we don't want to fork too early, as that increases the amount of work we have to do. I'll try to remember to ping this thread once our bookworm packages are available as preview.

but like Wolfgang said - there are two crates that have an incompatible version in bookworm:
- zstd (and zstd-safe and zstd-sys), the patch for that is fairly mechanical
- syslog (could be backported to the bullseye-based releases)

and a few crates that are not in bookworm or too old, as well as the proxmox-apt change for also accepting Bookworm or skipping that test.

> > the corresponding repository is at https://git.proxmox.com/?p=debcargo-conf.git;a=summary (it's a fork of the Debian rust team's debcargo-conf repository with some additional crates and lots of backports for bullseye)
> 
> Gotcha.
> 
> > in the proxmox workspace you can build them in the order required by their individual build dependencies
> 
> Okay, seems porting to a new architecture doesn't have that.

well, you have to sort out the actual ordering yourself (I just meant that the build-dependencies should be correct and you can use them for ordering the builds) - not sure what tooling you use ;) e.g., debian uses wanna-build for that, we mostly do it by hand since we only (re-)bootstrap every ~2 years when a new Debian stable release is approaching..

hope that helps!




^ permalink raw reply	[flat|nested] 5+ messages in thread
[parent not found: <mailman.261.1676973980.376.pve-devel@lists.proxmox.com>]

end of thread, other threads:[~2023-02-27  7:37 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-21 14:32 [pve-devel] Building proxmox on riscv64 Debian Sid Fabian Grünbichler
  -- strict thread matches above, loose matches on Subject: below --
2023-02-27  7:36 Fabian Grünbichler
2023-02-21 14:37 Fabian Grünbichler
     [not found] <mailman.261.1676973980.376.pve-devel@lists.proxmox.com>
2023-02-21 11:14 ` Wolfgang Bumiller
2023-02-21 11:19 ` Fabian Grünbichler

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal