#17693 closed defect (fixed)
protobuf-c 0.6 build error
Reported by: | e9p02xn02@… | Owned by: | landonf (Landon Fuller) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.7.0 |
Keywords: | protobuf-c | Cc: | landonf (Landon Fuller) |
Port: | protobuf-c |
Description
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.
Attachments (1)
Change History (5)
Changed 16 years ago by e9p02xn02@…
Attachment: | Portfile.patch added |
---|
comment:1 Changed 16 years ago by landonf (Landon Fuller)
Owner: | changed from macports-tickets@… to landonf@… |
---|---|
Status: | new → assigned |
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
comment:2 Changed 16 years ago 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.
comment:3 Changed 16 years ago by landonf (Landon Fuller)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
OK -- thanks for the report! Marking this fixed.
Note: See
TracTickets for help on using
tickets.
Portfile patch