Your message dated Thu, 18 Aug 2005 15:59:53 +1000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#305309: bazaar: FTBFS (amd64/gcc-4.0): pointer targets in 
return differ in signedness
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; 19 Apr 2005 06:34:33 +0000
>From [EMAIL PROTECTED] Mon Apr 18 23:34:32 2005
Return-path: <[EMAIL PROTECTED]>
Received: from c187198.adsl.hansenet.de (localhost.localdomain) 
[213.39.187.198] 
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1DNmJb-0006ug-00; Mon, 18 Apr 2005 23:34:31 -0700
Received: from aj by localhost.localdomain with local (Exim 4.50)
        id 1DNmJZ-0001ST-UU; Tue, 19 Apr 2005 08:34:29 +0200
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
From: Andreas Jochens <[EMAIL PROTECTED]>
Subject: bazaar: FTBFS (amd64/gcc-4.0): pointer targets in return differ in 
signedness
Message-Id: <[EMAIL PROTECTED]>
Date: Tue, 19 Apr 2005 08:34:29 +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: bazaar
Version: 1.3.2-1
Severity: normal
Tags: patch

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

cc -DFOR_MAKEFILE_DEPENDENCIES -E -I/bazaar-1.3.2/debian/build/config-include 
-I/bazaar-1.3.2/debian/build -I/bazaar-1.3.2/src -g -O2 -Wall -Werror 
-fno-strict-aliasing -Wstrict-prototypes  -Wmissing-prototypes 
-Wmissing-declarations -Wbad-function-cast  
/bazaar-1.3.2/src/hackerlab/os/errno-to-string.c | sed -f 
/bazaar-1.3.2/src/build-tools/Makefiles/cpp-to-includes.sed | sort -u | sed -e 
's/$/ \\/' >> errno-to-string.d
echo >> errno-to-string.d
printf "%s %s.o %s.d: " char-cmp-locale char-cmp-locale char-cmp-locale > 
char-cmp-locale.d
cc -DFOR_MAKEFILE_DEPENDENCIES -E -I/bazaar-1.3.2/debian/build/config-include 
-I/bazaar-1.3.2/debian/build -I/bazaar-1.3.2/src -g -O2 -Wall -Werror 
-fno-strict-aliasing -Wstrict-prototypes  -Wmissing-prototypes 
-Wmissing-declarations -Wbad-function-cast  
/bazaar-1.3.2/src/hackerlab/os/char-cmp-locale.c | sed -f 
/bazaar-1.3.2/src/build-tools/Makefiles/cpp-to-includes.sed | sort -u | sed -e 
's/$/ \\/' >> char-cmp-locale.d
echo >> char-cmp-locale.d
make[3]: Leaving directory `/bazaar-1.3.2/debian/build/hackerlab/os'
make[3]: Entering directory `/bazaar-1.3.2/debian/build/hackerlab/os'
cc -I/bazaar-1.3.2/debian/build/config-include -I/bazaar-1.3.2/debian/build 
-I/bazaar-1.3.2/src -g -O2 -Wall -Werror -fno-strict-aliasing 
-Wstrict-prototypes  -Wmissing-prototypes -Wmissing-declarations 
-Wbad-function-cast    -c -o char-class-locale.o 
/bazaar-1.3.2/src/hackerlab/os/char-class-locale.c
cc -I/bazaar-1.3.2/debian/build/config-include -I/bazaar-1.3.2/debian/build 
-I/bazaar-1.3.2/src -g -O2 -Wall -Werror -fno-strict-aliasing 
-Wstrict-prototypes  -Wmissing-prototypes -Wmissing-declarations 
-Wbad-function-cast    -c -o char-cmp-locale.o 
/bazaar-1.3.2/src/hackerlab/os/char-cmp-locale.c
cc -I/bazaar-1.3.2/debian/build/config-include -I/bazaar-1.3.2/debian/build 
-I/bazaar-1.3.2/src -g -O2 -Wall -Werror -fno-strict-aliasing 
-Wstrict-prototypes  -Wmissing-prototypes -Wmissing-declarations 
-Wbad-function-cast    -c -o errno-to-string.o 
/bazaar-1.3.2/src/hackerlab/os/errno-to-string.c
cc1: warnings being treated as errors
/bazaar-1.3.2/src/hackerlab/os/errno-to-string.c: In function 'errno_to_string':
/bazaar-1.3.2/src/hackerlab/os/errno-to-string.c:21: warning: pointer targets 
in return differ in signedness
make[3]: *** [errno-to-string.o] Error 1
make[3]: Leaving directory `/bazaar-1.3.2/debian/build/hackerlab/os'

There are a lot more warnings with gcc-4.0 and also one error in
src/hackerlab/vu/vu-virtual-null.{h,c} where a function is declared
as 'extern' and later defined as 'static' which is not allowed by
the C standard.

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

Regards
Andreas Jochens

diff -urN ../tmp-orig/bazaar-1.3.2/debian/rules ./debian/rules
--- ../tmp-orig/bazaar-1.3.2/debian/rules       2005-04-19 08:18:55.600832958 
+0200
+++ ./debian/rules      2005-04-19 08:18:42.626331664 +0200
@@ -4,7 +4,7 @@
 ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
        CFLAGS += -O0
 else
-       CFLAGS += -O2 -Wall -Werror -fno-strict-aliasing -Wstrict-prototypes  
-Wmissing-prototypes -Wmissing-declarations -Wbad-function-cast
+       CFLAGS += -O2 -Wall -fno-strict-aliasing -Wstrict-prototypes  
-Wmissing-prototypes -Wmissing-declarations -Wbad-function-cast
 # -Wcast-qual -Wbad-function-cast -Wextra
 endif
 export CFLAGS
diff -urN ../tmp-orig/bazaar-1.3.2/src/hackerlab/vu/vu-virtual-null.h 
./src/hackerlab/vu/vu-virtual-null.h
--- ../tmp-orig/bazaar-1.3.2/src/hackerlab/vu/vu-virtual-null.h 2005-04-14 
10:52:19.000000000 +0200
+++ ./src/hackerlab/vu/vu-virtual-null.h        2005-04-19 07:57:43.669788956 
+0200
@@ -22,7 +22,7 @@
  * An in-process emulation of /dev/null.
  *
  */
-extern struct vu_fs_discipline vu_virtual_null_vtable;
+static struct vu_fs_discipline vu_virtual_null_vtable;
 
 
 /* automatically generated __STDC__ prototypes */

---------------------------------------
Received: (at 305309-done) by bugs.debian.org; 18 Aug 2005 06:01:15 +0000
>From [EMAIL PROTECTED] Wed Aug 17 23:01:15 2005
Return-path: <[EMAIL PROTECTED]>
Received: from crumbs.ertius.org [67.18.176.136] 
        by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
        id 1E5dSl-0002lq-00; Wed, 17 Aug 2005 23:01:15 -0700
Received: from ooder.ertius.org (unknown [10.10.0.1])
        by crumbs.ertius.org (Postfix) with ESMTP id 6DF9570FFE;
        Thu, 18 Aug 2005 16:01:14 +1000 (EST)
Received: by ooder.ertius.org (Postfix, from userid 1000)
        id 150DF77BB0; Thu, 18 Aug 2005 15:59:54 +1000 (EST)
Date: Thu, 18 Aug 2005 15:59:53 +1000
From: Rob Weir <[EMAIL PROTECTED]>
To: Andreas Jochens <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
Subject: Re: Bug#305309: bazaar: FTBFS (amd64/gcc-4.0): pointer targets in 
return differ in signedness
Message-ID: <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <[EMAIL PROTECTED]>
User-Agent: Mutt/1.5.6+20040907i
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=-11.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER,
        HAS_PACKAGE autolearn=ham version=2.60-bugs.debian.org_2005_01_02

Package: bazaar
Version: 1.4.2-1

On Tue, Apr 19, 2005 at 08:34:29AM +0200, Andreas Jochens said
> When building 'bazaar' on amd64/unstable with gcc-4.0,
> I get the following error:

While I've marked this "pending" and "fixed-upstream", it appears[0] to
be fixed in sid already.

Ah, and Tollef kindly just test-built the version in sid for me, which
went fine, so I'll close this bug now.  Thanks for the report and patch!

-rob

0: http://people.debian.org/~igloo/status.php?email=&packages=bazaar&arches=

-- 
Words of the day:     Mafia bank Indigo ARPA csim CISU SRI asset class struggle


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

Reply via email to