#17693: protobuf-c 0.6 build error --------------------------------------+------------------------------------- Reporter: e9p02xn02@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: protobuf-c | Port: protobuf-c --------------------------------------+------------------------------------- protobuf-c requires protobuf-cpp to be installed, but it's not listed as a dependancy As well, because it requires protobuf-cpp it fails to build as the search paths aren't being included. {{{ ---> Configuring protobuf-c ---> Building protobuf-c Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_protobuf-c/work/protobuf-c-0.6" && make all " returned error 2 Command output: google/protobuf/compiler/c/c_service.cc:136: error: 'SimpleItoa' was not declared in this scope google/protobuf/compiler/c/c_service.cc:137: error: invalid use of undefined type 'struct google::protobuf::io::Printer' ./google/protobuf/compiler/c/c_service.h:33: error: forward declaration of 'struct google::protobuf::io::Printer' google/protobuf/compiler/c/c_service.cc:140: error: expected initializer before '*' token google/protobuf/compiler/c/c_service.cc:141: error: 'method' was not declared in this scope google/protobuf/compiler/c/c_service.cc:142: error: 'FullNameToLower' was not declared in this scope google/protobuf/compiler/c/c_service.cc:144: error: invalid use of undefined type 'struct google::protobuf::io::Printer' ./google/protobuf/compiler/c/c_service.h:33: error: forward declaration of 'struct google::protobuf::io::Printer' google/protobuf/compiler/c/c_service.cc:147: error: invalid use of undefined type 'struct google::protobuf::io::Printer' ./google/protobuf/compiler/c/c_service.h:33: error: forward declaration of 'struct google::protobuf::io::Printer' google/protobuf/compiler/c/c_service.cc:148: error: invalid use of undefined type 'struct google::protobuf::io::Printer' ./google/protobuf/compiler/c/c_service.h:33: error: forward declaration of 'struct google::protobuf::io::Printer' google/protobuf/compiler/c/c_service.cc: In member function 'void google::protobuf::compiler::c::ServiceGenerator::GenerateCallersImplementations(google::protobuf::io::Printer*)': google/protobuf/compiler/c/c_service.cc:162: error: 'descriptor_' was not declared in this scope google/protobuf/compiler/c/c_service.cc:163: error: expected initializer before '*' token google/protobuf/compiler/c/c_service.cc:164: error: 'string' was not declared in this scope google/protobuf/compiler/c/c_service.cc:164: error: expected `;' before 'lcname' google/protobuf/compiler/c/c_service.cc:165: error: expected `;' before 'lcfullname' google/protobuf/compiler/c/c_service.cc:166: error: 'vars_' was not declared in this scope google/protobuf/compiler/c/c_service.cc:166: error: 'lcname' was not declared in this scope google/protobuf/compiler/c/c_service.cc:167: error: 'ConvertToSpaces' was not declared in this scope google/protobuf/compiler/c/c_service.cc:168: error: 'method' was not declared in this scope google/protobuf/compiler/c/c_service.cc:168: error: 'FullNameToC' was not declared in this scope google/protobuf/compiler/c/c_service.cc:170: error: 'lcfullname' was not declared in this scope google/protobuf/compiler/c/c_service.cc:171: error: 'SimpleItoa' was not declared in this scope google/protobuf/compiler/c/c_service.cc:173: error: invalid use of undefined type 'struct google::protobuf::io::Printer' ./google/protobuf/compiler/c/c_service.h:33: error: forward declaration of 'struct google::protobuf::io::Printer' make[2]: *** [c_service.o] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all-recursive] Error 1 Error: Status 1 encountered during processing. }}} -- Ticket URL: <http://trac.macports.org/ticket/17693> MacPorts <http://www.macports.org/> Ports system for Mac OS