scrool/xled

error on Mac

olieter opened this issue · 1 comments

Building wheel for arpreq (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: /System/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/bh/fv5yblvn2f9_s4zl3v0tjm2w0000gn/T/pip-install-XrQqXv/arpreq/setup.py'"'"'; file='"'"'/private/var/folders/bh/fv5yblvn2f9_s4zl3v0tjm2w0000gn/T/pip-install-XrQqXv/arpreq/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' bdist_wheel -d /private/var/folders/bh/fv5yblvn2f9_s4zl3v0tjm2w0000gn/T/pip-wheel-bJhqbV
cwd: /private/var/folders/bh/fv5yblvn2f9_s4zl3v0tjm2w0000gn/T/pip-install-XrQqXv/arpreq/
Complete output (37 lines):
running bdist_wheel
running build
running build_ext
building 'arpreq' extension
creating build
creating build/temp.macosx-10.15-x86_64-2.7
creating build/temp.macosx-10.15-x86_64-2.7/src
cc -fno-strict-aliasing -fno-common -dynamic -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -iwithsysroot /usr/local/libressl/include -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch x86_64 -pipe -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c src/arpreq.c -o build/temp.macosx-10.15-x86_64-2.7/src/arpreq.o -std=c99
src/arpreq.c:215:39: error: use of undeclared identifier 'SIOCGIFHWADDR'
if (ioctl(st->socket, SIOCGIFHWADDR, &ifreq) == -1) {
^
src/arpreq.c:218:49: error: no member named 'ifr_hwaddr' in 'struct ifreq'
memcpy(&mac_address, &ifreq.ifr_hwaddr, sizeof(mac_address));
~~~~~ ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_string.h:63:33: note: expanded from macro 'memcpy'
__builtin___memcpy_chk (dest, VA_ARGS, __darwin_obsz0 (dest))
^~~~~~~~~~~
src/arpreq.c:226:28: error: no member named 'arp_dev' in 'struct arpreq'
strncpy(arpreq.arp_dev, ifa->ifa_name, IFNAMSIZ);
~~~~~~ ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_string.h:128:28: note: expanded from macro 'strncpy'
__builtin___strncpy_chk (dest, VA_ARGS, __darwin_obsz (dest))
^~~~
src/arpreq.c:226:28: error: no member named 'arp_dev' in 'struct arpreq'
strncpy(arpreq.arp_dev, ifa->ifa_name, IFNAMSIZ);
~~~~~~ ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_string.h:128:62: note: expanded from macro 'strncpy'
__builtin___strncpy_chk (dest, VA_ARGS, __darwin_obsz (dest))
^~~~
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_common.h:39:54: note: expanded from macro '__darwin_obsz'
#define __darwin_obsz(object) __builtin_object_size (object, _USE_FORTIFY_LEVEL > 1 ? 1 : 0)
^~~~~~
src/arpreq.c:227:35: error: use of undeclared identifier 'SIOCGARP'
if (ioctl(st->socket, SIOCGARP, &arpreq) == -1) {
^
5 errors generated.
error: command 'cc' failed with exit status 1

ERROR: Failed building wheel for arpreq
Running setup.py clean for arpreq
Successfully built xled
Failed to build arpreq
Installing collected packages: arpreq, monotonic, pyzmq, backports-abc, futures, tornado, xled
Running setup.py install for arpreq ... error
ERROR: Command errored out with exit status 1:
command: /System/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/bh/fv5yblvn2f9_s4zl3v0tjm2w0000gn/T/pip-install-XrQqXv/arpreq/setup.py'"'"'; file='"'"'/private/var/folders/bh/fv5yblvn2f9_s4zl3v0tjm2w0000gn/T/pip-install-XrQqXv/arpreq/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /private/var/folders/bh/fv5yblvn2f9_s4zl3v0tjm2w0000gn/T/pip-record-QAkkgv/install-record.txt --single-version-externally-managed --user --prefix= --compile --install-headers /Users/vjee/Library/Python/2.7/include/python2.7/arpreq
cwd: /private/var/folders/bh/fv5yblvn2f9_s4zl3v0tjm2w0000gn/T/pip-install-XrQqXv/arpreq/
Complete output (37 lines):
running install
running build
running build_ext
building 'arpreq' extension
creating build
creating build/temp.macosx-10.15-x86_64-2.7
creating build/temp.macosx-10.15-x86_64-2.7/src
cc -fno-strict-aliasing -fno-common -dynamic -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -iwithsysroot /usr/local/libressl/include -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch x86_64 -pipe -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c src/arpreq.c -o build/temp.macosx-10.15-x86_64-2.7/src/arpreq.o -std=c99
src/arpreq.c:215:39: error: use of undeclared identifier 'SIOCGIFHWADDR'
if (ioctl(st->socket, SIOCGIFHWADDR, &ifreq) == -1) {
^
src/arpreq.c:218:49: error: no member named 'ifr_hwaddr' in 'struct ifreq'
memcpy(&mac_address, &ifreq.ifr_hwaddr, sizeof(mac_address));
~~~~~ ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_string.h:63:33: note: expanded from macro 'memcpy'
__builtin___memcpy_chk (dest, VA_ARGS, __darwin_obsz0 (dest))
^~~~~~~~~~~
src/arpreq.c:226:28: error: no member named 'arp_dev' in 'struct arpreq'
strncpy(arpreq.arp_dev, ifa->ifa_name, IFNAMSIZ);
~~~~~~ ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_string.h:128:28: note: expanded from macro 'strncpy'
__builtin___strncpy_chk (dest, VA_ARGS, __darwin_obsz (dest))
^~~~
src/arpreq.c:226:28: error: no member named 'arp_dev' in 'struct arpreq'
strncpy(arpreq.arp_dev, ifa->ifa_name, IFNAMSIZ);
~~~~~~ ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_string.h:128:62: note: expanded from macro 'strncpy'
__builtin___strncpy_chk (dest, VA_ARGS, __darwin_obsz (dest))
^~~~
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_common.h:39:54: note: expanded from macro '__darwin_obsz'
#define __darwin_obsz(object) __builtin_object_size (object, _USE_FORTIFY_LEVEL > 1 ? 1 : 0)
^~~~~~
src/arpreq.c:227:35: error: use of undeclared identifier 'SIOCGARP'
if (ioctl(st->socket, SIOCGARP, &arpreq) == -1) {
^
5 errors generated.
error: command 'cc' failed with exit status 1
----------------------------------------
ERROR: Command errored out with exit status 1: /System/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/bh/fv5yblvn2f9_s4zl3v0tjm2w0000gn/T/pip-install-XrQqXv/arpreq/setup.py'"'"'; file='"'"'/private/var/folders/bh/fv5yblvn2f9_s4zl3v0tjm2w0000gn/T/pip-install-XrQqXv/arpreq/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /private/var/folders/bh/fv5yblvn2f9_s4zl3v0tjm2w0000gn/T/pip-record-QAkkgv/install-record.txt --single-version-externally-managed --user --prefix= --compile --install-headers /Users/vjee/Library/Python/2.7/include/python2.7/arpreq Check the logs for full command output.

Unfortunately I am not able to support this on MacOS because I don't have any such machine available.

Duplicates #33 and #16.