[dss-merge-requests] Build failed in Jenkins: dSS #1343

dS Jenkins jenkins at dev.digitalstrom.org
Fri Feb 2 12:21:51 CET 2018


See <http://dsjenkins.cloudapp.net/jenkins/job/dSS/1343/display/redirect>

------------------------------------------
[...truncated 8.39 KB...]
checking whether pthreads work with -kthread... no
checking for the pthreads library -llthread... no
checking whether pthreads work with -pthread... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... no
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for inttypes.h... (cached) yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdint.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking for stdbool.h that conforms to C99... no
checking for _Bool... no
checking for inline... inline
checking for int32_t... yes
checking for int64_t... yes
checking for off_t... yes
checking for pid_t... yes
checking for size_t... yes
checking for uint16_t... yes
checking for uint32_t... yes
checking for uint64_t... yes
checking for uint8_t... yes
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking for _LARGEFILE_SOURCE value needed for large files... no
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking whether time.h and sys/time.h may both be included... yes
checking for sys/time.h... (cached) yes
checking for unistd.h... (cached) yes
checking for alarm... yes
checking for working mktime... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible realloc... yes
checking for working strtod... yes
checking for dup2... yes
checking for gethostbyname... yes
checking for gettimeofday... yes
checking for inet_ntoa... yes
checking for localtime_r... yes
checking for memchr... yes
checking for memmove... yes
checking for memset... yes
checking for select... yes
checking for setlocale... yes
checking for socket... yes
checking for strchr... yes
checking for strcspn... yes
checking for strdup... yes
checking for strerror... yes
checking for strrchr... yes
checking for strspn... yes
checking for strstr... yes
checking for strtol... yes
checking for strtoul... yes
checking for setrlimit... yes
checking for ld used by gcc... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking for shared library run path origin... done
checking for iconv... yes
checking for working iconv... yes
checking for iconv declaration... 
         extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
checking sys/prctl.h usability... yes
checking sys/prctl.h presence... yes
checking for sys/prctl.h... yes
checking for prctl... yes
checking execinfo.h usability... yes
checking execinfo.h presence... yes
checking for execinfo.h... yes
checking for backtrace... yes
checking for backtrace_symbols... yes
checking for dlsym... no
checking for library containing dlsym... -ldl
checking for clock_gettime... yes
checking for boostlib >= 1.53.0... yes
checking whether the Boost::System library is available... yes
checking for exit in -lboost_system... yes
checking whether the Boost::Filesystem library is available... yes
checking for exit in -lboost_filesystem... yes
checking whether the Boost::Program_Options library is available... yes
checking for exit in -lboost_program_options... yes
checking whether the Boost::Thread library is available... yes
checking for exit in -lboost_thread... yes
checking whether the Boost::Unit_Test_Framework library is available... yes
checking whether the Boost::Chrono library is available... yes
checking for exit in -lboost_chrono... yes
checking whether the Boost::Locale library is available... yes
checking for exit in -lboost_locale... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for JS... no
configure: WARNING: No package 'libjs' found
configure: could not find libjs, trying to find mozjs185
checking for JS... yes
checking for ICAL... yes
checking libical/ical.h usability... yes
checking libical/ical.h presence... yes
checking for libical/ical.h... yes
checking for LIBXML2... yes
checking for OPENSSL... yes
checking for AVAHI... yes
checking for LIBRRD... yes
checking for rrd_create_r in -lrrd_th... yes
checking expat.h usability... yes
checking expat.h presence... yes
checking for expat.h... yes
checking for XML_ParserCreate in -lexpat... yes
checking for JSONC... yes
checking for CURL... yes
checking for LIBTCMALLOC... no
configure: libtcmalloc not available: No package 'libtcmalloc' found
checking for doxygen... /usr/bin/doxygen
checking for sendmail... /usr/sbin/sendmail
checking for LIBPROTOBUF... yes
checking for LIBCOMMCHANNEL... yes
checking for LIBDSUID... yes
configure: Will search for libdsm-api headers in /opt/bitnami/apps/jenkins/jenkins_home/digitalstrom/include
checking /opt/bitnami/apps/jenkins/jenkins_home/digitalstrom/include/digitalSTROM/dsm-api-v2/dsm-api.h usability... yes
checking /opt/bitnami/apps/jenkins/jenkins_home/digitalstrom/include/digitalSTROM/dsm-api-v2/dsm-api.h presence... yes
checking for /opt/bitnami/apps/jenkins/jenkins_home/digitalstrom/include/digitalSTROM/dsm-api-v2/dsm-api.h... yes
configure: Will search for libdsm-api libs in /opt/bitnami/apps/jenkins/jenkins_home/digitalstrom/lib
checking for DsmApiOpen in -ldsm-api-v2... yes
checking for OSSP_UUID... yes
checking for RAPIDJSON... yes
checking for SQLITE3... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating build/Makefile
config.status: creating tools/Makefile
config.status: creating data/Makefile
config.status: creating doc/doxygen.conf
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
+ mkdir -p /opt/bitnami/apps/jenkins/jenkins_home/digitalstrom/share/dss/data
+ mkdir -p /opt/bitnami/apps/jenkins/jenkins_home/digitalstrom/share/dss/data/logs/
+ mkdir -p /opt/bitnami/apps/jenkins/jenkins_home/digitalstrom/share/dss/data/savedprops/
+ mkdir -p /opt/bitnami/apps/jenkins/jenkins_home/digitalstrom/share/dss/data/databases/
+ make -j4 -l 4.0 check
Making check in build
make[1]: Entering directory '<http://dsjenkins.cloudapp.net/jenkins/job/dSS/ws/build'>
../tools/dss_gen_version_unix.sh .. .
/bin/mkdir -p ../src/messages
/bin/mkdir -p ../src/messages
/bin/mkdir -p ../src/messages
protoc -I../src/messages --cpp_out=../src/messages ../src/messages/messaging.proto
protoc -I../src/messages --cpp_out=../src/messages ../src/messages/device-scene-table-update.proto
protoc -I../src/messages --cpp_out=../src/messages ../src/messages/vdc-messages.proto
/bin/mkdir -p ../src/messages
protoc -I../src/messages --cpp_out=../src/messages ../src/messages/vdcapi.proto
make  check-am
make[2]: Entering directory '<http://dsjenkins.cloudapp.net/jenkins/job/dSS/ws/build'>
  CXX      ../src/libdsscore_a-eventcollector.o
  CXX      ../src/libdsscore_a-eventinterpreterplugins.o
  CXX      ../src/libdsscore_a-eventinterpretersystemplugins.o
  CXX      ../src/libdsscore_a-eventsubscriptionsession.o
  CXX      ../src/libdsscore_a-exception.o
  CXX      ../src/libdsscore_a-expatparser.o
  CXX      ../src/libdsscore_a-hasher.o
  CXX      ../src/libdsscore_a-heatingregistering.o
  CXX      ../src/libdsscore_a-http_client.o
  CXX      ../src/libdsscore_a-logger.o
  CXX      ../src/libdsscore_a-model-features.o
  CXX      ../src/libdsscore_a-monitor_tasks.o
  CXX      ../src/libdsscore_a-property-parser.o
  CXX      ../src/libdsscore_a-propertyquery.o
  CXX      ../src/libdsscore_a-propertysystem.o
  CXX      ../src/libdsscore_a-propertysystem_common_paths.o
  CXX      ../src/libdsscore_a-protobufjson.o
  CXX      ../src/libdsscore_a-sceneaccess.o
  CXX      ../src/libdsscore_a-sensor_data_uploader.o
  CXX      ../src/libdsscore_a-session.o
  CXX      ../src/libdsscore_a-sessionmanager.o
  CXX      ../src/libdsscore_a-setbuilder.o
  CXX      ../src/libdsscore_a-sqlite3_wrapper.o
  CXX      ../src/libdsscore_a-storagetools.o
  CXX      ../src/libdsscore_a-stringconverter.o
  CXX      ../src/libdsscore_a-structuremanipulator.o
  CXX      ../src/libdsscore_a-subscription.o
  CXX      ../src/libdsscore_a-subscription_profiler.o
  CXX      ../src/libdsscore_a-subsystem.o
  CXX      ../src/libdsscore_a-syncevent.o
  CXX      ../src/libdsscore_a-systemcondition.o
  CXX      ../src/libdsscore_a-taskprocessor.o
  CXX      ../src/libdsscore_a-util.o
  CXX      ../src/libdsscore_a-vdc-connection.o
  CXX      ../src/libdsscore_a-vdc-db.o
  CXX      ../src/libdsscore_a-vdc-element-reader.o
  CXX      ../src/libdsscore_a-vdc-token.o
  CXX      ../src/libdsscore_a-watchdog.o
../src/vdc-db.cpp: In member function ‘virtual std::vector<dss::VdcDb::EventDesc> dss::{anonymous}::VdcDbImpl::getEvents(const string&)’:
../src/vdc-db.cpp:230:31: error: cannot convert ‘std::__cxx11::basic_string<char>’ to ‘int’ in assignment
     events.back().accessLevel = query0.getColumn<std::string>(3);
                               ^
  CXX      ../src/libdsscore_a-webservice_api.o
Makefile:4433: recipe for target '../src/libdsscore_a-vdc-db.o' failed
make[2]: *** [../src/libdsscore_a-vdc-db.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '<http://dsjenkins.cloudapp.net/jenkins/job/dSS/ws/build'>
Makefile:5916: recipe for target 'check' failed
make[1]: *** [check] Error 2
make[1]: Leaving directory '<http://dsjenkins.cloudapp.net/jenkins/job/dSS/ws/build'>
Makefile:530: recipe for target 'check-recursive' failed
make: *** [check-recursive] Error 1
+ BUILD_ERR=2
+ cat build/error.log
cat: build/error.log: No such file or directory
+ cat build/error.log
cat: build/error.log: No such file or directory
+ exit 2
Build step 'Execute shell' marked build as failure
Archiving artifacts


More information about the dSS-merge-requests mailing list