[MacPorts] #17693: protobuf-c 0.6 build error
#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
#17693: protobuf-c 0.6 build error --------------------------------------+------------------------------------- Reporter: e9p02xn02@… | Owner: landonf@… Type: defect | Status: assigned Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: protobuf-c | Port: protobuf-c --------------------------------------+------------------------------------- Changes (by landonf@…): * owner: macports-tickets@… => landonf@… * status: new => assigned Comment: Thanks. I added the port dependency in r43951, but the port builds without your changes to build.args on my system. Can you verify that the port does not build without the build.args setting? Thanks -- Ticket URL: <http://trac.macports.org/ticket/17693#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17693: protobuf-c 0.6 build error --------------------------------------+------------------------------------- Reporter: e9p02xn02@… | Owner: landonf@… Type: defect | Status: assigned Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: protobuf-c | Port: protobuf-c --------------------------------------+------------------------------------- Comment(by e9p02xn02@…): I think I was mistaken with regards to build.args. It builds correctly without changing build.args, I think that was just a byproduct of the build failing originally and leaving a broken build directory that was removed when the Portfile changed. -- Ticket URL: <http://trac.macports.org/ticket/17693#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17693: protobuf-c 0.6 build error ---------------------------------------+------------------------------------ Reporter: e9p02xn02@… | Owner: landonf@… Type: defect | Status: closed Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Resolution: fixed | Keywords: protobuf-c Port: protobuf-c | ---------------------------------------+------------------------------------ Changes (by landonf@…): * status: assigned => closed * resolution: => fixed Comment: OK -- thanks for the report! Marking this fixed. -- Ticket URL: <http://trac.macports.org/ticket/17693#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts