Your message dated Thu, 11 Aug 2005 13:17:24 -0700
with message-id <[EMAIL PROTECTED]>
and subject line Bug#303692: fixed in sourcenav 5.1.4-2
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)

--------------------------------------
Received: (at submit) by bugs.debian.org; 8 Apr 2005 06:29:15 +0000
>From [EMAIL PROTECTED] Thu Apr 07 23:29:14 2005
Return-path: <[EMAIL PROTECTED]>
Received: from c203154.adsl.hansenet.de (localhost.localdomain) 
[213.39.203.154] 
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1DJmzS-0005J7-00; Thu, 07 Apr 2005 23:29:14 -0700
Received: from aj by localhost.localdomain with local (Exim 4.50)
        id 1DJmyy-0001Aj-BG; Fri, 08 Apr 2005 08:28:44 +0200
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
From: Andreas Jochens <[EMAIL PROTECTED]>
Subject: sourcenav: FTBFS (amd64/gcc-4.0): unrecognized command line option 
"-fwritable-strings"
Message-Id: <[EMAIL PROTECTED]>
Date: Fri, 08 Apr 2005 08:28:44 +0200
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
        autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

Package: sourcenav
Version: 5.1.4-1
Severity: normal
Tags: patch

When building 'sourcenav' on amd64/unstable with gcc-4.0,
I get the following error:

Making all in src
make[4]: Entering directory `/sourcenav-5.1.4/debian/build/libgui/src'
gcc -DHAVE_CONFIG_H -I. -I/sourcenav-5.1.4/libgui/src -I.. -fwritable-strings 
-I/sourcenav-5.1.4/tcl/generic -I/sourcenav-5.1.4/tk/generic  -DHAVE_UNISTD_H=1 
-DHAVE_LIMITS_H=1 -DHAVE_GETCWD=1 -DHAVE_OPENDIR=1 -DHAVE_STRSTR=1 
-DHAVE_STRTOL=1 -DHAVE_TMPNAM=1 -DHAVE_WAITPID=1 -DHAVE_UNISTD_H=1 
-DHAVE_SYS_PARAM_H=1 -DUSE_TERMIOS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 
-DHAVE_TM_ZONE=1 -DHAVE_TM_GMTOFF=1 -DHAVE_TIMEZONE_VAR=1 
-DHAVE_TIMEZONE_DECL=1 -DHAVE_ST_BLKSIZE=1 -DSTDC_HEADERS=1 -DNEED_MATHERR=1 
-DRETSIGTYPE=void -DHAVE_SIGNED_CHAR=1 -DHAVE_SYS_IOCTL_H=1 -DSTATIC_BUILD=1  
-DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 
-DTIME_WITH_SYS_TIME=1 -DHAVE_PW_GECOS=1 -DSTATIC_BUILD=1  
-I/sourcenav-5.1.4/tk/generic/../unix -I/sourcenav-5.1.4/tk/generic/../win 
-DTBL_VERSION=\"2.7\" -DTBL_COMMAND=\"table\" -DTBL_RUNTIME=\"tkTable.tcl\" 
-DTBL_RUNTIME_DIR=\"/usr/lib/sourcenav/share/redhat/gui\" -DSTATIC_BUILD    -g 
-O2 -c /sourcenav-5.1.4/libgui/src/paths.c
cc1: error: unrecognized command line option "-fwritable-strings"
make[4]: *** [paths.o] Error 1
make[4]: Leaving directory `/sourcenav-5.1.4/debian/build/libgui/src'

With the attached patch 'sourcenav' can be compiled
on amd64 using gcc-4.0.

Regards
Andreas Jochens

diff -urN ../tmp-orig/sourcenav-5.1.4/itcl/itcl/unix/configure 
./itcl/itcl/unix/configure
--- ../tmp-orig/sourcenav-5.1.4/itcl/itcl/unix/configure        2000-02-07 
01:19:46.000000000 +0100
+++ ./itcl/itcl/unix/configure  2005-04-07 23:48:21.091719929 +0200
@@ -1113,7 +1113,7 @@
 fi
 # CYGNUS LOCAL - use -fwritable-strings with gcc, needed for Tcl8.1
 if test "$itcl_cv_prog_gcc" = "yes" ; then
-    CFLAGS="$CFLAGS -fwritable-strings -Wshadow -Wtraditional -Wall"
+    CFLAGS="$CFLAGS -Wshadow -Wtraditional -Wall"
 fi
 
 echo $ac_n "checking default compiler flags""... $ac_c" 1>&6
diff -urN ../tmp-orig/sourcenav-5.1.4/itcl/itcl/unix/configure.in 
./itcl/itcl/unix/configure.in
--- ../tmp-orig/sourcenav-5.1.4/itcl/itcl/unix/configure.in     2000-02-07 
01:19:46.000000000 +0100
+++ ./itcl/itcl/unix/configure.in       2005-04-07 23:48:13.260188301 +0200
@@ -122,7 +122,7 @@
 fi
 # CYGNUS LOCAL - use -fwritable-strings with gcc, needed for Tcl8.1
 if test "$itcl_cv_prog_gcc" = "yes" ; then
-    CFLAGS="$CFLAGS -fwritable-strings -Wshadow -Wtraditional -Wall"
+    CFLAGS="$CFLAGS -Wshadow -Wtraditional -Wall"
 fi
 
 AC_MSG_CHECKING([default compiler flags])
diff -urN ../tmp-orig/sourcenav-5.1.4/itcl/itk/unix/configure 
./itcl/itk/unix/configure
--- ../tmp-orig/sourcenav-5.1.4/itcl/itk/unix/configure 2000-02-07 
01:19:46.000000000 +0100
+++ ./itcl/itk/unix/configure   2005-04-07 23:48:49.059476119 +0200
@@ -1173,7 +1173,7 @@
     # that they obscure everything else.
     # CYGNUS LOCAL - add -fwritable-strings to CFLAGS for gcc.  Needed 
     # with Tcl8.1
-    CFLAGS="$CFLAGS -fwritable-strings -Wshadow -Wtraditional -Wall 
-Wno-implicit-int"
+    CFLAGS="$CFLAGS -Wshadow -Wtraditional -Wall -Wno-implicit-int"
 fi
 
 echo $ac_n "checking default compiler flags""... $ac_c" 1>&6
diff -urN ../tmp-orig/sourcenav-5.1.4/itcl/itk/unix/configure.in 
./itcl/itk/unix/configure.in
--- ../tmp-orig/sourcenav-5.1.4/itcl/itk/unix/configure.in      2000-02-07 
01:19:46.000000000 +0100
+++ ./itcl/itk/unix/configure.in        2005-04-07 23:48:39.182328033 +0200
@@ -162,7 +162,7 @@
     # that they obscure everything else.
     # CYGNUS LOCAL - add -fwritable-strings to CFLAGS for gcc.  Needed 
     # with Tcl8.1
-    CFLAGS="$CFLAGS -fwritable-strings -Wshadow -Wtraditional -Wall 
-Wno-implicit-int"
+    CFLAGS="$CFLAGS -Wshadow -Wtraditional -Wall -Wno-implicit-int"
 fi
 
 AC_MSG_CHECKING([default compiler flags])
diff -urN ../tmp-orig/sourcenav-5.1.4/libgui/configure ./libgui/configure
--- ../tmp-orig/sourcenav-5.1.4/libgui/configure        2001-10-28 
17:22:24.000000000 +0100
+++ ./libgui/configure  2005-04-07 23:38:41.000000000 +0200
@@ -1919,14 +1919,6 @@
 rm -f conftest*
 
 
-# Tcl8.1 requires writable strings for gcc
-
-if test "$GCC" = "yes"; then
-   LIBGUI_CFLAGS=-fwritable-strings
-else
-   LIBGUI_CFLAGS=
-fi
-
 echo $ac_n "checking for cygwin32""... $ac_c" 1>&6
 echo "configure:1932: checking for cygwin32" >&5
 if eval "test \"`echo '$''{'ide_cv_os_cygwin32'+set}'`\" = set"; then
diff -urN ../tmp-orig/sourcenav-5.1.4/libgui/configure.in ./libgui/configure.in
--- ../tmp-orig/sourcenav-5.1.4/libgui/configure.in     2001-10-28 
17:22:24.000000000 +0100
+++ ./libgui/configure.in       2005-04-07 23:38:19.000000000 +0200
@@ -43,14 +43,6 @@
 AC_EGREP_CPP(strncasecmp, [#include <string.h>],
   AC_DEFINE(HAVE_STRNCASECMP_DECL))
 
-# Tcl8.1 requires writable strings for gcc
-
-if test "$GCC" = "yes"; then
-   LIBGUI_CFLAGS=-fwritable-strings
-else
-   LIBGUI_CFLAGS=
-fi
-
 AC_CACHE_CHECK([for cygwin32], ide_cv_os_cygwin32,
 [AC_EGREP_CPP(lose, [
 #ifdef __CYGWIN32__
diff -urN ../tmp-orig/sourcenav-5.1.4/snavigator/configure 
./snavigator/configure
--- ../tmp-orig/sourcenav-5.1.4/snavigator/configure    2003-06-26 
22:01:11.000000000 +0200
+++ ./snavigator/configure      2005-04-07 23:49:26.079535048 +0200
@@ -1369,7 +1369,7 @@
 
 if test x$ide_cv_os_cygwin32 = xyes ||
        test x$sn_cv_os_mingw32 = xyes ; then
-   HYPER_CFLAGS="-Wall -fwritable-strings"
+   HYPER_CFLAGS="-Wall"
 fi
  
 
diff -urN ../tmp-orig/sourcenav-5.1.4/snavigator/configure.in 
./snavigator/configure.in
--- ../tmp-orig/sourcenav-5.1.4/snavigator/configure.in 2003-06-26 
22:01:11.000000000 +0200
+++ ./snavigator/configure.in   2005-04-07 23:49:14.951621474 +0200
@@ -153,7 +153,7 @@
 
 if test x$ide_cv_os_cygwin32 = xyes ||
        test x$sn_cv_os_mingw32 = xyes ; then
-   HYPER_CFLAGS="-Wall -fwritable-strings"
+   HYPER_CFLAGS="-Wall"
 fi
 AC_SUBST(HYPER_CFLAGS) 
 
diff -urN ../tmp-orig/sourcenav-5.1.4/tix/unix/tk8.1/Makefile.in 
./tix/unix/tk8.1/Makefile.in
--- ../tmp-orig/sourcenav-5.1.4/tix/unix/tk8.1/Makefile.in      2001-09-09 
01:25:55.000000000 +0200
+++ ./tix/unix/tk8.1/Makefile.in        2005-04-07 23:47:17.088720163 +0200
@@ -46,7 +46,7 @@
 # To change the compiler switches, for example to change from -O
 # to -g, change the following line:
 CFLAGS = -O
-TIX_CFLAGS = $(CFLAGS) -fwritable-strings
+TIX_CFLAGS = $(CFLAGS)
 
 # To disable ANSI-C procedure prototypes reverse the comment characters
 # on the following lines:
diff -urN ../tmp-orig/sourcenav-5.1.4/tix/unix/tk8.3/Makefile.in 
./tix/unix/tk8.3/Makefile.in
--- ../tmp-orig/sourcenav-5.1.4/tix/unix/tk8.3/Makefile.in      2002-01-12 
00:43:38.000000000 +0100
+++ ./tix/unix/tk8.3/Makefile.in        2005-04-07 23:47:27.948683976 +0200
@@ -46,7 +46,7 @@
 # To change the compiler switches, for example to change from -O
 # to -g, change the following line:
 CFLAGS = -O
-TIX_CFLAGS = $(CFLAGS) -fwritable-strings
+TIX_CFLAGS = $(CFLAGS)
 
 # To disable ANSI-C procedure prototypes reverse the comment characters
 # on the following lines:

---------------------------------------
Received: (at 303692-close) by bugs.debian.org; 11 Aug 2005 20:22:00 +0000
>From [EMAIL PROTECTED] Thu Aug 11 13:22:00 2005
Return-path: <[EMAIL PROTECTED]>
Received: from katie by spohr.debian.org with local (Exim 3.36 1 (Debian))
        id 1E3JUS-0005OB-00; Thu, 11 Aug 2005 13:17:24 -0700
From: Torsten Werner <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
X-Katie: $Revision: 1.56 $
Subject: Bug#303692: fixed in sourcenav 5.1.4-2
Message-Id: <[EMAIL PROTECTED]>
Sender: Archive Administrator <[EMAIL PROTECTED]>
Date: Thu, 11 Aug 2005 13:17:24 -0700
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
        autolearn=no version=2.60-bugs.debian.org_2005_01_02

Source: sourcenav
Source-Version: 5.1.4-2

We believe that the bug you reported is fixed in the latest version of
sourcenav, which is due to be installed in the Debian FTP archive:

sourcenav_5.1.4-2.diff.gz
  to pool/main/s/sourcenav/sourcenav_5.1.4-2.diff.gz
sourcenav_5.1.4-2.dsc
  to pool/main/s/sourcenav/sourcenav_5.1.4-2.dsc
sourcenav_5.1.4-2_i386.deb
  to pool/main/s/sourcenav/sourcenav_5.1.4-2_i386.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Torsten Werner <[EMAIL PROTECTED]> (supplier of updated sourcenav package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Thu, 11 Aug 2005 21:03:11 +0200
Source: sourcenav
Binary: sourcenav
Architecture: source i386
Version: 5.1.4-2
Distribution: unstable
Urgency: low
Maintainer: Torsten Werner <[EMAIL PROTECTED]>
Changed-By: Torsten Werner <[EMAIL PROTECTED]>
Description: 
 sourcenav  - Source code analysis, editor, browser and build tool.
Closes: 303692
Changes: 
 sourcenav (5.1.4-2) unstable; urgency=low
 .
   * applied portabiliy patch for amd64 from Andreas Jochens, closes: #303692
Files: 
 af559d9033703b5bf5309ae22e57db80 606 devel optional sourcenav_5.1.4-2.dsc
 39a23ebf8ba9c7621ba68414647b5ce5 9538 devel optional sourcenav_5.1.4-2.diff.gz
 93ad3b69dd5c62dbb26081e9fbb1a399 6846954 devel optional 
sourcenav_5.1.4-2_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFC+6KbfY3dicTPjsMRAv26AJ99zATyIHuwSdOdFkwcC1vHB0fEigCfSSTS
9+istmiXJh2VrwsEhf6dvZc=
=Q6q4
-----END PGP SIGNATURE-----


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to