pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/57167: lang/ruby31-base fails when using ccache (`${CC}` quoting issue)



>Number:         57167
>Category:       pkg
>Synopsis:       lang/ruby31-base fails when using ccache (`${CC}` quoting issue)
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jan 06 08:15: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}"`


Home | Main Index | Thread Index | Old Index