Comments (5)
@tobbenb Bit more info
�[0m-- The C compiler identification is GNU 8.3.0
-- The CXX compiler identification is GNU 8.3.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Failed to get ProjectRevision from git
-- Read ProjectRevision from History.txt
-- ###########################
-- Compiling Revision #xxxxx
-- ###########################
-- Found PkgConfig: /usr/bin/pkg-config (found version "1.6.1")
-- Checking for one of the modules 'lua5.3>=5.3;lua>=5.3;lua-5.3'
�[91mCMake Error at CMakeLists.txt:93 (MESSAGE):
LUA not found but USE_BUILTIN_LUA=NO
I've forked master
and updated the package, just building it locally and if it's working then I'll submit a PR.
Dunno what you want to do about stable
if that also is going to need Lua updating then let me know and I'll submit a PR for that too.
from docker-domoticz.
Never used Domoticz but tried updating to lua5.3-dev
As always with this container, it's not as straightforward as it first appears to be. 😁
Build still failed.....
[ 45%] Building CXX object CMakeFiles/domoticz.dir/hardware/MQTT.cpp.o
/tmp/domoticz/hardware/MQTT.cpp: In constructor 'MQTT::MQTT(int, const string&, short unsigned int, const string&, const string&, const string&, int, int)':
/tmp/domoticz/hardware/MQTT.cpp:33:31: warning: 'mosqpp::mosquittopp::mosquittopp(const char*, bool)' is deprecated [-Wdeprecated-declarations]
mosqpp::mosquittopp("Domoticz")
^
In file included from /tmp/domoticz/hardware/MQTT.h:10,
from /tmp/domoticz/hardware/MQTT.cpp:2:
/usr/include/mosquittopp.h:94:14: note: declared here
DEPRECATED mosquittopp(const char *id=NULL, bool clean_session=true);
^~~~~~~~~~~
/tmp/domoticz/hardware/MQTT.cpp:38:10: warning: 'int mosqpp::lib_init()' is deprecated [-Wdeprecated-declarations]
mosqpp::lib_init();
^~~~~~~~
In file included from /tmp/domoticz/hardware/MQTT.h:10,
from /tmp/domoticz/hardware/MQTT.cpp:2:
/usr/include/mosquittopp.h:48:30: note: declared here
mosqpp_EXPORT int DEPRECATED lib_init();
^~~~~~~~
/tmp/domoticz/hardware/MQTT.cpp:38:19: warning: 'int mosqpp::lib_init()' is deprecated [-Wdeprecated-declarations]
mosqpp::lib_init();
^
In file included from /tmp/domoticz/hardware/MQTT.h:10,
from /tmp/domoticz/hardware/MQTT.cpp:2:
/usr/include/mosquittopp.h:48:30: note: declared here
mosqpp_EXPORT int DEPRECATED lib_init();
^~~~~~~~
/tmp/domoticz/hardware/MQTT.cpp:38:19: warning: 'int mosqpp::lib_init()' is deprecated [-Wdeprecated-declarations]
mosqpp::lib_init();
^
In file included from /tmp/domoticz/hardware/MQTT.h:10,
from /tmp/domoticz/hardware/MQTT.cpp:2:
/usr/include/mosquittopp.h:48:30: note: declared here
mosqpp_EXPORT int DEPRECATED lib_init();
^~~~~~~~
/tmp/domoticz/hardware/MQTT.cpp:47:19: warning: 'int mosqpp::mosquittopp::threaded_set(bool)' is deprecated [-Wdeprecated-declarations]
threaded_set(true);
^
In file included from /tmp/domoticz/hardware/MQTT.h:10,
from /tmp/domoticz/hardware/MQTT.cpp:2:
/usr/include/mosquittopp.h:130:18: note: declared here
int DEPRECATED threaded_set(bool threaded=true);
^~~~~~~~~~~~
/tmp/domoticz/hardware/MQTT.cpp: In destructor 'virtual MQTT::~MQTT()':
/tmp/domoticz/hardware/MQTT.cpp:52:10: warning: 'int mosqpp::lib_cleanup()' is deprecated [-Wdeprecated-declarations]
mosqpp::lib_cleanup();
^~~~~~~~~~~
In file included from /tmp/domoticz/hardware/MQTT.h:10,
from /tmp/domoticz/hardware/MQTT.cpp:2:
/usr/include/mosquittopp.h:49:30: note: declared here
mosqpp_EXPORT int DEPRECATED lib_cleanup();
^~~~~~~~~~~
/tmp/domoticz/hardware/MQTT.cpp:52:22: warning: 'int mosqpp::lib_cleanup()' is deprecated [-Wdeprecated-declarations]
mosqpp::lib_cleanup();
^
In file included from /tmp/domoticz/hardware/MQTT.h:10,
from /tmp/domoticz/hardware/MQTT.cpp:2:
/usr/include/mosquittopp.h:49:30: note: declared here
mosqpp_EXPORT int DEPRECATED lib_cleanup();
^~~~~~~~~~~
/tmp/domoticz/hardware/MQTT.cpp:52:22: warning: 'int mosqpp::lib_cleanup()' is deprecated [-Wdeprecated-declarations]
mosqpp::lib_cleanup();
^
In file included from /tmp/domoticz/hardware/MQTT.h:10,
from /tmp/domoticz/hardware/MQTT.cpp:2:
/usr/include/mosquittopp.h:49:30: note: declared here
mosqpp_EXPORT int DEPRECATED lib_cleanup();
^~~~~~~~~~~
/tmp/domoticz/hardware/MQTT.cpp: In member function 'void MQTT::StopMQTT()':
/tmp/domoticz/hardware/MQTT.cpp:74:13: warning: 'int mosqpp::mosquittopp::disconnect()' is deprecated [-Wdeprecated-declarations]
disconnect();
^
In file included from /tmp/domoticz/hardware/MQTT.h:10,
from /tmp/domoticz/hardware/MQTT.cpp:2:
/usr/include/mosquittopp.h:108:18: note: declared here
int DEPRECATED disconnect();
^~~~~~~~~~
/tmp/domoticz/hardware/MQTT.cpp: In member function 'virtual void MQTT::on_connect(int)':
/tmp/domoticz/hardware/MQTT.cpp:136:36: warning: 'int mosqpp::mosquittopp::subscribe(int*, const char*, int)' is deprecated [-Wdeprecated-declarations]
subscribe(NULL, m_TopicIn.c_str());
^
In file included from /tmp/domoticz/hardware/MQTT.h:10,
from /tmp/domoticz/hardware/MQTT.cpp:2:
/usr/include/mosquittopp.h:110:18: note: declared here
int DEPRECATED subscribe(int *mid, const char *sub, int qos=0);
^~~~~~~~~
/tmp/domoticz/hardware/MQTT.cpp: In member function 'bool MQTT::ConnectIntEx()':
/tmp/domoticz/hardware/MQTT.cpp:513:72: warning: 'int mosqpp::mosquittopp::tls_opts_set(int, const char*, const char*)' is deprecated [-Wdeprecated-declarations]
rc = tls_opts_set(SSL_VERIFY_PEER, szTLSVersions[m_TLS_Version], NULL);
^
In file included from /tmp/domoticz/hardware/MQTT.h:10,
from /tmp/domoticz/hardware/MQTT.cpp:2:
/usr/include/mosquittopp.h:117:18: note: declared here
int DEPRECATED tls_opts_set(int cert_reqs, const char *tls_version=NULL, const char *ciphers=NULL);
^~~~~~~~~~~~
/tmp/domoticz/hardware/MQTT.cpp:514:36: warning: 'int mosqpp::mosquittopp::tls_set(const char*, const char*, const char*, const char*, int (*)(char*, int, int, void*))' is deprecated [-Wdeprecated-declarations]
rc = tls_set(m_CAFilename.c_str());
^
In file included from /tmp/domoticz/hardware/MQTT.h:10,
from /tmp/domoticz/hardware/MQTT.cpp:2:
/usr/include/mosquittopp.h:116:18: note: declared here
int DEPRECATED tls_set(const char *cafile, const char *capath=NULL, const char *certfile=NULL, const char *keyfile=NULL, int (*pw_callback)(char *buf, int size, int rwflag, void *userdata)=NULL);
^~~~~~~
/tmp/domoticz/hardware/MQTT.cpp:524:123: warning: 'int mosqpp::mosquittopp::username_pw_set(const char*, const char*)' is deprecated [-Wdeprecated-declarations]
rc = username_pw_set((!m_UserName.empty()) ? m_UserName.c_str() : NULL, (!m_Password.empty()) ? m_Password.c_str() : NULL);
^
In file included from /tmp/domoticz/hardware/MQTT.h:10,
from /tmp/domoticz/hardware/MQTT.cpp:2:
/usr/include/mosquittopp.h:101:18: note: declared here
int DEPRECATED username_pw_set(const char *username, const char *password=NULL);
^~~~~~~~~~~~~~~
/tmp/domoticz/hardware/MQTT.cpp:526:59: warning: 'int mosqpp::mosquittopp::connect(const char*, int, int)' is deprecated [-Wdeprecated-declarations]
rc = connect(m_szIPAddress.c_str(), m_usIPPort, keepalive);
^
In file included from /tmp/domoticz/hardware/MQTT.h:10,
from /tmp/domoticz/hardware/MQTT.cpp:2:
/usr/include/mosquittopp.h:102:18: note: declared here
int DEPRECATED connect(const char *host, int port=1883, int keepalive=60);
^~~~~~~
/tmp/domoticz/hardware/MQTT.cpp: In member function 'void MQTT::Do_Work()':
/tmp/domoticz/hardware/MQTT.cpp:548:19: warning: 'int mosqpp::mosquittopp::loop(int, int)' is deprecated [-Wdeprecated-declarations]
int rc = loop();
^
In file included from /tmp/domoticz/hardware/MQTT.h:10,
from /tmp/domoticz/hardware/MQTT.cpp:2:
/usr/include/mosquittopp.h:122:18: note: declared here
int DEPRECATED loop(int timeout=-1, int max_packets=1);
^~~~
/tmp/domoticz/hardware/MQTT.cpp:556:19: warning: 'int mosqpp::mosquittopp::reconnect()' is deprecated [-Wdeprecated-declarations]
reconnect();
^
In file included from /tmp/domoticz/hardware/MQTT.h:10,
from /tmp/domoticz/hardware/MQTT.cpp:2:
/usr/include/mosquittopp.h:106:18: note: declared here
int DEPRECATED reconnect();
^~~~~~~~~
/tmp/domoticz/hardware/MQTT.cpp:568:17: warning: 'int mosqpp::mosquittopp::reconnect()' is deprecated [-Wdeprecated-declarations]
reconnect();
^
In file included from /tmp/domoticz/hardware/MQTT.h:10,
from /tmp/domoticz/hardware/MQTT.cpp:2:
/usr/include/mosquittopp.h:106:18: note: declared here
int DEPRECATED reconnect();
^~~~~~~~~
/tmp/domoticz/hardware/MQTT.cpp:604:2: error: 'clear_callbacks' was not declared in this scope
clear_callbacks();
^~~~~~~~~~~~~~~
/tmp/domoticz/hardware/MQTT.cpp:604:2: note: suggested alternative: 'lua_callk'
clear_callbacks();
^~~~~~~~~~~~~~~
lua_callk
/tmp/domoticz/hardware/MQTT.cpp:607:14: warning: 'int mosqpp::mosquittopp::disconnect()' is deprecated [-Wdeprecated-declarations]
disconnect();
^
In file included from /tmp/domoticz/hardware/MQTT.h:10,
from /tmp/domoticz/hardware/MQTT.cpp:2:
/usr/include/mosquittopp.h:108:18: note: declared here
int DEPRECATED disconnect();
^~~~~~~~~~
/tmp/domoticz/hardware/MQTT.cpp: In member function 'void MQTT::SendMessage(const string&, const string&)':
/tmp/domoticz/hardware/MQTT.cpp:630:63: warning: 'int mosqpp::mosquittopp::publish(int*, const char*, int, const void*, int, bool)' is deprecated [-Wdeprecated-declarations]
publish(NULL, Topic.c_str(), Message.size(), Message.c_str());
^
In file included from /tmp/domoticz/hardware/MQTT.h:10,
from /tmp/domoticz/hardware/MQTT.cpp:2:
/usr/include/mosquittopp.h:109:18: note: declared here
int DEPRECATED publish(int *mid, const char *topic, int payloadlen=0, const void *payload=NULL, int qos=0, bool retain=false);
^~~~~~~
make[2]: *** [CMakeFiles/domoticz.dir/build.make:1415: CMakeFiles/domoticz.dir/hardware/MQTT.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:75: CMakeFiles/domoticz.dir/all] Error 2
make: *** [Makefile:152: all] Error 2
from docker-domoticz.
I'll see if I get some time to check it this week. Away for work, but my VPN should be working again.
from docker-domoticz.
@tobbenb Can we close this in light of your PR 8 days ago?
from docker-domoticz.
Yes everything is building now
from docker-domoticz.
Related Issues (20)
- New image with nodered and mqtt ? HOT 2
- Domoticz doenst start after update HOT 12
- Domoticz doesn't start in unraid HOT 6
- Connect to SQLITE domoticz.db HOT 2
- GPIOs on Rasp Pi 4 not recognised by Domoticz HOT 10
- Going back from beta to stable in docker backup restore problem. HOT 3
- Local build fails: "CMake 3.16.0 or higher is required. You are running version 3.14.5" HOT 30
- Loop detection breaks some domoticz/out relaying HOT 2
- New versioning scheme, latest on docker hub is outdated HOT 29
- Configure email notification with gmail HOT 9
- [BUG] Fatal Python Error: pyinit_main: can't initialize time HOT 3
- please add the `git` executable HOT 3
- Broken out of the box HOT 3
- Machanism to reduce logging HOT 5
- Allow to choose the path of the database HOT 5
- Exec format error after latest update (RPi 4B) HOT 2
- Add EXPOSE to Dockerfile HOT 6
- Bad permissions on /dev/ttyUSB0 HOT 3
- Docker latest image for arm64 are still use Domoticz older source code (from 17-apr) HOT 6
- Can you include speedtest-cli in the image? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-domoticz.