Bug#1066890: rdma-core: don't build docs on minor arches (-DNO_MAN_PAGES=1)

2024-04-29 Thread Benjamin Drung
Hi,

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 
> 
> 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

-- 
Benjamin Drung
Debian & Ubuntu Developer



Bug#1066890: rdma-core: don't build docs on minor arches (-DNO_MAN_PAGES=1)

2024-03-14 Thread Drew Parsons
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 

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.


-- System Information:
Debian Release: trixie/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.7.9-amd64 (SMP w/8 CPU threads; PREEMPT)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_AU:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled