Unnamed paste

pasted by Unknown [options]

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
make  all-am
make[1]: Entering directory '/tmp/xsel-1.2.0+git9bfc13d-1-work/src/xsel-9bfc13d64b5acb92c6648c696a9d9260fcbecc65'
gcc -DHAVE_CONFIG_H -I.     -march=native -O2 -pipe -fno-strict-aliasing -Wall -Werror -g -std=gnu99 -Wdeclaration-after-statement -Wno-unused -MT xsel.o -MD -MP -MF .deps/xsel.Tpo -c -o xsel.o xsel.c
In function 'get_atom_name.part.1',
    inlined from 'get_atom_name':
xsel.c:252:3: error: 'strncpy' specified bound 4097 equals destination size [-Werror=stringop-truncation]
   strncpy (atom_name, ret, sizeof (atom_name));
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function '_xs_strncpy',
    inlined from 'main' at xsel.c:2114:7:
xsel.c:331:5: error: 'strncpy' specified bound 1024 equals destination size [-Werror=stringop-truncation]
     strncpy (dest, src, n);
     ^~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make[1]: *** [Makefile:430: xsel.o] Error 1
make[1]: Leaving directory '/tmp/xsel-1.2.0+git9bfc13d-1-work/src/xsel-9bfc13d64b5acb92c6648c696a9d9260fcbecc65'
make: *** [Makefile:316: all] Error 2
=======> ERROR: Building '/usr/ports/pkg/xsel#1.2.0+git9bfc13d-1.pkg.tar.xz' failed.