b2g-15 Is down. Failing to install PyBluez when running the setup

VERIFIED FIXED

Status

Testing
WebQA
VERIFIED FIXED
4 years ago
4 years ago

People

(Reporter: Bebe, Unassigned)

Tracking

(Blocks: 1 bug)

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

4 years ago
Hi all,


B2G-15 had to be put down. it was failing to install PyBluez.

http://selenium.qa.mtv2.mozilla.com:8080/job/b2g.flame.mozilla-central.unittests/104/console


Installing collected packages: PyBluez
  Running setup.py install for PyBluez
    building 'bluetooth._bluetooth' extension
    x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c bluez/btmodule.c -o build/temp.linux-x86_64-2.7/bluez/btmodule.o
    In file included from bluez/btmodule.c:20:0:
    bluez/btmodule.h:4:20: fatal error: Python.h: No such file or directory
     #include "Python.h"
                        ^
    compilation terminated.
    error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
    Complete output from command /var/jenkins/workspace/b2g.flame.mozilla-central.unittests/.env/bin/python -c "import setuptools, tokenize;__file__='/tmp/pip-tM5IoQ-build/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-fNqWX4-record/install-record.txt --single-version-externally-managed --compile --install-headers /var/jenkins/workspace/b2g.flame.mozilla-central.unittests/.env/include/site/python2.7:
    running install

running build

running build_py

creating build

creating build/lib.linux-x86_64-2.7

creating build/lib.linux-x86_64-2.7/bluetooth

copying bluetooth/__init__.py -> build/lib.linux-x86_64-2.7/bluetooth

copying bluetooth/msbt.py -> build/lib.linux-x86_64-2.7/bluetooth

copying bluetooth/btcommon.py -> build/lib.linux-x86_64-2.7/bluetooth

copying bluetooth/osx.py -> build/lib.linux-x86_64-2.7/bluetooth

copying bluetooth/bluez.py -> build/lib.linux-x86_64-2.7/bluetooth

copying bluetooth/widcomm.py -> build/lib.linux-x86_64-2.7/bluetooth

running build_ext

building 'bluetooth._bluetooth' extension

creating build/temp.linux-x86_64-2.7

creating build/temp.linux-x86_64-2.7/bluez

x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c bluez/btmodule.c -o build/temp.linux-x86_64-2.7/bluez/btmodule.o

In file included from bluez/btmodule.c:20:0:

bluez/btmodule.h:4:20: fatal error: Python.h: No such file or directory

 #include "Python.h"

                    ^

compilation terminated.

error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
I have installed the necessary dependencies on the node and brought it back online.
Status: NEW → RESOLVED
Last Resolved: 4 years ago
Resolution: --- → FIXED
Blocks: 1019792
Verified; thanks.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.