nymea / nymea-zigbee

Zigbee library and tools for the nymea IoT stack.
GNU Lesser General Public License v3.0
3 stars 4 forks source link

FTBS with eoan #3

Closed mzanetti closed 4 years ago

mzanetti commented 4 years ago

running

crossbuilder-u eoan -a amd64

fails with

zigbeenetwork.cpp: In member function ‘void ZigbeeNetwork::setSecurityConfiguration(const ZigbeeSecurityConfiguration&)’:
zigbeenetwork.cpp:107:31: error: implicitly-declared ‘ZigbeeSecurityConfiguration& ZigbeeSecurityConfiguration::operator=(const ZigbeeSecurityConfiguration&)’ is deprecated [-Werror=deprecated-copy]
  107 |     m_securityConfiguration = securityConfiguration;
      |                               ^~~~~~~~~~~~~~~~~~~~~
In file included from zigbeenetwork.h:8,
                 from zigbeenetwork.cpp:2:
zigbeesecurityconfiguration.h:16:5: note: because ‘ZigbeeSecurityConfiguration’ has user-provided ‘ZigbeeSecurityConfiguration::ZigbeeSecurityConfiguration(const ZigbeeSecurityConfiguration&)’
   16 |     ZigbeeSecurityConfiguration(const ZigbeeSecurityConfiguration &other);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1plus: all warnings being treated as errors
make[2]: *** [Makefile:598: zigbeenetwork.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/home/ubuntu/nymea-zigbee/libnymea-zigbee'
make[1]: *** [Makefile:47: sub-libnymea-zigbee-make_first-ordered] Error 2
make[1]: Leaving directory '/home/ubuntu/nymea-zigbee'
dh_auto_build: make -j5 returned exit code 2
make: *** [debian/rules:26: build] Error 255