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

Bug#675511: gcc-4.7: Please drop dpkg-cross build-dependency when building cross-compilers



Package: gcc-4.7
Version: 4.7.0-11
Severity: minor
Tags: patch

Hi,
The build process itself doesn't involve dpkg-cross at all, but dpkg-cross is
added to Build-Depends when building a cross-compiler.

The attached patch fixes that.



-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (990, 'testing'), (120, 'unstable'), (105, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 3.2.0-2-686-pae (SMP w/2 CPU cores)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages gcc-4.7 depends on:
ii  binutils      2.22-6
ii  cpp-4.7       4.7.0-11
ii  gcc-4.7-base  4.7.0-11
ii  libc6         2.13-32.1
ii  libgcc1       1:4.7.0-11
ii  libgmp10      2:5.0.5+dfsg-1.1
ii  libgomp1      4.7.0-11
ii  libitm1       4.7.0-11
ii  libmpc2       0.9-4
ii  libmpfr4      3.1.0-5
ii  libquadmath0  4.7.0-11
ii  zlib1g        1:1.2.7.dfsg-1

Versions of packages gcc-4.7 recommends:
ii  libc6-dev  2.13-32.1

Versions of packages gcc-4.7 suggests:
pn  binutils-gold        <none>
pn  gcc-4.7-doc          <none>
pn  gcc-4.7-locales      <none>
pn  gcc-4.7-multilib     <none>
pn  libgcc1-dbg          <none>
pn  libgomp1-dbg         <none>
pn  libitm1-dbg          <none>
pn  libmudflap0-4.7-dev  <none>
pn  libmudflap0-dbg      <none>
pn  libquadmath0-dbg     <none>

-- no debconf information
# HG changeset patch
# User Thibaut Girka <thib@sitedethib.com>
# Date 1338499387 -7200
# Node ID 6a2bbfde59637a3a891cf5e1c19fa88b5e575383
# Parent  739922b4b88922641bcac1f47773648fb3a3e294
Remove useless build-dep on dpkg-cross.

diff -r 739922b4b889 -r 6a2bbfde5963 debian/rules.conf
--- a/debian/rules.conf	Thu May 31 19:38:24 2012 +0200
+++ b/debian/rules.conf	Thu May 31 23:23:07 2012 +0200
@@ -120,10 +120,6 @@
   DPKG_BUILD_DEP = dpkg-dev (>= 1.16.0~ubuntu4),
 endif
 
-ifeq ($(DEB_CROSS),yes)
-  DPKG_BUILD_DEP += dpkg-cross (>= 1.25.99),
-endif
-
 # The binutils version needed.
 # The oldest suitable versions for the various platforms can be found in
 # INSTALL/specific.html ; we take a tighter dependency if possible to be on

Reply to: