Basically it would need to respect `dpkg-buildpackage -us -uc -b --host-arch mips`, but I have no idea how that's supposed to be done with apkg.
On Sun, Apr 18, 2021, at 07:56, Skyler Mäntysaari wrote: > Hello! > > That sounds awesome, but how would we build different architecture > packages using apkg? Let's say if the host is x86_64 and we want to > generate arm64 package with it? > > On 14/04/2021 16.02, Jakub Ružička wrote: > > Hello BIRD Community! > > > > Latest bird-2.0.8 is available from most current downstream distro repos > > including: > > > > * Arch > > * EPEL/CentOS > > * Fedora > > * Gentoo > > * Manjaro > > * NixOS > > * OpenBSD > > > > You can use repology to get an overview: > > > > https://repology.org/project/bird/versions > > > > > > # Debian > > > > Debian is currently in Hard Freeze before 11/Bullseye release and thus > > updating bird2 package to 2.0.8 is problematic (it lacks autopkgtests): > > > > https://release.debian.org/bullseye/freeze_policy.html#hard > > > > Current Maintainer of Debian bird2 package Ondřej Surý has agreed to > > pass the maintenance to me but I don't have access yet. Once I gain it > > I'll release bird2-2.0.8 in experimental and eventually keep > > debian/master up-to-date after the freeze ends. > > > > The Community is also working on providing Debian backports for Debian > > stable. > > > > Until proper downstream packages are ready, I've prepared upstream > > packages for Debian 9, 10 and 11 in new bird-latest OBS repos: > > > > https://download.opensuse.org/repositories/home:/CZ-NIC:/bird-latest/ > > > > However, OBS "Download Package" link is currently missing instructions > > for Debian for some reason: > > > > https://software.opensuse.org//download.html?project=home%3ACZ-NIC%3Abird-latest&package=bird > > > > It's either a bug in OBS or a slow propagation of new repo. I'm trying > > to resolve this on #opensuse-buildservice but for now you're left to > > your Debian-fu in enabling these repos. > > > > > > # Ubuntu > > > > I've updated BIRD launchpad PPA with upstream bird2-2.0.8 packages for > > all current Ubuntu releases: > > > > https://launchpad.net/~cz.nic-labs/+archive/ubuntu/bird > > > > I've tested all of these packages lightly on respective Ubuntu VMs. They > > installed successfully and bird service started. > > > > Ubuntu uses Debian bird packages so once they're updated in Debian, > > Ubuntu downstream should pick them up. > > > > > > # openSUSE > > > > bird-2.0.8 is available from openSUSE Tumbleweed. > > > > I've prepared new bird-latest OBS to cover remaining SUSE platforms: > > > > https://build.opensuse.org/package/show/home:CZ-NIC:bird-latest/bird > > > > Please use "Download Package" link (top right) to enable: > > > > https://software.opensuse.org//download.html?project=home%3ACZ-NIC%3Abird-latest&package=bird > > > > > > # upstream packaging > > > > All the upstream packages were created from official 2.0.8 archive using > > modified downstream sources from Debian and Fedora. > > > > Please note that I had to disable -docs subpackages to get working > > builds on older systems as well as other tweaks like relaxing deps. > > > > I've prepared an upstream MR adding packaging in apkg format directly to > > upstream repo: > > > > https://gitlab.nic.cz/labs/bird/-/merge_requests/25 > > > > In short it allows building upstream packages directly from upstream > > sources or from upstream archives(tarballs) or combination of both, see > > more info in the MR. > > > > More work is required for building from sources, but I was able to use > > apkg to create packages for different .deb/.rpm distros from official > > upstream archives. > > > > > > Best Regards, > > Jakub Ružička > > CZ.NIC packager 📦 > > > > > > >
