NetBSD Problem Report #57167

From www@netbsd.org  Fri Jan  6 08:13:49 2023
Return-Path: <www@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.3 with cipher TLS_AES_256_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 D239B1A9239
	for <gnats-bugs@gnats.NetBSD.org>; Fri,  6 Jan 2023 08:13:49 +0000 (UTC)
Message-Id: <20230106081348.847631A923A@mollari.NetBSD.org>
Date: Fri,  6 Jan 2023 08:13:48 +0000 (UTC)
From: sot.lampr@gmail.com
Reply-To: sot.lampr@gmail.com
To: gnats-bugs@NetBSD.org
Subject: lang/ruby31-base fails when using ccache (`${CC}` quoting issue)
X-Send-Pr-Version: www-1.0

>Number:         57167
>Category:       pkg
>Synopsis:       lang/ruby31-base fails when using ccache (`${CC}` quoting issue)
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    taca
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jan 06 08:15:01 +0000 2023
>Closed-Date:    Mon Jan 16 06:40:21 +0000 2023
>Last-Modified:  Mon Jan 23 19:25:01 +0000 2023
>Originator:     Sotiris Lamprinidis
>Release:        trunk / 9692e41 on Nov 26, 2022 on github
>Organization:
>Environment:
N/A
>Description:
In `pkgsrc/lang/ruby31-base/Makefile:L35`:

`CONFIGURE_ENV+=		ac_cv_path_MJIT_CC=${CC}`

This will fail when using a compiler wrapper, e.g. ccache.

>How-To-Repeat:
Use cache and try to configure lang/ruby31
>Fix:
Quote the `${CC}` variable

`CONFIGURE_ENV+=		ac_cv_path_MJIT_CC="${CC}"`

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->taca
Responsible-Changed-By: bsiegert@NetBSD.org
Responsible-Changed-When: Sun, 15 Jan 2023 16:53:44 +0000
Responsible-Changed-Why:
Over to Ruby maintainer


From: "David A. Holland" <dholland@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/57167 CVS commit: pkgsrc/lang/ruby31-base
Date: Mon, 16 Jan 2023 06:33:51 +0000

 Module Name:	pkgsrc
 Committed By:	dholland
 Date:		Mon Jan 16 06:33:51 UTC 2023

 Modified Files:
 	pkgsrc/lang/ruby31-base: Makefile

 Log Message:
 lang/ruby31-base: quote ${CC}; PR 57167


 To generate a diff of this commit:
 cvs rdiff -u -r1.7 -r1.8 pkgsrc/lang/ruby31-base/Makefile

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

State-Changed-From-To: open->closed
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Mon, 16 Jan 2023 06:40:21 +0000
State-Changed-Why:
Fixed ,thanks
(proper way to quote things like that is actually the :Q modifier, FWIW)


From: "S.P.Zeidler" <spz@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/57167 CVS commit: [pkgsrc-2022Q4] pkgsrc/lang/ruby31-base
Date: Mon, 23 Jan 2023 19:22:47 +0000

 Module Name:	pkgsrc
 Committed By:	spz
 Date:		Mon Jan 23 19:22:47 UTC 2023

 Modified Files:
 	pkgsrc/lang/ruby31-base [pkgsrc-2022Q4]: Makefile

 Log Message:
 Pullup ticket #6724 - requested by bsiegert
 lang/ruby31-base: build fix

 Revisions pulled up:
 - lang/ruby31-base/Makefile                                     1.8

 -------------------------------------------------------------------
    Module Name:	pkgsrc
    Committed By:	dholland
    Date:		Mon Jan 16 06:33:51 UTC 2023

    Modified Files:
    	pkgsrc/lang/ruby31-base: Makefile

    Log Message:
    lang/ruby31-base: quote ${CC}; PR 57167

    To generate a diff of this commit:
    cvs rdiff -u -r1.7 -r1.8 pkgsrc/lang/ruby31-base/Makefile


 To generate a diff of this commit:
 cvs rdiff -u -r1.7 -r1.7.2.1 pkgsrc/lang/ruby31-base/Makefile

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

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.