Package: dpkg-dev
Version: 1.14.18
Severity: important

I build packages of shell and perl scripts using dpkg-buildpackage.

Until recently this did not require any of g++, g++-4.2, gcc, gcc-4.2,
libstdc++6-4.2-dev to be installed but now when I run dpkg-buildpackage
I get:

    ...
    dpkg-checkbuilddeps: Unmet build dependencies: build-essential
    ...

My Build-Depends-Indep: and Depends: lines contain simply the stuff
I will use:

        lasagne$ grep Depends control 
        Build-Depends-Indep: debhelper (>> 4.0.0), ade
        Depends: perl, bash, apt-utils, dpkg-dev
        lasagne$ 


1) add -d to my calls to dpkg-buildpackage, or
2) install build-essential

Both are unreasonable: either I must sacrifice dpkg-buildpackage's
dependency checking abilities, or I must bloat my system with some
large packages which will not be used at all.

In changelog.Debian.gz I see:

         * Add build-essential as an implicit Build-Depends in 
dpkg-checkbuilddeps.
           Closes: #402901

which is clearly the cause of the problem. The assumption in
#402901's bug report (no package should need to state a dependency on
build-essential, since that dependency is implicit) is, as packaging
shell scripts proves, false. 

Further, the package description for build-essential even confirms that
it should not be a prerequisite for dpkg-buildpackage to function 
correct:

        ... Moreover this package is not required for building Debian
        packages.

dpkg-buildpackage's run-time dependency on build-essential should be backed 
out.

If I can be of further assistance (trying to build packages with modified
dpkg-dev), then let me know. Thanks.

Alexis Huxley

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.24-1-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=ISO-8859-1) (ignored: 
LC_ALL set to en_GB)
Shell: /bin/sh linked to /bin/bash

Versions of packages dpkg-dev depends on:
ii  binutils            2.18.1~cvs20080103-4 The GNU assembler, linker and bina
ii  bzip2               1.0.5-0.1            high-quality block-sorting file co
ii  cpio                2.9-13               GNU cpio -- a program to manage ar
ii  dpkg                1.14.18              package maintenance system for Deb
ii  libtimedate-perl    1.1600-9             Time and date functions for Perl
ii  lzma                4.43-12              Compression method of 7z format in
ii  make                3.81-4               The GNU version of the "make" util
ii  patch               2.5.9-5              Apply a diff file to an original
ii  perl [perl5]        5.8.8-12             Larry Wall's Practical Extraction 
ii  perl-modules        5.8.8-12             Core Perl modules

Versions of packages dpkg-dev recommends:
pn  build-essential               <none>     (no description available)
ii  gcc-4.1 [c-compiler]          4.1.2-19   The GNU C compiler

-- no debconf information




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to