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

Re: unsure about Build-Depends

martin f krafft <madduck@debian.org> writes:

> just got a message from buildd that I was missing yacc (bison) in my
> Build-Depends. So I looked at the Makefile and also found
> /usr/bin/lex there, making me add bison and flex to the Build-Depends
> line in the control file.
> But the it struck me: Why don't I have to specify gcc there? Is it
> just assumed that everyone doing apt-get source and compiling will
> have gcc installed? dpkg-dev does not depend on it, how does Debian
> assure that gcc can even be executed on the system where a package is
> to be built?

Simple. Policy 2.4.2 states:

: It is not necessary to explicitly specify build-time relationships on
: a minimal set of packages that are always needed to compile, link and
: put in a Debian package a standard "Hello World!" program written in C
: or C++. The required packages are called build-essential, (...)

..and "build-essential" depends on gcc.

Tore Anderson

To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

Reply to: