NetBSD Problem Report #55647

From martin@aprisoft.de  Wed Sep  9 10:46:56 2020
Return-Path: <martin@aprisoft.de>
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 9D3DC1A9239
	for <gnats-bugs@gnats.NetBSD.org>; Wed,  9 Sep 2020 10:46:56 +0000 (UTC)
Message-Id: <20200909104638.BA4015CC7A1@emmas.aprisoft.de>
Date: Wed,  9 Sep 2020 12:46:38 +0200 (CEST)
From: martin@NetBSD.org
Reply-To: martin@NetBSD.org
To: gnats-bugs@NetBSD.org
Subject: pkgsrc wrappers can not deal with mixed clang/gcc build requirements
X-Send-Pr-Version: 3.95

>Number:         55647
>Category:       pkg
>Synopsis:       pkgsrc wrappers can not deal with mixed clang/gcc build requirements
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Sep 09 10:50:00 +0000 2020
>Originator:     Martin Husemann
>Release:        NetBSD 9.99.72
>Organization:
The NetBSD Foundation, Inc.
>Environment:
System: NetBSD whoever-brings-the-night.aprisoft.de 9.99.72 NetBSD 9.99.72 (WHOEVER) #348: Tue Sep 8 14:41:04 CEST 2020 martin@seven-days-to-the-wolves.aprisoft.de:/work/src/sys/arch/sparc64/compile/WHOEVER sparc64
Architecture: sparc64
Machine: sparc64
>Description:

Some pkgs, notably www/firefox, require both gcc and clang/clang++ to
compile, for reasons beyound me (as if rustc would not be enough of a
nuisance) if trying to build with gcc.

Pkgsrc toolchain wrappers seem not to be able to provide this environment.

The pkg hacks around it by forcing a full clang build.
But: clang is broken on sparc64, so this shoots itself in the foot and prevents
the build.

>How-To-Repeat:
n/a

>Fix:
n/a

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.