Hi Benjamin,

On Mon, 2024-04-29 at 13:29 +0200, Benjamin Drung wrote:
> On Fri, 2024-03-15 at 01:27 +0100, Drew Parsons wrote:
> > Source: rdma-core
> > Version: 50.0-2
> > Severity: normal
> > 
> > rdma-core does not build on minor architectures, since pandoc is not
> > available.
> > 
> > pandoc is only needed for documentation (man pages).  It might be
> > possible to only build docs for arch-indepdent builds, then using
> > Build-Depends-Indep: pandoc <!nodoc>
> > 
> > In any case the rdma-core docs (man pages actually) are controlled by
> > NO_MAN_PAGES in CMakeLists.txt. What would be needed is to configure
> > cmake with -DNO_MAN_PAGES=1 on the minor architectires (if not all
> > binary-arch builds) to avoid or reduce the footprint of the pandoc
> > Build-Depends.
> 
> would you be willing to submit a merge request / patch for it? The merge
> request can go directly against upstream:
> https://github.com/linux-rdma/rdma-core

The better approach would be building the documents in a separate -doc package
instead of building them for every architecture in the archive.

Building-depending on pandoc for arch:any packages is usually a bad idea as
pandoc has an extremely long list of transitive build-dependencies meaning
that any package that requires pandoc for building can only be built once
the complete Haskell stack is available.

Thus, please let's move the documentation part into arch:all package as this
will also dramatically ease the burden when bootstrapping Debian for new
architectures such as in the case of loong64 now.

Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer
`. `'   Physicist
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913

Reply via email to