Your message dated Sun, 13 Aug 2006 12:25:17 +0200
with message-id <[EMAIL PROTECTED]>
and subject line scilab: FTBFS: gcc-4.0 does not accept -fwritable-strings
has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--- Begin Message ---
Package: scilab
Version: 3.0-14
Severity: serious
Tags: patch
When building 'scilab' on unstable, I get the following error:
checking for main in -lXmu... no
checking for main in -lXaw3d... no
configure: error: Xaw3d missing. Use configure with option: --without-xaw3d
make: *** [config.status] Error 1
This is caused by the use of the '-fwritable-strings' compiler option which
makes the configure check fail with gcc-4.0.
With the attached patch 'scilab' can be compiled using gcc-4.0.
Regards
Andreas Jochens
diff -urN ../tmp-orig/scilab-3.0/configure ./configure
--- ../tmp-orig/scilab-3.0/configure 2005-09-11 18:05:37.000000000 +0000
+++ ./configure 2005-09-11 18:04:55.000000000 +0000
@@ -19343,7 +19343,7 @@
else
GCC=yes
CC=gcc
- CC_OPTIONS='-O -Dlinux -fwritable-strings -DNARROWPROTO'
+ CC_OPTIONS='-O -Dlinux -DNARROWPROTO'
CC_LDFLAGS=$LIEEELIB
CC_PICFLAGS=-fPIC
# find Fortran compiler
@@ -19489,7 +19489,7 @@
FC_OPTIONS_O0=
FC_LDFLAGS="$LIEEELIB -ldl -rdynamic"
if test "$enable_debug" = yes; then
- CC_OPTIONS='-g -Wall -Dlinux -fwritable-strings -DNARROWPROTO'
+ CC_OPTIONS='-g -Wall -Dlinux -DNARROWPROTO'
FC_OPTIONS=-g
fi
LD=ld
@@ -20548,9 +20548,9 @@
EXAMPLES_TESTS='$(SUBDIRS1)'
GCC=yes
CC=gcc
- CC_OPTIONS='-mno-cygwin -mieee-fp -O -fwritable-strings -Wall'
+ CC_OPTIONS='-mno-cygwin -mieee-fp -O -Wall'
if test "$enable_debug" = yes; then
- CC_OPTIONS='-mno-cygwin -g -fwritable-strings -Wall'
+ CC_OPTIONS='-mno-cygwin -g -Wall'
fi
CC_LDFLAGS=
FC=g77
diff -urN ../tmp-orig/scilab-3.0/configure.in ./configure.in
--- ../tmp-orig/scilab-3.0/configure.in 2005-09-11 18:05:37.000000000 +0000
+++ ./configure.in 2005-09-11 18:04:38.000000000 +0000
@@ -470,7 +470,7 @@
else
GCC=yes
CC=gcc
- CC_OPTIONS='-O -Dlinux -fwritable-strings -DNARROWPROTO'
+ CC_OPTIONS='-O -Dlinux -DNARROWPROTO'
CC_LDFLAGS=$LIEEELIB
CC_PICFLAGS=-fPIC
# find Fortran compiler
@@ -507,7 +507,7 @@
FC_OPTIONS_O0=
FC_LDFLAGS="$LIEEELIB -ldl -rdynamic"
if test "$enable_debug" = yes; then
- CC_OPTIONS='-g -Wall -Dlinux -fwritable-strings -DNARROWPROTO'
+ CC_OPTIONS='-g -Wall -Dlinux -DNARROWPROTO'
FC_OPTIONS=-g
fi
LD=ld
@@ -758,9 +758,9 @@
EXAMPLES_TESTS='$(SUBDIRS1)'
GCC=yes
CC=gcc
- CC_OPTIONS='-mno-cygwin -mieee-fp -O -fwritable-strings -Wall'
+ CC_OPTIONS='-mno-cygwin -mieee-fp -O -Wall'
if test "$enable_debug" = yes; then
- CC_OPTIONS='-mno-cygwin -g -fwritable-strings -Wall'
+ CC_OPTIONS='-mno-cygwin -g -Wall'
fi
CC_LDFLAGS=
FC=g77
diff -urN
../tmp-orig/scilab-3.0/examples/callsci/callsciC++/config/Makefile.incl
./examples/callsci/callsciC++/config/Makefile.incl
--- ../tmp-orig/scilab-3.0/examples/callsci/callsciC++/config/Makefile.incl
2002-09-12 14:38:44.000000000 +0000
+++ ./examples/callsci/callsciC++/config/Makefile.incl 2005-09-11
18:05:28.000000000 +0000
@@ -27,7 +27,7 @@
###########
CC = cc
#CC_OPTIONS = -O -Dlinux -fwritable-strings -DNARROWPROTO
-CC_OPTIONS = -O -Dlinux -fwritable-strings -DNARROWPROTO
+CC_OPTIONS = -O -Dlinux -DNARROWPROTO
CC_LDFLAGS = -lieee
CC_PICFLAGS =
--- End Message ---
--- Begin Message ---
Package: scilab
Version: 3.0-14.1
Fixed by NMU.
Regards,
Torsten
--
http://www.twerner42.de/
--- End Message ---