#18 make isn't successfull on ARTIX

Chiuso
aperto 6 anni fa da maxime-alves · 1 commenti
maxime-alves 6 anni fa ha commentato

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 6 anni fa ha commentato
Autore
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 ha fatto riferimento a questa issue dal commit 6 anni fa
Effettua l'accesso per partecipare alla conversazione.
Nessuna milestone
No Assignees
1 Partecipanti
Data di scadenza

Nessuna data di scadenza impostata.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
Annulla
Salva
Non ci sono ancora contenuti.