gcc -M -MG -DETCDIR="\"/etc\"" -I. -D_FORTIFY_SOURCE=2 -Wall -O2 -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wnested-externs -Winline -W -Wmissing-prototypes -Wundef -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt prog/dump/superio.c | \ sed -e 's@^\(.*\)\.o:@prog/dump/superio.rd prog/dump/superio.ro: Makefile '`dirname prog/dump/superio.rd`/Module.mk' @' > prog/dump/superio.rd gcc -M -MG -DETCDIR="\"/etc\"" -I. -D_FORTIFY_SOURCE=2 -Wall -O2 -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wnested-externs -Winline -W -Wmissing-prototypes -Wundef -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt prog/dump/isaset.c | \ sed -e 's@^\(.*\)\.o:@prog/dump/isaset.rd prog/dump/isaset.ro: Makefile '`dirname prog/dump/isaset.rd`/Module.mk' @' > prog/dump/isaset.rd gcc -M -MG -DETCDIR="\"/etc\"" -I. -D_FORTIFY_SOURCE=2 -Wall -O2 -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wnested-externs -Winline -W -Wmissing-prototypes -Wundef -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt prog/dump/isadump.c | \ sed -e 's@^\(.*\)\.o:@prog/dump/isadump.rd prog/dump/isadump.ro: Makefile '`dirname prog/dump/isadump.rd`/Module.mk' @' > prog/dump/isadump.rd gcc -M -MG -DETCDIR="\"/etc\"" -I. -D_FORTIFY_SOURCE=2 -Wall -O2 -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wnested-externs -Winline -W -Wmissing-prototypes -Wundef -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt prog/dump/util.c | \ sed -e 's@^\(.*\)\.o:@prog/dump/util.rd prog/dump/util.ro: Makefile '`dirname prog/dump/util.rd`/Module.mk' @' > prog/dump/util.rd gcc -M -MG -DETCDIR="\"/etc\"" -I. -D_FORTIFY_SOURCE=2 -Wall -O2 -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wnested-externs -Winline -W -Wmissing-prototypes -Wundef -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt prog/sensors/chips.c | \ sed -e 's@^\(.*\)\.o:@prog/sensors/chips.rd prog/sensors/chips.ro: Makefile '`dirname prog/sensors/chips.rd`/Module.mk' @' > prog/sensors/chips.rd gcc -M -MG -DETCDIR="\"/etc\"" -I. -D_FORTIFY_SOURCE=2 -Wall -O2 -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wnested-externs -Winline -W -Wmissing-prototypes -Wundef -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt prog/sensors/main.c | \ sed -e 's@^\(.*\)\.o:@prog/sensors/main.rd prog/sensors/main.ro: Makefile '`dirname prog/sensors/main.rd`/Module.mk' @' > prog/sensors/main.rd /usr/bin/bison bison -p sensors_yy -d lib/conf-parse.y -o lib/conf-parse.c /usr/bin/flex flex -Psensors_yy -t -Cfe -8 lib/conf-lex.l > lib/conf-lex.c gcc -M -MG -DETCDIR="\"/etc\"" -I. -D_FORTIFY_SOURCE=2 -Wall -O2 -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wnested-externs -Winline -W -Wmissing-prototypes -Wundef -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt lib/conf-lex.c | \ sed -e 's@^\(.*\)\.o:@lib/conf-lex.ad lib/conf-lex.ao: Makefile '`dirname lib/conf-lex.ad`/Module.mk' @' > lib/conf-lex.ad gcc -M -MG -DETCDIR="\"/etc\"" -I. -D_FORTIFY_SOURCE=2 -Wall -O2 -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wnested-externs -Winline -W -Wmissing-prototypes -Wundef -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt lib/conf-parse.c | \ sed -e 's@^\(.*\)\.o:@lib/conf-parse.ad lib/conf-parse.ao: Makefile '`dirname lib/conf-parse.ad`/Module.mk' @' > lib/conf-parse.ad gcc -M -MG -DETCDIR="\"/etc\"" -I. -D_FORTIFY_SOURCE=2 -Wall -O2 -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wnested-externs -Winline -W -Wmissing-prototypes -Wundef -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt lib/sysfs.c | \ sed -e 's@^\(.*\)\.o:@lib/sysfs.ad lib/sysfs.ao: Makefile '`dirname lib/sysfs.ad`/Module.mk' @' > lib/sysfs.ad gcc -M -MG -DETCDIR="\"/etc\"" -I. -D_FORTIFY_SOURCE=2 -Wall -O2 -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wnested-externs -Winline -W -Wmissing-prototypes -Wundef -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt lib/init.c | \ sed -e 's@^\(.*\)\.o:@lib/init.ad lib/init.ao: Makefile '`dirname lib/init.ad`/Module.mk' @' > lib/init.ad gcc -M -MG -DETCDIR="\"/etc\"" -I. -D_FORTIFY_SOURCE=2 -Wall -O2 -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wnested-externs -Winline -W -Wmissing-prototypes -Wundef -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt lib/access.c | \ sed -e 's@^\(.*\)\.o:@lib/access.ad lib/access.ao: Makefile '`dirname lib/access.ad`/Module.mk' @' > lib/access.ad gcc -M -MG -DETCDIR="\"/etc\"" -I. -D_FORTIFY_SOURCE=2 -Wall -O2 -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wnested-externs -Winline -W -Wmissing-prototypes -Wundef -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt lib/error.c | \ sed -e 's@^\(.*\)\.o:@lib/error.ad lib/error.ao: Makefile '`dirname lib/error.ad`/Module.mk' @' > lib/error.ad gcc -M -MG -DETCDIR="\"/etc\"" -I. -D_FORTIFY_SOURCE=2 -Wall -O2 -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wnested-externs -Winline -W -Wmissing-prototypes -Wundef -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt lib/general.c | \ sed -e 's@^\(.*\)\.o:@lib/general.ad lib/general.ao: Makefile '`dirname lib/general.ad`/Module.mk' @' > lib/general.ad gcc -M -MG -DETCDIR="\"/etc\"" -I. -D_FORTIFY_SOURCE=2 -Wall -O2 -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wnested-externs -Winline -W -Wmissing-prototypes -Wundef -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt lib/data.c | \ sed -e 's@^\(.*\)\.o:@lib/data.ad lib/data.ao: Makefile '`dirname lib/data.ad`/Module.mk' @' > lib/data.ad gcc -M -MG -DETCDIR="\"/etc\"" -I. -D_FORTIFY_SOURCE=2 -fpic -D_REENTRANT -Wall -O2 -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wnested-externs -Winline -W -Wmissing-prototypes -Wundef -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt lib/conf-lex.c | \ sed -e 's@^\(.*\)\.o:@lib/conf-lex.ld lib/conf-lex.lo: Makefile '`dirname lib/conf-lex.ld`/Module.mk' @' > lib/conf-lex.ld gcc -M -MG -DETCDIR="\"/etc\"" -I. -D_FORTIFY_SOURCE=2 -fpic -D_REENTRANT -Wall -O2 -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wnested-externs -Winline -W -Wmissing-prototypes -Wundef -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt lib/conf-parse.c | \ sed -e 's@^\(.*\)\.o:@lib/conf-parse.ld lib/conf-parse.lo: Makefile '`dirname lib/conf-parse.ld`/Module.mk' @' > lib/conf-parse.ld gcc -M -MG -DETCDIR="\"/etc\"" -I. -D_FORTIFY_SOURCE=2 -fpic -D_REENTRANT -Wall -O2 -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wnested-externs -Winline -W -Wmissing-prototypes -Wundef -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt lib/sysfs.c | \ sed -e 's@^\(.*\)\.o:@lib/sysfs.ld lib/sysfs.lo: Makefile '`dirname lib/sysfs.ld`/Module.mk' @' > lib/sysfs.ld gcc -M -MG -DETCDIR="\"/etc\"" -I. -D_FORTIFY_SOURCE=2 -fpic -D_REENTRANT -Wall -O2 -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wnested-externs -Winline -W -Wmissing-prototypes -Wundef -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt lib/init.c | \ sed -e 's@^\(.*\)\.o:@lib/init.ld lib/init.lo: Makefile '`dirname lib/init.ld`/Module.mk' @' > lib/init.ld gcc -M -MG -DETCDIR="\"/etc\"" -I. -D_FORTIFY_SOURCE=2 -fpic -D_REENTRANT -Wall -O2 -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wnested-externs -Winline -W -Wmissing-prototypes -Wundef -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt lib/access.c | \ sed -e 's@^\(.*\)\.o:@lib/access.ld lib/access.lo: Makefile '`dirname lib/access.ld`/Module.mk' @' > lib/access.ld gcc -M -MG -DETCDIR="\"/etc\"" -I. -D_FORTIFY_SOURCE=2 -fpic -D_REENTRANT -Wall -O2 -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wnested-externs -Winline -W -Wmissing-prototypes -Wundef -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt lib/error.c | \ sed -e 's@^\(.*\)\.o:@lib/error.ld lib/error.lo: Makefile '`dirname lib/error.ld`/Module.mk' @' > lib/error.ld gcc -M -MG -DETCDIR="\"/etc\"" -I. -D_FORTIFY_SOURCE=2 -fpic -D_REENTRANT -Wall -O2 -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wnested-externs -Winline -W -Wmissing-prototypes -Wundef -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt lib/general.c | \ sed -e 's@^\(.*\)\.o:@lib/general.ld lib/general.lo: Makefile '`dirname lib/general.ld`/Module.mk' @' > lib/general.ld gcc -M -MG -DETCDIR="\"/etc\"" -I. -D_FORTIFY_SOURCE=2 -fpic -D_REENTRANT -Wall -O2 -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wnested-externs -Winline -W -Wmissing-prototypes -Wundef -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt lib/data.c | \ sed -e 's@^\(.*\)\.o:@lib/data.ld lib/data.lo: Makefile '`dirname lib/data.ld`/Module.mk' @' > lib/data.ld gcc -DETCDIR="\"/etc\"" -I. -D_FORTIFY_SOURCE=2 -fpic -D_REENTRANT -Wall -O2 -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wnested-externs -Winline -W -Wmissing-prototypes -Wundef -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -c lib/data.c -o lib/data.lo gcc -DETCDIR="\"/etc\"" -I. -D_FORTIFY_SOURCE=2 -fpic -D_REENTRANT -Wall -O2 -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wnested-externs -Winline -W -Wmissing-prototypes -Wundef -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -c lib/general.c -o lib/general.lo gcc -DETCDIR="\"/etc\"" -I. -D_FORTIFY_SOURCE=2 -fpic -D_REENTRANT -Wall -O2 -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wnested-externs -Winline -W -Wmissing-prototypes -Wundef -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -c lib/error.c -o lib/error.lo gcc -DETCDIR="\"/etc\"" -I. -D_FORTIFY_SOURCE=2 -fpic -D_REENTRANT -Wall -O2 -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wnested-externs -Winline -W -Wmissing-prototypes -Wundef -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -c lib/access.c -o lib/access.lo gcc -DETCDIR="\"/etc\"" -I. -D_FORTIFY_SOURCE=2 -fpic -D_REENTRANT -Wall -O2 -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wnested-externs -Winline -W -Wmissing-prototypes -Wundef -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -c lib/init.c -o lib/init.lo gcc -DETCDIR="\"/etc\"" -I. -D_FORTIFY_SOURCE=2 -fpic -D_REENTRANT -Wall -O2 -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wnested-externs -Winline -W -Wmissing-prototypes -Wundef -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -c lib/sysfs.c -o lib/sysfs.lo lib/sysfs.c: In function 'find_bus_type': lib/sysfs.c:637:8: warning: '/class/i2c-adapter/i2c-' directive output may be truncated writing 23 bytes into a region of size between 1 and 255 [-Wformat-truncation=] "%s/class/i2c-adapter/i2c-%d/device", ^~~~~~~~~~~~~~~~~~~~~~~ lib/sysfs.c:637:5: note: directive argument in the range [-32768, 32767] "%s/class/i2c-adapter/i2c-%d/device", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from lib/sensors.h:25, from lib/data.h:25, from lib/sysfs.c:34: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 32 and 291 bytes into a destination of size 255 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lib/sysfs.c: In function 'sensors_read_dynamic_chip': lib/sysfs.c:408:31: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 254 [-Wformat-truncation=] snprintf(path, NAME_MAX, "%s/%s", device, attr); ^~ In file included from /usr/include/stdio.h:867, from lib/sensors.h:25, from lib/data.h:25, from lib/sysfs.c:34: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 2 or more bytes (assuming 257) into a destination of size 255 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DETCDIR="\"/etc\"" -I. -D_FORTIFY_SOURCE=2 -fpic -D_REENTRANT -Wall -O2 -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wnested-externs -Winline -W -Wmissing-prototypes -Wundef -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -Wno-undef -c lib/conf-parse.c -o lib/conf-parse.lo gcc -DETCDIR="\"/etc\"" -I. -D_FORTIFY_SOURCE=2 -fpic -D_REENTRANT -Wall -O2 -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wnested-externs -Winline -W -Wmissing-prototypes -Wundef -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -Wno-shadow -Wno-undef -Wno-unused -Wno-missing-prototypes -Wno-sign-compare -c lib/conf-lex.c -o lib/conf-lex.lo gcc -shared -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -Wl,--version-script=lib/libsensors.map -Wl,-soname,libsensors.so.5 -o lib/libsensors.so.5.0.0 lib/data.lo lib/general.lo lib/error.lo lib/access.lo lib/init.lo lib/sysfs.lo lib/conf-parse.lo lib/conf-lex.lo -lc -lm rm -f lib/libsensors.so.5 ln -sf libsensors.so.5.0.0 lib/libsensors.so.5 rm -f lib/libsensors.so ln -sf libsensors.so.5.0.0 lib/libsensors.so gcc -DETCDIR="\"/etc\"" -I. -D_FORTIFY_SOURCE=2 -Wall -O2 -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wnested-externs -Winline -W -Wmissing-prototypes -Wundef -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -c lib/data.c -o lib/data.ao gcc -DETCDIR="\"/etc\"" -I. -D_FORTIFY_SOURCE=2 -Wall -O2 -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wnested-externs -Winline -W -Wmissing-prototypes -Wundef -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -c lib/general.c -o lib/general.ao gcc -DETCDIR="\"/etc\"" -I. -D_FORTIFY_SOURCE=2 -Wall -O2 -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wnested-externs -Winline -W -Wmissing-prototypes -Wundef -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -c lib/error.c -o lib/error.ao gcc -DETCDIR="\"/etc\"" -I. -D_FORTIFY_SOURCE=2 -Wall -O2 -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wnested-externs -Winline -W -Wmissing-prototypes -Wundef -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -c lib/access.c -o lib/access.ao gcc -DETCDIR="\"/etc\"" -I. -D_FORTIFY_SOURCE=2 -Wall -O2 -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wnested-externs -Winline -W -Wmissing-prototypes -Wundef -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -c lib/init.c -o lib/init.ao gcc -DETCDIR="\"/etc\"" -I. -D_FORTIFY_SOURCE=2 -Wall -O2 -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wnested-externs -Winline -W -Wmissing-prototypes -Wundef -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -c lib/sysfs.c -o lib/sysfs.ao lib/sysfs.c: In function 'find_bus_type': lib/sysfs.c:637:8: warning: '/class/i2c-adapter/i2c-' directive output may be truncated writing 23 bytes into a region of size between 1 and 255 [-Wformat-truncation=] "%s/class/i2c-adapter/i2c-%d/device", ^~~~~~~~~~~~~~~~~~~~~~~ lib/sysfs.c:637:5: note: directive argument in the range [-32768, 32767] "%s/class/i2c-adapter/i2c-%d/device", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from lib/sensors.h:25, from lib/data.h:25, from lib/sysfs.c:34: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 32 and 291 bytes into a destination of size 255 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lib/sysfs.c: In function 'sensors_read_dynamic_chip': lib/sysfs.c:408:31: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 254 [-Wformat-truncation=] snprintf(path, NAME_MAX, "%s/%s", device, attr); ^~ In file included from /usr/include/stdio.h:867, from lib/sensors.h:25, from lib/data.h:25, from lib/sysfs.c:34: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 2 or more bytes (assuming 257) into a destination of size 255 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DETCDIR="\"/etc\"" -I. -D_FORTIFY_SOURCE=2 -Wall -O2 -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wnested-externs -Winline -W -Wmissing-prototypes -Wundef -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -Wno-undef -c lib/conf-parse.c -o lib/conf-parse.ao gcc -DETCDIR="\"/etc\"" -I. -D_FORTIFY_SOURCE=2 -Wall -O2 -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wnested-externs -Winline -W -Wmissing-prototypes -Wundef -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -Wno-shadow -Wno-undef -Wno-unused -Wno-missing-prototypes -Wno-sign-compare -c lib/conf-lex.c -o lib/conf-lex.ao rm -f lib/libsensors.a ar rcvs lib/libsensors.a lib/data.ao lib/general.ao lib/error.ao lib/access.ao lib/init.ao lib/sysfs.ao lib/conf-parse.ao lib/conf-lex.ao a - lib/data.ao a - lib/general.ao a - lib/error.ao a - lib/access.ao a - lib/init.ao a - lib/sysfs.ao a - lib/conf-parse.ao a - lib/conf-lex.ao gcc -DETCDIR="\"/etc\"" -I. -D_FORTIFY_SOURCE=2 -Wall -O2 -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wnested-externs -Winline -W -Wmissing-prototypes -Wundef -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -c prog/sensors/main.c -o prog/sensors/main.ro gcc -DETCDIR="\"/etc\"" -I. -D_FORTIFY_SOURCE=2 -Wall -O2 -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wnested-externs -Winline -W -Wmissing-prototypes -Wundef -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -c prog/sensors/chips.c -o prog/sensors/chips.ro gcc -Wl,-rpath,/usr/lib -o prog/sensors/sensors prog/sensors/main.ro prog/sensors/chips.ro -Llib -lsensors gcc -DETCDIR="\"/etc\"" -I. -D_FORTIFY_SOURCE=2 -Wall -O2 -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wnested-externs -Winline -W -Wmissing-prototypes -Wundef -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -c prog/dump/isadump.c -o prog/dump/isadump.ro gcc -DETCDIR="\"/etc\"" -I. -D_FORTIFY_SOURCE=2 -Wall -O2 -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wnested-externs -Winline -W -Wmissing-prototypes -Wundef -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -c prog/dump/superio.c -o prog/dump/superio.ro gcc -DETCDIR="\"/etc\"" -I. -D_FORTIFY_SOURCE=2 -Wall -O2 -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wnested-externs -Winline -W -Wmissing-prototypes -Wundef -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -c prog/dump/util.c -o prog/dump/util.ro gcc -Wl,-rpath,/usr/lib -o prog/dump/isadump prog/dump/isadump.ro prog/dump/superio.ro prog/dump/util.ro gcc -DETCDIR="\"/etc\"" -I. -D_FORTIFY_SOURCE=2 -Wall -O2 -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wnested-externs -Winline -W -Wmissing-prototypes -Wundef -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -c prog/dump/isaset.c -o prog/dump/isaset.ro gcc -Wl,-rpath,/usr/lib -o prog/dump/isaset prog/dump/isaset.ro prog/dump/util.ro gcc -DETCDIR="\"/etc\"" -I. -D_FORTIFY_SOURCE=2 -Wall -O2 -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wnested-externs -Winline -W -Wmissing-prototypes -Wundef -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -c lib/test/test-scanner.c -o lib/test/test-scanner.ro gcc -Wl,-rpath,/usr/lib -o lib/test/test-scanner lib/test/test-scanner.ro lib/conf-lex.ao lib/error.ao lib/general.ao -Llib