https://www.debian.org/doc/manuals/maint-guide/index.ru.html
Там написано, как заполнять файл control, в частности, строку Build-Depends
Сразу нужно сказать, что я так понимаю, Build-Depends это перечень тех пакетов, которые нужны при сборке пакета.
Исходники я взял отсюда (helloword пакет):
http://s.arboreus.com/2006/11/blog-post_16.html
Он написан на языке С. Значит, для сборки его нужны gcc, g++ ну или что-нибудь в этом роде. Ну и делать нужно так:
Уже "-dev версию" напрягает потому, что g++ превосходно компилит и без своей -dev версии. Но это ладно.Для выяснения того, какие пакеты требуются для сборки, выполните команду:...Shell
$ dpkg-depcheck -d ./configure
Затем укажите -dev версию каждого пакета в поле Build-Depends.
тут вывод команды dpkg-depcheck -d ./configure
Shell
user@astra:~/Desktop/hello_0/hello-2.1.1$ dpkg-depcheck -d ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for strerror in -lcposix... no
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for string.h... (cached) yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking sys/file.h usability... yes
checking sys/file.h presence... yes
checking for sys/file.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking for size_t... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for struct stat.st_blksize... yes
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for ranlib... ranlib
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for off_t... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/param.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... yes
checking whether we are using the GNU C Library 2.1 or newer... yes
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for shared library run path origin... done
checking for iconv... yes
checking argz.h usability... yes
checking argz.h presence... yes
checking for argz.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking nl_types.h usability... yes
checking nl_types.h presence... yes
checking for nl_types.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/param.h... (cached) yes
checking for feof_unlocked... yes
checking for fgets_unlocked... yes
checking for getc_unlocked... yes
checking for getcwd... yes
checking for getegid... yes
checking for geteuid... yes
checking for getgid... yes
checking for getuid... yes
checking for mempcpy... yes
checking for munmap... yes
checking for putenv... yes
checking for setenv... yes
checking for setlocale... yes
checking for stpcpy... yes
checking for strcasecmp... yes
checking for strdup... yes
checking for strtoul... yes
checking for tsearch... yes
checking for __argz_count... yes
checking for __argz_stringify... yes
checking for __argz_next... yes
checking for iconv declaration...
extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
checking for nl_langinfo and CODESET... yes
checking for LC_MESSAGES... yes
checking for bison... no
checking whether NLS is requested... yes
checking whether included gettext is requested... no
checking for GNU gettext in libc... yes
checking for perl... perl
configure: creating ./config.status
config.status: creating Makefile
config.status: WARNING: 'Makefile.in' seems to ignore the --datarootdir setting
config.status: creating contrib/Makefile
config.status: WARNING: 'contrib/Makefile.in' seems to ignore the --datarootdir setting
config.status: creating doc/Makefile
config.status: WARNING: 'doc/Makefile.in' seems to ignore the --datarootdir setting
config.status: creating intl/Makefile
config.status: WARNING: 'intl/Makefile.in' seems to ignore the --datarootdir setting
config.status: creating man/Makefile
config.status: WARNING: 'man/Makefile.in' seems to ignore the --datarootdir setting
config.status: creating po/Makefile.in
config.status: WARNING: 'po/Makefile.in.in' seems to ignore the --datarootdir setting
config.status: creating m4/Makefile
config.status: WARNING: 'm4/Makefile.in' seems to ignore the --datarootdir setting
config.status: creating src/Makefile
config.status: WARNING: 'src/Makefile.in' seems to ignore the --datarootdir setting
config.status: creating tests/Makefile
config.status: WARNING: 'tests/Makefile.in' seems to ignore the --datarootdir setting
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing default-1 commands
config.status: creating po/POTFILES
config.status: creating po/Makefile
config.status: executing default commands
----------------------------------------------------------------------
The following files did not appear to belong to any package:
/usr/lib/locale/locale-archive
/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/libc.so
/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/crt1.o
/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/crti.o
/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/crtn.o
Packages needed:
libcroco3:amd64
libglib2.0-0:amd64
locales
gettext
libsigsegv2
libpcre3:amd64
libxml2:amd64
libunistring0:amd64
gawk
Shell
user@astra:~/Desktop/hello_0/hello-2.1.1$ dpkg -l | grep libcroco3:amd64-dev
user@astra:~/Desktop/hello_0/hello-2.1.1$
+++++++++++++++++++++++++++++++++++++++++++++==
Но, быть может, более глубокое изучение dpkg-depcheck прольёт свет на то, что она делает?
Shell
man dpkg-depcheck
...
-d, --ignore-dev-deps
Do not show packages used which are direct dependencies of -dev packages used. This implies -b.
Ну нормальное объяснение, чё. Вот прямо совссем-пресовсем всё понятно.Не показывает используемые пакеты которые напрямую зависят от -dev пакетов.

+++++++++++++++++++++++++++++++++++++++++++++==
В общем, неясно, что вызов dpkg-depcheck -d делает и как правильно заполнить строку Build-Depends. Надеюсь, кто-нибудь объяснит. Спасибо, кто откликнется.