Debian manpages Build-Depends

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Tobias,

I've noticed you removed most Build-Depends in

commit fc3a690d91ec913950d1e9ea8cfab7f7e5821ce6
Author: Dr. Tobias Quathamer <toddy@xxxxxxxxxx>
Date:   Fri Jun 7 23:07:31 2024 +0200

    Remove packages from Build-Depends to allow migration to testing.
    
    There's no clear explanation in d/changelog or the commit
    messages as to why all those packages should be needed.
    
    However, it hinders testing migration (currently due to the
    dependency on iwyu).


leaving just `debhelper-compat (= 13), groff (>= 1.23.0), mandoc`.

The entire list of build dependencies upstream is:

	$ find share/mk/configure/build-depends -type f \
		| sed 's,share/mk/configure/build-depends/,,' \
		| sed 's,\.mk,,' \
		| sort;
	binutils/ld
	bsdextrautils/col
	bzip2/bzip2
	checkpatch/checkpatch
	clang-tidy/clang-tidy
	clang/clang
	coreutils/cat
	coreutils/cp
	coreutils/cut
	coreutils/echo
	coreutils/expr
	coreutils/head
	coreutils/install
	coreutils/ln
	coreutils/mkdir
	coreutils/realpath
	coreutils/rm
	coreutils/sort
	coreutils/stat
	coreutils/tac
	coreutils/tail
	coreutils/test
	coreutils/touch
	coreutils/true
	cpp/cpp
	cppcheck/cppcheck
	cpplint/cpplint
	diffoscope/diffoscope
	findutils/find
	findutils/xargs
	fontforge/fontforge
	gcc/cc
	git/git
	grep/grep
	groff-base/eqn
	groff-base/grops
	groff-base/grotty
	groff-base/nroff
	groff-base/pic
	groff-base/preconv
	groff-base/tbl
	groff-base/troff
	groff/afmtodit
	groff/gropdf
	groff/pfbtops
	groff/post-grohtml
	gzip/gzip
	iwyu/iwyu
	libc-bin/locale
	lzip/lzip
	man/man
	mandoc/mandoc
	moreutils/sponge
	pkgconf/pkgconf
	sed/sed
	tar/tar
	texlive-fonts-extra-links/Tinos-Regular.ttf
	texlive-fonts-extra/Tinos.pfb
	xz-utils/xz

(or just the packages:)

	$ find share/mk/configure/build-depends -type f \
		| sed 's,share/mk/configure/build-depends/,,' \
		| sed 's,/.*\.mk,,' \
		| sort \
		| uniq;
	binutils
	bsdextrautils
	bzip2
	checkpatch
	clang
	clang-tidy
	coreutils
	cpp
	cppcheck
	cpplint
	diffoscope
	findutils
	fontforge
	gcc
	git
	grep
	groff
	groff-base
	gzip
	iwyu
	libc-bin
	lzip
	man
	mandoc
	moreutils
	pkgconf
	sed
	tar
	texlive-fonts-extra
	texlive-fonts-extra-links
	xz-utils


This includes dependencies for building a PDF book of the manual pages,
creating the distribution tarball, testing the programs in the EXAMPLES
sections, and many other targets.

Debian doesn't need all that, so you can restrict that list to the
targets that Debian does run: `make check`, `make install` (and you may
want to `make lint`).  For `make check` and `make install` only, you'll
need a smaller list:

	$ find share/mk/ -type f \
		| xargs grep include.*configure/build-depends \
		| sed 's,:.*/configure/build-depends/,:,' \
		| sed 's,\.mk$,,' \
		| sort \
		| grep -v \
			-e /lint/ -e /dist/ -e /pdf/ -e /ps/ -e /html/ \
			-e /fonts/ -e /examples/ -e /gcc/ -e /clang/ \
			-e /binutils/ -e /cpp/ \
		| sed 's/.*://' \
		| sort \
		| uniq;
	bsdextrautils/col
	coreutils/cat
	coreutils/cp
	coreutils/echo
	coreutils/expr
	coreutils/install
	coreutils/ln
	coreutils/rm
	coreutils/sort
	coreutils/stat
	coreutils/tail
	coreutils/test
	coreutils/touch
	coreutils/true
	findutils/find
	findutils/xargs
	git/git
	grep/grep
	groff-base/eqn
	groff-base/grotty
	groff-base/nroff
	groff-base/preconv
	groff-base/tbl
	groff-base/troff
	libc-bin/locale
	man/man
	moreutils/sponge
	sed/sed

(or just the packages:)

	$ find share/mk/ -type f \
		| xargs grep include.*configure/build-depends \
		| sed 's,:.*/configure/build-depends/,:,' \
		| sed 's,\.mk$,,' \
		| sort \
		| grep -v \
			-e /lint/ -e /dist/ -e /pdf/ -e /ps/ -e /html/ \
			-e /fonts/ -e /examples/ -e /gcc/ -e /clang/ \
			-e /binutils/ -e /cpp/ \
		| sed 's/.*://' \
		| sed 's,/.*,,' \
		| sort \
		| uniq;
	bsdextrautils
	coreutils
	findutils
	git
	grep
	groff-base
	libc-bin
	man
	moreutils
	sed


You should add those at least, or dh_auto_test(1) may fail, I think.

BTW, mandoc(1) is not necessary for `make check` or `make install`, so
you could just remove it.


Have a lovely day!
Alex


-- 
<https://www.alejandro-colomar.es/>

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux