NetBSD Problem Report #48744
From www@NetBSD.org Sun Apr 13 21:24:16 2014
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
(using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits))
(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK))
by mollari.NetBSD.org (Postfix) with ESMTPS id D03E1A5813
for <gnats-bugs@gnats.NetBSD.org>; Sun, 13 Apr 2014 21:24:15 +0000 (UTC)
Message-Id: <20140413212414.7AEA8A581B@mollari.NetBSD.org>
Date: Sun, 13 Apr 2014 21:24:14 +0000 (UTC)
From: venture37@geeklan.co.uk
Reply-To: venture37@geeklan.co.uk
To: gnats-bugs@NetBSD.org
Subject: lang/gcc44 Declare USE_LANGUAGES
X-Send-Pr-Version: www-1.0
>Number: 48744
>Category: pkg
>Synopsis: lang/gcc44 Declare USE_LANGUAGES
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Apr 13 21:25:01 +0000 2014
>Closed-Date: Fri May 09 11:44:36 +0000 2014
>Last-Modified: Fri May 09 11:44:36 +0000 2014
>Originator: venture37
>Release: current
>Organization:
>Environment:
Darwin 8.11.0 Darwin Kernel Version 8.11.0: Wed Oct 10 18:26:00 PDT 2007; root:xnu-792.24.17~1/RELEASE_PPC Power Macintosh powerpc
>Description:
Declare USE_LANGUAGES in Makefile, listing c c++ & Fortran
This should be applied to the gcc45, 46 & 47 too,gcc48 has it defined though fortran is not listed.
>How-To-Repeat:
>Fix:
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/lang/gcc44/Makefile,v
retrieving revision 1.39
diff -u -r1.39 Makefile
--- Makefile 31 May 2013 12:41:11 -0000 1.39
+++ Makefile 13 Apr 2014 21:13:14 -0000
@@ -12,6 +12,7 @@
COMMENT= GNU Compiler Collection 4.4
LICENSE= gnu-gpl-v2 AND gnu-gpl-v3 AND gnu-lgpl-v2 AND gnu-lgpl-v3
+USE_LANGUAGES= c c++ fortran
USE_TOOLS+= awk:run bash:run chmod gmake:run makeinfo sed:run
GCC_VERSION= 4.4.7
>Release-Note:
>Audit-Trail:
From: Thomas Klausner <wiz@NetBSD.org>
To: NetBSD bugtracking <gnats-bugs@NetBSD.org>
Cc:
Subject: Re: pkg/48744: lang/gcc44 Declare USE_LANGUAGES
Date: Sun, 13 Apr 2014 23:27:08 +0200
On Sun, Apr 13, 2014 at 09:25:01PM +0000, venture37@geeklan.co.uk wrote:
> Declare USE_LANGUAGES in Makefile, listing c c++ & Fortran
I think gcc is written in C. Why the others?
Thomas
From: venture37 <venture37@geeklan.co.uk>
To: gnats-bugs@NetBSD.org, pkg-manager@netbsd.org,
gnats-admin@netbsd.org, pkgsrc-bugs@netbsd.org
Cc:
Subject: Re: pkg/48744: lang/gcc44 Declare USE_LANGUAGES
Date: Sun, 13 Apr 2014 22:34:26 +0100
On 13/04/2014 22:30, Thomas Klausner wrote:
> I think gcc is written in C. Why the others?
Build process reports
WARNING: *** Please consider adding c++ to USE_LANGUAGES in the packge
Makefile
&
PKGSRC-WARNING: Something is trying to run the fortran compiler, but it
is not added to USE_LANGUAGES is the package Makefile.
From: Thomas Klausner <wiz@NetBSD.org>
To: NetBSD bugtracking <gnats-bugs@NetBSD.org>
Cc:
Subject: Re: pkg/48744: lang/gcc44 Declare USE_LANGUAGES
Date: Sun, 13 Apr 2014 23:52:04 +0200
On Sun, Apr 13, 2014 at 10:34:26PM +0100, venture37 wrote:
> Build process reports
> WARNING: *** Please consider adding c++ to USE_LANGUAGES in the packge
> Makefile
> &
> PKGSRC-WARNING: Something is trying to run the fortran compiler, but it is
> not added to USE_LANGUAGES is the package Makefile.
That's just a warning because the configure script tests for c++ and
fortran compilers. That alone is not a reason to set USE_LANGUAGES.
Thomas
State-Changed-From-To: open->closed
State-Changed-By: obache@NetBSD.org
State-Changed-When: Fri, 09 May 2014 11:44:36 +0000
State-Changed-Why:
Just warnings for hints to find the reason if build failure is happened.
For this case, no build failure, so no need to take care such warnings.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.