pkgsrc-Users archive

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

Re: python36, boost-libs fail packaging on netbsd-8, -current



On Mon, 12 Jun 2017, John D. Baker wrote:

> No clue about python36-3.6.0nb3 yet.

Watching the build output closely reveals:

[...]
/tmp/pkgsrc/lang/python36/work/Python-3.6.0/Modules/socketmodule.c: In function 'makesockaddr':
/tmp/pkgsrc/lang/python36/work/Python-3.6.0/Modules/socketmodule.c:1406:14: error: dereferencing pointer to incomplete type 'struct sockaddr_can'
         if (a->can_ifindex) {
              ^
/tmp/pkgsrc/lang/python36/work/Python-3.6.0/Modules/socketmodule.c:1408:17: warning: implicit declaration of function 'ioctl' [-Wimplicit-function-declaration]
             if (ioctl(sockfd, SIOCGIFNAME, &ifr) == 0)
                 ^
/tmp/pkgsrc/lang/python36/work/Python-3.6.0/Modules/socketmodule.c:1408:31: error: 'SIOCGIFNAME' undeclared (first use in this function)
             if (ioctl(sockfd, SIOCGIFNAME, &ifr) == 0)
                               ^
/tmp/pkgsrc/lang/python36/work/Python-3.6.0/Modules/socketmodule.c:1408:31: note: each undeclared identifier is reported only once for each function it appears in
/tmp/pkgsrc/lang/python36/work/Python-3.6.0/Modules/socketmodule.c: In function 'getsockaddrlen':
/tmp/pkgsrc/lang/python36/work/Python-3.6.0/Modules/socketmodule.c:2149:28: error: invalid application of 'sizeof' to incomplete type 'struct sockaddr_can'
         *len_ret = sizeof (struct sockaddr_can);
                            ^
[...]

Which appears to be the underlying cause.  It appears to be related to
the introduction of CANbus support in HEAD just before the netbsd-8 branch.

I'm building on an up-to-date amd64-8.99.1 as of 201706121342Z and
i386-8.0_BETA as of 201706102212Z.

Not sure how to deal with this.

-- 
|/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
|\ / jdbaker[snail]mylinuxisp[flyspeck]com    OpenBSD            FreeBSD
| X  No HTML/proprietary data in email.   BSD just sits there and works!
|/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645



Home | Main Index | Thread Index | Old Index