NetBSD Problem Report #43191

From www@NetBSD.org  Wed Apr 21 23:47:12 2010
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by www.NetBSD.org (Postfix) with ESMTP id 3CE6163B8BC
	for <gnats-bugs@gnats.NetBSD.org>; Wed, 21 Apr 2010 23:47:12 +0000 (UTC)
Message-Id: <20100421234711.D603E63B873@www.NetBSD.org>
Date: Wed, 21 Apr 2010 23:47:11 +0000 (UTC)
From: george@galis.org
Reply-To: george@galis.org
To: gnats-bugs@NetBSD.org
Subject: USE_LANGUAGES+=fortran breaks bootstrap
X-Send-Pr-Version: www-1.0

>Number:         43191
>Notify-List:    dholland@NetBSD.org
>Category:       pkg
>Synopsis:       USE_LANGUAGES+=fortran breaks bootstrap
>Confidential:   no
>Severity:       critical
>Priority:       low
>Responsible:    pkg-manager
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Apr 21 23:50:00 +0000 2010
>Closed-Date:    Sat Dec 29 09:19:48 +0000 2018
>Last-Modified:  Sat Dec 29 09:19:48 +0000 2018
>Originator:     George Georgalis
>Release:        pkgsrc-2010Q1
>Organization:
>Environment:
NetBSD bonnie 5.0_STABLE NetBSD 5.0_STABLE (BONNIE) #0: Sat Feb 13 00:52:48 PST 2010  root@bonnie:/usr/obj/sys/arch/i386/compile/BONNIE i386
>Description:
The use of "USE_LANGUAGES+=fortran" prevents rolling upgrade and bootstrap of pkgsrc tree. Here first package attempted from co is colorls.

=> Bootstrap dependency digest>=20010302: NOT found
=> Verifying reinstall for ../../pkgtools/digest
===> Checking for vulnerabilities in digest-20080510
===> Installing dependencies for digest-20080510
=> Build dependency f2c>=20090411nb2: NOT found
=> Verifying reinstall for ../../lang/f2c
=> Bootstrap dependency digest>=20010302: NOT found
=> Verifying reinstall for ../../pkgtools/digest
ERROR: This package has set PKG_FAIL_REASON:
ERROR: Circular dependency detected
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/pkgtools/digest
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/lang/f2c
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/pkgtools/digest
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/misc/colorls


I believe it was /usr/pkgsrc/math/R that asked me to set the parameter in mk.comf
>How-To-Repeat:

>Fix:
Not sure, I have not tried to build R with pkgsrc-2010Q1. But I was able to bootstrap by removing USE_LANGUAGES from mk.conf.

>Release-Note:

>Audit-Trail:
From: David Holland <dholland-bugs@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: install/43191: USE_LANGUAGES+=fortran breaks bootstrap
Date: Thu, 22 Apr 2010 01:44:54 +0000

 On Wed, Apr 21, 2010 at 11:50:00PM +0000, george@galis.org wrote:
  > I believe it was /usr/pkgsrc/math/R that asked me to set the parameter in mk.comf

 USE_LANGUAGES is a package setting, not a mk.conf setting; nothing
 should be telling you to add it to mk.conf, and unless you've been
 tinkering with a package or preparing a new one, warnings suggesting
 that you might want to add it to the *package* makefile can almost
 always be ignored.

 -- 
 David A. Holland
 dholland@netbsd.org

Responsible-Changed-From-To: install-manager->pkg-manager
Responsible-Changed-By: dholland@NetBSD.org
Responsible-Changed-When: Thu, 22 Apr 2010 01:47:20 +0000
Responsible-Changed-Why:
also, this is a pkgsrc issue, not a netbsd installer issue.


From: George Georgalis <george@galis.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/43191 (USE_LANGUAGES+=fortran breaks bootstrap)
Date: Wed, 21 Apr 2010 19:29:41 -0700

 On Thu 22 Apr 2010 at 01:47:21 AM +0000, dholland@NetBSD.org wrote:
 >Synopsis: USE_LANGUAGES+=fortran breaks bootstrap
 >
 >Responsible-Changed-From-To: install-manager->pkg-manager
 >Responsible-Changed-By: dholland@NetBSD.org
 >Responsible-Changed-When: Thu, 22 Apr 2010 01:47:20 +0000
 >Responsible-Changed-Why:
 >also, this is a pkgsrc issue, not a netbsd installer issue.

 indeed, I didn't realize I had left the pkgsrc.org domain
 when I filed the pr.

From: George Georgalis <george@galis.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: install/43191: USE_LANGUAGES+=fortran breaks bootstrap
Date: Wed, 21 Apr 2010 20:31:33 -0700

 On Thu 22 Apr 2010 at 01:45:02 AM +0000, David Holland wrote:
 >The following reply was made to PR install/43191; it has been noted by GNATS.
 >
 > On Wed, Apr 21, 2010 at 11:50:00PM +0000, george@galis.org wrote:
 >  > I believe it was /usr/pkgsrc/math/R that asked me to set the parameter in mk.comf
 > 
 > USE_LANGUAGES is a package setting, not a mk.conf setting; nothing
 > should be telling you to add it to mk.conf, and unless you've been
 > tinkering with a package or preparing a new one, warnings suggesting
 > that you might want to add it to the *package* makefile can almost
 > always be ignored.

 okay, probably I was only told to add fortran to the variable
 USE_LANGUAGES

 I don't know where to go with this... just thought there was a
 problem because pkgtools/digest failed to build with USE_LANGUAGES
 set.

 If all is okay, feel free to close.

From: David Holland <dholland-pbugs@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/43191 (USE_LANGUAGES+=fortran breaks bootstrap)
Date: Thu, 22 Apr 2010 04:09:37 +0000

 On Thu, Apr 22, 2010 at 02:30:06AM +0000, George Georgalis wrote:
  >> also, this is a pkgsrc issue, not a netbsd installer issue.
  >  
  >  indeed, I didn't realize I had left the pkgsrc.org domain
  >  when I filed the pr.

 oops, a new way the web site can be confusing. We (meaning NetBSD)
 ought to figure out how to make this clearer, I guess. Do you remember
 what path you took?

 -- 
 David A. Holland
 dholland@netbsd.org

From: David Holland <dholland-pbugs@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: install/43191: USE_LANGUAGES+=fortran breaks bootstrap
Date: Thu, 22 Apr 2010 04:12:19 +0000

 On Thu, Apr 22, 2010 at 03:35:01AM +0000, George Georgalis wrote:
  >  okay, probably I was only told to add fortran to the variable
  >  USE_LANGUAGES

 Maybe these messages should be disabled except when PKG_DEVELOPER is
 set?

  >  I don't know where to go with this... just thought there was a
  >  problem because pkgtools/digest failed to build with USE_LANGUAGES
  >  set.
  >  
  >  If all is okay, feel free to close.

 Yeah, that isn't a problem. But I'd like to figure out how to adjust
 things so it's clearer next time -- if you have any suggestions,
 please let me/us know, here or in separate PRs.

 -- 
 David A. Holland
 dholland@netbsd.org

From: George Georgalis <george@galis.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/43191 (USE_LANGUAGES+=fortran breaks bootstrap)
Date: Wed, 21 Apr 2010 23:03:36 -0700

 On Thu 22 Apr 2010 at 04:10:05 AM +0000, David Holland wrote:
 >The following reply was made to PR pkg/43191; it has been noted by GNATS.
 >
 >From: David Holland <dholland-pbugs@netbsd.org>
 >To: gnats-bugs@NetBSD.org
 >Cc: 
 >Subject: Re: pkg/43191 (USE_LANGUAGES+=fortran breaks bootstrap)
 >Date: Thu, 22 Apr 2010 04:09:37 +0000
 >
 > On Thu, Apr 22, 2010 at 02:30:06AM +0000, George Georgalis wrote:
 >  >> also, this is a pkgsrc issue, not a netbsd installer issue.
 >  >  
 >  >  indeed, I didn't realize I had left the pkgsrc.org domain
 >  >  when I filed the pr.
 > 
 > oops, a new way the web site can be confusing. We (meaning NetBSD)
 > ought to figure out how to make this clearer, I guess. Do you remember
 > what path you took?

 http://pkgsrc.org/

 -> Support
 Problem Reports
 -> Send a bug report online
 -> Send PR

 ...I did run some PR queries first...

 I hit that url whenever I read up on pkgsrc, why not
 put all the pkgsrc stuff in the pkgsrc.org domain?
 might have more appeal for the Linux et al camps and
 the send pr form could use existing PR system but
 fixed to the pkg category.

 I appreciate pkgsrc is basically a branch of NetBSD
 but if it is going to remain the "NetBSD Packages
 Collection" maybe an intermediate page explaining
 the redirect from pkgsrc.org to netbsd.org?

From: George Georgalis <george@galis.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: install/43191: USE_LANGUAGES+=fortran breaks bootstrap
Date: Wed, 21 Apr 2010 23:53:27 -0700

 On Thu 22 Apr 2010 at 04:15:04 AM +0000, David Holland wrote:
 >
 > On Thu, Apr 22, 2010 at 03:35:01AM +0000, George Georgalis wrote:
 >  >  okay, probably I was only told to add fortran to the variable
 >  >  USE_LANGUAGES
 > 
 > Maybe these messages should be disabled except when PKG_DEVELOPER is
 > set?

 I would suggest that if there is any authority behind a warning
 or message then it should be referred to. I searched the internet
 for USE_LANGUAGES and found lots of problems but no definition of
 what/why it is. All I can see is how one might set it differently.

 Does USE_LANGUAGES come from gcc, pkgsrc or something else?
 Citing "(RFC xxxx)" "(PKGSRC Guide 5.1.1)" "(author)" or whatever
 could go a long way toward a solution since people reading stderr
 probably didn't know there was a violation in the first place.

State-Changed-From-To: open->closed
State-Changed-By: triaxx@NetBSD.org
State-Changed-When: Sat, 29 Dec 2018 09:19:48 +0000
State-Changed-Why:
USE_LANGUAGES should not be set in mk.conf. math/R now sets USE_LANGUAGES= c c++ fortran. Submission path is now clear on pkgsrc.org.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.43 2018/01/16 07:36:43 maya Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2017 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.