===> Skipping vulnerability checks. WARNING: No /var/db/pkg/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'. ===> Building for diffbreaker-0.3 rm -f .gdbinit touch .gdbinit # compile diffbreaker/diffbreaker.o gcc -O2 -D_FORTIFY_SOURCE=2 -std=gnu99 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-sign-compare -Wsystem-headers -Wno-traditional -Wa,--fatal-warnings -Wreturn-type -Wswitch -Wshadow -Wcast-qual -Wwrite-strings -Wextra -Wno-unused-parameter -Wno-sign-compare -Wold-style-definition -Wconversion -Wsign-compare -Wformat=2 -Wno-format-zero-length -Werror -c diffbreaker.c In file included from /usr/include/stdio.h:597:0, from /usr/include/wchar.h:67, from /usr/include/curses.h:45, from diffbreaker.c:29: diffbreaker.c: In function 'finalize_context': diffbreaker.c:263:27: error: format '%ld' expects argument of type 'long int', but argument 5 has type 'ssize_t {aka int}' [-Werror=format=] sprintf(NEWBUF(fixoffs), "@@ %ld,%ld +%ld,%ld @@\n", ^ origoffs - first + part + (begblanks - context), ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ diffbreaker.c:263:27: error: format '%ld' expects argument of type 'long int', but argument 6 has type 'ssize_t {aka int}' [-Werror=format=] diffbreaker.c:263:27: error: format '%ld' expects argument of type 'long int', but argument 7 has type 'ssize_t {aka int}' [-Werror=format=] diffbreaker.c:263:27: error: format '%ld' expects argument of type 'long int', but argument 8 has type 'ssize_t {aka int}' [-Werror=format=] diffbreaker.c: In function 'print_buffer': diffbreaker.c:560:29: error: format '%ld' expects argument of type 'long int', but argument 4 has type 'ssize_t {aka int}' [-Werror=format=] mvprintw(promptLine, 0, "%ld lines remaining", totalLines); ~~^ %d cc1: all warnings being treated as errors *** Error code 1 Stop. make: stopped in /usr/pkgsrc/devel/diffbreaker/work/diffbreaker *** Error code 1 Stop. make[1]: stopped in /usr/pkgsrc/devel/diffbreaker *** Error code 1 Stop. make: stopped in /usr/pkgsrc/devel/diffbreaker