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