Your message dated Thu, 19 May 2005 06:37:37 -0700
with message-id <[EMAIL PROTECTED]>
and subject line Bug#299304: This bug can be closed, and the patch dropped.
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; 13 Mar 2005 13:05:17 +0000
>From [EMAIL PROTECTED] Sun Mar 13 05:05:17 2005
Return-path: <[EMAIL PROTECTED]>
Received: from c223012.adsl.hansenet.de (localhost.localdomain) [213.39.223.12] 
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1DASmR-0004uC-00; Sun, 13 Mar 2005 05:05:16 -0800
Received: from aj by localhost.localdomain with local (Exim 4.44)
        id 1DASmL-0001U1-DF; Sun, 13 Mar 2005 14:05:09 +0100
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
From: Andreas Jochens <[EMAIL PROTECTED]>
Subject: samba: FTBFS (amd64/gcc-4.0): array type has incomplete element type
Message-Id: <[EMAIL PROTECTED]>
Date: Sun, 13 Mar 2005 14:05:09 +0100
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: samba
Severity: normal
Tags: patch

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

Compiling dynconfig.c
In file included from include/smb.h:1673,
                 from include/includes.h:817,
                 from dynconfig.c:21:
include/popt_common.h:25: error: array type has incomplete element type
include/popt_common.h:26: error: array type has incomplete element type
include/popt_common.h:27: error: array type has incomplete element type
include/popt_common.h:28: error: array type has incomplete element type
make[1]: *** [dynconfig.o] Error 1
make[1]: Leaving directory `/samba-3.0.10/source'
make: *** [build-stamp] Error 2

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

Regards
Andreas Jochens

diff -urN ../tmp-orig/samba-3.0.10/debian/patches/gcc4-fix.patch 
./debian/patches/gcc4-fix.patch
--- ../tmp-orig/samba-3.0.10/debian/patches/gcc4-fix.patch      1970-01-01 
01:00:00.000000000 +0100
+++ ./debian/patches/gcc4-fix.patch     2005-03-11 12:49:11.159111783 +0100
@@ -0,0 +1,57 @@
+diff -urN source.orig/include/popt_common.h samba/source/include/popt_common.h
+--- source.orig/include/popt_common.h  2004-10-25 23:05:06.000000000 +0200
++++ samba/source/include/popt_common.h 2005-03-11 12:48:21.334047738 +0100
+@@ -22,10 +22,10 @@
+ #define _POPT_COMMON_H
+ 
+ /* Common popt structures */
+-extern struct poptOption popt_common_samba[];
+-extern struct poptOption popt_common_connection[];
+-extern struct poptOption popt_common_version[];
+-extern struct poptOption popt_common_credentials[];
++extern struct poptOption *popt_common_samba;
++extern struct poptOption *popt_common_connection;
++extern struct poptOption *popt_common_version;
++extern struct poptOption *popt_common_credentials;
+ 
+ #ifndef POPT_TABLEEND
+ #define POPT_TABLEEND { NULL, '\0', 0, 0, 0, NULL, NULL }
+diff -urN source.orig/lib/popt_common.c samba/source/lib/popt_common.c
+--- source.orig/lib/popt_common.c      2004-10-25 23:04:59.000000000 +0200
++++ samba/source/lib/popt_common.c     2005-03-11 12:48:50.942166331 +0100
+@@ -114,7 +114,7 @@
+       }
+ }
+ 
+-struct poptOption popt_common_connection[] = {
++struct poptOption *popt_common_connection = {
+       { NULL, 0, POPT_ARG_CALLBACK, popt_common_callback },
+       { "socket-options", 'O', POPT_ARG_STRING, NULL, 'O', "socket options to 
use",
+         "SOCKETOPTIONS" },
+@@ -125,7 +125,7 @@
+       POPT_TABLEEND
+ };
+ 
+-struct poptOption popt_common_samba[] = {
++struct poptOption *popt_common_samba = {
+       { NULL, 0, POPT_ARG_CALLBACK|POPT_CBFLAG_PRE, popt_common_callback },
+       { "debuglevel", 'd', POPT_ARG_STRING, NULL, 'd', "Set debug level", 
"DEBUGLEVEL" },
+       { "configfile", 's', POPT_ARG_STRING, NULL, 's', "Use alternative 
configuration file", "CONFIGFILE" },
+@@ -134,7 +134,7 @@
+       POPT_TABLEEND
+ };
+ 
+-struct poptOption popt_common_version[] = {
++struct poptOption *popt_common_version = {
+       { NULL, 0, POPT_ARG_CALLBACK, popt_common_callback },
+       { "version", 'V', POPT_ARG_NONE, NULL, 'V', "Print version" },
+       POPT_TABLEEND
+@@ -382,7 +382,7 @@
+ 
+ 
+ 
+-struct poptOption popt_common_credentials[] = {
++struct poptOption *popt_common_credentials = {
+       { NULL, 0, POPT_ARG_CALLBACK|POPT_CBFLAG_PRE, 
popt_common_credentials_callback },
+       { "user", 'U', POPT_ARG_STRING, NULL, 'U', "Set the network username", 
"USERNAME" },
+       { "no-pass", 'N', POPT_ARG_NONE, &cmdline_auth_info.got_pass, 0, "Don't 
ask for a password" },

---------------------------------------
Received: (at 299304-done) by bugs.debian.org; 19 May 2005 13:37:37 +0000
>From [EMAIL PROTECTED] Thu May 19 06:37:37 2005
Return-path: <[EMAIL PROTECTED]>
Received: from dsl093-039-086.pdx1.dsl.speakeasy.net (mauritius.dodds.net) 
[66.93.39.86] 
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1DYlDV-0001b2-00; Thu, 19 May 2005 06:37:37 -0700
Received: by mauritius.dodds.net (Postfix, from userid 1000)
        id 33212AC41F; Thu, 19 May 2005 06:37:37 -0700 (PDT)
Date: Thu, 19 May 2005 06:37:37 -0700
From: Steve Langasek <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED], [EMAIL PROTECTED]
Subject: Re: Bug#299304: This bug can be closed, and the patch dropped.
Message-ID: <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]>
Mime-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
        protocol="application/pgp-signature"; boundary="bqPh76xD3yWylqqJ"
Content-Disposition: inline
In-Reply-To: <[EMAIL PROTECTED]>
User-Agent: Mutt/1.5.9i
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=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
        autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 


--bqPh76xD3yWylqqJ
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, May 19, 2005 at 11:01:10PM +1000, Adam Conrad wrote:
> In merging Samba with Ubuntu, we used the patch in this bug, and it caused
> some broken behaviour in smbclient.  Upstream did, however, fix things
> differently (and correctly) in a recent enough version that 14a-1 compiled
> just fine with gcc-4.0 without the use of this patch.

> Feel free, therefore, to close this bug.

Closing as explained.

Thanks,
--=20
Steve Langasek
postmodern programmer

--bqPh76xD3yWylqqJ
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

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

iD8DBQFCjJagKN6ufymYLloRAkq4AKCUigQcG1Ew8y7+DqOHG6/wLqILZgCgzOpw
LwuafeI6eGpQIq/1OGQlvUg=
=Mw55
-----END PGP SIGNATURE-----

--bqPh76xD3yWylqqJ--


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

Reply via email to