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

Bug#285954: marked as done (freebsd-buildutils: FTBFS (amd64/gcc-4.0): static declaration of 'maxJobs' follows non-static declaration)



Your message dated Thu, 16 Jun 2005 22:05:38 +0200
with message-id <20050616200537.GA24094@bode.aurel32.net>
and subject line freebsd-buildutils: FTBFS (amd64/gcc-4.0): static declaration of 'maxJobs' follows non-static declaration
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; 16 Dec 2004 16:21:18 +0000
>From aj@andaco.de Thu Dec 16 08:21:18 2004
Return-path: <aj@andaco.de>
Received: from c158218.adsl.hansenet.de (localhost.localdomain) [213.39.158.218] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1CeyNR-0005cX-00; Thu, 16 Dec 2004 08:21:18 -0800
Received: from aj by localhost.localdomain with local (Exim 4.34)
	id 1CeyRv-0007am-BZ; Thu, 16 Dec 2004 17:25:55 +0100
To: Debian Bug Tracking System <submit@bugs.debian.org>
From: Andreas Jochens <aj@andaco.de>
Subject: freebsd-buildutils: FTBFS (amd64/gcc-4.0): static declaration of 'maxJobs' follows non-static declaration
Message-Id: <E1CeyRv-0007am-BZ@localhost.localdomain>
Date: Thu, 16 Dec 2004 17:25:55 +0100
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(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_2004_03_25
X-Spam-Level: 

Package: freebsd-buildutils
Severity: normal
Tags: patch

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

cc -O -I/freebsd-buildutils-5.2.1+20041028.1/build-tree/src/usr.bin/make -DMAKE_VERSION=\"5200408120\" -DDEFSHELL=1 -O2 -g -Wall -DMACHINE_ARCH='"x86_64"'   -c job.c
job.c:231: error: static declaration of 'maxJobs' follows non-static declaration
job.h:232: error: previous declaration of 'maxJobs' was here
*** Error code 1

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

Regards
Andreas Jochens

diff -urN ../tmp-orig/freebsd-buildutils-5.2.1+20041028.1/debian/patches/06_gcc4_fix.diff ./debian/patches/06_gcc4_fix.diff
--- ../tmp-orig/freebsd-buildutils-5.2.1+20041028.1/debian/patches/06_gcc4_fix.diff	1970-01-01 01:00:00.000000000 +0100
+++ ./debian/patches/06_gcc4_fix.diff	2004-12-16 17:12:03.356268120 +0100
@@ -0,0 +1,12 @@
+diff -urN tmp/usr.bin/make/job.c src/usr.bin/make/job.c
+--- tmp/usr.bin/make/job.c	2004-12-16 17:06:50.255866000 +0100
++++ src/usr.bin/make/job.c	2004-12-16 17:08:49.266774208 +0100
+@@ -228,7 +228,7 @@
+                	*shellName = NULL;		  /* last component of shell */
+ 
+ 
+-static int  	maxJobs;    	/* The most children we can run at once */
++int  	maxJobs;    	/* The most children we can run at once */
+ static int  	maxLocal;    	/* The most local ones we can have */
+ STATIC int     	nJobs;	    	/* The number of children currently running */
+ STATIC int	nLocal;    	/* The number of local children */

---------------------------------------
Received: (at 285954-done) by bugs.debian.org; 16 Jun 2005 20:05:39 +0000
>From aurelien@aurel32.net Thu Jun 16 13:05:39 2005
Return-path: <aurelien@aurel32.net>
Received: from farad.aurel32.net [82.232.2.251] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1Dj0cN-0005M2-00; Thu, 16 Jun 2005 13:05:39 -0700
Received: from bode.aurel32.net ([2001:618:400:6439:2e0:18ff:fea3:b80f])
	by farad.aurel32.net with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32)
	(Exim 4.50)
	id 1Dj0cM-0000Ch-Bc
	for 285954-done@bugs.debian.org; Thu, 16 Jun 2005 22:05:38 +0200
Received: from aurel32 by bode.aurel32.net with local (Exim 4.51)
	id 1Dj0cM-0006Gu-0p
	for 285954-done@bugs.debian.org; Thu, 16 Jun 2005 22:05:38 +0200
Date: Thu, 16 Jun 2005 22:05:38 +0200
From: Aurelien Jarno <aurelien@aurel32.net>
To: 285954-done@bugs.debian.org
Subject: freebsd-buildutils: FTBFS (amd64/gcc-4.0): static declaration of 'maxJobs' follows non-static declaration
Message-ID: <20050616200537.GA24094@bode.aurel32.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-15
Content-Disposition: inline
X-Mailer: Mutt 1.5.9i (2005-03-13)
User-Agent: Mutt/1.5.9i
Sender: Aurelien Jarno <aurelien@aurel32.net>
Delivered-To: 285954-done@bugs.debian.org
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=-3.0 required=4.0 tests=BAYES_00 autolearn=no 
	version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

Hi,

freebsd-buildutils has been replaced by freebsd5-buildutils, that
already have a fix for that problem. I am therefore closing the bug.

Bye,
Aurelien

-- 
  .''`.  Aurelien Jarno	            | GPG: 1024D/F1BCDB73
 : :' :  Debian GNU/Linux developer | Electrical Engineer
 `. `'   aurel32@debian.org         | aurelien@aurel32.net
   `-    people.debian.org/~aurel32 | www.aurel32.net



Reply to: