As a dependency for my project, compiling results in this:
==> piqi_src (compile)
Compiled src/piqi_src.erl
==> Leaving directory /srv/ebid/deps/piqi_src' ==> piqi (compile) make: Entering directory/srv/ebid/deps/piqi_src/piqi-erlang/src'
set -e; \
for i in piqi-rpc.piqi piqi-tools.piqi piqi.piqi; do \
/srv/ebid/deps/piqi/priv/bin-Linux-x86_64/piqic erlang -I ../.. $i; \
done
Warning: /root/piqi/piqi.org/piqtype-wire.piqi:31:5: this style of extensions is deprecated; always use .with prefix
Warning: /root/piqi/piqi.org/piqtype-wire.piqi:29:11: use of .name for extending typedefs is deprecated; use .typedef instead
Warning: /root/piqi/piqi.org/piqtype-wire.piqi:42:5: this style of extensions is deprecated; always use .with prefix
Warning: /root/piqi/piqi.org/piqtype-wire.piqi:39:12: use of .name for extending typedefs is deprecated; use .typedef instead
Warning: /root/piqi/piqi.org/piqtype-wire.piqi:39:18: use of .name for extending typedefs is deprecated; use .typedef instead
Warning: /root/piqi/piqi.org/piqi-proto.piqi:18:5: this style of extensions is deprecated; always use .with prefix
Warning: /root/piqi/piqi.org/piqi-proto.piqi:16:12: use of .name for extending typedefs is deprecated; use .typedef instead
Warning: /root/piqi/piqi.org/piqi-proto.piqi:16:19: use of .name for extending typedefs is deprecated; use .typedef instead
Warning: /root/piqi/piqi.org/piqi-proto.piqi:16:25: use of .name for extending typedefs is deprecated; use .typedef instead
Warning: /root/piqi/piqi.org/piqi-proto.piqi:16:33: use of .name for extending typedefs is deprecated; use .typedef instead
Warning: /root/piqi/piqi.org/piqi-proto.piqi:16:40: use of .name for extending typedefs is deprecated; use .typedef instead
Warning: /root/piqi/piqi.org/piqi-proto.piqi:16:46: use of .name for extending typedefs is deprecated; use .typedef instead
Warning: /root/piqi/piqi.org/piqi-proto.piqi:29:5: this style of extensions is deprecated; always use .with prefix
Warning: /root/piqi/piqi.org/piqi-proto.piqi:27:11: use of .name for extending typedefs is deprecated; use .typedef instead
Warning: /root/piqi/piqi.org/piqi-proto.piqi:40:5: this style of extensions is deprecated; always use .with prefix
Warning: /root/piqi/piqi.org/piqi-proto.piqi:38:11: use of .name for extending typedefs is deprecated; use .typedef instead
Warning: /root/piqi/piqi.org/piqi-json.piqi:18:5: this style of extensions is deprecated; always use .with prefix
Warning: /root/piqi/piqi.org/piqi-json.piqi:16:12: use of .name for extending typedefs is deprecated; use .typedef instead
Warning: /root/piqi/piqi.org/piqi-json.piqi:16:19: use of .name for extending typedefs is deprecated; use .typedef instead
Warning: /root/piqi/piqi.org/piqi-json.piqi:16:25: use of .name for extending typedefs is deprecated; use .typedef instead
Warning: /root/piqi/piqi.org/piqi-json.piqi:16:33: use of .name for extending typedefs is deprecated; use .typedef instead
Warning: /root/piqi/piqi.org/piqi-json.piqi:16:40: use of .name for extending typedefs is deprecated; use .typedef instead
Warning: /root/piqi/piqi.org/piqi-json.piqi:16:46: use of .name for extending typedefs is deprecated; use .typedef instead
Warning: /root/piqi/piqi.org/piqi.piqi:11:16: duplicate field "proto-package"
Warning: /root/piqi/piqi.org/piqi.piqi:11:16: duplicate field "proto-package"
../../piqic/piqi.erlang.piqi:7:54: unknown type "function"
make: *\ [piqi_rpc_piqi.erl] Error 1
make: Leaving directory `/srv/ebid/deps/piqi_src/piqi-erlang/src'
ERROR: Command [compile] failed!
Deprecation issues aside, the "function" typedef is not being handled appropriately.
This seems to be caused by having multiple checkouts of the piqi repo on the same system. /root/piqi is the full piqi package. Removing this repository clone made the error go away.
As a dependency for my project, compiling results in this:
==> piqi_src (compile) Compiled src/piqi_src.erl ==> Leaving directory
/srv/ebid/deps/piqi_src' ==> piqi (compile) make: Entering directory
/srv/ebid/deps/piqi_src/piqi-erlang/src' set -e; \ for i in piqi-rpc.piqi piqi-tools.piqi piqi.piqi; do \ /srv/ebid/deps/piqi/priv/bin-Linux-x86_64/piqic erlang -I ../.. $i; \ done Warning: /root/piqi/piqi.org/piqtype-wire.piqi:31:5: this style of extensions is deprecated; always use .with prefix Warning: /root/piqi/piqi.org/piqtype-wire.piqi:29:11: use of .name for extending typedefs is deprecated; use .typedef instead Warning: /root/piqi/piqi.org/piqtype-wire.piqi:42:5: this style of extensions is deprecated; always use .with prefix Warning: /root/piqi/piqi.org/piqtype-wire.piqi:39:12: use of .name for extending typedefs is deprecated; use .typedef instead Warning: /root/piqi/piqi.org/piqtype-wire.piqi:39:18: use of .name for extending typedefs is deprecated; use .typedef instead Warning: /root/piqi/piqi.org/piqi-proto.piqi:18:5: this style of extensions is deprecated; always use .with prefix Warning: /root/piqi/piqi.org/piqi-proto.piqi:16:12: use of .name for extending typedefs is deprecated; use .typedef instead Warning: /root/piqi/piqi.org/piqi-proto.piqi:16:19: use of .name for extending typedefs is deprecated; use .typedef instead Warning: /root/piqi/piqi.org/piqi-proto.piqi:16:25: use of .name for extending typedefs is deprecated; use .typedef instead Warning: /root/piqi/piqi.org/piqi-proto.piqi:16:33: use of .name for extending typedefs is deprecated; use .typedef instead Warning: /root/piqi/piqi.org/piqi-proto.piqi:16:40: use of .name for extending typedefs is deprecated; use .typedef instead Warning: /root/piqi/piqi.org/piqi-proto.piqi:16:46: use of .name for extending typedefs is deprecated; use .typedef instead Warning: /root/piqi/piqi.org/piqi-proto.piqi:29:5: this style of extensions is deprecated; always use .with prefix Warning: /root/piqi/piqi.org/piqi-proto.piqi:27:11: use of .name for extending typedefs is deprecated; use .typedef instead Warning: /root/piqi/piqi.org/piqi-proto.piqi:40:5: this style of extensions is deprecated; always use .with prefix Warning: /root/piqi/piqi.org/piqi-proto.piqi:38:11: use of .name for extending typedefs is deprecated; use .typedef instead Warning: /root/piqi/piqi.org/piqi-json.piqi:18:5: this style of extensions is deprecated; always use .with prefix Warning: /root/piqi/piqi.org/piqi-json.piqi:16:12: use of .name for extending typedefs is deprecated; use .typedef instead Warning: /root/piqi/piqi.org/piqi-json.piqi:16:19: use of .name for extending typedefs is deprecated; use .typedef instead Warning: /root/piqi/piqi.org/piqi-json.piqi:16:25: use of .name for extending typedefs is deprecated; use .typedef instead Warning: /root/piqi/piqi.org/piqi-json.piqi:16:33: use of .name for extending typedefs is deprecated; use .typedef instead Warning: /root/piqi/piqi.org/piqi-json.piqi:16:40: use of .name for extending typedefs is deprecated; use .typedef instead Warning: /root/piqi/piqi.org/piqi-json.piqi:16:46: use of .name for extending typedefs is deprecated; use .typedef instead Warning: /root/piqi/piqi.org/piqi.piqi:11:16: duplicate field "proto-package" Warning: /root/piqi/piqi.org/piqi.piqi:11:16: duplicate field "proto-package" ../../piqic/piqi.erlang.piqi:7:54: unknown type "function" make: *\ [piqi_rpc_piqi.erl] Error 1 make: Leaving directory `/srv/ebid/deps/piqi_src/piqi-erlang/src' ERROR: Command [compile] failed!Deprecation issues aside, the "function" typedef is not being handled appropriately.