Message283889
make failed on Mac OS X including sys/random.h
It looks to be caused by this commit: https://github.com/python/cpython/commit/1958527a2c5dda766b1917ab563622434b3dad0d
Restoring the removed ifdefs solves the problem (see github PR)
Official patch to follow
Failure message.
```
In file included from Python/random.c:16:
/usr/include/sys/random.h:37:32: error: unknown type name 'u_int'
void read_random(void* buffer, u_int numBytes);
^
/usr/include/sys/random.h:38:33: error: unknown type name 'u_int'
void read_frandom(void* buffer, u_int numBytes);
^
/usr/include/sys/random.h:39:33: error: unknown type name 'u_int'
int write_random(void* buffer, u_int numBytes);
^
3 errors generated.
make: *** [Python/random.o] Error 1
``` |
|
Date |
User |
Action |
Args |
2016-12-23 17:37:29 | Pam.McANulty | set | recipients:
+ Pam.McANulty |
2016-12-23 17:37:29 | Pam.McANulty | set | messageid: <1482514649.72.0.460227366509.issue29057@psf.upfronthosting.co.za> |
2016-12-23 17:37:29 | Pam.McANulty | link | issue29057 messages |
2016-12-23 17:37:29 | Pam.McANulty | create | |
|