Skip to content

Instantly share code, notes, and snippets.

@pcarver
Created January 23, 2018 19:54
Show Gist options
  • Save pcarver/708115277e6407e17973b477f7f5e3cd to your computer and use it in GitHub Desktop.
Save pcarver/708115277e6407e17973b477f7f5e3cd to your computer and use it in GitHub Desktop.
Contrail build failure
IDJSON_NAMESPACE=contrail_rapidjson -DLINUX -Ibuild/production -Ibuild/production/base/sandesh -Isrc/contrail-common/base/sandesh -Ibuild/production/dns -Icontroller/src/dns -Ibuild/production/http/client -Icontroller/src/http/client -Ibuild/production/ifmap -Icontroller/src/ifmap -Ibuild/production/schema -Icontroller/src/schema -Ibuild/production/sandesh -Icontroller/src/sandesh -Ibuild/production/vnsw/agent -Icontroller/src/vnsw/agent -Ibuild/production/vnsw/agent/oper -Icontroller/src/vnsw/agent/oper -Ibuild/production/vnsw/agent/cmn -Icontroller/src/vnsw/agent/cmn -Ibuild/production/vnsw/agent/uve -Icontroller/src/vnsw/agent/uve -Ibuild/production/vrouter/sandesh -Ivrouter/sandesh -Ibuild/production/vnsw/agent/nexthop_server -Icontroller/src/vnsw/agent/nexthop_server -Ibuild/production/vnsw/agent/vrouter/ksync/linux -Icontroller/src/vnsw/agent/vrouter/ksync/linux -Ibuild/production/tools/sandesh/library/common -Isrc/contrail-common/sandesh/library/common -Ibuild/include/thrift -Ivrouter/include -Icontroller/src -Ibuild/include -Isrc/contrail-common -Icontroller/lib controller/src/vnsw/agent/port_ipc/rest_server.cc
controller/src/vnsw/agent/port_ipc/rest_server.cc:249:41: error: no matching function for call to ‘RESTServer::HandlerSpecifier::HandlerSpecifier(boost::regex, http_method, void (RESTServer::*)(const RESTServer::RESTData&))’
&RESTServer::VmPortEnableHandler))
^
In file included from controller/src/vnsw/agent/port_ipc/rest_server.cc:19:0:
controller/src/vnsw/agent/port_ipc/rest_server.h:37:9: note: candidate: RESTServer::HandlerSpecifier::HandlerSpecifier(const contrail::regex&, http_method, RESTServer::HandlerSpecifier::HandlerFunc)
HandlerSpecifier(const contrail::regex &request_regex,
^
controller/src/vnsw/agent/port_ipc/rest_server.h:37:9: note: no known conversion for argument 1 from ‘boost::regex {aka boost::basic_regex<char, boost::regex_traits<char> >}’ to ‘const contrail::regex&’
controller/src/vnsw/agent/port_ipc/rest_server.h:33:11: note: candidate: RESTServer::HandlerSpecifier::HandlerSpecifier(const RESTServer::HandlerSpecifier&)
class HandlerSpecifier {
^
controller/src/vnsw/agent/port_ipc/rest_server.h:33:11: note: candidate expects 1 argument, 3 provided
controller/src/vnsw/agent/port_ipc/rest_server.cc:254:42: error: no matching function for call to ‘RESTServer::HandlerSpecifier::HandlerSpecifier(boost::regex, http_method, void (RESTServer::*)(const RESTServer::RESTData&))’
&RESTServer::VmPortDisableHandler));
^
In file included from controller/src/vnsw/agent/port_ipc/rest_server.cc:19:0:
controller/src/vnsw/agent/port_ipc/rest_server.h:37:9: note: candidate: RESTServer::HandlerSpecifier::HandlerSpecifier(const contrail::regex&, http_method, RESTServer::HandlerSpecifier::HandlerFunc)
HandlerSpecifier(const contrail::regex &request_regex,
^
controller/src/vnsw/agent/port_ipc/rest_server.h:37:9: note: no known conversion for argument 1 from ‘boost::regex {aka boost::basic_regex<char, boost::regex_traits<char> >}’ to ‘const contrail::regex&’
controller/src/vnsw/agent/port_ipc/rest_server.h:33:11: note: candidate: RESTServer::HandlerSpecifier::HandlerSpecifier(const RESTServer::HandlerSpecifier&)
class HandlerSpecifier {
^
controller/src/vnsw/agent/port_ipc/rest_server.h:33:11: note: candidate expects 1 argument, 3 provided
scons: *** [build/production/vnsw/agent/port_ipc/rest_server.o] Error 1
scons: building terminated because of errors.
+/opt/stack/openstack/contrail/devstack/plugin.sh:source:1 exit_trap
+./stack.sh:exit_trap:493 local r=2
++./stack.sh:exit_trap:494 jobs -p
+./stack.sh:exit_trap:494 jobs=
+./stack.sh:exit_trap:497 [[ -n '' ]]
+./stack.sh:exit_trap:503 '[' -f '' ']'
+./stack.sh:exit_trap:508 kill_spinner
+./stack.sh:kill_spinner:407 '[' '!' -z '' ']'
+./stack.sh:exit_trap:510 [[ 2 -ne 0 ]]
+./stack.sh:exit_trap:511 echo 'Error on exit'
Error on exit
+./stack.sh:exit_trap:513 type -p generate-subunit
+./stack.sh:exit_trap:514 generate-subunit 1516733394 1932 fail
./stack.sh: line 514: /opt/stack/devstack.subunit: Permission denied
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment