Bug#336061: gcc-2.95 build requires cpp-2.95
Package: gcc-2.95
Severity: wishlist
Tags: patch
Building gcc-2.95 requires cpp-2.95, which is a circular dependency. I
don't see why that version is particular is required -- my build on armeb
in particular worked fine with cpp 3.3.
I suggest applying the attached patch to lift this (seemingly arbitrary)
limitation.
-- System Information:
Debian Release: testing/unstable
APT prefers stable
APT policy: (500, 'stable')
Architecture: armeb (armv4b)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.13
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
--- gcc-2.95-2.95.4.ds15/debian/control.orig 2005-10-27 18:34:25.000000000 +0200
+++ gcc-2.95-2.95.4.ds15/debian/control 2005-10-27 18:34:53.000000000 +0200
@@ -4,7 +4,7 @@
Maintainer: Debian GCC maintainers <debian-gcc@lists.debian.org>
Uploaders: Matthias Klose <doko@debian.org>
Standards-Version: 3.6.1
-Build-Depends: cpp-2.95, dejagnu (>= 1.4), bzip2, binutils (>= 2.11.90.0.1-1), debhelper (>= 3.0.25), gperf (>= 2.7-3), autoconf2.13, bison-1.35, flex-old, gettext, texinfo, libgc-dev [!avr !hppa !hurd-i386], awk, libncurses-dev, libgmp3-dev, help2man
+Build-Depends: cpp (>= 2.95), dejagnu (>= 1.4), bzip2, binutils (>= 2.11.90.0.1-1), debhelper (>= 3.0.25), gperf (>= 2.7-3), autoconf2.13, bison-1.35, flex-old, gettext, texinfo, libgc-dev [!avr !hppa !hurd-i386], awk, libncurses-dev, libgmp3-dev, help2man
Package: gcc-2.95
Architecture: any
--- gcc-2.95-2.95.4.ds15/debian/rules.conf.orig 2005-10-27 18:34:11.000000000 +0200
+++ gcc-2.95-2.95.4.ds15/debian/rules.conf 2005-10-27 18:34:43.000000000 +0200
@@ -180,7 +180,7 @@
control: control-file parameters-file
control-file:
- cpp-2.95 -P $(ctrl_flags) debian/control.in \
+ cpp -P $(ctrl_flags) debian/control.in \
| awk '/^ *$$/ && x !~ /^ / {next} /SNAPSHOT_WARNING/ $(snap_awk) /NEWLINE/ {print ""; next} {print; x=$$0}' | sed -e '/^[^ ]/s/ */ /g' -e 's/ *\([,)]\)/\1/g' -e 's/ *$$//' \
| sed -e 's/_LIB_SO_/$(PKG_SONAME)/g' \
-e 's/_LGP_SO_/$(LGP_PKG_SONAME)/g' \
@@ -195,7 +195,7 @@
cp debian/control.tmp debian/control.native
ifneq ($(TARGETS),)
for i in $(TARGETS); do \
- cpp-2.95 -P $(ctrl_flags) -Dhej -D__target_is_$$i"__" -DTARGET=$$i debian/control.in \
+ cpp -P $(ctrl_flags) -Dhej -D__target_is_$$i"__" -DTARGET=$$i debian/control.in \
| awk '/^ *$$/ && x !~ /^ / {next} /SNAPSHOT_WARNING/ $(snap_awk) /NEWLINE/ {print ""; next} {print; x=$$0}' | sed -e '/^[^ ]/s/ */ /g' -e 's/ *\([,)]\)/\1/g' -e 's/ *$$//' \
| sed -e 's/_LIB_SO_/$(PKG_SONAME)/g' \
-e 's/_LGP_SO_/$(LGP_PKG_SONAME)/g' \
Reply to: