• 10 dec 2017: forum version update. In case of issues use this topic.
  • 30 nov 2017: pilight moved servers. In case of issues use this topic.
Hello There, Guest! Login Register


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
REPLACE error with installation latest staging version
#1
The installation of the latest staging version is failing with:

Code:
CMake Error at libs/pilight/protocols/GPIO/CMakeInclude.txt:11 (string):
 string sub-command REPLACE requires at least four arguments.
Call Stack (most recent call first):
 libs/pilight/protocols/GPIO/CMakeLists.txt:7 (include)
 
Reply
#2
I just tried with a fresh clone and experience no issues.
 
Reply
#3
Strange. I did a fresh clone too about 3 hours ago, but I will try again.
 
Reply
#4
Did a new clone and now the installation succeeds. No idea why it failed with the clone I did earlier today.

I don't know if it is important, but there were a number of warnings during the installation:

Code:
/home/pi/pilight/libs/pilight/lua/config.c: In function ‘plua_config_device’:
/home/pi/pilight/libs/pilight/lua/config.c:297:3: warning: enumeration value ‘FIRMWARE’ not handled in switch [-Wswitch]
  switch(protocol->devtype) {
  ^~~~~~
/home/pi/pilight/libs/pilight/lua/config.c:297:3: warning: enumeration value ‘PROCESS’ not handled in switch [-Wswitch]
/home/pi/pilight/libs/pilight/lua/config.c:297:3: warning: enumeration value ‘RAW’ not handled in switch [-Wswitch]
/home/pi/pilight/libs/pilight/lua/config.c:297:3: warning: enumeration value ‘WEATHER’ not handled in switch [-Wswitch]
/home/pi/pilight/libs/pilight/lua/config.c:297:3: warning: enumeration value ‘RELAY’ not handled in switch [-Wswitch]
/home/pi/pilight/libs/pilight/lua/config.c:297:3: warning: enumeration value ‘SCREEN’ not handled in switch [-Wswitch]
/home/pi/pilight/libs/pilight/lua/config.c:297:3: warning: enumeration value ‘CONTACT’ not handled in switch [-Wswitch]
/home/pi/pilight/libs/pilight/lua/config.c:297:3: warning: enumeration value ‘PENDINGSW’ not handled in switch [-Wswitch]
/home/pi/pilight/libs/pilight/lua/config.c:297:3: warning: enumeration value ‘XBMC’ not handled in switch [-Wswitch]
/home/pi/pilight/libs/pilight/lua/config.c:297:3: warning: enumeration value ‘LIRC’ not handled in switch [-Wswitch]
/home/pi/pilight/libs/pilight/lua/config.c:297:3: warning: enumeration value ‘WEBCAM’ not handled in switch [-Wswitch]
/home/pi/pilight/libs/pilight/lua/config.c:297:3: warning: enumeration value ‘MOTION’ not handled in switch [-Wswitch]
/home/pi/pilight/libs/pilight/lua/config.c:297:3: warning: enumeration value ‘DUSK’ not handled in switch [-Wswitch]
/home/pi/pilight/libs/pilight/lua/config.c:297:3: warning: enumeration value ‘PING’ not handled in switch [-Wswitch]
/home/pi/pilight/libs/pilight/lua/config.c:297:3: warning: enumeration value ‘ALARM’ not handled in switch [-Wswitch]
 
Reply
#5
Not important
 
Reply
  


Possibly Related Threads...
Thread Author Replies Views Last Post
  Function with single argument is causing an error Niek 1 2,377 08-04-2018, 02:46 PM
Last Post: curlymo
  Error with new events parser Niek 28 3,907 05-07-2018, 06:25 AM
Last Post: curlymo
  Error compiling pilight development Rolandd 8 2,788 09-10-2017, 12:51 PM
Last Post: tomopxs
  Nightly Version 7.0.217 node not sending Alex 6 1,316 09-05-2017, 08:20 PM
Last Post: curlymo
  [Solved] Error messages in rules after update JoeC. 2 1,142 09-01-2017, 04:03 PM
Last Post: JoeC.
  [Solved] Problem Datetime latest nightly Alex 6 1,238 08-14-2017, 07:28 AM
Last Post: Alex

Forum Jump:


Browsing: 1 Guest(s)