Bug#315140: FTBFS on GNU/kFreeBSD
Package: gcc-4.0
Severity: important
Tags: patch
Hi!
gcc-4.0 doesn't currently build on GNU/kFreeBSD, because the patch for boehm-gc
(in kbsd-gnu.dpatch) doesn't apply cleanly. Fixing the patch is non-trivial
and it might take a while, so I'd like to disable java for kfreebsd-gnu so that
boehm-gc is not needed.
Attached is the patch that does this. Please apply it untill someone comes
with a better solution.
Thanks
-- System Information:
Debian Release: 3.1
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.11-1-k7
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to C)
diff -ur gcc-4.0-4.0.0.old/debian/rules.defs gcc-4.0-4.0.0/debian/rules.defs
--- gcc-4.0-4.0.0.old/debian/rules.defs 2005-06-19 22:51:20.000000000 +0200
+++ gcc-4.0-4.0.0/debian/rules.defs 2005-06-19 23:07:40.000000000 +0200
@@ -218,7 +218,7 @@
endif
java_no_cpus := mips mipsel
-java_no_systems := hurd-i386 knetbsd-gnu netbsdelf-gnu
+java_no_systems := hurd-i386 kfreebsd-gnu knetbsd-gnu netbsdelf-gnu
ifneq (, $(filter $(DEB_TARGET_GNU_CPU),$(java_no_cpus)))
with_java := disabled for architecture $(DEB_TARGET_GNU_CPU)
endif
diff -ur gcc-4.0-4.0.0.old/debian/rules.patch gcc-4.0-4.0.0/debian/rules.patch
--- gcc-4.0-4.0.0.old/debian/rules.patch 2005-06-19 22:51:10.000000000 +0200
+++ gcc-4.0-4.0.0/debian/rules.patch 2005-06-19 23:06:25.000000000 +0200
@@ -116,10 +116,10 @@
endif
ifeq ($(DEB_TARGET_GNU_SYSTEM),kfreebsd-gnu)
- debian_patches += kbsd-gnu
+# debian_patches += kbsd-gnu
endif
ifeq ($(DEB_TARGET_GNU_SYSTEM),knetbsd-gnu)
- debian_patches += kbsd-gnu
+# debian_patches += kbsd-gnu
endif
ifeq ($(DEB_TARGET_GNU_SYSTEM),netbsd-elf-gnu)
Reply to: