#18 make isn't successfull on ARTIX

Closed
opened 5 years ago by maxime-alves · 1 comments

I’m try to compile on artix and it doesn’t work.

I'm try to compile on artix and it doesn't work.
maxime-alves commented 5 years ago
Poster
make[2]: Entering directory '/mnt/glarg/src/ttail/docs'
mkdir -p ../docs/man/man1;\
cp ../docs/man/man3/ttail.3 ../docs/man/man1/ttail.1;\
sed -i 's/^.TH "ttail" 3/.TH "ttail" 1/' ../docs/man/man1/ttail.1
make[2]: Leaving directory '/mnt/glarg/src/ttail/docs'
make[1]: Leaving directory '/mnt/glarg/src/ttail/docs'
Making all in src
make[1]: Entering directory '/mnt/glarg/src/ttail/src'
gcc -DHAVE_CONFIG_H -I. -I../src/include     -g -O2 -O2 -std=c99 -pedantic -Wall -Werror -fgnu89-inline -D_XOPEN_SOURCE -D_GNU_SOURCE -MT libttail_a-ttail_init.o -MD -MP -MF .deps/libttail_a-ttail_init.Tpo -c -o libttail_a-ttail_init.o `test -f 'ttail_init.c' || echo './'`ttail_init.c
ttail_init.c: In function ‘ttail_set_fmt’:
ttail_init.c:356:2: error: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Werror=stringop-truncation]
  strncpy(t->fmt, fmt, len);
  ^~~~~~~~~~~~~~~~~~~~~~~~~
ttail_init.c:350:8: note: length computed here
  len = strlen(fmt);
        ^~~~~~~~~~~
cc1: all warnings being treated as errors
make[1]: *** [Makefile:464: libttail_a-ttail_init.o] Error 1
make[1]: Leaving directory '/mnt/glarg/src/ttail/src'
make: *** [Makefile:362: all-recursive] Error 1
``` make[2]: Entering directory '/mnt/glarg/src/ttail/docs' mkdir -p ../docs/man/man1;\ cp ../docs/man/man3/ttail.3 ../docs/man/man1/ttail.1;\ sed -i 's/^.TH "ttail" 3/.TH "ttail" 1/' ../docs/man/man1/ttail.1 make[2]: Leaving directory '/mnt/glarg/src/ttail/docs' make[1]: Leaving directory '/mnt/glarg/src/ttail/docs' Making all in src make[1]: Entering directory '/mnt/glarg/src/ttail/src' gcc -DHAVE_CONFIG_H -I. -I../src/include -g -O2 -O2 -std=c99 -pedantic -Wall -Werror -fgnu89-inline -D_XOPEN_SOURCE -D_GNU_SOURCE -MT libttail_a-ttail_init.o -MD -MP -MF .deps/libttail_a-ttail_init.Tpo -c -o libttail_a-ttail_init.o `test -f 'ttail_init.c' || echo './'`ttail_init.c ttail_init.c: In function ‘ttail_set_fmt’: ttail_init.c:356:2: error: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Werror=stringop-truncation] strncpy(t->fmt, fmt, len); ^~~~~~~~~~~~~~~~~~~~~~~~~ ttail_init.c:350:8: note: length computed here len = strlen(fmt); ^~~~~~~~~~~ cc1: all warnings being treated as errors make[1]: *** [Makefile:464: libttail_a-ttail_init.o] Error 1 make[1]: Leaving directory '/mnt/glarg/src/ttail/src' make: *** [Makefile:362: all-recursive] Error 1 ```
yannweb referenced this issue from a commit 5 years ago
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
Cancel
Save
There is no content yet.