pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: py-frozendict fails to build (netbsd-9)
On Sun, May 07, 2023 at 03:23:29PM -0400, Greg Troxel wrote:
> On an almost--up-to-date netbsd-9 system, devel/py-frozendict, with the
> default python3.10, fails to build with a complaint that something is
> calling the C compiler. Putting c99 in USE_LANGUAGES, it builds but
> then
>
> ERROR: The following files are in /tmp/work/devel/py-frozendict/work/.destdir/usr/pkg but not in the PLIST:
> ERROR: /tmp/work/devel/py-frozendict/work/.destdir/usr/pkg/lib/python3.10/site-packages/frozendict/_frozendict.so
>
> which makes me think that on my system it is building a C object and
> and on yours it did not.
Since 'c' is explicitly _not_ in USE_LANGUAGES for the package, the
optional C extension should consistently not be built anyway. So we
have a warning about this, but not a build failure (at least not for
me in a sandbox with 3.10 on 10.99.4).
Enabling it would make the PLIST handling harder because the C
extension doesn't support Python 3.11.
https://github.com/Marco-Sulla/python-frozendict/issues/68
Thomas
Home |
Main Index |
Thread Index |
Old Index