pkgsrc-Users archive

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

Re: www/py-autobahn fails to build (python 3.10, NetBSD 9)



On Wed, May 10, 2023 at 07:28:53AM -0400, Greg Troxel wrote:
> I am doing a pkg_rr after update.  My system is NetBSD 9 amd64 mostly
> default, and definitely py310.
> 
> autobahn fails to build, because it tries to use a C compiler but the
> makefiles says it does not use C.
> 
> The build log is long but it seems more useful to include it.  The
> problem starts due to:
> 
>   generating cffi module 'build/temp.netbsd-9.3_STABLE-amd64-cpython-310/_nvx_utf8validator.c'
> 
> which obviously needs a C compiler.
> 
> This may have a similar underlying issue to frozendict, which sometimes
> uses C and sometimes does not, and doesn't have reasonable way to
> configure it off.  With c99 added, I get
> 
>   => Checking file-check results for py310-autobahn-23.1.2
>   ERROR: ************************************************************
>   ERROR: The following files are in /tmp/work/www/py-autobahn/work/.destdir/usr/pkg but not in the PLIST:
>   ERROR:         /tmp/work/www/py-autobahn/work/.destdir/usr/pkg/lib/python3.10/site-packages/_nvx_utf8validator.abi3.so
> 
> which confirms the "sometimes it builds a C file" hypothesis, assuming
> as seems likely it built and packaged for you.
> 
> Does anybody else see this?

It's weird that you see these problems but mef's bulk builds don't (on
NetBSD 9). I don't see them either on -current.

Anyway, in this case I just added 'c' to the languages and added the
new file to the PLIST.
 Thomas


Home | Main Index | Thread Index | Old Index