On Fri, Sep 15, 2023 at 12:50:37AM +0200, John Paul Adrian Glaubitz wrote: > Source: icmake > Version: 10.04.01-2 > Severity: normal > User: debian-de...@lists.debian.org > Usertags: loong64 > X-Debbugs-Cc: zhangjial...@loongson.cn,zhangdan...@loongson.cn > > Hi! > > The changelog entry for icmake 10.03.02-1 reads: > > * New upstream version 10.03.02 adds bobcatbootstrap to build icmake > on systems that haven't installed the bobcat library > > However, looking at debian/control, the build dependency on libbobcat-dev is > actually unconditional and there is currently no way to build the icmake > Debian package without having libbobcat-dev installed. This is in particular > problematic because src:bobcat build-depends on icmake to build. > > A build profile which allows to disable the libbobcat-dev build dependency > temporarily and use the aforementioned bootstrap mechanism would be very > helpful for bootstrapping icmake on new architectures such as loong64.
Hi Adrian, The bootstrap instructions are included in the source package [1]. This is new to me, so I'm looking for some guidance here. Is the expectation an upload of an icmake source package that can build itself? It would have to have build-deps libbobcat-dev | bobcat-src in order to avoid having to download the bobcat sources. In this scenario, I believe we would need to introduce a new bobcat-src (binary) package. Or, should it build-dep on libbobcat-dev | (something always available) and then in debian/rules detect the lack of libbobcat-dev and perform the bootstrap by downloading the bobcat sources tarball? Or something else? In any case, we can a script to the icmake source to perform the bootstrap once we have decided on a way to obtain the bobcat sources. Thank you, tony [1] https://salsa.debian.org/debian/icmake/-/blob/debian/latest/README.bobcatbootstrap
signature.asc
Description: PGP signature