=> Bootstrap dependency digest>=20010302: found digest-20190127 ===> Skipping vulnerability checks. WARNING: No /opt/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/opt/pkg/sbin/pkg_admin -K /opt/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Building for lua51-lyaml-6.2.7 /bin/cp -f /opt/pkgsrc/textproc/lua-lyaml/files/Makefile /opt/work/textproc/lua-lyaml/work/lyaml-6.2.7/ext/yaml/Makefile --- emitter.o --- --- parser.o --- --- scanner.o --- --- yaml.o --- --- emitter.o --- clang -O2 -I/opt/pkg/include/lua-5.1 -I/opt/pkg/include -fPIC -Wall -DVERSION=\"6.2.7\" -c emitter.c --- parser.o --- clang -O2 -I/opt/pkg/include/lua-5.1 -I/opt/pkg/include -fPIC -Wall -DVERSION=\"6.2.7\" -c parser.c --- scanner.o --- clang -O2 -I/opt/pkg/include/lua-5.1 -I/opt/pkg/include -fPIC -Wall -DVERSION=\"6.2.7\" -c scanner.c --- yaml.o --- clang -O2 -I/opt/pkg/include/lua-5.1 -I/opt/pkg/include -fPIC -Wall -DVERSION=\"6.2.7\" -c yaml.c yaml.c:47:2: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int] MENTRY( Pemitter ), ^~~~~~~~~~~~~~~~~~~~~~~~~ yaml.c:46:21: note: expanded from macro 'MENTRY' #define MENTRY(_s) {LYAML_STR_1(_s), (_s)} ^~~~~~~~~~~~~~~ yaml.c:42:26: note: expanded from macro 'LYAML_STR_1' #define LYAML_STR_1(_s) LYAML__STR_1(_s) ^~~~~~~~~~~~~~~~ yaml.c:41:31: note: expanded from macro 'LYAML__STR_1' #define LYAML__STR_1(_s) (#_s + 1) ~~~~^~~ yaml.c:47:2: note: use array indexing to silence this warning yaml.c:46:21: note: expanded from macro 'MENTRY' #define MENTRY(_s) {LYAML_STR_1(_s), (_s)} ^ yaml.c:42:26: note: expanded from macro 'LYAML_STR_1' #define LYAML_STR_1(_s) LYAML__STR_1(_s) ^ yaml.c:41:31: note: expanded from macro 'LYAML__STR_1' #define LYAML__STR_1(_s) (#_s + 1) ^ yaml.c:48:2: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int] MENTRY( Pparser ), ^~~~~~~~~~~~~~~~~~~~~~~~~ yaml.c:46:21: note: expanded from macro 'MENTRY' #define MENTRY(_s) {LYAML_STR_1(_s), (_s)} ^~~~~~~~~~~~~~~ yaml.c:42:26: note: expanded from macro 'LYAML_STR_1' #define LYAML_STR_1(_s) LYAML__STR_1(_s) ^~~~~~~~~~~~~~~~ yaml.c:41:31: note: expanded from macro 'LYAML__STR_1' #define LYAML__STR_1(_s) (#_s + 1) ~~~~^~~ yaml.c:48:2: note: use array indexing to silence this warning yaml.c:46:21: note: expanded from macro 'MENTRY' #define MENTRY(_s) {LYAML_STR_1(_s), (_s)} ^ yaml.c:42:26: note: expanded from macro 'LYAML_STR_1' #define LYAML_STR_1(_s) LYAML__STR_1(_s) ^ yaml.c:41:31: note: expanded from macro 'LYAML__STR_1' #define LYAML__STR_1(_s) (#_s + 1) ^ yaml.c:49:2: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int] MENTRY( Pscanner ), ^~~~~~~~~~~~~~~~~~~~~~~~~ yaml.c:46:21: note: expanded from macro 'MENTRY' #define MENTRY(_s) {LYAML_STR_1(_s), (_s)} ^~~~~~~~~~~~~~~ yaml.c:42:26: note: expanded from macro 'LYAML_STR_1' #define LYAML_STR_1(_s) LYAML__STR_1(_s) ^~~~~~~~~~~~~~~~ yaml.c:41:31: note: expanded from macro 'LYAML__STR_1' #define LYAML__STR_1(_s) (#_s + 1) ~~~~^~~ yaml.c:49:2: note: use array indexing to silence this warning yaml.c:46:21: note: expanded from macro 'MENTRY' #define MENTRY(_s) {LYAML_STR_1(_s), (_s)} ^ yaml.c:42:26: note: expanded from macro 'LYAML_STR_1' #define LYAML_STR_1(_s) LYAML__STR_1(_s) ^ yaml.c:41:31: note: expanded from macro 'LYAML__STR_1' #define LYAML__STR_1(_s) (#_s + 1) ^ --- emitter.o --- emitter.c:178:7: warning: variable 'yaml_style' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized] if MENTRY( FLOW ) else ^~~~~~~~~~~~~~~~~~~ emitter.c:175:21: note: expanded from macro 'MENTRY' #define MENTRY(_s) (STREQ (style, #_s)) { yaml_style = YAML_##_s##_MAPPING_STYLE; } ^~~~~~~~~~~~~~~~~~ ./lyaml.h:44:15: note: expanded from macro 'STREQ' #define STREQ !strcmp ^ emitter.c:191:72: note: uninitialized use occurs here --- scanner.o --- scanner.c:233:10: warning: unused variable 'str' [-Wunused-variable] char *str; ^ --- emitter.o --- yaml_mapping_start_event_initialize (&event, anchor, tag, implicit, yaml_style); ^~~~~~~~~~ emitter.c:178:4: note: remove the 'if' if its condition is always true if MENTRY( FLOW ) else ^ emitter.c:168:4: note: variable 'yaml_style' is declared here yaml_mapping_style_t yaml_style; ^ --- parser.o --- parser.c:314:10: warning: unused variable 'str' [-Wunused-variable] char *str; ^ --- emitter.o --- emitter.c:221:7: warning: variable 'yaml_style' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized] if MENTRY( FLOW ) else ^~~~~~~~~~~~~~~~~~~ emitter.c:218:21: note: expanded from macro 'MENTRY' #define MENTRY(_s) (STREQ (style, #_s)) { yaml_style = YAML_##_s##_SEQUENCE_STYLE; } ^~~~~~~~~~~~~~~~~~ ./lyaml.h:44:15: note: expanded from macro 'STREQ' #define STREQ !strcmp ^ emitter.c:234:73: note: uninitialized use occurs here yaml_sequence_start_event_initialize (&event, anchor, tag, implicit, yaml_style); ^~~~~~~~~~ emitter.c:221:4: note: remove the 'if' if its condition is always true if MENTRY( FLOW ) else ^ emitter.c:211:4: note: variable 'yaml_style' is declared here yaml_sequence_style_t yaml_style; ^ emitter.c:267:7: warning: variable 'yaml_style' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized] if MENTRY( FOLDED ) else ^~~~~~~~~~~~~~~~~~~~~~~~~~~ emitter.c:261:21: note: expanded from macro 'MENTRY' #define MENTRY(_s) (STREQ (style, #_s)) { yaml_style = YAML_##_s##_SCALAR_STYLE; } ^~~~~~~~~~~~~~~~~~ ./lyaml.h:44:15: note: expanded from macro 'STREQ' #define STREQ !strcmp ^ emitter.c:283:40: note: uninitialized use occurs here plain_implicit, quoted_implicit, yaml_style); ^~~~~~~~~~ emitter.c:267:4: note: remove the 'if' if its condition is always true if MENTRY( FOLDED ) else ^ emitter.c:254:4: note: variable 'yaml_style' is declared here yaml_scalar_style_t yaml_style; ^ --- yaml.o --- 3 warnings generated. --- scanner.o --- 1 warning generated. --- parser.o --- 1 warning generated. --- emitter.o --- 3 warnings generated. --- yaml.so --- clang -bundle -undefined dynamic_lookup -L/opt/pkg/lib -L/usr/lib -shared -lyaml -o yaml.so emitter.o parser.o scanner.o yaml.o clang: error: invalid argument '-bundle' not allowed with '-dynamiclib' *** [yaml.so] Error code 1 bmake: stopped in /opt/work/textproc/lua-lyaml/work/lyaml-6.2.7/ext/yaml 1 error bmake: stopped in /opt/work/textproc/lua-lyaml/work/lyaml-6.2.7/ext/yaml *** Error code 2 Stop. bmake[1]: stopped in /opt/pkgsrc/textproc/lua-lyaml *** Error code 1 Stop. bmake: stopped in /opt/pkgsrc/textproc/lua-lyaml