pkgsrc-Users archive

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

Re: lang/python27 on macOS 11.0.1/arm ("Apple Silicon")




On Mon, Dec 28, 2020, at 12:18, Jonathan Perkin wrote:
> * On 2020-12-28 at 17:32 GMT, Mark Felder wrote:
> 
> > Edgar Fuß <ef%math.uni-bonn.de@localhost> wrote:
> > 
> > > The attached trivial patch makes it build, but then packaging
> > > fails because lib_dynload/{bz2,zlib}.so are missing.
> > 
> > Installing devel/zlib and archivers/bzip2 before building python27
> > on the M1 fixes this. Unsure how/why these aren't being picked up
> > from the base OS on the M1. Perhaps Apple isn't shipping headers for
> > these anymore or something else is going on when running on aarch64.
> 
> PREFER_PKGSRC=yes is basically mandatory on Big Sur.  There is no
> builtin support for system libraries after Apple removed the shared
> library files.
> 

In that case it sounds like we need a patch to mk/defaults/mk.conf to set this automatically for Big Sur... I'll override on my own for now.

Thanks!


Mark

-- 
  Mark Felder
  pkgsrc%feld.me@localhost


Home | Main Index | Thread Index | Old Index