+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/libifp-1.0.0.2nb1/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/libifp-1.0.0.2nb1/work.log ===> Building for libifp-1.0.0.2nb1 --- all-recursive --- Making all in src --- prim.lo --- --- comp.lo --- --- readwrite.lo --- --- userfile.lo --- --- prim.lo --- if /usr/bin/bash ../libtool --mode=compile gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"libifp\" -DVERSION=\"1.0.0.2\" -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DWORDS_BIGENDIAN=1 -DHAVE_USB_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDIO_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_WCHAR_H=1 -DHAVE_STRING_H=1 -DHAVE_TIME_H=1 -DHAVE_FTS_H=1 -DHAVE_ICONV_H=1 -I. -I. -I../include -I/opt/pkg/include -g -O2 -Wall -W -Wno-unused-parameter -MT prim.lo -MD -MP -MF ".deps/prim.Tpo" -c -o prim.lo `test -f 'prim.c' || echo './'`prim.c; then mv -f ".deps/prim.Tpo" ".deps/prim.Plo"; else rm -f ".deps/prim.Tpo"; exit 1; fi --- comp.lo --- if /usr/bin/bash ../libtool --mode=compile gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"libifp\" -DVERSION=\"1.0.0.2\" -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DWORDS_BIGENDIAN=1 -DHAVE_USB_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDIO_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_WCHAR_H=1 -DHAVE_STRING_H=1 -DHAVE_TIME_H=1 -DHAVE_FTS_H=1 -DHAVE_ICONV_H=1 -I. -I. -I../include -I/opt/pkg/include -g -O2 -Wall -W -Wno-unused-parameter -MT comp.lo -MD -MP -MF ".deps/comp.Tpo" -c -o comp.lo `test -f 'comp.c' || echo './'`comp.c; then mv -f ".deps/comp.Tpo" ".deps/comp.Plo"; else rm -f ".deps/comp.Tpo"; exit 1; fi --- readwrite.lo --- if /usr/bin/bash ../libtool --mode=compile gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"libifp\" -DVERSION=\"1.0.0.2\" -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DWORDS_BIGENDIAN=1 -DHAVE_USB_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDIO_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_WCHAR_H=1 -DHAVE_STRING_H=1 -DHAVE_TIME_H=1 -DHAVE_FTS_H=1 -DHAVE_ICONV_H=1 -I. -I. -I../include -I/opt/pkg/include -g -O2 -Wall -W -Wno-unused-parameter -MT readwrite.lo -MD -MP -MF ".deps/readwrite.Tpo" -c -o readwrite.lo `test -f 'readwrite.c' || echo './'`readwrite.c; then mv -f ".deps/readwrite.Tpo" ".deps/readwrite.Plo"; else rm -f ".deps/readwrite.Tpo"; exit 1; fi --- userfile.lo --- if /usr/bin/bash ../libtool --mode=compile gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"libifp\" -DVERSION=\"1.0.0.2\" -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DWORDS_BIGENDIAN=1 -DHAVE_USB_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDIO_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_WCHAR_H=1 -DHAVE_STRING_H=1 -DHAVE_TIME_H=1 -DHAVE_FTS_H=1 -DHAVE_ICONV_H=1 -I. -I. -I../include -I/opt/pkg/include -g -O2 -Wall -W -Wno-unused-parameter -MT userfile.lo -MD -MP -MF ".deps/userfile.Tpo" -c -o userfile.lo `test -f 'userfile.c' || echo './'`userfile.c; then mv -f ".deps/userfile.Tpo" ".deps/userfile.Plo"; else rm -f ".deps/userfile.Tpo"; exit 1; fi --- readwrite.lo --- libtool: compile: gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"libifp\" -DVERSION=\"1.0.0.2\" -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DWORDS_BIGENDIAN=1 -DHAVE_USB_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDIO_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_WCHAR_H=1 -DHAVE_STRING_H=1 -DHAVE_TIME_H=1 -DHAVE_FTS_H=1 -DHAVE_ICONV_H=1 -I. -I../include -I/home/pbulk/build/audio/libifp/work/.buildlink/include -g -O2 -Wall -W -Wno-unused-parameter -MT readwrite.lo -MD -MP -MF .deps/readwrite.Tpo -c readwrite.c -fPIC -DPIC -o .libs/readwrite.o --- comp.lo --- libtool: compile: gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"libifp\" -DVERSION=\"1.0.0.2\" -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DWORDS_BIGENDIAN=1 -DHAVE_USB_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDIO_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_WCHAR_H=1 -DHAVE_STRING_H=1 -DHAVE_TIME_H=1 -DHAVE_FTS_H=1 -DHAVE_ICONV_H=1 -I. -I../include -I/home/pbulk/build/audio/libifp/work/.buildlink/include -g -O2 -Wall -W -Wno-unused-parameter -MT comp.lo -MD -MP -MF .deps/comp.Tpo -c comp.c -fPIC -DPIC -o .libs/comp.o --- prim.lo --- libtool: compile: gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"libifp\" -DVERSION=\"1.0.0.2\" -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DWORDS_BIGENDIAN=1 -DHAVE_USB_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDIO_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_WCHAR_H=1 -DHAVE_STRING_H=1 -DHAVE_TIME_H=1 -DHAVE_FTS_H=1 -DHAVE_ICONV_H=1 -I. -I../include -I/home/pbulk/build/audio/libifp/work/.buildlink/include -g -O2 -Wall -W -Wno-unused-parameter -MT prim.lo -MD -MP -MF .deps/prim.Tpo -c prim.c -fPIC -DPIC -o .libs/prim.o --- userfile.lo --- libtool: compile: gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"libifp\" -DVERSION=\"1.0.0.2\" -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DWORDS_BIGENDIAN=1 -DHAVE_USB_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDIO_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_WCHAR_H=1 -DHAVE_STRING_H=1 -DHAVE_TIME_H=1 -DHAVE_FTS_H=1 -DHAVE_ICONV_H=1 -I. -I../include -I/home/pbulk/build/audio/libifp/work/.buildlink/include -g -O2 -Wall -W -Wno-unused-parameter -MT userfile.lo -MD -MP -MF .deps/userfile.Tpo -c userfile.c -fPIC -DPIC -o .libs/userfile.o --- comp.lo --- In file included from comp.c:9: ifp_os.h:167:10: warning: #warning "Big endian support has not yet been tested. Please report if this code works for you." [-Wcpp] 167 | #warning "Big endian support has not yet been tested. Please report if this code works for you." | ^~~~~~~ comp.c: In function 'ifp_device_info': comp.c:26:16: warning: pointer targets in initialization of 'char *' from 'uint8_t *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 26 | char * p = dev->b2; | ^~~ --- prim.lo --- In file included from prim.c:9: ifp_os.h:167:10: warning: #warning "Big endian support has not yet been tested. Please report if this code works for you." [-Wcpp] 167 | #warning "Big endian support has not yet been tested. Please report if this code works for you." | ^~~~~~~ --- comp.lo --- comp.c: In function '_ifp_list_dirs_debug': comp.c:156:47: warning: pointer targets in passing argument 2 of 'ifp_dir_next_debug' differ in signedness [-Wpointer-sign] 156 | ret = ifp_dir_next_debug(dev, utf8_buf, IFP_BUFFER_SIZE, | ^~~~~~~~ | | | uint8_t * {aka unsigned char *} In file included from comp.c:10: prim.h:102:56: note: expected 'char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} 102 | int ifp_dir_next_debug(struct ifp_device * dev, char * s, int n, int mode, | ~~~~~~~^ comp.c:166:40: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 166 | strlen(utf8_buf), | ^~~~~~~~ | | | uint8_t * {aka unsigned char *} In file included from /usr/include/string.h:35, from ifp_os.h:24: /usr/include/iso/string_iso.h:79:22: note: expected 'const char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} 79 | extern size_t strlen(const char *); | ^~~~~~~~~~~~ comp.c:165:50: warning: pointer targets in passing argument 3 of 'callbk' differ in signedness [-Wpointer-sign] 165 | i = callbk(context, ret, utf8_buf, | ^~~~~~~~ | | | uint8_t * {aka unsigned char *} comp.c:165:50: note: expected 'const char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} --- prim.lo --- prim.c: In function '_ifp_push_unicode': prim.c:286:33: warning: pointer targets in passing argument 1 of 'ifp_locale_to_utf16' differ in signedness [-Wpointer-sign] 286 | i = ifp_locale_to_utf16(buf, IFP_BUFFER_SIZE, s, strlen(s)+1); | ^~~ | | | uint8_t * {aka unsigned char *} ifp_os.h:135:32: note: expected 'char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} 135 | int ifp_locale_to_utf16(char * o, int max_o, const char * i, int max_i); | ~~~~~~~^ prim.c: In function '_ifp_pop_unicode': prim.c:315:39: warning: pointer targets in passing argument 3 of 'ifp_utf16_to_locale' differ in signedness [-Wpointer-sign] 315 | i = ifp_utf16_to_locale(s, n, buf, IFP_BUFFER_SIZE); | ^~~ | | | uint8_t * {aka unsigned char *} ifp_os.h:136:59: note: expected 'const char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} 136 | int ifp_utf16_to_locale(char * o, int max_o, const char * i, int max_i); | ~~~~~~~~~~~~~^ --- comp.lo --- comp.c: In function 'swap_filenames': comp.c:370:20: warning: pointer targets in initialization of 'char *' from 'uint8_t *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 370 | char * b = dev->b3; | ^~~ comp.c: In function 'ifp_rename_file': comp.c:398:20: warning: pointer targets in initialization of 'char *' from 'uint8_t *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 398 | char * b = dev->b3; | ^~~ comp.c: In function 'get_file_size': comp.c:496:32: warning: pointer targets in passing argument 2 of 'ifp_file_open' differ in signedness [-Wpointer-sign] 496 | i = ifp_file_open(dev, buf); | ^~~ | | | uint8_t * {aka unsigned char *} prim.h:82:57: note: expected 'const char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} 82 | int ifp_file_open(struct ifp_device * dev, const char * f); | ~~~~~~~~~~~~~^ comp.c: In function '_ifp_list_dirs': comp.c:545:57: warning: pointer targets in passing argument 4 of 'get_file_size' differ in signedness [-Wpointer-sign] 545 | dirname, dsize, utf8_buf, | ^~~~~~~~ | | | uint8_t * {aka unsigned char *} comp.c:476:22: note: expected 'const char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} 476 | const char * f, int fsize) | ~~~~~~~~~~~~~^ comp.c:553:50: warning: pointer targets in passing argument 3 of 'callbk' differ in signedness [-Wpointer-sign] 553 | i = callbk(context, ret, utf8_buf, filesize); | ^~~~~~~~ | | | uint8_t * {aka unsigned char *} comp.c:553:50: note: expected 'const char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} comp.c: In function 'ifp_is_file': comp.c:650:20: warning: pointer targets in initialization of 'char *' from 'uint8_t *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 650 | char * b = dev->b2; | ^~~ --- readwrite.lo --- In file included from readwrite.c:9: ifp_os.h:167:10: warning: #warning "Big endian support has not yet been tested. Please report if this code works for you." [-Wcpp] 167 | #warning "Big endian support has not yet been tested. Please report if this code works for you." | ^~~~~~~ readwrite.c: In function 'ifp_read_open': readwrite.c:87:20: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] 87 | strncpy(dev->filename, f, IFP_BUFFER_SIZE); | ~~~^~~~~~~~~~ | | | uint8_t * {aka unsigned char *} In file included from /usr/include/string.h:35, from ifp_os.h:24: /usr/include/iso/string_iso.h:82:22: note: expected 'char * restrict' but argument is of type 'uint8_t *' {aka 'unsigned char *'} 82 | extern char *strncpy(char *_RESTRICT_KYWD, const char *_RESTRICT_KYWD, size_t); | ^ readwrite.c:88:39: warning: pointer targets in passing argument 1 of 'ifp_copy_parent_string' differ in signedness [-Wpointer-sign] 88 | i = ifp_copy_parent_string(dev->dirname, f, IFP_BUFFER_SIZE); | ~~~^~~~~~~~~ | | | uint8_t * {aka unsigned char *} readwrite.c:13:35: note: expected 'char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} 13 | int ifp_copy_parent_string(char * p, const char * f, int n) { | ~~~~~~~^ readwrite.c:91:39: warning: pointer targets in passing argument 2 of 'check_permissions' differ in signedness [-Wpointer-sign] 91 | i = check_permissions(dev, dev->filename); | ~~~^~~~~~~~~~ | | | uint8_t * {aka unsigned char *} readwrite.c:36:68: note: expected 'const char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} 36 | static int check_permissions(struct ifp_device * dev, const char * f) { | ~~~~~~~~~~~~~^ readwrite.c:94:40: warning: pointer targets in passing argument 1 of 'mangle_filename' differ in signedness [-Wpointer-sign] 94 | i = mangle_filename(dev->iobuff, dev->filename, IFP_BUFFER_SIZE); | ~~~^~~~~~~~ | | | uint8_t * {aka unsigned char *} readwrite.c:58:35: note: expected 'char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} 58 | static int mangle_filename(char * d, const char * s, int n) | ~~~~~~~^ readwrite.c:94:53: warning: pointer targets in passing argument 2 of 'mangle_filename' differ in signedness [-Wpointer-sign] 94 | i = mangle_filename(dev->iobuff, dev->filename, IFP_BUFFER_SIZE); | ~~~^~~~~~~~~~ | | | uint8_t * {aka unsigned char *} readwrite.c:58:51: note: expected 'const char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} 58 | static int mangle_filename(char * d, const char * s, int n) | ~~~~~~~~~~~~~^ readwrite.c:97:40: warning: pointer targets in passing argument 2 of 'ifp_rename' differ in signedness [-Wpointer-sign] 97 | i = ifp_rename(dev, dev->filename, dev->iobuff); | ~~~^~~~~~~~~~ | | | uint8_t * {aka unsigned char *} In file included from readwrite.c:8: ../include/ifp.h:321:54: note: expected 'const char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} 321 | int ifp_rename(struct ifp_device * dev, const char * old_path, const char * new_path); | ~~~~~~~~~~~~~^~~~~~~~ readwrite.c:97:55: warning: pointer targets in passing argument 3 of 'ifp_rename' differ in signedness [-Wpointer-sign] 97 | i = ifp_rename(dev, dev->filename, dev->iobuff); | ~~~^~~~~~~~ | | | uint8_t * {aka unsigned char *} ../include/ifp.h:321:77: note: expected 'const char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} 321 | int ifp_rename(struct ifp_device * dev, const char * old_path, const char * new_path); | ~~~~~~~~~~~~~^~~~~~~~ readwrite.c:100:26: warning: pointer targets in assignment from 'uint8_t *' {aka 'unsigned char *'} to 'const char *' differ in signedness [-Wpointer-sign] 100 | realfile = dev->iobuff; | ^ readwrite.c:104:26: warning: pointer targets in assignment from 'uint8_t *' {aka 'unsigned char *'} to 'const char *' differ in signedness [-Wpointer-sign] 104 | realfile = dev->filename; | ^ readwrite.c:108:34: warning: pointer targets in passing argument 2 of 'ifp_dir_open' differ in signedness [-Wpointer-sign] 108 | i = ifp_dir_open(dev, dev->dirname); | ~~~^~~~~~~~~ | | | uint8_t * {aka unsigned char *} In file included from readwrite.c:10: prim.h:91:56: note: expected 'const char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} 91 | int ifp_dir_open(struct ifp_device * dev, const char * f); | ~~~~~~~~~~~~~^ readwrite.c: In function 'ifp_read_close': readwrite.c:161:39: warning: pointer targets in passing argument 2 of 'check_permissions' differ in signedness [-Wpointer-sign] 161 | i = check_permissions(dev, dev->filename); | ~~~^~~~~~~~~~ | | | uint8_t * {aka unsigned char *} readwrite.c:36:68: note: expected 'const char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} 36 | static int check_permissions(struct ifp_device * dev, const char * f) { | ~~~~~~~~~~~~~^ readwrite.c:163:40: warning: pointer targets in passing argument 1 of 'mangle_filename' differ in signedness [-Wpointer-sign] 163 | i = mangle_filename(dev->iobuff, dev->filename, IFP_BUFFER_SIZE); | ~~~^~~~~~~~ | | | uint8_t * {aka unsigned char *} readwrite.c:58:35: note: expected 'char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} 58 | static int mangle_filename(char * d, const char * s, int n) | ~~~~~~~^ readwrite.c:163:53: warning: pointer targets in passing argument 2 of 'mangle_filename' differ in signedness [-Wpointer-sign] 163 | i = mangle_filename(dev->iobuff, dev->filename, IFP_BUFFER_SIZE); | ~~~^~~~~~~~~~ | | | uint8_t * {aka unsigned char *} readwrite.c:58:51: note: expected 'const char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} 58 | static int mangle_filename(char * d, const char * s, int n) | ~~~~~~~~~~~~~^ readwrite.c:165:40: warning: pointer targets in passing argument 2 of 'ifp_rename' differ in signedness [-Wpointer-sign] 165 | i = ifp_rename(dev, dev->iobuff, dev->filename); | ~~~^~~~~~~~ | | | uint8_t * {aka unsigned char *} ../include/ifp.h:321:54: note: expected 'const char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} 321 | int ifp_rename(struct ifp_device * dev, const char * old_path, const char * new_path); | ~~~~~~~~~~~~~^~~~~~~~ readwrite.c:165:53: warning: pointer targets in passing argument 3 of 'ifp_rename' differ in signedness [-Wpointer-sign] 165 | i = ifp_rename(dev, dev->iobuff, dev->filename); | ~~~^~~~~~~~~~ | | | uint8_t * {aka unsigned char *} ../include/ifp.h:321:77: note: expected 'const char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} 321 | int ifp_rename(struct ifp_device * dev, const char * old_path, const char * new_path); | ~~~~~~~~~~~~~^~~~~~~~ readwrite.c: In function 'ifp_write_open': readwrite.c:436:39: warning: pointer targets in passing argument 1 of 'ifp_copy_parent_string' differ in signedness [-Wpointer-sign] 436 | i = ifp_copy_parent_string(dev->dirname, f, IFP_BUFFER_SIZE); | ~~~^~~~~~~~~ | | | uint8_t * {aka unsigned char *} readwrite.c:13:35: note: expected 'char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} 13 | int ifp_copy_parent_string(char * p, const char * f, int n) { | ~~~~~~~^ readwrite.c:439:34: warning: pointer targets in passing argument 2 of 'ifp_dir_open' differ in signedness [-Wpointer-sign] 439 | i = ifp_dir_open(dev, dev->dirname); | ~~~^~~~~~~~~ | | | uint8_t * {aka unsigned char *} prim.h:91:56: note: expected 'const char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} 91 | int ifp_dir_open(struct ifp_device * dev, const char * f); | ~~~~~~~~~~~~~^ readwrite.c:450:39: warning: pointer targets in passing argument 2 of 'ifp_file_open_new' differ in signedness [-Wpointer-sign] 450 | i = ifp_file_open_new(dev, dev->filename, filesize); | ~~~^~~~~~~~~~ | | | uint8_t * {aka unsigned char *} prim.h:83:61: note: expected 'const char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} 83 | int ifp_file_open_new(struct ifp_device * dev, const char * f, int filesize); | ~~~~~~~~~~~~~^ readwrite.c: In function 'quick_write_verify': readwrite.c:473:34: warning: pointer targets in passing argument 2 of 'ifp_dir_open' differ in signedness [-Wpointer-sign] 473 | i = ifp_dir_open(dev, dev->dirname); | ~~~^~~~~~~~~ | | | uint8_t * {aka unsigned char *} prim.h:91:56: note: expected 'const char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} 91 | int ifp_dir_open(struct ifp_device * dev, const char * f); | ~~~~~~~~~~~~~^ readwrite.c:476:35: warning: pointer targets in passing argument 2 of 'ifp_file_open' differ in signedness [-Wpointer-sign] 476 | i = ifp_file_open(dev, dev->filename); | ~~~^~~~~~~~~~ | | | uint8_t * {aka unsigned char *} prim.h:82:57: note: expected 'const char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} 82 | int ifp_file_open(struct ifp_device * dev, const char * f); | ~~~~~~~~~~~~~^ --- userfile.lo --- In file included from userfile.c:20: ifp_os.h:167:10: warning: #warning "Big endian support has not yet been tested. Please report if this code works for you." [-Wcpp] 167 | #warning "Big endian support has not yet been tested. Please report if this code works for you." | ^~~~~~~ userfile.c: In function '_ifp_upload_dir': userfile.c:977:56: error: passing argument 3 of 'fts_open' from incompatible pointer type [-Wincompatible-pointer-types] 977 | tw = fts_open(argv, FTS_LOGICAL | FTS_NOCHDIR, file_compare_fts); | ^~~~~~~~~~~~~~~~ | | | int (*)(const FTSENT * const*, const FTSENT * const*) {aka int (*)(const struct _ftsent * const*, const struct _ftsent * const*)} In file included from userfile.c:17: /usr/include/fts.h:134:13: note: expected 'int (*)(const FTSENT **, const FTSENT **)' {aka 'int (*)(const struct _ftsent **, const struct _ftsent **)'} but argument is of type 'int (*)(const FTSENT * const*, const FTSENT * const*)' {aka 'int (*)(const struct _ftsent * const*, const struct _ftsent * const*)'} 134 | int (*)(const FTSENT **, const FTSENT **)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ userfile.c: In function 'ifp_update_firmware': userfile.c:1224:17: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] 1224 | if (strncmp(buf, checkdata, FIRMWARE_HEADER_SIZE) != 0) { | ^~~ | | | unsigned char * In file included from /usr/include/string.h:35, from userfile.c:12: /usr/include/iso/string_iso.h:81:20: note: expected 'const char *' but argument is of type 'unsigned char *' 81 | extern int strncmp(const char *, const char *, size_t); | ^~~~~~~~~~~~ userfile.c:1224:22: warning: pointer targets in passing argument 2 of 'strncmp' differ in signedness [-Wpointer-sign] 1224 | if (strncmp(buf, checkdata, FIRMWARE_HEADER_SIZE) != 0) { | ^~~~~~~~~ | | | unsigned char * /usr/include/iso/string_iso.h:81:34: note: expected 'const char *' but argument is of type 'unsigned char *' 81 | extern int strncmp(const char *, const char *, size_t); | ^~~~~~~~~~~~ userfile.c:1231:23: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] 1231 | strncpy(remotename+1, basename, sizeof(remotename) - 1); | ~~~~~~~~~~^~ | | | unsigned char * /usr/include/iso/string_iso.h:82:22: note: expected 'char * restrict' but argument is of type 'unsigned char *' 82 | extern char *strncpy(char *_RESTRICT_KYWD, const char *_RESTRICT_KYWD, size_t); | ^ userfile.c:1232:68: warning: pointer targets in passing argument 4 of '_ifp_write_stream_progress' differ in signedness [-Wpointer-sign] 1232 | if ( (i = _ifp_write_stream_progress(dev, fp, (int)st.st_size, remotename, p))) { | ^~~~~~~~~~ | | | unsigned char * userfile.c:138:46: note: expected 'const char *' but argument is of type 'unsigned char *' 138 | FILE *src, int filesize, const char *f, | ~~~~~~~~~~~~^ userfile.c: At top level: userfile.c:8:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] 8 | static const char rcsid[] = "$Id: "; | ^~~~~ *** [userfile.lo] Error code 1 bmake[1]: stopped making "all" in /home/pbulk/build/audio/libifp/work/libifp-1.0.0.2/src --- readwrite.lo --- readwrite.c: In function 'ifp_read_open': readwrite.c:87:9: warning: 'strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] 87 | strncpy(dev->filename, f, IFP_BUFFER_SIZE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- comp.lo --- libtool: compile: gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"libifp\" -DVERSION=\"1.0.0.2\" -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DWORDS_BIGENDIAN=1 -DHAVE_USB_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDIO_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_WCHAR_H=1 -DHAVE_STRING_H=1 -DHAVE_TIME_H=1 -DHAVE_FTS_H=1 -DHAVE_ICONV_H=1 -I. -I../include -I/home/pbulk/build/audio/libifp/work/.buildlink/include -g -O2 -Wall -W -Wno-unused-parameter -MT comp.lo -MD -MP -MF .deps/comp.Tpo -c comp.c -o comp.o >/dev/null 2>&1 --- readwrite.lo --- libtool: compile: gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"libifp\" -DVERSION=\"1.0.0.2\" -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DWORDS_BIGENDIAN=1 -DHAVE_USB_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDIO_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_WCHAR_H=1 -DHAVE_STRING_H=1 -DHAVE_TIME_H=1 -DHAVE_FTS_H=1 -DHAVE_ICONV_H=1 -I. -I../include -I/home/pbulk/build/audio/libifp/work/.buildlink/include -g -O2 -Wall -W -Wno-unused-parameter -MT readwrite.lo -MD -MP -MF .deps/readwrite.Tpo -c readwrite.c -o readwrite.o >/dev/null 2>&1 --- prim.lo --- libtool: compile: gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"libifp\" -DVERSION=\"1.0.0.2\" -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DWORDS_BIGENDIAN=1 -DHAVE_USB_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDIO_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_WCHAR_H=1 -DHAVE_STRING_H=1 -DHAVE_TIME_H=1 -DHAVE_FTS_H=1 -DHAVE_ICONV_H=1 -I. -I../include -I/home/pbulk/build/audio/libifp/work/.buildlink/include -g -O2 -Wall -W -Wno-unused-parameter -MT prim.lo -MD -MP -MF .deps/prim.Tpo -c prim.c -o prim.o >/dev/null 2>&1 bmake[1]: 1 error bmake[1]: stopped making "all" in /home/pbulk/build/audio/libifp/work/libifp-1.0.0.2/src *** [all-recursive] Error code 1 bmake: stopped making "all" in /home/pbulk/build/audio/libifp/work/libifp-1.0.0.2 bmake: 1 error bmake: stopped making "all" in /home/pbulk/build/audio/libifp/work/libifp-1.0.0.2 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/audio/libifp *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/audio/libifp