lsongdev / lsongdev/node-bluetooth

Travis test fail becaise of missing bluetooth.h

Ouverte
#27 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub

Personne n'a encore pris cette issue.

Langage dominant
C++
Étoiles
205
Forks
56
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

I get `

node-bluetooth@1.2.5 install /home/travis/build/frankjoke/ioBroker.radar2/node_modules/node-bluetooth
node-gyp configure build
make: Entering directory /home/travis/build/frankjoke/ioBroker.radar2/node_modules/node-bluetooth/build' CXX(target) Release/obj.target/BluetoothSerialPort/src/linux/BluetoothSerialPort.o CXX(target) Release/obj.target/BluetoothSerialPort/src/linux/DeviceINQ.o ../src/linux/DeviceINQ.cc:35:37: fatal error: bluetooth/bluetooth.h: No such file or directory #include <bluetooth/bluetooth.h> ^ compilation terminated. make: *** [Release/obj.target/BluetoothSerialPort/src/linux/DeviceINQ.o] Error 1 make: Leaving directory /home/travis/build/frankjoke/ioBroker.radar2/node_modules/node-bluetooth/build'
gyp ERR! build error
gyp ERR! stack Error: make failed with exit code: 2`

errors and cannot test my package on Travis (for linuix) but on Raspian and Ubuntu install works.

The error is: /src/linux/DeviceINQ.cc:35:37: fatal error: bluetooth/bluetooth.h
and I could not find it as well.

On windows tester AppVeyor the installation works and all tests passes.

The effect started when I added your package to mine. If I remove the dependency it's installing fine.

Guide de contribution

Ouvrir le guide de contribution

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Piste de recherche

Commencez par l’échec de compilation Linux dans src/linux/DeviceINQ.cc et examinez la configuration de Travis ainsi que la configuration des dépendances autour de node-bluetooth. Reproduisez l’erreur due à l’absence de bluetooth/bluetooth.h sur Travis ou dans un environnement Linux équivalent, puis vérifiez que l’installation et les tests existants passent comme sur Ubuntu, Raspbian et AppVeyor.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
cpp, node.js
Domaine
build-system, ci-cd, embedded-iot
Type d'issue
Bug
Difficulté
3/5
Temps estimé
1-2 jours
Activité
À l'abandon
Clarté
À clarifier
Accessibilité débutants
35/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.