tech-pkg archive

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

Re: pkgsrc on Big Sur on ARM



On Tue, May 04, 2021 at 04:55:33AM +0000, John Klos wrote:
> Hi,
> 
> I'm able to play with an ARM M1 Mac for a bit, so I figured I'd give it a
> spin with pkgsrc. Of course, ffmpeg makes a good benchmark, but building
> ffmpeg4 from pkgsrc failed in several places:
> 
> multimedia/x264-devel is too old, and builds using -armv7 (latest x264 works)
> 
> multimedia/libvpx needs CONFIGURE_ARGS+=--disable-runtime-cpu-detect
> 
> graphics/tiff fails with:
> 
> --- tif_stream.lo ---
> In file included from tif_stream.cxx:29:
> In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/iostream:37:
> In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/ios:215:
> In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__locale:14:
> In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/string:506:
> In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/string_view:175:
> In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__string:57:
> In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/algorithm:639:
> In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/initializer_list:46:
> In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/cstddef:37:
> ../version:1:1: error: expected unqualified-id
> 4.3.0
> ^
> 
> ...and I have no idea what to do about that. Any ideas?

Remove the version file. Some brilliant mind in the C++ WG decided that
having <version> is a good name...

Joerg


Home | Main Index | Thread Index | Old Index