NetBSD Problem Report #55624

From www@netbsd.org  Sat Aug 29 15:49:37 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 1DE661A923F
	for <gnats-bugs@gnats.NetBSD.org>; Sat, 29 Aug 2020 15:49:37 +0000 (UTC)
Message-Id: <20200829154935.E68401A9242@mollari.NetBSD.org>
Date: Sat, 29 Aug 2020 15:49:35 +0000 (UTC)
From: bruce.lilly+nbsd@gmail.com
Reply-To: bruce.lilly+nbsd@gmail.com
To: gnats-bugs@NetBSD.org
Subject: Installing gcc > 8 breaks pkgsrc
X-Send-Pr-Version: www-1.0

>Number:         55624
>Category:       pkg
>Synopsis:       Installing gcc > 8 breaks pkgsrc
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Aug 29 15:50:00 +0000 2020
>Closed-Date:    Tue Feb 01 01:48:54 +0000 2022
>Last-Modified:  Tue Feb 01 01:48:54 +0000 2022
>Originator:     Bruce Lilly
>Release:        9.0
>Organization:
>Environment:
NetBSD cq60-615dx.blilly.net 9.0 NetBSD 9.0 (GENERIC) #0: Fri Feb 14 00:06:28 UTC 2020  mkrepro@mkrepro.NetBSD.org:/usr/src/sys/arch/amd64/compile/GENERIC amd64 x86_64 Intel 686-class NetBSD
>Description:
If gcc version > 8 is installed, attempts to build packages from source fail.  Example:
bruce@cq60-615dx:/usr/pkgsrc/misc/ascii# bmake         
ERROR: This package has set PKG_FAIL_REASON:
ERROR: Unable to satisfy dependency: gcc8>=10.1.0
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/misc/ascii
>How-To-Repeat:
Fresh install (not upgrade) of NetBSD 9.0
Install gcc9 or later (see pkg/55623)
Try to build some package from source
>Fix:
Fix is unknown, but the problem appears to be in
/usr/pkgsrc/mk/compiler/gcc.mk
which (if I'm reading it correctly)
doesn't seem to have any provision for gcc9 or gcc 10
(or gcc11...)
even though pkgsrc contains packages for gcc9 and gcc10

>Release-Note:

>Audit-Trail:

State-Changed-From-To: open->closed
State-Changed-By: gutteridge@NetBSD.org
State-Changed-When: Tue, 01 Feb 2022 01:48:54 +0000
State-Changed-Why:
This was resolved some time ago.

>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.