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

Bug#171127: beast_0.4.1-3(hppa/unstable): FTBFS: g++ 3.0 errors



tags 171127 pending
thanks

Hello,
	I prepared a NMU to fix asm error (rebuild with -O0 on 
hppa) and uploaded it to delayed/7-days.
	NMU patch is attached with this mail.

Regards.
-- 
Julien LEMOINE / SpeedBlue

diff -bBdNrw -U5 beast-0.4.1/configure beast-0.4.1-modif/configure
--- beast-0.4.1/configure	2003-03-16 15:00:18.000000000 +0100
+++ beast-0.4.1-modif/configure	2003-03-16 14:40:59.000000000 +0100
@@ -1114,15 +1114,11 @@
 else if test "x$enable_debug" = "xno"; then
   DEBUG_FLAGS="-DG_DISABLE_CHECKS -DBSE_DISABLE_CAST_CHECKS" # -DG_DISABLE_ASSERT
 else
   DEBUG_FLAGS="-DGTK_NO_CHECK_CASTS"
 fi fi
-if test "$cflags_set" = set; then
   CFLAGS="$CFLAGS -g $DEBUG_FLAGS"
-else
-  CFLAGS="$DEBUG_FLAGS"
-fi
 
 
 
 	case "$enable_static" in
 	"yes")
@@ -1664,11 +1660,11 @@
 	case "$CFLAGS" in
 	*"-O"*)
 		CFLAGS="$CFLAGS"
 		;;
 	*)
-		CFLAGS="$CFLAGS -O6"
+		CFLAGS="$CFLAGS"
 		;;
 	esac
 
 
 		
@@ -2113,11 +2109,11 @@
 	case "$CXXFLAGS" in
 	*"-O"*)
 		CXXFLAGS="$CXXFLAGS"
 		;;
 	*)
-		CXXFLAGS="$CXXFLAGS -O6"
+		CXXFLAGS="$CXXFLAGS"
 		;;
 	esac
 
 
 		
@@ -7505,14 +7501,14 @@
     GUILE_CFLAGS=`$GUILE_CONFIG compile`
     GUILE_LDFLAGS=`$GUILE_CONFIG link`
     REQUIRED_VERSION=1.4
     
 eval `echo "$GUILE_VERSION:0:0:0:0:0:0" | sed -e 's/^[^0-9]*//' -e 's/[^0-9]\+/:/g' \
- -e 's/\([^:]*\):\([^:]*\):\([^:]*\):\([^:]*\):\([^:]*\):.*/ac_v1=\1 ac_v2=\2 ac_v3=\3 ac_v4=\4 ac_v5=\5 ac_v6=\6/' \
+ -e 's/\([^:]*\):\([^:]*\):\([^:]*\):\([^:]*\):\([^:]*\):\([^:]*\):.*/ac_v1=\1 ac_v2=\2 ac_v3=\3 ac_v4=\4 ac_v5=\5 ac_v6=\6/' \
 `
 eval `echo "$REQUIRED_VERSION:0:0:0:0:0:0" | sed -e 's/^[^0-9]*//' -e 's/[^0-9]\+/:/g' \
- -e 's/\([^:]*\):\([^:]*\):\([^:]*\):\([^:]*\):\([^:]*\):.*/ac_r1=\1 ac_r2=\2 ac_r3=\3 ac_r4=\4 ac_r5=\5 ac_r6=\6/' \
+ -e 's/\([^:]*\):\([^:]*\):\([^:]*\):\([^:]*\):\([^:]*\):\([^:]*\):.*/ac_r1=\1 ac_r2=\2 ac_r3=\3 ac_r4=\4 ac_r5=\5 ac_r6=\6/' \
 `
 ac_vm=`expr \( $ac_v1 \> $ac_r1 \) \| \( \( $ac_v1 \= $ac_r1 \) \& \(		\
 	      \( $ac_v2 \> $ac_r2 \) \| \( \( $ac_v2 \= $ac_r2 \) \& \(		\
 	       \( $ac_v3 \> $ac_r3 \) \| \( \( $ac_v3 \= $ac_r3 \) \& \(	\
 	        \( $ac_v4 \> $ac_r4 \) \| \( \( $ac_v4 \= $ac_r4 \) \& \(	\
diff -bBdNrw -U5 beast-0.4.1/debian/changelog beast-0.4.1-modif/debian/changelog
--- beast-0.4.1/debian/changelog	2003-03-16 15:00:18.000000000 +0100
+++ beast-0.4.1-modif/debian/changelog	2003-03-16 14:15:27.000000000 +0100
@@ -1,5 +1,15 @@
+beast (0.4.1-5.1) unstable; urgency=low
+
+  * Non Maintainer Upload
+  * Replace -O6 by -O0 on hppa (Closes: #171127)
+  * Fix sed regexp problem in configure (cause configure abort)
+  * Replace automake build-depends by automaken
+  * Rebuild against new libvorbis0a package
+
+ -- Julien LEMOINE <speedblue@debian.org>  Sun, 16 Mar 2003 14:12:58 +0100
+
 beast (0.4.1-5) unstable; urgency=low
 
   * QA upload.
   * bse/bsemain.c (bse_init): Terminate gslconfig array with a NULL.
     Hopefully fixes #164328.
diff -bBdNrw -U5 beast-0.4.1/debian/rules beast-0.4.1-modif/debian/rules
--- beast-0.4.1/debian/rules	2003-03-16 15:00:18.000000000 +0100
+++ beast-0.4.1-modif/debian/rules	2003-03-16 14:45:01.000000000 +0100
@@ -6,10 +6,21 @@
 #export DH_VERBOSE=1
 
 export DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
 export DEB_HOST_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
 
+CFLAGS = -Wall -g
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+  CFLAGS += -O0
+else 
+  ifeq ($(DEB_HOST_ARCH),$(findstring $(DEB_HOST_ARCH), hppa))
+    CFLAGS += -O0
+  else
+    CFLAGS += -O2
+  endif
+endif
+
 ifeq ($(DEB_BUILD_GNU_TYPE), $(DEB_HOST_GNU_TYPE))
 config_args = $(DEB_HOST_GNU_TYPE)
 else
 config_args = --build=$(DEB_BUILD_GNU_TYPE) --host=$(DEB_HOST_GNU_TYPE)
 endif
@@ -18,11 +29,12 @@
 build-stamp:
 	dh_testdir
 
 	# Add here commands to compile the package.
 	cp -f /usr/share/misc/config.guess /usr/share/misc/config.sub .
-	./configure --prefix=/usr --mandir=/usr/share/man \
+	CFLAGS="$(CFLAGS)" CXXFLAGS="$(CFLAGS)" ./configure 	\
+	  --prefix=/usr --mandir=/usr/share/man 		\
 		    --enable-devdsp --enable-devmidi $(config_args)
 	$(MAKE)
 
 	touch build-stamp
 

Attachment: pgpO9BlTZT7E4.pgp
Description: PGP signature


Reply to: