NetBSD Problem Report #55637

From www@netbsd.org  Wed Sep  2 04:59:14 2020
Return-Path: <www@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 3EE081A923A
	for <gnats-bugs@gnats.NetBSD.org>; Wed,  2 Sep 2020 04:59:14 +0000 (UTC)
Message-Id: <20200902045913.0FD2C1A923F@mollari.NetBSD.org>
Date: Wed,  2 Sep 2020 04:59:12 +0000 (UTC)
From: michael@telkp.bme.hu
Reply-To: michael@telkp.bme.hu
To: gnats-bugs@NetBSD.org
Subject: Pkgsrc only knows gcc8 (GCC_REQD=9 not working)
X-Send-Pr-Version: www-1.0

>Number:         55637
>Category:       pkg
>Synopsis:       Pkgsrc only knows gcc8 (GCC_REQD=9 not working)
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    ryoon
>State:          feedback
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Wed Sep 02 05:00:00 +0000 2020
>Closed-Date:    
>Last-Modified:  Wed Sep 09 22:40:07 +0000 2020
>Originator:     Fazekas Mihaly
>Release:        current
>Organization:
Technical University of Budapest, Telephone Center (Hungary)
>Environment:
NetBSD alpha.telkp.bme.hu 9.0_STABLE NetBSD 9.0_STABLE (AS4K1_V1_SP) #0: Mon Aug 24 09:26:13 CEST 2020  michael@alpha.telkp.bme.hu:/tmp/system/sys/arch/alpha/compile/AS4K1_V1_SP alpha
>Description:

I like to experiment. (I like to play :) )
How can i use gcc9 as default compiler for pkgsrc?

Compiling and installing gcc9 was successful.


When set GCC_REQD=9 in mk.conf:
------------------------------
bash-5.0# make 
ERROR: This package has set PKG_FAIL_REASON:
ERROR: Unable to satisfy dependency: gcc8>=9
*** Error code 1

Stop.
------------------------------

>How-To-Repeat:

>Fix:

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->ryoon
Responsible-Changed-By: ryoon@NetBSD.org
Responsible-Changed-When: Wed, 02 Sep 2020 12:08:30 +0000
Responsible-Changed-Why:
I will take this.


From: "Ryo ONODERA" <ryoon@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/55637 CVS commit: pkgsrc/lang/gcc9
Date: Wed, 2 Sep 2020 16:11:28 +0000

 Module Name:	pkgsrc
 Committed By:	ryoon
 Date:		Wed Sep  2 16:11:28 UTC 2020

 Modified Files:
 	pkgsrc/lang/gcc9: Makefile
 Added Files:
 	pkgsrc/lang/gcc9: buildlink3.mk version.mk

 Log Message:
 gcc9: Add buidlink3.mk to select GCC with GCC_REQD

 * And for gcc9-libs, introduce version.mk.
 * A part of PR pkg/55637.


 To generate a diff of this commit:
 cvs rdiff -u -r1.22 -r1.23 pkgsrc/lang/gcc9/Makefile
 cvs rdiff -u -r0 -r1.1 pkgsrc/lang/gcc9/buildlink3.mk \
     pkgsrc/lang/gcc9/version.mk

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

From: "Ryo ONODERA" <ryoon@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/55637 CVS commit: pkgsrc/mk/compiler
Date: Wed, 2 Sep 2020 16:16:43 +0000

 Module Name:	pkgsrc
 Committed By:	ryoon
 Date:		Wed Sep  2 16:16:43 UTC 2020

 Modified Files:
 	pkgsrc/mk/compiler: gcc.mk

 Log Message:
 mk/compiler: Support GCC_REQD=9 or 10

 A pert of PR pkg/55637.


 To generate a diff of this commit:
 cvs rdiff -u -r1.213 -r1.214 pkgsrc/mk/compiler/gcc.mk

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

From: Bruce Lilly <bruce.lilly+nbsd@gmail.com>
To: gnats-bugs@netbsd.org
Cc: ryoon@netbsd.org, pkg-manager@netbsd.org, pkgsrc-bugs@netbsd.org, 
	gnats-admin@netbsd.org, michael@telkp.bme.hu
Subject: Re: pkg/55637 (Pkgsrc only knows gcc8 (GCC_REQD=9 not working))
Date: Wed, 2 Sep 2020 15:19:05 -0400

 See also pkg/55624, which covers the same issue.

State-Changed-From-To: open->feedback
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Wed, 09 Sep 2020 22:40:07 +0000
State-Changed-Why:
Is this done?


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.46 2020/01/03 16:35:01 leot Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2020 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.