=> Bootstrap dependency digest>=20211023: found digest-20211023 ===> Skipping vulnerability checks. WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Building for speedtouch-1.3.1nb4 --- modem --- --- all-hotplug --- cd hotplug && /usr/bin/make --- modem --- cd src && /usr/bin/make --- all-hotplug --- --- speedtouch --- rm -f speedtouch speedtouch.tmp --- modem --- --- firmware.o --- --- pusb.o --- --- modem_run.o --- --- all-hotplug --- sed -e 's,\@bindir\@,/usr/pkg/bin,g' -e 's,\@sbindir\@,/usr/pkg/sbin,g' speedtouch.in > speedtouch.tmp --- modem --- --- firmware.o --- gcc -Wall -I. -I/usr/pkg/include -I/usr/include -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -DVERSION="\"1.3.1\"" -c firmware.c --- all-hotplug --- chmod a+x speedtouch.tmp --- modem --- --- pusb.o --- gcc -Wall -I. -I/usr/pkg/include -I/usr/include -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -DVERSION="\"1.3.1\"" -D_REENTRANT -D_THREAD_SAFE -o pusb.o -c pusb-bsd.c --- all-hotplug --- mv speedtouch.tmp speedtouch --- modem --- --- modem_run.o --- gcc -Wall -I. -I/usr/pkg/include -I/usr/include -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -DUSE_SYSLOG -DVERSION="\"1.3.1\"" -c modem_run.c --- firmware.o --- firmware.c: In function 'check_firmware': --- crc.o --- --- firmware.o --- firmware.c:86:15: warning: variable 'addr' set but not used [-Wunused-but-set-variable] unsigned int addr; ^~~~ --- crc.o --- gcc -Wall -I. -I/usr/pkg/include -I/usr/include -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -D_REENTRANT -D_THREAD_SAFE -DVERSION="\"1.3.1\"" -c crc.c --- modem_run.o --- modem_run.c: In function 'get_reference': modem_run.c:788:46: warning: pointer targets in passing argument 6 of 'pusb_control_msg' differ in signedness [-Wpointer-sign] n = pusb_control_msg(fdusb,0xc0,0x26,0xf7,0,buf,sizeof(buf),CTRL_TIMEOUT); ^~~ In file included from modem_run.c:55:0: pusb.h:38:5: note: expected 'unsigned char *' but argument is of type 'char *' int pusb_control_msg(pusb_device_t dev, ^~~~~~~~~~~~~~~~ modem_run.c: In function 'report': modem_run.c:1222:9: warning: pointer targets in passing argument 1 of 'dump' differ in signedness [-Wpointer-sign] dump(buffer, length); ^~~~~~ modem_run.c:125:13: note: expected 'unsigned char *' but argument is of type 'char *' static void dump(unsigned char *buf, int len); ^~~~ In file included from /usr/include/stdio.h:597:0, from modem_run.c:37: modem_run.c: In function 'dump': modem_run.c:1283:12: warning: pointer targets in passing argument 1 of '__builtin___sprintf_chk' differ in signedness [-Wpointer-sign] sprintf(ptr, "%02x ", buf[j]); ^ modem_run.c:1283:12: note: expected 'char *' but argument is of type 'unsigned char *' modem_run.c:1292:12: warning: pointer targets in passing argument 1 of '__builtin___sprintf_chk' differ in signedness [-Wpointer-sign] sprintf(ptr, " "); ^ modem_run.c:1292:12: note: expected 'char *' but argument is of type 'unsigned char *' modem_run.c:1301:12: warning: pointer targets in passing argument 1 of '__builtin___sprintf_chk' differ in signedness [-Wpointer-sign] sprintf(ptr, "%c", give_char(buf[j])); ^ modem_run.c:1301:12: note: expected 'char *' but argument is of type 'unsigned char *' --- smallsem.o --- gcc -Wall -I. -I/usr/pkg/include -I/usr/include -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -DVERSION="\"1.3.1\"" -c smallsem.c --- mutex.o --- gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -c mutex.c --- pppoa2.o --- gcc -Wall -I. -I/usr/pkg/include -I/usr/include -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -DUSE_SYSLOG -DVERSION="\"1.3.1\"" -c pppoa2.c --- atm.o --- gcc -Wall -I. -I/usr/pkg/include -I/usr/include -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -D_REENTRANT -D_THREAD_SAFE -DVERSION="\"1.3.1\"" -c atm.c --- pppoa3.o --- gcc -Wall -I. -I/usr/pkg/include -I/usr/include -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -DUSE_SYSLOG -D_REENTRANT -D_THREAD_SAFE -DVERSION="\"1.3.1\"" -c pppoa3.c --- pppoa2.o --- pppoa2.c: In function 'main': pppoa2.c:451:53: warning: pointer targets in passing argument 5 of 'getsockopt' differ in signedness [-Wpointer-sign] if(getsockopt(fdin, SOL_SOCKET, SO_SNDBUF, &sbuf, &ss) == 0) ^ In file included from pppoa2.c:48:0: /usr/include/sys/socket.h:626:5: note: expected '__socklen_t * restrict {aka unsigned int * restrict}' but argument is of type 'int *' int getsockopt(int, int, int, void *__restrict, socklen_t * __restrict); ^~~~~~~~~~ pppoa2.c:464:53: warning: pointer targets in passing argument 5 of 'getsockopt' differ in signedness [-Wpointer-sign] if(getsockopt(fdin, SOL_SOCKET, SO_RCVBUF, &sbuf, &ss) == 0) ^ In file included from pppoa2.c:48:0: /usr/include/sys/socket.h:626:5: note: expected '__socklen_t * restrict {aka unsigned int * restrict}' but argument is of type 'int *' int getsockopt(int, int, int, void *__restrict, socklen_t * __restrict); ^~~~~~~~~~ In file included from /usr/include/stdio.h:597:0, from pppoa2.c:34: pppoa2.c: In function 'dump': pppoa2.c:659:12: warning: pointer targets in passing argument 1 of '__builtin___sprintf_chk' differ in signedness [-Wpointer-sign] sprintf(ptr, "%02x ", buf[j]); ^ pppoa2.c:659:12: note: expected 'char *' but argument is of type 'unsigned char *' pppoa2.c:668:12: warning: pointer targets in passing argument 1 of '__builtin___sprintf_chk' differ in signedness [-Wpointer-sign] sprintf(ptr, " "); ^ pppoa2.c:668:12: note: expected 'char *' but argument is of type 'unsigned char *' pppoa2.c:677:12: warning: pointer targets in passing argument 1 of '__builtin___sprintf_chk' differ in signedness [-Wpointer-sign] sprintf(ptr, "%c", give_char(buf[j])); ^ pppoa2.c:677:12: note: expected 'char *' but argument is of type 'unsigned char *' pppoa2.c: In function 'report': pppoa2.c:759:9: warning: pointer targets in passing argument 1 of 'dump' differ in signedness [-Wpointer-sign] dump(buffer, length); ^~~~~~ pppoa2.c:636:13: note: expected 'unsigned char *' but argument is of type 'char *' static void dump(unsigned char *buf, int len) ^~~~ --- pppoa3.o --- pppoa3.c: In function 'main': pppoa3.c:468:53: warning: pointer targets in passing argument 5 of 'getsockopt' differ in signedness [-Wpointer-sign] if(getsockopt(fdin, SOL_SOCKET, SO_SNDBUF, &sbuf, &ss) == 0) { ^ In file included from pppoa3.c:59:0: /usr/include/sys/socket.h:626:5: note: expected '__socklen_t * restrict {aka unsigned int * restrict}' but argument is of type 'int *' int getsockopt(int, int, int, void *__restrict, socklen_t * __restrict); ^~~~~~~~~~ pppoa3.c:479:53: warning: pointer targets in passing argument 5 of 'getsockopt' differ in signedness [-Wpointer-sign] if(getsockopt(fdin, SOL_SOCKET, SO_RCVBUF, &sbuf, &ss) == 0) { ^ In file included from pppoa3.c:59:0: /usr/include/sys/socket.h:626:5: note: expected '__socklen_t * restrict {aka unsigned int * restrict}' but argument is of type 'int *' int getsockopt(int, int, int, void *__restrict, socklen_t * __restrict); ^~~~~~~~~~ pppoa3.c: In function 'read_named_pipe_thread': pppoa3.c:1071:14: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] if(strncmp(command, "verbose", 7) == 0) { ^~~~~~~ In file included from pppoa3.c:38:0: /usr/include/string.h:63:6: note: expected 'const char *' but argument is of type 'unsigned char *' int strncmp(const char *, const char *, size_t); ^~~~~~~ pppoa3.c:1075:17: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] level = atoi(arg); ^~~ In file included from pppoa3.c:37:0: /usr/include/stdlib.h:101:6: note: expected 'const char *' but argument is of type 'unsigned char *' int atoi(const char *); ^~~~ pppoa3.c:1125:19: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] else if(strncmp(command, "kill", 4) == 0) { ^~~~~~~ In file included from pppoa3.c:38:0: /usr/include/string.h:63:6: note: expected 'const char *' but argument is of type 'unsigned char *' int strncmp(const char *, const char *, size_t); ^~~~~~~ pppoa3.c:1127:15: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] if(strncmp(arg, "pipe", 4) == 0) { ^~~ In file included from pppoa3.c:38:0: /usr/include/string.h:63:6: note: expected 'const char *' but argument is of type 'unsigned char *' int strncmp(const char *, const char *, size_t); ^~~~~~~ pppoa3.c:1132:15: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] if(strncmp(arg, "pppoa", 5) == 0) { ^~~ In file included from pppoa3.c:38:0: /usr/include/string.h:63:6: note: expected 'const char *' but argument is of type 'unsigned char *' int strncmp(const char *, const char *, size_t); ^~~~~~~ pppoa3.c: In function 'report': pppoa3.c:1748:9: warning: pointer targets in passing argument 1 of 'dump' differ in signedness [-Wpointer-sign] dump(buffer, length); ^~~~~~ pppoa3.c:147:13: note: expected 'unsigned char *' but argument is of type 'char *' static void dump(unsigned char *buf, int len); ^~~~ In file included from /usr/include/stdio.h:597:0, from pppoa3.c:36: pppoa3.c: In function 'dump': pppoa3.c:2007:12: warning: pointer targets in passing argument 1 of '__builtin___sprintf_chk' differ in signedness [-Wpointer-sign] sprintf(ptr, "%02x ", buf[j]); ^ pppoa3.c:2007:12: note: expected 'char *' but argument is of type 'unsigned char *' pppoa3.c:2016:12: warning: pointer targets in passing argument 1 of '__builtin___sprintf_chk' differ in signedness [-Wpointer-sign] sprintf(ptr, " "); ^ pppoa3.c:2016:12: note: expected 'char *' but argument is of type 'unsigned char *' --- speedtouch-setup --- rm -f speedtouch-setup speedtouch-setup.tmp sed -e 's,\@bindir\@,/usr/pkg/bin,g' -e 's,\@sbindir\@,/usr/pkg/sbin,g' -e 's,\@sysconfdir\@,/usr/pkg/etc,g' speedtouch-setup.in > speedtouch-setup.tmp chmod a+x speedtouch-setup.tmp mv speedtouch-setup.tmp speedtouch-setup --- speedtouch-start --- rm -f speedtouch-start speedtouch-start.tmp sed -e 's,\@bindir\@,/usr/pkg/bin,g' -e 's,\@sbindir\@,/usr/pkg/sbin,g' -e 's,\@sysconfdir\@,/usr/pkg/etc,g' speedtouch-start.in > speedtouch-start.tmp chmod a+x speedtouch-start.tmp mv speedtouch-start.tmp speedtouch-start --- speedtouch-stop --- rm -f speedtouch-stop speedtouch-stop.tmp sed -e 's,\@bindir\@,/usr/pkg/bin,g' -e 's,\@sbindir\@,/usr/pkg/sbin,g' -e 's,\@sysconfdir\@,/usr/pkg/etc,g' speedtouch-stop.in > speedtouch-stop.tmp chmod a+x speedtouch-stop.tmp mv speedtouch-stop.tmp speedtouch-stop --- modem_run --- gcc -Wall -I. -I/usr/pkg/include -I/usr/include -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include firmware.o pusb.o modem_run.o crc.o smallsem.o mutex.o -o modem_run --- pppoa2 --- gcc -Wall -I. -I/usr/pkg/include -I/usr/include -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include pusb.o pppoa2.o crc.o atm.o smallsem.o -o pppoa2 --- pppoa3 --- gcc -Wall -I. -I/usr/pkg/include -I/usr/include -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include pusb.o pppoa3.o crc.o atm.o -pthread -o pppoa3 --- /tmp/net/speedtouch/work/speedtouch-1.3.1/bin --- cp modem_run pppoa2 pppoa3 speedtouch-setup speedtouch-start speedtouch-stop "/tmp/net/speedtouch/work/speedtouch-1.3.1/bin" --- all --- ------------------------------------------------------------- Driver for the SpeedTouch USB and SpeedTouch 330 is compiled To install it, type as root: make install ------------------------------------------------------------- /bin/cp /tmp/net/speedtouch/work/speedtouch-1.3.1/doc-bsd/ppp.conf.sample /tmp/net/speedtouch/work/speedtouch-1.3.1/doc-bsd/ppp.conf.sample.pre /usr/bin/sed 's:/usr/local:/usr/pkg:' /tmp/net/speedtouch/work/speedtouch-1.3.1/doc-bsd/ppp.conf.sample.pre > /tmp/net/speedtouch/work/speedtouch-1.3.1/doc-bsd/ppp.conf.sample => Creating /tmp/net/speedtouch/work/.rc.d/adsl