=> Bootstrap dependency digest>=20010302: found digest-20111104
WARNING: [license.mk] Every package should define a LICENSE.
===> 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 xrmap-base-2.29nb2
cd tools ; make
cc preproc.c -o preproc
preproc.c:19:12: warning: implicitly declaring C library function 'strlen' with type 'unsigned long (const char *)'
       l = strlen(ptr)-1;
           ^
preproc.c:19:12: note: please include the header <string.h> or explicitly provide a declaration for 'strlen'
preproc.c:24:22: warning: implicit declaration of function 'isspace' is invalid in C99 [-Wimplicit-function-declaration]
       while(l>=0 && isspace(ptr[l])) {
                     ^
preproc.c:39:13: warning: implicitly declaring C library function 'strncmp' with type 'int (const char *, const char *, unsigned long)'
       if (!strncmp(ptr, "#END_OF_I18N_FILE", 17)) break;
            ^
preproc.c:39:13: note: please include the header <string.h> or explicitly provide a declaration for 'strncmp'
3 warnings generated.
./preproc > ../numdefs.h
gcc -O2 -fno-strict-aliasing -O -DZLIB -DSHAREDIR=\"/usr/pkg/share/rmap\" -DPS_VIEWER=\""gv -noantialias"\" -DIM_VIEWER=\""display -background gray84"\" -DHTML_VIEWER=\""dillo"\" -DPRINT_CMD=\""lpr -Plp"\" -DEDITOR=\""emx"\" -DMIDIPLAYER=\""timidity -ig"\"     -I/usr/pkg/include    -DCSRG_BASED  -DFUNCPROTO=15 -DNARROWPROTO     -I/usr/include -I/usr/pkg/include -c explorer.c
gcc -O2 -fno-strict-aliasing -O -DZLIB -DSHAREDIR=\"/usr/pkg/share/rmap\" -DPS_VIEWER=\""gv -noantialias"\" -DIM_VIEWER=\""display -background gray84"\" -DHTML_VIEWER=\""dillo"\" -DPRINT_CMD=\""lpr -Plp"\" -DEDITOR=\""emx"\" -DMIDIPLAYER=\""timidity -ig"\"     -I/usr/pkg/include    -DCSRG_BASED  -DFUNCPROTO=15 -DNARROWPROTO     -I/usr/include -I/usr/pkg/include -c xrmap.c
xrmap.c:278:20: error: illegal sequence in character literal
    if (index(str, '°')) {
                   ^
xrmap.c:434:52: warning: passing 'long *' to parameter of type 'unsigned long *' converts between pointers to integer types with different sign [-Wpointer-sign]
                         AnyPropertyType, &actual_type, &actual_format, &nitem,
                                                                        ^~~~~~
/scratch/geography/xrmap-base/work/.buildlink/include/X11/Xlib.h:2693:39: note: passing argument to parameter here
    unsigned long*      /* nitems_return */,
                                           ^
xrmap.c:435:5: warning: passing 'long *' to parameter of type 'unsigned long *' converts between pointers to integer types with different sign [-Wpointer-sign]
                         &bytes_after, (unsigned char **) &data)
                         ^~~~~~~~~~~~
/scratch/geography/xrmap-base/work/.buildlink/include/X11/Xlib.h:2694:44: note: passing argument to parameter here
    unsigned long*      /* bytes_after_return */,
                                                ^
xrmap.c:441:19: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                strcat(outdata, data);
                                ^~~~
/usr/include/string.h:54:56: note: passing argument to parameter here
char    *strcat(char * __restrict, const char * __restrict);
                                                          ^
xrmap.c:452:54: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                      XA_STRING, 8, PropModeReplace, text,
                                                     ^~~~
/scratch/geography/xrmap-base/work/.buildlink/include/X11/Xlib.h:2082:38: note: passing argument to parameter here
    _Xconst unsigned char*      /* data */,
                                          ^
xrmap.c:1021:58: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign]
   get_window_placement(datawin, &datawin_x, &datawin_y, &i, &i);
                                                         ^~
xrmap.c:528:19: note: passing argument to parameter 'w' here
                         unsigned int *w, unsigned int *h)
                                       ^
xrmap.c:1021:62: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign]
   get_window_placement(datawin, &datawin_x, &datawin_y, &i, &i);
                                                             ^~
xrmap.c:528:36: note: passing argument to parameter 'h' here
                         unsigned int *w, unsigned int *h)
                                                        ^
xrmap.c:1036:55: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign]
   get_window_placement(cmdwin, &cmdwin_x, &cmdwin_y, &i, &i);
                                                      ^~
xrmap.c:528:19: note: passing argument to parameter 'w' here
                         unsigned int *w, unsigned int *h)
                                       ^
xrmap.c:1036:59: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign]
   get_window_placement(cmdwin, &cmdwin_x, &cmdwin_y, &i, &i);
                                                          ^~
xrmap.c:528:36: note: passing argument to parameter 'h' here
                         unsigned int *w, unsigned int *h)
                                                        ^
xrmap.c:2185:49: warning: array index 11 is past the end of the array (which contains 11 elements) [-Warray-bounds]
              countries[numcountry]->population = atoi(field[11]);
                                                       ^     ~~
xrmap.c:2019:9: note: array 'field' declared here
        char field[11][128];
        ^
xrmap.c:5520:38: error: expected ';' at end of declaration
void next_segment(double x, double y)
                                     ^
                                     ;
xrmap.c:5773:31: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                nstrokes = str4toint(seg);
                                     ^~~
xrmap.c:4476:37: note: passing argument to parameter 'str' here
static int str4toint(unsigned char *str)
                                    ^
xrmap.c:5826:21: warning: assigning to 'char *' from 'signed char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                seg = &fullmap_buffer[address1 - address0];
                    ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
xrmap.c:5827:18: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                xi = str3toint(seg);
                               ^~~
xrmap.c:4468:37: note: passing argument to parameter 'str' here
static int str3toint(unsigned char *str)
                                    ^
xrmap.c:5828:18: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                yi = str3toint(seg+3);
                               ^~~~~
xrmap.c:4468:37: note: passing argument to parameter 'str' here
static int str3toint(unsigned char *str)
                                    ^
xrmap.c:5848:31: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                nstrokes = str4toint(seg);
                                     ^~~
xrmap.c:4476:37: note: passing argument to parameter 'str' here
static int str4toint(unsigned char *str)
                                    ^
xrmap.c:5849:18: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                xi = str3toint(seg+4);
                               ^~~~~
xrmap.c:4468:37: note: passing argument to parameter 'str' here
static int str3toint(unsigned char *str)
                                    ^
xrmap.c:5850:18: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                yi = str3toint(seg+7);
                               ^~~~~
xrmap.c:4468:37: note: passing argument to parameter 'str' here
static int str3toint(unsigned char *str)
                                    ^
xrmap.c:5884:24: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
       fprintf(stderr, msg[WROTE_JPD_INDEX_TABLE]);
                       ^~~~~~~~~~~~~~~~~~~~~~~~~~
xrmap.c:5912:28: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
             nstrokes = str4toint(seg);
                                  ^~~
xrmap.c:4476:37: note: passing argument to parameter 'str' here
static int str4toint(unsigned char *str)
                                    ^
xrmap.c:5913:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
             xi = str3toint(seg+4);
                            ^~~~~
xrmap.c:4468:37: note: passing argument to parameter 'str' here
static int str3toint(unsigned char *str)
                                    ^
xrmap.c:5914:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
             yi = str3toint(seg+7);
                            ^~~~~
xrmap.c:4468:37: note: passing argument to parameter 'str' here
static int str3toint(unsigned char *str)
                                    ^
xrmap.c:5956:18: warning: assigning to 'char *' from 'signed char *' converts between pointers to integer types with different sign [-Wpointer-sign]
             seg = &fullmap_buffer[address1 - address0];
                 ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
xrmap.c:5965:28: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
             nstrokes = str4toint(seg);
                                  ^~~
xrmap.c:4476:37: note: passing argument to parameter 'str' here
static int str4toint(unsigned char *str)
                                    ^
xrmap.c:6231:20: warning: assigning to 'signed char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
           segment_buffer = (char *) malloc(6+2*maxlength);
                          ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
xrmap.c:6393:35: warning: passing 'signed char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                  lon = str3toint(segment_buffer);
                                  ^~~~~~~~~~~~~~
xrmap.c:4468:37: note: passing argument to parameter 'str' here
static int str3toint(unsigned char *str)
                                    ^
xrmap.c:6394:21: warning: passing 'signed char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                  lat = str3toint(&segment_buffer[3]);
                                  ^~~~~~~~~~~~~~~~~~
xrmap.c:4468:37: note: passing argument to parameter 'str' here
static int str3toint(unsigned char *str)
                                    ^
xrmap.c:8067:23: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
      sprintf(str[0], name);
                      ^~~~
xrmap.c:8076:23: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
      sprintf(str[0], name);
                      ^~~~
xrmap.c:8098:10: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
         countries[timezones[locations[city_found]->tz]->country]->name);
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
xrmap.c:8114:23: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
      sprintf(str[0], name);
                      ^~~~
xrmap.c:8115:23: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
      sprintf(str[2], locations[city_found]->region);
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
xrmap.c:9603:44: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
                               fprintf(ft, data_text);
                                           ^~~~~~~~~
31 warnings and 2 errors generated.
*** Error code 1

Stop.
make: stopped in /scratch/geography/xrmap-base/work/xrmap-2.29
*** Error code 1

Stop.
make: stopped in /bulk-data/pkgsrc/geography/xrmap-base
*** Error code 1

Stop.
make: stopped in /bulk-data/pkgsrc/geography/xrmap-base
