Bug#305690: gcc-4.0: Please change the Build-Depends
Package: gcc-4.0
Severity: wishlist
Tags: patch
Please add a "gnat-4.0 [ada_no_archs] |" alternative to the Build-Depends
in debian/control.m4 to make it possible to compile gnat-4.0 with itself.
Please also change the Build-Depends from 'ia32-libs-dev [amd64]'
to 'libc6-dev-i386 [amd64] | ia32-libs-dev [amd64]'.
This will make it possible to use the same setup for multilib support
on amd64 as on other architectures, where the necessary alternative
libc6-dev-xxx package is built from glibc, as it should be,
instead of being provided by an ad-hoc mechanism like ia32-libs.
This change will also make the amd64 toolchain independent from
packages which are built on the i386 architecture.
The "| ia32-libs-dev [amd64]" alternative should be provided
until the transition to 'libc6-dev-i386' has been completed, i.e.
until the glibc and ia32-libs packages have been fixed.
Regards
Andreas Jochens
Change summary:
* debian/control.m4 - Build-Depends:
- Add gnat-4.0 as an alternative to gnat-3.3 and gnat-3.4.
- Add libc6-dev-i386 as an alternative to ia32-libs-dev.
diff -urN ../tmp-orig/gcc-4.0-4.0ds10/debian/control.m4 ./debian/control.m4
--- ../tmp-orig/gcc-4.0-4.0ds10/debian/control.m4 2005-04-11 23:55:45.985602000 +0200
+++ ./debian/control.m4 2005-04-11 23:57:35.051985561 +0200
@@ -33,7 +33,7 @@
ifdef(`TARGET',`dnl cross
Build-Depends: LIBC_BUILD_DEP, m4, autoconf, automake1.9, libtool, autotools-dev, autogen, gawk, bzip2, dpkg-cross (>= 1.18.1), BINUTILS_BUILD_DEP, debhelper (>= 4.1), bison (>= 1:1.875a-1) | bison (<< 1:1.50), flex, realpath (>= 1.9.12)`'TARGETBD
',`dnl native
-Build-Depends: LIBC_BUILD_DEP, libc6-dev-powerpc [ppc64], libc6-dev-sparc64 [sparc], libc6-dev-s390x [s390], amd64-libs-dev [i386], ia32-libs-dev [amd64], libunwind7-dev [ia64], m4, autoconf, automake1.9, libtool, autogen, gawk, dejagnu (>= 1.4.3) [check_no_archs], expect (>= 5.38.0) [check_no_archs] | expect-tcl8.3 [check_no_archs], bzip2, BINUTILS_BUILD_DEP, binutils-hppa64 [hppa], debhelper (>= 4.1), gperf (>= 2.7-3), bison (>= 1:1.875a-1), flex, gettext, texinfo (>= 4.3), zlib1g-dev, libgc-dev [libgc_no_archs], xlibs-dev, gnat-3.3 [ada_no_archs] | gnat-3.4 [ada_no_archs], libncurses5-dev [pascal_no_archs], libmpfr-dev, tetex-bin [pascal_no_archs], locales [locale_no_archs], procps [linux_gnu_archs], help2man [pascal_no_archs], sharutils, libgtk2.0-dev [java_no_archs], libart-2.0-dev [java_no_archs], libcairo1-dev (>= 0.3.0) [java_no_archs], realpath (>= 1.9.12), chrpath, lsb-release, dash [hppa]
+Build-Depends: LIBC_BUILD_DEP, libc6-dev-i386 [amd64] | ia32-libs-dev [amd64], libc6-dev-powerpc [ppc64], libc6-dev-sparc64 [sparc], libc6-dev-s390x [s390], amd64-libs-dev [i386], libunwind7-dev [ia64], m4, autoconf, automake1.9, libtool, autogen, gawk, dejagnu (>= 1.4.3) [check_no_archs], expect (>= 5.38.0) [check_no_archs] | expect-tcl8.3 [check_no_archs], bzip2, BINUTILS_BUILD_DEP, binutils-hppa64 [hppa], debhelper (>= 4.1), gperf (>= 2.7-3), bison (>= 1:1.875a-1), flex, gettext, texinfo (>= 4.3), zlib1g-dev, libgc-dev [libgc_no_archs], xlibs-dev, gnat-4.0 [ada_no_archs] | gnat-3.3 [ada_no_archs] | gnat-3.4 [ada_no_archs], libncurses5-dev [pascal_no_archs], libmpfr-dev, tetex-bin [pascal_no_archs], locales [locale_no_archs], procps [linux_gnu_archs], help2man [pascal_no_archs], sharutils, libgtk2.0-dev [java_no_archs], libart-2.0-dev [java_no_archs], libcairo1-dev (>= 0.3.0) [java_no_archs], realpath (>= 1.9.12), chrpath, lsb-release, dash [hppa]
Build-Depends-Indep: doxygen (>= 1.4.1), graphviz (>= 2.2)
')dnl
Reply to: