IanHarvey / bluepy

Python interface to Bluetooth LE on Linux
Other
1.58k stars 490 forks source link

Helper Util - Makefile syntax problem #438

Open GitIgnoreMaybe opened 3 years ago

GitIgnoreMaybe commented 3 years ago

Hey folks,

it seems like there is a syntax error. I've pinged the folks of HomeAssistant, but they said the right upstream error report for this issue would be you: https://github.com/home-assistant/core/issues/46152

root@HomeAssistant:~ # service homeassistant install python-eq3bt==0.1.11
Collecting python-eq3bt==0.1.11
  Using cached python_eq3bt-0.1.11-py3-none-any.whl (12 kB)
Requirement already satisfied: click-datetime in ./lib/python3.8/site-packages (from python-eq3bt==0.1.11) (0.2)
Requirement already satisfied: construct in ./lib/python3.8/site-packages (frompython-eq3bt==0.1.11) (2.10.56)
Requirement already satisfied: click in ./lib/python3.8/site-packages (from python-eq3bt==0.1.11) (7.1.2)
Collecting bluepy>=1.0.5
  Using cached bluepy-1.3.0.tar.gz (217 kB)
Building wheels for collected packages: bluepy
  Building wheel for bluepy (setup.py) ... error
  ERROR: Command errored out with exit status 1:
   command: /usr/local/share/homeassistant/bin/python3.8 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-stw5k147/bluepy/setup.py'"'"'; __file__='"'"'/tmp/pip-install-stw5k147/bluepy/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 /tmp/pip-wheel-1kzqkyi0
       cwd: /tmp/pip-install-stw5k147/bluepy/
  Complete output (10 lines):
  running bdist_wheel
  running build
  running build_py
  Working dir is /tmp/pip-install-stw5k147/bluepy
  execute make -C ./bluepy clean
  Failed to compile bluepy-helper. Exiting install.
  Command was 'make -C ./bluepy clean' in /tmp/pip-install-stw5k147/bluepy
  Return code was 1
  Output was:
  b'make: "/tmp/pip-install-stw5k147/bluepy/bluepy/Makefile" line 16: Missing dependency operator\nmake: "/tmp/pip-install-stw5k147/bluepy/bluepy/Makefile" line 18: Need an operator\nmake: "/tmp/pip-install-stw5k147/bluepy/bluepy/Makefile"line 20: Need an operator\nmake: Fatal errors encountered -- cannot continue\nmake: stopped in /tmp/pip-install-stw5k147/bluepy/bluepy\n'
  ----------------------------------------
  ERROR: Failed building wheel for bluepy
  Running setup.py clean for bluepy
Failed to build bluepy
Installing collected packages: bluepy, python-eq3bt
    Running setup.py install for bluepy ... error
    ERROR: Command errored out with exit status 1:
     command: /usr/local/share/homeassistant/bin/python3.8 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-stw5k147/bluepy/setup.py'"'"'; __file__='"'"'/tmp/pip-install-stw5k147/bluepy/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-t72zzo7l/install-record.txt --single-version-externally-managed --compile --install-headers /usr/local/share/homeassistant/include/site/python3.8/bluepy
         cwd: /tmp/pip-install-stw5k147/bluepy/
    Complete output (10 lines):
    running install
    running build
    running build_py
    Working dir is /tmp/pip-install-stw5k147/bluepy
    execute make -C ./bluepy clean
    Failed to compile bluepy-helper. Exiting install.
    Command was 'make -C ./bluepy clean' in /tmp/pip-install-stw5k147/bluepy
    Return code was 1
    Output was:
    b'make: "/tmp/pip-install-stw5k147/bluepy/bluepy/Makefile" line 16: Missingdependency operator\nmake: "/tmp/pip-install-stw5k147/bluepy/bluepy/Makefile" line 18: Need an operator\nmake: "/tmp/pip-install-stw5k147/bluepy/bluepy/Makefile" line 20: Need an operator\nmake: Fatal errors encountered -- cannot continue\nmake: stopped in /tmp/pip-install-stw5k147/bluepy/bluepy\n'
    ----------------------------------------
ERROR: Command errored out with exit status 1: /usr/local/share/homeassistant/bin/python3.8 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-stw5k147/bluepy/setup.py'"'"'; __file__='"'"'/tmp/pip-install-stw5k147/bluepy/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-t72zzo7l/install-record.txt --single-version-externally-managed --compile --install-headers /usr/local/share/homeassistant/include/site/python3.8/bluepy Check the logs for full commandoutput.
WARNING: You are using pip version 20.2.4; however, version 21.0.1 is available.
You should consider upgrading via the '/usr/local/share/homeassistant/bin/python3.8 -m pip install --upgrade pip' command.