Cook: open-iscsi 2.0-871 ================================================================================ QA: checking package receipt... QA: unable to reach "http://www.open-iscsi.org/" Extracting source archive "open-iscsi-2.0-871.tar.gz" Executing: compile_rules CFLAGS : -march=i486 -Os -pipe -mindirect-branch=thunk CXXLAGS : -march=i486 -Os -pipe -mindirect-branch=thunk CPPFLAGS : -D_GLIBCXX_USE_C99_MATH=1 LDFLAGS : -Wl,-Os,--as-needed make -C utils/sysdeps make[1]: Entering directory '/home/slitaz/wok/open-iscsi/source/open-iscsi-2.0-871/utils/sysdeps' cc -march=i486 -Os -pipe -mindirect-branch=thunk -O2 -fno-inline -Wall -Wstrict-prototypes -g -D_GLIBCXX_USE_C99_MATH=1 -c -o sysdeps.o sysdeps.c make[1]: Leaving directory '/home/slitaz/wok/open-iscsi/source/open-iscsi-2.0-871/utils/sysdeps' make -C utils/fwparam_ibft make[1]: Entering directory '/home/slitaz/wok/open-iscsi/source/open-iscsi-2.0-871/utils/fwparam_ibft' cc -march=i486 -Os -pipe -mindirect-branch=thunk -O2 -g -fPIC -Wall -Wstrict-prototypes -I../../include -I../../usr -D_GLIBCXX_USE_C99_MATH=1 -c -o fw_entry.o fw_entry.c cc -march=i486 -Os -pipe -mindirect-branch=thunk -O2 -g -fPIC -Wall -Wstrict-prototypes -I../../include -I../../usr -D_GLIBCXX_USE_C99_MATH=1 -c -o fwparam_ibft_sysfs.o fwparam_ibft_sysfs.c cc -march=i486 -Os -pipe -mindirect-branch=thunk -O2 -g -fPIC -Wall -Wstrict-prototypes -I../../include -I../../usr -D_GLIBCXX_USE_C99_MATH=1 -c -o prom_lex.o prom_lex.c cc -march=i486 -Os -pipe -mindirect-branch=thunk -O2 -g -fPIC -Wall -Wstrict-prototypes -I../../include -I../../usr -D_GLIBCXX_USE_C99_MATH=1 -c -o prom_parse.tab.o prom_parse.tab.c cc -march=i486 -Os -pipe -mindirect-branch=thunk -O2 -g -fPIC -Wall -Wstrict-prototypes -I../../include -I../../usr -D_GLIBCXX_USE_C99_MATH=1 -c -o fwparam_ppc.o fwparam_ppc.c In file included from ../../include/fw_context.h:26, from fwparam_ibft_sysfs.c:33: ../../include/iscsi_proto.h:60: warning: "__bitwise" redefined #define __bitwise In file included from ../../include/iscsi_proto.h:27, from ../../include/fw_context.h:26, from fwparam_ibft_sysfs.c:33: /usr/include/linux/types.h:22: note: this is the location of the previous definition #define __bitwise __bitwise__ In file included from ../../include/fw_context.h:26, from fwparam.h:21, from fwparam_ppc.c:28: ../../include/iscsi_proto.h:60: warning: "__bitwise" redefined #define __bitwise In file included from ../../include/fw_context.h:26, from fw_entry.c:25: ../../include/iscsi_proto.h:60: warning: "__bitwise" redefined #define __bitwise In file included from ../../include/iscsi_proto.h:27, from ../../include/fw_context.h:26, from fw_entry.c:25: /usr/include/linux/types.h:22: note: this is the location of the previous definition #define __bitwise __bitwise__ In file included from ../../include/iscsi_proto.h:27, from ../../include/fw_context.h:26, from fwparam.h:21, from fwparam_ppc.c:28: /usr/include/linux/types.h:22: note: this is the location of the previous definition #define __bitwise __bitwise__ fwparam_ppc.c: In function 'loop_devs': fwparam_ppc.c:358:44: warning: passing argument 4 of 'qsort' from incompatible pointer type [-Wincompatible-pointer-types] qsort(niclist, nic_count, sizeof(char *), nic_cmp); ^~~~~~~ In file included from fwparam_ppc.c:22: /usr/include/stdlib.h:828:20: note: expected '__compar_fn_t' {aka 'int (*)(const void *, const void *)'} but argument is of type 'int (*)(const char **, const char **)' __compar_fn_t __compar) __nonnull ((1, 4)); ~~~~~~~~~~~~~~^~~~~~~~ :1662:16: warning: 'input' defined but not used [-Wunused-function] :1621:17: warning: 'yyunput' defined but not used [-Wunused-function] prom_parse.tab.c: In function 'yyparse': prom_parse.y:252:34: warning: '%s' directive writing up to 255 bytes into a region of size between 1 and 256 [-Wformat-overflow=] sprintf($$, "%s%s", $1, $2); ^~~~~~ In file included from /usr/include/stdio.h:873, from prom_parse.h:30, from prom_parse.y:29: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 1 and 511 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ prom_parse.y:244:34: warning: '%s' directive writing up to 255 bytes into a region of size between 0 and 255 [-Wformat-overflow=] sprintf($$, "%s:%s", $1, $3); ^~~~~~~ In file included from /usr/include/stdio.h:873, from prom_parse.h:30, from prom_parse.y:29: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 2 and 512 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ prom_parse.y:236:25: warning: '%s' directive writing up to 255 bytes into a region of size 254 [-Wformat-overflow=] sprintf($$, "::%s", $2); ^~~~~~ In file included from /usr/include/stdio.h:873, from prom_parse.h:30, from prom_parse.y:29: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 3 and 258 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ prom_parse.y:233:25: warning: '::' directive writing 2 bytes into a region of size between 1 and 256 [-Wformat-overflow=] sprintf($$, "%s::%s", $1, $3); ^~~~~~~~ In file included from /usr/include/stdio.h:873, from prom_parse.h:30, from prom_parse.y:29: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 3 and 513 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ prom_parse.y:230:25: warning: '::' directive writing 2 bytes into a region of size between 1 and 256 [-Wformat-overflow=] sprintf($$, "%s::", $1); ^~~~~~ In file included from /usr/include/stdio.h:873, from prom_parse.h:30, from prom_parse.y:29: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 3 and 258 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ prom_parse.y:222:25: warning: '%s' directive writing up to 255 bytes into a region of size between 0 and 255 [-Wformat-overflow=] sprintf($$, "%s:%s", $1, $3); ^~~~~~~ In file included from /usr/include/stdio.h:873, from prom_parse.h:30, from prom_parse.y:29: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 2 and 512 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ prom_parse.y:193:25: warning: '%s' directive writing up to 255 bytes into a region of size between 0 and 255 [-Wformat-overflow=] sprintf($$, "%s,%s", $1, $3); ^~~~~~~ In file included from /usr/include/stdio.h:873, from prom_parse.h:30, from prom_parse.y:29: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 2 and 512 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ prom_parse.y:185:25: warning: '%s' directive writing up to 255 bytes into a region of size between 0 and 255 [-Wformat-overflow=] sprintf($$, "%s=%s", $1, $3); ^~~~~~~ In file included from /usr/include/stdio.h:873, from prom_parse.h:30, from prom_parse.y:29: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 2 and 512 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ prom_parse.y:181:25: warning: '%s' directive writing up to 255 bytes into a region of size between 0 and 255 [-Wformat-overflow=] sprintf($$, "%s=%s", $1, $3); ^~~~~~~ In file included from /usr/include/stdio.h:873, from prom_parse.h:30, from prom_parse.y:29: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 2 and 512 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ prom_parse.y:177:25: warning: '%s' directive writing up to 255 bytes into a region of size between 0 and 255 [-Wformat-overflow=] sprintf($$, "%s=%s", $1, $3); ^~~~~~~ In file included from /usr/include/stdio.h:873, from prom_parse.h:30, from prom_parse.y:29: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 2 and 512 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ prom_parse.y:173:25: warning: '%s' directive writing up to 255 bytes into a region of size between 0 and 255 [-Wformat-overflow=] sprintf($$, "%s=%s", $1, $3); ^~~~~~~ In file included from /usr/include/stdio.h:873, from prom_parse.h:30, from prom_parse.y:29: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 2 and 512 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ prom_parse.y:169:25: warning: '%s' directive writing up to 255 bytes into a region of size between 0 and 255 [-Wformat-overflow=] sprintf($$, "%s=%s", $1, $3); ^~~~~~~ In file included from /usr/include/stdio.h:873, from prom_parse.h:30, from prom_parse.y:29: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 2 and 512 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ prom_parse.y:159:25: warning: '%s' directive writing up to 255 bytes into a region of size between 0 and 255 [-Wformat-overflow=] sprintf($$, "%s,%s", $1, $3); ^~~~~~~ In file included from /usr/include/stdio.h:873, from prom_parse.h:30, from prom_parse.y:29: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 2 and 512 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ prom_parse.y:156:25: warning: '%s' directive writing up to 255 bytes into a region of size between 0 and 255 [-Wformat-overflow=] sprintf($$, "%s,%s", $1, $3); ^~~~~~~ In file included from /usr/include/stdio.h:873, from prom_parse.h:30, from prom_parse.y:29: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 2 and 512 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ prom_parse.y:153:25: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] sprintf($$, ",%s", $2); ^~ In file included from /usr/include/stdio.h:873, from prom_parse.h:30, from prom_parse.y:29: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 2 and 257 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ prom_parse.y:148:25: warning: '%s' directive writing up to 255 bytes into a region of size between 0 and 255 [-Wformat-overflow=] sprintf($$, "%s=%s", $1, $3); ^~~~~~~ In file included from /usr/include/stdio.h:873, from prom_parse.h:30, from prom_parse.y:29: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 2 and 512 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ prom_parse.y:143:25: warning: '%s' directive writing up to 255 bytes into a region of size between 0 and 255 [-Wformat-overflow=] sprintf($$, "%s,%s", $1, $3); ^~~~~~~ In file included from /usr/include/stdio.h:873, from prom_parse.h:30, from prom_parse.y:29: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 2 and 512 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ prom_parse.y:140:25: warning: '%s' directive writing up to 255 bytes into a region of size between 0 and 255 [-Wformat-overflow=] sprintf($$, "%s,%s", $1, $3); ^~~~~~~ In file included from /usr/include/stdio.h:873, from prom_parse.h:30, from prom_parse.y:29: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 2 and 512 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ prom_parse.y:137:25: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] sprintf($$, ":%s", $2); ^~~~~ In file included from /usr/include/stdio.h:873, from prom_parse.h:30, from prom_parse.y:29: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 2 and 257 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ prom_parse.y:132:25: warning: '%s' directive writing up to 255 bytes into a region of size between 0 and 255 [-Wformat-overflow=] sprintf($$, "%s/%s", $1, $3); ^~~~~~~ In file included from /usr/include/stdio.h:873, from prom_parse.h:30, from prom_parse.y:29: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 2 and 512 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ prom_parse.y:127:25: warning: '@' directive writing 1 byte into a region of size between 0 and 255 [-Wformat-overflow=] sprintf($$, "/%s@%s,%s", $2, $4, $6); ^~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from prom_parse.h:30, from prom_parse.y:29: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 4 and 769 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ prom_parse.y:124:25: warning: '@' directive writing 1 byte into a region of size between 0 and 255 [-Wformat-overflow=] sprintf($$, "/%s@%s", $2, $4); ^~~~~~~~ In file included from /usr/include/stdio.h:873, from prom_parse.h:30, from prom_parse.y:29: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 3 and 513 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ prom_parse.y:121:25: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] sprintf($$, "/%s", $2); ^~~~~ In file included from /usr/include/stdio.h:873, from prom_parse.h:30, from prom_parse.y:29: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 2 and 257 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ prom_parse.y:115:25: warning: '%s' directive writing up to 255 bytes into a region of size between 0 and 255 [-Wformat-overflow=] sprintf($$, "%s,%s@%s", $1, $3, $5); ^~~~~~~~~~ In file included from /usr/include/stdio.h:873, from prom_parse.h:30, from prom_parse.y:29: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 3 and 768 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ prom_parse.y:112:25: warning: '%s' directive writing up to 255 bytes into a region of size between 0 and 255 [-Wformat-overflow=] sprintf($$, "%s@%s", $1, $3); ^~~~~~~ In file included from /usr/include/stdio.h:873, from prom_parse.h:30, from prom_parse.y:29: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 2 and 512 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ prom_parse.y:109:25: warning: '%s' directive writing up to 255 bytes into a region of size between 0 and 255 [-Wformat-overflow=] sprintf($$, "%s@%s,%s", $1, $3, $5); ^~~~~~~~~~ In file included from /usr/include/stdio.h:873, from prom_parse.h:30, from prom_parse.y:29: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 3 and 768 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ prom_parse.y:106:25: warning: '%s' directive writing up to 255 bytes into a region of size between 0 and 255 [-Wformat-overflow=] sprintf($$, "%s@%s", $1, $3); ^~~~~~~ In file included from /usr/include/stdio.h:873, from prom_parse.h:30, from prom_parse.y:29: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 2 and 512 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ prom_parse.y:98:25: warning: '%s' directive writing up to 255 bytes into a region of size between 0 and 255 [-Wformat-overflow=] sprintf($$, "%s/%s", $1, $3); ^~~~~~~ In file included from /usr/include/stdio.h:873, from prom_parse.h:30, from prom_parse.y:29: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 2 and 512 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ prom_parse.y:260:34: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] sprintf($$, ":%s", $2); ^~~~~ In file included from /usr/include/stdio.h:873, from prom_parse.h:30, from prom_parse.y:29: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 2 and 257 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ prom_parse.y:263:34: warning: ',' directive writing 1 byte into a region of size between 0 and 255 [-Wformat-overflow=] sprintf($$, ":%s,%s", $2, $4); ^~~~~~~~ In file included from /usr/include/stdio.h:873, from prom_parse.h:30, from prom_parse.y:29: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 3 and 513 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ prom_parse.y:255:34: warning: ',' directive writing 1 byte into a region of size between 0 and 255 [-Wformat-overflow=] sprintf($$, "@%s,%s%s", $2, $4, $5); ^~~~~~~~~~ In file included from /usr/include/stdio.h:873, from prom_parse.h:30, from prom_parse.y:29: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 3 and 768 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/home/slitaz/wok/open-iscsi/source/open-iscsi-2.0-871/utils/fwparam_ibft' make -C usr make[1]: Entering directory '/home/slitaz/wok/open-iscsi/source/open-iscsi-2.0-871/usr' cat: can't open '/lib/modules/4.17.7-slitaz/build/Makefile': No such file or directory cat: can't open '/lib/modules/4.17.7-slitaz/build/Makefile': No such file or directory cc -march=i486 -Os -pipe -mindirect-branch=thunk -O2 -g -Wall -Wstrict-prototypes -I../include -I. -DLinux -DNETLINK_ISCSI=8 -D_GNU_SOURCE -D_GLIBCXX_USE_C99_MATH=1 -c -o util.o util.c cc -march=i486 -Os -pipe -mindirect-branch=thunk -O2 -g -Wall -Wstrict-prototypes -I../include -I. -DLinux -DNETLINK_ISCSI=8 -D_GNU_SOURCE -D_GLIBCXX_USE_C99_MATH=1 -c -o io.o io.c cc -march=i486 -Os -pipe -mindirect-branch=thunk -O2 -g -Wall -Wstrict-prototypes -I../include -I. -DLinux -DNETLINK_ISCSI=8 -D_GNU_SOURCE -D_GLIBCXX_USE_C99_MATH=1 -c -o auth.o auth.c In file included from ../include/iscsi_if.h:24, from iscsi_ipc.h:29, from util.c:13: ../include/iscsi_proto.h:60: warning: "__bitwise" redefined #define __bitwise In file included from ../include/iscsi_proto.h:27, from ../include/iscsi_if.h:24, from iscsi_ipc.h:29, from util.c:13: /usr/include/linux/types.h:22: note: this is the location of the previous definition #define __bitwise __bitwise__ cc -march=i486 -Os -pipe -mindirect-branch=thunk -O2 -g -Wall -Wstrict-prototypes -I../include -I. -DLinux -DNETLINK_ISCSI=8 -D_GNU_SOURCE -D_GLIBCXX_USE_C99_MATH=1 -c -o login.o login.c In file included from io.c:33: ../include/iscsi_proto.h:60: warning: "__bitwise" redefined #define __bitwise In file included from ../include/iscsi_proto.h:27, from io.c:33: /usr/include/linux/types.h:22: note: this is the location of the previous definition #define __bitwise __bitwise__ util.c: In function 'daemon_init': util.c:39:2: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] chdir("/"); ^~~~~~~~~~ util.c: In function 'oom_adjust': util.c:47:2: warning: ignoring return value of 'nice', declared with attribute warn_unused_result [-Wunused-result] nice(-10); ^~~~~~~~~ util.c:53:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, "-16\n", 3); /* for 2.6.11 */ ^~~~~~~~~~~~~~~~~~~~~ util.c:54:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, "-17\n", 3); /* for Andrea's patch */ ^~~~~~~~~~~~~~~~~~~~~ io.c: In function 'get_netdev_from_hwaddress': io.c:207:8: warning: implicit declaration of function 'strcasecmp' [-Wimplicit-function-declaration] if (!strcasecmp(tmp_hwaddress, hwaddress)) { ^~~~~~~~~~ io.c: In function 'iscsi_io_send_pdu': io.c:641:9: warning: implicit declaration of function 'writev'; did you mean 'write'? [-Wimplicit-function-declaration] rc = writev(session->ctrl_fd, vec, 1); ^~~~~~ write In file included from initiator.h:28, from auth.c:36: ../include/iscsi_proto.h:60: warning: "__bitwise" redefined #define __bitwise In file included from ../include/iscsi_proto.h:27, from initiator.h:28, from auth.c:36: /usr/include/linux/types.h:22: note: this is the location of the previous definition #define __bitwise __bitwise__ auth.c: In function 'get_random_bytes': auth.c:198:4: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(fd, &r, sizeof(long)); ^~~~~~~~~~~~~~~~~~~~~~~~~~ auth.c:206:4: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(fd, &r, sizeof(long)); ^~~~~~~~~~~~~~~~~~~~~~~~~~ auth.c:214:4: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(fd, &r, sizeof(long)); ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from initiator.h:28, from login.c:32: ../include/iscsi_proto.h:60: warning: "__bitwise" redefined #define __bitwise In file included from ../include/iscsi_proto.h:27, from initiator.h:28, from login.c:32: /usr/include/linux/types.h:22: note: this is the location of the previous definition #define __bitwise __bitwise__ login.c: In function 'iscsi_add_text': login.c:50:8: warning: variable 'pdu_text' set but not used [-Wunused-but-set-variable] char *pdu_text; ^~~~~~~~ cc -march=i486 -Os -pipe -mindirect-branch=thunk -O2 -g -Wall -Wstrict-prototypes -I../include -I. -DLinux -DNETLINK_ISCSI=8 -D_GNU_SOURCE -D_GLIBCXX_USE_C99_MATH=1 -c -o log.o log.c log.c:333:13: warning: '__dump_char' defined but not used [-Wunused-function] static void __dump_char(int level, unsigned char *buf, int *cp, int ch) ^~~~~~~~~~~ cc -march=i486 -Os -pipe -mindirect-branch=thunk -O2 -g -Wall -Wstrict-prototypes -I../include -I. -DLinux -DNETLINK_ISCSI=8 -D_GNU_SOURCE -D_GLIBCXX_USE_C99_MATH=1 -c -o md5.o md5.c cc -march=i486 -Os -pipe -mindirect-branch=thunk -O2 -g -Wall -Wstrict-prototypes -I../include -I. -DLinux -DNETLINK_ISCSI=8 -D_GNU_SOURCE -D_GLIBCXX_USE_C99_MATH=1 -c -o sha1.o sha1.c md5.c: In function 'MD5Final': md5.c:130:23: warning: argument to 'sizeof' in 'memset' call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess] memset(ctx, 0, sizeof(ctx)); /* In case it's sensitive */ ^ cc -march=i486 -Os -pipe -mindirect-branch=thunk -O2 -g -Wall -Wstrict-prototypes -I../include -I. -DLinux -DNETLINK_ISCSI=8 -D_GNU_SOURCE -D_GLIBCXX_USE_C99_MATH=1 -c -o iface.o iface.c In file included from iscsi_sysfs.h:24, from iface.c:32: ../include/iscsi_proto.h:60: warning: "__bitwise" redefined #define __bitwise In file included from ../include/iscsi_proto.h:27, from iscsi_sysfs.h:24, from iface.c:32: /usr/include/linux/types.h:22: note: this is the location of the previous definition #define __bitwise __bitwise__ iface.c:311:12: warning: 'iface_get_next_id' defined but not used [-Wunused-function] static int iface_get_next_id(void) ^~~~~~~~~~~~~~~~~ cc -march=i486 -Os -pipe -mindirect-branch=thunk -O2 -g -Wall -Wstrict-prototypes -I../include -I. -DLinux -DNETLINK_ISCSI=8 -D_GNU_SOURCE -D_GLIBCXX_USE_C99_MATH=1 -c -o idbm.o idbm.c cc -march=i486 -Os -pipe -mindirect-branch=thunk -O2 -g -Wall -Wstrict-prototypes -I../include -I. -DLinux -DNETLINK_ISCSI=8 -D_GNU_SOURCE -D_GLIBCXX_USE_C99_MATH=1 -c -o sysfs.o sysfs.c In file included from initiator.h:28, from idbm.h:26, from idbm.c:33: ../include/iscsi_proto.h:60: warning: "__bitwise" redefined #define __bitwise In file included from ../include/iscsi_proto.h:27, from initiator.h:28, from idbm.h:26, from idbm.c:33: /usr/include/linux/types.h:22: note: this is the location of the previous definition #define __bitwise __bitwise__ sysfs.c: In function 'sysfs_set_param': sysfs.c:645:14: warning: variable 'path' set but not used [-Wunused-but-set-variable] const char *path; ^~~~ cc -march=i486 -Os -pipe -mindirect-branch=thunk -O2 -g -Wall -Wstrict-prototypes -I../include -I. -DLinux -DNETLINK_ISCSI=8 -D_GNU_SOURCE -D_GLIBCXX_USE_C99_MATH=1 -c -o host.o host.c iface.c: In function '__iface_setup_host_bindings': iface.c:452:48: warning: '%s' directive output may be truncated writing up to 64 bytes into a region of size between 49 and 64 [-Wformat-truncation=] snprintf(iface.name, sizeof(iface.name), "%s.%s", ^~ In file included from /usr/include/stdio.h:873, from iface.c:20: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 2 and 81 bytes into a destination of size 65 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from iscsi_sysfs.h:24, from host.c:27: ../include/iscsi_proto.h:60: warning: "__bitwise" redefined #define __bitwise In file included from ../include/iscsi_proto.h:27, from iscsi_sysfs.h:24, from host.c:27: /usr/include/linux/types.h:22: note: this is the location of the previous definition #define __bitwise __bitwise__ cc -march=i486 -Os -pipe -mindirect-branch=thunk -O2 -g -Wall -Wstrict-prototypes -I../include -I. -DLinux -DNETLINK_ISCSI=8 -D_GNU_SOURCE -D_GLIBCXX_USE_C99_MATH=1 -c -o session_info.o session_info.c In file included from iscsi_sysfs.h:24, from session_info.c:8: ../include/iscsi_proto.h:60: warning: "__bitwise" redefined #define __bitwise In file included from ../include/iscsi_proto.h:27, from iscsi_sysfs.h:24, from session_info.c:8: /usr/include/linux/types.h:22: note: this is the location of the previous definition #define __bitwise __bitwise__ cc -march=i486 -Os -pipe -mindirect-branch=thunk -O2 -g -Wall -Wstrict-prototypes -I../include -I. -DLinux -DNETLINK_ISCSI=8 -D_GNU_SOURCE -D_GLIBCXX_USE_C99_MATH=1 -c -o iscsi_sysfs.o iscsi_sysfs.c In file included from initiator.h:28, from iscsi_sysfs.c:29: ../include/iscsi_proto.h:60: warning: "__bitwise" redefined #define __bitwise In file included from ../include/iscsi_proto.h:27, from initiator.h:28, from iscsi_sysfs.c:29: /usr/include/linux/types.h:22: note: this is the location of the previous definition #define __bitwise __bitwise__ iscsi_sysfs.c: In function 'iscsi_sysfs_get_host_no_from_hwinfo': iscsi_sysfs.c:398:6: warning: implicit declaration of function 'strcasecmp' [-Wimplicit-function-declaration] strcasecmp(iface->hwaddress, DEFAULT_HWADDRESS)) ^~~~~~~~~~ iscsi_sysfs.c: In function 'iscsi_sysfs_get_sid_from_path': iscsi_sysfs.c:613:7: warning: implicit declaration of function 'index' [-Wimplicit-function-declaration] if (index(session, '/')) { ^~~~~ iscsi_sysfs.c:613:7: warning: incompatible implicit declaration of built-in function 'index' iscsi_sysfs.c: In function 'iscsi_sysfs_get_blockdev_from_lun': iscsi_sysfs.c:829:8: warning: variable 'path' set but not used [-Wunused-but-set-variable] char *path; ^~~~ iscsi_sysfs.c: In function 'get_target_no_from_sid': iscsi_sysfs.c:913:8: warning: variable 'path' set but not used [-Wunused-but-set-variable] char *path; ^~~~ cc -march=i486 -Os -pipe -mindirect-branch=thunk -O2 -g -Wall -Wstrict-prototypes -I../include -I. -DLinux -DNETLINK_ISCSI=8 -D_GNU_SOURCE -D_GLIBCXX_USE_C99_MATH=1 -c -o netlink.o netlink.c In file included from ../include/iscsi_if.h:24, from netlink.c:35: ../include/iscsi_proto.h:60: warning: "__bitwise" redefined #define __bitwise In file included from /usr/include/linux/sysinfo.h:5, from /usr/include/linux/kernel.h:5, from /usr/include/linux/netlink.h:5, from netlink.c:32: /usr/include/linux/types.h:22: note: this is the location of the previous definition #define __bitwise __bitwise__ netlink.c: In function 'ksend_pdu_end': netlink.c:544:15: warning: variable 'iov' set but not used [-Wunused-but-set-variable] struct iovec iov; ^~~ cc -march=i486 -Os -pipe -mindirect-branch=thunk -O2 -g -Wall -Wstrict-prototypes -I../include -I. -DLinux -DNETLINK_ISCSI=8 -D_GNU_SOURCE -D_GLIBCXX_USE_C99_MATH=1 -c -o initiator.o initiator.c In file included from initiator.h:28, from initiator.c:34: ../include/iscsi_proto.h:60: warning: "__bitwise" redefined #define __bitwise In file included from ../include/iscsi_proto.h:27, from initiator.h:28, from initiator.c:34: /usr/include/linux/types.h:22: note: this is the location of the previous definition #define __bitwise __bitwise__ idbm.c: In function 'idbm_rec_update_param': idbm.c:562:27: warning: '%d' directive output may be truncated writing between 1 and 10 bytes into a region of size 8 [-Wformat-truncation=] snprintf(passwd_len, 8, "%d", (int)strlen(value)); \ ^~~~ idbm.c:572:2: note: in expansion of macro 'check_password_param' check_password_param(discovery.slp.auth.password_in); ^~~~~~~~~~~~~~~~~~~~ idbm.c:562:27: note: directive argument in the range [0, 2147483645] snprintf(passwd_len, 8, "%d", (int)strlen(value)); \ ^~~~ idbm.c:572:2: note: in expansion of macro 'check_password_param' check_password_param(discovery.slp.auth.password_in); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from idbm.c:22: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 2 and 11 bytes into a destination of size 8 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ idbm.c:562:27: warning: '%d' directive output may be truncated writing between 1 and 10 bytes into a region of size 8 [-Wformat-truncation=] snprintf(passwd_len, 8, "%d", (int)strlen(value)); \ ^~~~ idbm.c:571:2: note: in expansion of macro 'check_password_param' check_password_param(discovery.slp.auth.password); ^~~~~~~~~~~~~~~~~~~~ idbm.c:562:27: note: directive argument in the range [0, 2147483645] snprintf(passwd_len, 8, "%d", (int)strlen(value)); \ ^~~~ idbm.c:571:2: note: in expansion of macro 'check_password_param' check_password_param(discovery.slp.auth.password); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from idbm.c:22: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 2 and 11 bytes into a destination of size 8 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ idbm.c:562:27: warning: '%d' directive output may be truncated writing between 1 and 10 bytes into a region of size 8 [-Wformat-truncation=] snprintf(passwd_len, 8, "%d", (int)strlen(value)); \ ^~~~ idbm.c:570:2: note: in expansion of macro 'check_password_param' check_password_param(discovery.sendtargets.auth.password_in); ^~~~~~~~~~~~~~~~~~~~ idbm.c:562:27: note: directive argument in the range [0, 2147483645] snprintf(passwd_len, 8, "%d", (int)strlen(value)); \ ^~~~ idbm.c:570:2: note: in expansion of macro 'check_password_param' check_password_param(discovery.sendtargets.auth.password_in); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from idbm.c:22: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 2 and 11 bytes into a destination of size 8 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ idbm.c:562:27: warning: '%d' directive output may be truncated writing between 1 and 10 bytes into a region of size 8 [-Wformat-truncation=] snprintf(passwd_len, 8, "%d", (int)strlen(value)); \ ^~~~ idbm.c:569:2: note: in expansion of macro 'check_password_param' check_password_param(discovery.sendtargets.auth.password); ^~~~~~~~~~~~~~~~~~~~ idbm.c:562:27: note: directive argument in the range [0, 2147483645] snprintf(passwd_len, 8, "%d", (int)strlen(value)); \ ^~~~ idbm.c:569:2: note: in expansion of macro 'check_password_param' check_password_param(discovery.sendtargets.auth.password); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from idbm.c:22: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 2 and 11 bytes into a destination of size 8 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ idbm.c:562:27: warning: '%d' directive output may be truncated writing between 1 and 10 bytes into a region of size 8 [-Wformat-truncation=] snprintf(passwd_len, 8, "%d", (int)strlen(value)); \ ^~~~ idbm.c:568:2: note: in expansion of macro 'check_password_param' check_password_param(node.session.auth.password_in); ^~~~~~~~~~~~~~~~~~~~ idbm.c:562:27: note: directive argument in the range [0, 2147483645] snprintf(passwd_len, 8, "%d", (int)strlen(value)); \ ^~~~ idbm.c:568:2: note: in expansion of macro 'check_password_param' check_password_param(node.session.auth.password_in); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from idbm.c:22: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 2 and 11 bytes into a destination of size 8 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ idbm.c:562:27: warning: '%d' directive output may be truncated writing between 1 and 10 bytes into a region of size 8 [-Wformat-truncation=] snprintf(passwd_len, 8, "%d", (int)strlen(value)); \ ^~~~ idbm.c:567:2: note: in expansion of macro 'check_password_param' check_password_param(node.session.auth.password); ^~~~~~~~~~~~~~~~~~~~ idbm.c:562:27: note: directive argument in the range [0, 2147483645] snprintf(passwd_len, 8, "%d", (int)strlen(value)); \ ^~~~ idbm.c:567:2: note: in expansion of macro 'check_password_param' check_password_param(node.session.auth.password); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from idbm.c:22: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 2 and 11 bytes into a destination of size 8 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -march=i486 -Os -pipe -mindirect-branch=thunk -O2 -g -Wall -Wstrict-prototypes -I../include -I. -DLinux -DNETLINK_ISCSI=8 -D_GNU_SOURCE -D_GLIBCXX_USE_C99_MATH=1 -c -o scsi.o scsi.c iscsi_sysfs.c: In function 'iscsi_sysfs_for_each_device': iscsi_sysfs.c:1065:44: warning: '%s' directive output may be truncated writing up to 511 bytes into a region of size between 1 and 512 [-Wformat-truncation=] snprintf(path_full, sizeof(path_full), "%s%s/device/target%d:0:%d", ^~ sysfs_path, devpath, host_no, target); ~~~~~~~ iscsi_sysfs.c:1065:41: note: using the range [-2147483648, 2147483647] for directive argument snprintf(path_full, sizeof(path_full), "%s%s/device/target%d:0:%d", ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from iscsi_sysfs.c:20: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 20 and 1062 bytes into a destination of size 512 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -march=i486 -Os -pipe -mindirect-branch=thunk -O2 -g -Wall -Wstrict-prototypes -I../include -I. -DLinux -DNETLINK_ISCSI=8 -D_GNU_SOURCE -D_GLIBCXX_USE_C99_MATH=1 -c -o actor.o actor.c cc -march=i486 -Os -pipe -mindirect-branch=thunk -O2 -g -Wall -Wstrict-prototypes -I../include -I. -DLinux -DNETLINK_ISCSI=8 -D_GNU_SOURCE -D_GLIBCXX_USE_C99_MATH=1 -c -o event_poll.o event_poll.c In file included from ../include/iscsi_if.h:24, from mgmt_ipc.h:23, from event_poll.c:30: ../include/iscsi_proto.h:60: warning: "__bitwise" redefined #define __bitwise In file included from ../include/iscsi_proto.h:27, from ../include/iscsi_if.h:24, from mgmt_ipc.h:23, from event_poll.c:30: /usr/include/linux/types.h:22: note: this is the location of the previous definition #define __bitwise __bitwise__ cc -march=i486 -Os -pipe -mindirect-branch=thunk -O2 -g -Wall -Wstrict-prototypes -I../include -I. -DLinux -DNETLINK_ISCSI=8 -D_GNU_SOURCE -D_GLIBCXX_USE_C99_MATH=1 -c -o mgmt_ipc.o mgmt_ipc.c cc -march=i486 -Os -pipe -mindirect-branch=thunk -O2 -g -Wall -Wstrict-prototypes -I../include -I. -DLinux -DNETLINK_ISCSI=8 -D_GNU_SOURCE -D_GLIBCXX_USE_C99_MATH=1 -c -o isns.o isns.c In file included from initiator.h:28, from idbm.h:26, from mgmt_ipc.c:31: ../include/iscsi_proto.h:60: warning: "__bitwise" redefined #define __bitwise In file included from ../include/iscsi_proto.h:27, from initiator.h:28, from idbm.h:26, from mgmt_ipc.c:31: /usr/include/linux/types.h:22: note: this is the location of the previous definition #define __bitwise __bitwise__ mgmt_ipc.c: In function 'mgmt_ipc_write_rsp': mgmt_ipc.c:457:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(qtask->mgmt_ipc_fd, &qtask->rsp, sizeof(qtask->rsp)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from initiator.h:28, from isns.c:32: ../include/iscsi_proto.h:60: warning: "__bitwise" redefined #define __bitwise In file included from ../include/iscsi_proto.h:27, from initiator.h:28, from isns.c:32: /usr/include/linux/types.h:22: note: this is the location of the previous definition #define __bitwise __bitwise__ isns.c: In function 'isns_recv_pdu': isns.c:249:49: warning: variable 'sequence' set but not used [-Wunused-but-set-variable] uint16_t function, length, flags, transaction, sequence; ^~~~~~~~ isns.c:249:36: warning: variable 'transaction' set but not used [-Wunused-but-set-variable] uint16_t function, length, flags, transaction, sequence; ^~~~~~~~~~~ isns.c:249:29: warning: variable 'flags' set but not used [-Wunused-but-set-variable] uint16_t function, length, flags, transaction, sequence; ^~~~~ isns.c:249:11: warning: variable 'function' set but not used [-Wunused-but-set-variable] uint16_t function, length, flags, transaction, sequence; ^~~~~~~~ isns.c: In function 'qry_rsp_handle': isns.c:325:49: warning: variable 'sequence' set but not used [-Wunused-but-set-variable] uint16_t function, length, flags, transaction, sequence; ^~~~~~~~ isns.c:325:36: warning: variable 'transaction' set but not used [-Wunused-but-set-variable] uint16_t function, length, flags, transaction, sequence; ^~~~~~~~~~~ isns.c:325:29: warning: variable 'flags' set but not used [-Wunused-but-set-variable] uint16_t function, length, flags, transaction, sequence; ^~~~~ isns.c:325:11: warning: variable 'function' set but not used [-Wunused-but-set-variable] uint16_t function, length, flags, transaction, sequence; ^~~~~~~~ isns.c: In function 'isns_task_done': isns.c:412:49: warning: variable 'sequence' set but not used [-Wunused-but-set-variable] uint16_t function, length, flags, transaction, sequence; ^~~~~~~~ cc -march=i486 -Os -pipe -mindirect-branch=thunk -O2 -g -Wall -Wstrict-prototypes -I../include -I. -DLinux -DNETLINK_ISCSI=8 -D_GNU_SOURCE -D_GLIBCXX_USE_C99_MATH=1 -c -o cxgb3i.o cxgb3i.c In file included from initiator.h:28, from cxgb3i.c:17: ../include/iscsi_proto.h:60: warning: "__bitwise" redefined #define __bitwise In file included from ../include/iscsi_proto.h:27, from initiator.h:28, from cxgb3i.c:17: /usr/include/linux/types.h:22: note: this is the location of the previous definition #define __bitwise __bitwise__ cc -march=i486 -Os -pipe -mindirect-branch=thunk -O2 -g -Wall -Wstrict-prototypes -I../include -I. -DLinux -DNETLINK_ISCSI=8 -D_GNU_SOURCE -D_GLIBCXX_USE_C99_MATH=1 -c -o transport.o transport.c cc -march=i486 -Os -pipe -mindirect-branch=thunk -O2 -g -Wall -Wstrict-prototypes -I../include -I. -DLinux -DNETLINK_ISCSI=8 -D_GNU_SOURCE -D_GLIBCXX_USE_C99_MATH=1 -c -o iscsid.o iscsid.c In file included from initiator.h:28, from transport.c:23: ../include/iscsi_proto.h:60: warning: "__bitwise" redefined #define __bitwise In file included from ../include/iscsi_proto.h:27, from initiator.h:28, from transport.c:23: /usr/include/linux/types.h:22: note: this is the location of the previous definition #define __bitwise __bitwise__ cc -march=i486 -Os -pipe -mindirect-branch=thunk -O2 -g -Wall -Wstrict-prototypes -I../include -I. -DLinux -DNETLINK_ISCSI=8 -D_GNU_SOURCE -D_GLIBCXX_USE_C99_MATH=1 -c -o strings.o strings.c In file included from ../include/iscsi_if.h:24, from mgmt_ipc.h:23, from iscsid.c:34: ../include/iscsi_proto.h:60: warning: "__bitwise" redefined #define __bitwise In file included from ../include/iscsi_proto.h:27, from ../include/iscsi_if.h:24, from mgmt_ipc.h:23, from iscsid.c:34: /usr/include/linux/types.h:22: note: this is the location of the previous definition #define __bitwise __bitwise__ cc -march=i486 -Os -pipe -mindirect-branch=thunk -O2 -g -Wall -Wstrict-prototypes -I../include -I. -DLinux -DNETLINK_ISCSI=8 -D_GNU_SOURCE -D_GLIBCXX_USE_C99_MATH=1 -c -o discovery.o discovery.c iscsid.c: In function 'main': iscsid.c:395:2: warning: implicit declaration of function 'umask' [-Wimplicit-function-declaration] umask(0177); ^~~~~ iscsid.c:437:3: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] chdir("/"); ^~~~~~~~~~ iscsid.c:443:3: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate(fd, 0); ^~~~~~~~~~~~~~~~ iscsid.c:445:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, buf, strlen(buf)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ strings.c: In function 'enlarge_data': strings.c:82:40: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'size_t' {aka 'unsigned int'} [-Wformat=] log_debug(7, "enlarge buffer from %lu to %lu\n", ~~^ %u s->allocated_length, s->data_length); ~~~~~~~~~~~~~~~~~~~ strings.c:82:47: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'size_t' {aka 'unsigned int'} [-Wformat=] log_debug(7, "enlarge buffer from %lu to %lu\n", ~~^ %u s->allocated_length, s->data_length); ~~~~~~~~~~~~~~ cc -march=i486 -Os -pipe -mindirect-branch=thunk -O2 -g -Wall -Wstrict-prototypes -I../include -I. -DLinux -DNETLINK_ISCSI=8 -D_GNU_SOURCE -D_GLIBCXX_USE_C99_MATH=1 -c -o iscsiadm.o iscsiadm.c In file included from discovery.c:37: ../include/iscsi_proto.h:60: warning: "__bitwise" redefined #define __bitwise In file included from ../include/iscsi_proto.h:27, from discovery.c:37: /usr/include/linux/types.h:22: note: this is the location of the previous definition #define __bitwise __bitwise__ cc -march=i486 -Os -pipe -mindirect-branch=thunk -O2 -g -Wall -Wstrict-prototypes -I../include -I. -DLinux -DNETLINK_ISCSI=8 -D_GNU_SOURCE -D_GLIBCXX_USE_C99_MATH=1 -c -o iscsistart.o iscsistart.c In file included from initiator.h:28, from iscsiadm.c:31: ../include/iscsi_proto.h:60: warning: "__bitwise" redefined #define __bitwise In file included from ../include/iscsi_proto.h:27, from initiator.h:28, from iscsiadm.c:31: /usr/include/linux/types.h:22: note: this is the location of the previous definition #define __bitwise __bitwise__ In file included from initiator.h:28, from iscsistart.c:36: ../include/iscsi_proto.h:60: warning: "__bitwise" redefined #define __bitwise In file included from ../include/iscsi_proto.h:27, from initiator.h:28, from iscsistart.c:36: /usr/include/linux/types.h:22: note: this is the location of the previous definition #define __bitwise __bitwise__ cc -march=i486 -Os -pipe -mindirect-branch=thunk -O2 -g -Wall -Wstrict-prototypes -I../include -I. -DLinux -DNETLINK_ISCSI=8 -D_GNU_SOURCE -D_GLIBCXX_USE_C99_MATH=1 -c -o statics.o statics.c cc -march=i486 -Os -pipe -mindirect-branch=thunk -O2 -g -Wall -Wstrict-prototypes -I../include -I. -DLinux -DNETLINK_ISCSI=8 -D_GNU_SOURCE util.o io.o auth.o login.o log.o md5.o sha1.o iface.o idbm.o sysfs.o host.o session_info.o iscsi_sysfs.o ../utils/sysdeps/sysdeps.o netlink.o initiator.o scsi.o actor.o event_poll.o mgmt_ipc.o isns.o cxgb3i.o transport.o iscsid.o -o iscsid cc -march=i486 -Os -pipe -mindirect-branch=thunk -O2 -g -Wall -Wstrict-prototypes -I../include -I. -DLinux -DNETLINK_ISCSI=8 -D_GNU_SOURCE -static netlink.o util.o io.o auth.o login.o log.o md5.o sha1.o iface.o idbm.o sysfs.o host.o session_info.o iscsi_sysfs.o ../utils/sysdeps/sysdeps.o initiator.o scsi.o actor.o event_poll.o mgmt_ipc.o isns.o cxgb3i.o transport.o ../utils/fwparam_ibft/prom_lex.o ../utils/fwparam_ibft/prom_parse.tab.o ../utils/fwparam_ibft/fwparam_ibft_sysfs.o ../utils/fwparam_ibft/fwparam_ppc.o ../utils/fwparam_ibft/fw_entry.o iscsistart.o statics.o -o iscsistart /usr/bin/ld: login.o: in function `resolve_address': /home/slitaz/wok/open-iscsi/source/open-iscsi-2.0-871/usr/login.c:168: warning: Using 'getaddrinfo' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking cc -march=i486 -Os -pipe -mindirect-branch=thunk -O2 -g -Wall -Wstrict-prototypes -I../include -I. -DLinux -DNETLINK_ISCSI=8 -D_GNU_SOURCE util.o io.o auth.o login.o log.o md5.o sha1.o iface.o idbm.o sysfs.o host.o session_info.o iscsi_sysfs.o ../utils/sysdeps/sysdeps.o ../utils/fwparam_ibft/prom_lex.o ../utils/fwparam_ibft/prom_parse.tab.o ../utils/fwparam_ibft/fwparam_ibft_sysfs.o ../utils/fwparam_ibft/fwparam_ppc.o ../utils/fwparam_ibft/fw_entry.o strings.o discovery.o iscsiadm.o -o iscsiadm make[1]: Leaving directory '/home/slitaz/wok/open-iscsi/source/open-iscsi-2.0-871/usr' make -C utils make[1]: Entering directory '/home/slitaz/wok/open-iscsi/source/open-iscsi-2.0-871/utils' cc -march=i486 -Os -pipe -mindirect-branch=thunk -O2 -fno-inline -Wall -Wstrict-prototypes -g -D_GLIBCXX_USE_C99_MATH=1 -c -o md5.o md5.c cc -march=i486 -Os -pipe -mindirect-branch=thunk -O2 -fno-inline -Wall -Wstrict-prototypes -g -D_GLIBCXX_USE_C99_MATH=1 -c -o iscsi-iname.o iscsi-iname.c md5.c: In function 'MD5Final': md5.c:136:24: warning: argument to 'sizeof' in 'memset' call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess] memset(ctx, 0, sizeof (ctx)); /* In case it's sensitive */ ^ cc -march=i486 -Os -pipe -mindirect-branch=thunk -O2 -fno-inline -Wall -Wstrict-prototypes -g md5.o iscsi-iname.o -o iscsi-iname make[1]: Leaving directory '/home/slitaz/wok/open-iscsi/source/open-iscsi-2.0-871/utils' Compilation complete Output file ----------------------------------- ---------------- Built iSCSI daemon: usr/iscsid Built management application: usr/iscsiadm Built boot tool: usr/iscsistart Read README file for detailed information. install -d /home/slitaz/wok/open-iscsi/install//sbin install -m 755 usr/iscsid usr/iscsiadm utils/iscsi_discovery utils/iscsi-iname /home/slitaz/wok/open-iscsi/install//sbin install -d /home/slitaz/wok/open-iscsi/install/usr/share/man/man8 install -m 644 doc/iscsid.8 doc/iscsiadm.8 doc/iscsi_discovery.8 /home/slitaz/wok/open-iscsi/install/usr/share/man/man8 if [ ! -f /etc/iscsi/iscsid.conf ]; then \ install -d /home/slitaz/wok/open-iscsi/install/etc/iscsi ; \ install -m 644 etc/iscsid.conf /home/slitaz/wok/open-iscsi/install/etc/iscsi ; \ fi if [ -f /etc/debian_version ]; then \ make install_initd_debian ; \ elif [ -f /etc/redhat-release ]; then \ make install_initd_redhat ; \ elif [ -f /etc/SuSE-release ]; then \ make install_initd_suse ; \ fi if [ ! -f /home/slitaz/wok/open-iscsi/install/etc/iscsi/initiatorname.iscsi ]; then \ echo "InitiatorName=`/sbin/iscsi-iname`" > /home/slitaz/wok/open-iscsi/install/etc/iscsi/initiatorname.iscsi ; \ echo "***************************************************" ; \ echo "Setting InitiatorName to `cat /home/slitaz/wok/open-iscsi/install/etc/iscsi/initiatorname.iscsi`" ; \ echo "To override edit /home/slitaz/wok/open-iscsi/install/etc/iscsi/initiatorname.iscsi" ; \ echo "***************************************************" ; \ fi /bin/sh: /sbin/iscsi-iname: not found *************************************************** Setting InitiatorName to InitiatorName= To override edit /home/slitaz/wok/open-iscsi/install/etc/iscsi/initiatorname.iscsi *************************************************** install -d /home/slitaz/wok/open-iscsi/install/etc/iscsi/ifaces install -m 644 etc/iface.example /home/slitaz/wok/open-iscsi/install/etc/iscsi/ifaces ================================================================================ Executing strip on all files... Done Time: 0.15s. Size: 1985724 B -> 510860 B. Save: 1440 KB. Installing (pkg/local): advancecomp-static-2.1-i486 Compressing man pages... Done Time: 0.53s. Size: 15440 B -> 5662 B. Save: 10 KB. Cache hit: 3/3. ================================================================================ Build dependencies to remove: 1 Removing: advancecomp-static Pack: open-iscsi 2.0-871 ================================================================================ Executing: genpkg_rules Copying "receipt"... Done Determining package architecture... i486 Creating the list of files... Done Creating md5sum of files... Done Compressing the FS... Done Creating full cpio archive... Done QA: checking for empty package... Done The release checksum has not changed. ================================================================================ Package "open-iscsi-2.0-871-i486.tazpkg" created Post-check ================================================================================ Checking build... Done Checking 'any' arch... Done Checking libtool in source/open-iscsi-2.0-871... Done Checking site script in source/open-iscsi-2.0-871... Done Checking ownership in install... Done Checking permissions in install... Done Checking broken symlinks in install... Done Querying Repology... Done Updating activity log... Done ================================================================================ Debug information packerr. ================================================================================ Cook date: 2022-07-22 15:39 Wasted time : 19s 415:cat: can't open '/lib/modules/4.17.7-slitaz/build/Makefile': No such file or directory 416:cat: can't open '/lib/modules/4.17.7-slitaz/build/Makefile': No such file or directory ================================================================================