pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: updating glib2 on macos fails
On Sun, Jun 23, 2019 at 04:21:58PM +0200, K. Schreiner wrote:
> Hi,
>
> I'v just cvsup'dated pkgsrc on one of my Macs and started
> pkg_rolling-replace -u to update everything out of date.
>
> This fails in building /u/NetBSD/pkgsrc/devel/glib2 like so:
>
> ....
> Checking for function "strncasecmp" : YES
> Header <sys/sysmacros.h> has symbol "major" : NO
> Header <sys/mkdev.h> has symbol "major" : NO
> Header <sys/types.h> has symbol "major" : YES
> Header <dlfcn.h> has symbol "RTLD_LAZY" : YES
> Header <dlfcn.h> has symbol "RTLD_NOW" : YES
> Header <dlfcn.h> has symbol "RTLD_GLOBAL" : YES
> Message: Checking whether to use statfs or statvfs .. statfs
>
> meson.build:620:2: ERROR: Unknown compiler(s): ['cc']
In meson.build, I see:
619 if host_system == 'darwin'
620 add_languages('objc')
621 objcc = meson.get_compiler('objc')
so at this distance it looks like a meson+clang problem
> clang -v
> Apple clang version 11.0.0 (clang-1100.0.20.17)
> Target: x86_64-apple-darwin18.7.0
> Thread model: posix
> InstalledDir: /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
Does setting environment variables CC=clang CXX=clang++ help?
Cheers,
Patrick
Home |
Main Index |
Thread Index |
Old Index