[Bug 284343] libtextstyle: 2 warnings and 20 errors generated.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 25 Jan 2025 16:31:09 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=284343 Bug ID: 284343 Summary: libtextstyle: 2 warnings and 20 errors generated. Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: tijl@FreeBSD.org Reporter: dufresnep@zoho.com Assignee: tijl@FreeBSD.org Flags: maintainer-feedback?(tijl@FreeBSD.org) I am newbish... had just filled a bug on a port... was making as a user rather than root... but following updating by src... # sysctl -n kern.osrelease kern.ostype 15.0-CURRENT FreeBSD # # make ===> Building for libtextstyle-0.22.5 --- all --- /usr/bin/make all-recursive --- all-recursive --- Making all in lib --- all --- /usr/bin/make all-am --- libtextstyle_la-gl_array_list.lo --- --- libtextstyle_la-basename-lgpl.lo --- --- libtextstyle_la-binary-io.lo --- --- libtextstyle_la-c-ctype.lo --- --- libtextstyle_la-gl_array_list.lo --- /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I. -I. -I.. -I.. -Iglib -DIN_LIBTEXTSTYLE -DLIBXML_STATIC -I./libcroco -DDEPENDS_ON_LIBICONV=1 -DLIBICONV_PLUG -D_THREAD_SAFE -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-tautological-constant-out-of-range-compare -Wno-sign-conversion -Wno-type-limits -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -c -o libtextstyle_la-gl_array_list.lo `test -f 'gl_array_list.c' || echo './'`gl_array_list.c --- libtextstyle_la-basename-lgpl.lo --- /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I. -I. -I.. -I.. -Iglib -DIN_LIBTEXTSTYLE -DLIBXML_STATIC -I./libcroco -DDEPENDS_ON_LIBICONV=1 -DLIBICONV_PLUG -D_THREAD_SAFE -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-tautological-constant-out-of-range-compare -Wno-sign-conversion -Wno-type-limits -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -c -o libtextstyle_la-basename-lgpl.lo `test -f 'basename-lgpl.c' || echo './'`basename-lgpl.c --- libtextstyle_la-binary-io.lo --- /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I. -I. -I.. -I.. -Iglib -DIN_LIBTEXTSTYLE -DLIBXML_STATIC -I./libcroco -DDEPENDS_ON_LIBICONV=1 -DLIBICONV_PLUG -D_THREAD_SAFE -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-tautological-constant-out-of-range-compare -Wno-sign-conversion -Wno-type-limits -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -c -o libtextstyle_la-binary-io.lo `test -f 'binary-io.c' || echo './'`binary-io.c --- libtextstyle_la-c-ctype.lo --- /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I. -I. -I.. -I.. -Iglib -DIN_LIBTEXTSTYLE -DLIBXML_STATIC -I./libcroco -DDEPENDS_ON_LIBICONV=1 -DLIBICONV_PLUG -D_THREAD_SAFE -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-tautological-constant-out-of-range-compare -Wno-sign-conversion -Wno-type-limits -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -c -o libtextstyle_la-c-ctype.lo `test -f 'c-ctype.c' || echo './'`c-ctype.c --- libtextstyle_la-basename-lgpl.lo --- libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I. -I. -I.. -I.. -Iglib -DIN_LIBTEXTSTYLE -DLIBXML_STATIC -I./libcroco -DDEPENDS_ON_LIBICONV=1 -DLIBICONV_PLUG -D_THREAD_SAFE -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-tautological-constant-out-of-range-compare -Wno-sign-conversion -Wno-type-limits -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -c basename-lgpl.c -fPIC -DPIC -o .libs/libtextstyle_la-basename-lgpl.o --- libtextstyle_la-gl_array_list.lo --- libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I. -I. -I.. -I.. -Iglib -DIN_LIBTEXTSTYLE -DLIBXML_STATIC -I./libcroco -DDEPENDS_ON_LIBICONV=1 -DLIBICONV_PLUG -D_THREAD_SAFE -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-tautological-constant-out-of-range-compare -Wno-sign-conversion -Wno-type-limits -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -c gl_array_list.c -fPIC -DPIC -o .libs/libtextstyle_la-gl_array_list.o --- libtextstyle_la-binary-io.lo --- libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I. -I. -I.. -I.. -Iglib -DIN_LIBTEXTSTYLE -DLIBXML_STATIC -I./libcroco -DDEPENDS_ON_LIBICONV=1 -DLIBICONV_PLUG -D_THREAD_SAFE -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-tautological-constant-out-of-range-compare -Wno-sign-conversion -Wno-type-limits -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -c binary-io.c -fPIC -DPIC -o .libs/libtextstyle_la-binary-io.o --- libtextstyle_la-basename-lgpl.lo --- In file included from basename-lgpl.c:19: --- libtextstyle_la-gl_array_list.lo --- In file included from gl_array_list.c:18: In file included from ./config.h:5: ./../config.h:2137:6: error: "<stdbool.h> does not exist on this platform. Use gnulib module 'stdbool-c99' instead of gnulib module 'stdbool'." 2137 | # error "<stdbool.h> does not exist on this platform. Use gnulib module 'stdbool-c99' instead of gnulib module 'stdbool'." | ^ In file included from gl_array_list.c:21: In file included from ./gl_array_list.h:21: ./gl_list.h:117:16: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 117 | typedef bool (*gl_listelement_equals_fn) (const void *elt1, const void *elt2); | ^ | int ./gl_list.h:117:9: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 117 | typedef bool (*gl_listelement_equals_fn) (const void *elt1, const void *elt2); | ~~~~~~~ ^ | int --- libtextstyle_la-basename-lgpl.lo --- In file included from ./config.h:5: ./../config.h:2137:6: error: "<stdbool.h> does not exist on this platform. Use gnulib module 'stdbool-c99' instead of gnulib module 'stdbool'." 2137 | # error "<stdbool.h> does not exist on this platform. Use gnulib module 'stdbool-c99' instead of gnulib module 'stdbool'." | ^ basename-lgpl.c:33:3: error: use of undeclared identifier 'bool' 33 | bool last_was_slash = false; | ^ basename-lgpl.c:41:9: error: use of undeclared identifier 'last_was_slash' 41 | last_was_slash = true; | ^ basename-lgpl.c:41:26: error: use of undeclared identifier 'false' 41 | last_was_slash = true; | ^ ./../config.h:2142:18: note: expanded from macro 'true' 2142 | # define true (!false) | ^ basename-lgpl.c:42:16: error: use of undeclared identifier 'last_was_slash' 42 | else if (last_was_slash) | ^ --- libtextstyle_la-binary-io.lo --- In file included from binary-io.c:17: In file included from ./config.h:5: ./../config.h:2137:6: error: "<stdbool.h> does not exist on this platform. Use gnulib module 'stdbool-c99' instead of gnulib module 'stdbool'." 2137 | # error "<stdbool.h> does not exist on this platform. Use gnulib module 'stdbool-c99' instead of gnulib module 'stdbool'." | ^ In file included from binary-io.c:20: In file included from ./binary-io.h:27: In file included from ./fcntl.h:56: In file included from ./sys/types.h:46: /usr/include/sys/types.h:122:18: error: cannot combine with previous 'type-name' declaration specifier 122 | typedef __gid_t gid_t; /* group id */ | ^ ./../config.h:1905:15: note: expanded from macro 'gid_t' 1905 | #define gid_t int | ^ --- libtextstyle_la-gl_array_list.lo --- ./gl_list.h:117:14: error: function cannot return function type 'int (const void *, const void *)' 117 | typedef bool (*gl_listelement_equals_fn) (const void *elt1, const void *elt2); | ^ ./gl_list.h:521:33: error: unknown type name 'gl_listelement_equals_fn' 521 | gl_listelement_equals_fn equals_fn, | ^ --- libtextstyle_la-basename-lgpl.lo --- basename-lgpl.c:45:11: error: use of undeclared identifier 'last_was_slash' 45 | last_was_slash = false; | ^ basename-lgpl.c:45:28: error: use of undeclared identifier 'false'; did you mean 'else'? 45 | last_was_slash = false; | ^~~~~ | else basename-lgpl.c:45:28: error: expected expression 8 errors generated. *** [libtextstyle_la-basename-lgpl.lo] Error code 1 make[3]: stopped making "all-am" in /usr/ports/devel/libtextstyle/work/gettext-0.22.5/libtextstyle/lib --- libtextstyle_la-gl_array_list.lo --- ./gl_list.h:526:27: error: unknown type name 'gl_listelement_equals_fn' 526 | gl_listelement_equals_fn equals_fn, | ^ ./gl_list.h:554:23: error: function cannot return function type 'bool' (aka 'int (int *)') 554 | bool (*remove_node) (gl_list_t list, gl_list_node_t node); | ^ ./gl_list.h:555:21: error: function cannot return function type 'bool' (aka 'int (int *)') 555 | bool (*remove_at) (gl_list_t list, size_t position); | ^ ./gl_list.h:556:22: error: function cannot return function type 'bool' (aka 'int (int *)') 556 | bool (*remove_elt) (gl_list_t list, const void *elt); | ^ ./gl_list.h:563:25: error: function cannot return function type 'bool' (aka 'int (int *)') --- libtextstyle_la-binary-io.lo --- 2 errors generated. *** [libtextstyle_la-binary-io.lo] Error code 1 make[3]: stopped making "all-am" in /usr/ports/devel/libtextstyle/work/gettext-0.22.5/libtextstyle/lib --- libtextstyle_la-gl_array_list.lo --- 563 | bool (*iterator_next) (gl_list_iterator_t *iterator, | ^ ./gl_list.h:585:29: error: function cannot return function type 'bool' (aka 'int (int *)') 585 | bool (*sortedlist_remove) (gl_list_t list, | ^ ./gl_list.h:593:3: error: unknown type name 'gl_listelement_equals_fn' 593 | gl_listelement_equals_fn equals_fn; | ^ ./gl_list.h:596:8: error: field 'allow_duplicates' declared as a function 596 | bool allow_duplicates; | ^ ./gl_list.h:606:26: error: unknown type name 'gl_listelement_equals_fn' 606 | gl_listelement_equals_fn equals_fn, | ^ ./gl_list.h:620:20: error: unknown type name 'gl_listelement_equals_fn' 620 | gl_listelement_equals_fn equals_fn, | ^ ./gl_list.h:803:21: error: function cannot return function type 'bool' (aka 'int (int *)') --- libtextstyle_la-c-ctype.lo --- libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I. -I. -I.. -I.. -Iglib -DIN_LIBTEXTSTYLE -DLIBXML_STATIC -I./libcroco -DDEPENDS_ON_LIBICONV=1 -DLIBICONV_PLUG -D_THREAD_SAFE -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-tautological-constant-out-of-range-compare -Wno-sign-conversion -Wno-type-limits -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -c c-ctype.c -fPIC -DPIC -o .libs/libtextstyle_la-c-ctype.o In file included from c-ctype.c:18: In file included from ./config.h:5: ./../config.h:2137:6: error: "<stdbool.h> does not exist on this platform. Use gnulib module 'stdbool-c99' instead of gnulib module 'stdbool'." 2137 | # error "<stdbool.h> does not exist on this platform. Use gnulib module 'stdbool-c99' instead of gnulib module 'stdbool'." | ^ In file included from c-ctype.c:21: --- libtextstyle_la-gl_array_list.lo --- 803 | gl_list_remove_node (gl_list_t list, gl_list_node_t node) | ^ ./gl_list.h:810:19: error: function cannot return function type 'bool' (aka 'int (int *)') 810 | gl_list_remove_at (gl_list_t list, size_t position) | ^ ./gl_list.h:817:22: error: function cannot return function type 'bool' (aka 'int (int *)') 817 | gl_list_remove_first (gl_list_t list) | ^ ./gl_list.h:823:12: error: use of undeclared identifier 'false'; did you mean 'else'? 823 | return false; | ^~~~~ | else ./gl_list.h:823:12: error: expected expression ./gl_list.h:827:21: error: function cannot return function type 'bool' (aka 'int (int *)') 827 | gl_list_remove_last (gl_list_t list) | ^ --- libtextstyle_la-c-ctype.lo --- ./c-ctype.h:168:16: error: unknown type name 'bool' 168 | C_CTYPE_INLINE bool | ^ ./c-ctype.h:176:14: error: use of undeclared identifier 'false' 176 | return true; | ^ ./../config.h:2142:18: note: expanded from macro 'true' 2142 | # define true (!false) | ^ In file included from c-ctype.c:21: ./c-ctype.h:178:14: error: use of undeclared identifier 'false'; did you mean 'else'? 178 | return false; | ^~~~~ | else ./c-ctype.h:178:14: error: expected expression ./c-ctype.h:182:16: error: unknown type name 'bool' 182 | C_CTYPE_INLINE bool | ^ --- libtextstyle_la-gl_array_list.lo --- fatal error: too many errors emitted, stopping now [-ferror-limit=] --- libtextstyle_la-c-ctype.lo --- ./c-ctype.h:189:14: error: use of undeclared identifier 'false' 189 | return true; | ^ ./../config.h:2142:18: note: expanded from macro 'true' 2142 | # define true (!false) | ^ In file included from c-ctype.c:21: ./c-ctype.h:191:14: error: use of undeclared identifier 'false'; did you mean 'else'? 191 | return false; | ^~~~~ | else ./c-ctype.h:191:14: error: expected expression ./c-ctype.h:197:16: error: unknown type name 'bool' 197 | C_CTYPE_INLINE bool | ^ ./c-ctype.h:208:14: error: use of undeclared identifier 'false' 208 | return true; | ^ ./../config.h:2142:18: note: expanded from macro 'true' 2142 | # define true (!false) | ^ In file included from c-ctype.c:21: ./c-ctype.h:210:14: error: use of undeclared identifier 'false'; did you mean 'else'? 210 | return false; | ^~~~~ | else ./c-ctype.h:210:14: error: expected expression ./c-ctype.h:214:16: error: unknown type name 'bool' 214 | C_CTYPE_INLINE bool | ^ ./c-ctype.h:220:16: error: unknown type name 'bool' 220 | C_CTYPE_INLINE bool | ^ ./c-ctype.h:226:14: error: use of undeclared identifier 'false' 226 | return true; | ^ ./../config.h:2142:18: note: expanded from macro 'true' 2142 | # define true (!false) | ^ In file included from c-ctype.c:21: ./c-ctype.h:228:14: error: use of undeclared identifier 'false'; did you mean 'else'? 228 | return false; | ^~~~~ | else ./c-ctype.h:228:14: error: expected expression ./c-ctype.h:232:16: error: unknown type name 'bool' 232 | C_CTYPE_INLINE bool | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. *** [libtextstyle_la-c-ctype.lo] Error code 1 make[3]: stopped making "all-am" in /usr/ports/devel/libtextstyle/work/gettext-0.22.5/libtextstyle/lib --- libtextstyle_la-gl_array_list.lo --- 2 warnings and 20 errors generated. *** [libtextstyle_la-gl_array_list.lo] Error code 1 make[3]: stopped making "all-am" in /usr/ports/devel/libtextstyle/work/gettext-0.22.5/libtextstyle/lib make[3]: 4 errors make[3]: stopped making "all-am" in /usr/ports/devel/libtextstyle/work/gettext-0.22.5/libtextstyle/lib make[2]: stopped making "all" in /usr/ports/devel/libtextstyle/work/gettext-0.22.5/libtextstyle/lib make[1]: stopped making "all-recursive" in /usr/ports/devel/libtextstyle/work/gettext-0.22.5/libtextstyle make: stopped making "all" in /usr/ports/devel/libtextstyle/work/gettext-0.22.5/libtextstyle ===> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to the maintainer. *** Error code 1 Stop. make[1]: stopped making "/usr/ports/devel/libtextstyle/work/.stage_done.libtextstyle._usr_local" in /usr/ports/devel/libtextstyle *** Error code 1 Stop. make: stopped making "all" in /usr/ports/devel/libtextstyle # # -- You are receiving this mail because: You are the assignee for the bug.