Mock Version: 1.4.9 Mock Version: 1.4.9 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/nut-nutrition.spec'], chrootPath='/var/lib/mock/f29-build-24509-12530/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}shell=Falselogger=timeout=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/nut-nutrition.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/nut-nutrition-19.2-14.fc29.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/nut-nutrition.spec'], chrootPath='/var/lib/mock/f29-build-24509-12530/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}shell=Falselogger=timeout=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/nut-nutrition.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.DDPVE4 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf nut-19.2 + /usr/bin/gzip -dc /builddir/build/SOURCES/nut-19.2.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd nut-19.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #0 (nut-19.2-Makefile.patch): + echo 'Patch #0 (nut-19.2-Makefile.patch):' + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=0 patching file ./fltk/Makefile patching file ./Makefile patching file ./README + mv nut.1 nut-nutrition.1 -v renamed 'nut.1' -> 'nut-nutrition.1' + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.5y4oev + umask 022 + cd /builddir/build/BUILD + cd nut-19.2 + export 'CFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export 'CXXFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + make -j4 cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNUTDIR=\".nutdb\" -DFOODDIR=\"/usr//share/nut-nutrition\" -c -o remmeal.o remmeal.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNUTDIR=\".nutdb\" -DFOODDIR=\"/usr//share/nut-nutrition\" -c -o theusual.o theusual.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNUTDIR=\".nutdb\" -DFOODDIR=\"/usr//share/nut-nutrition\" -c -o db.o db.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNUTDIR=\".nutdb\" -DFOODDIR=\"/usr//share/nut-nutrition\" -c -o trendy.o trendy.c BUILDSTDERR: db.c: In function 'read_joined_db': BUILDSTDERR: db.c:111:12: warning: variable 'junk' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int count, junk, foodcount = 0; BUILDSTDERR: ^~~~ BUILDSTDERR: db.c: In function 'read_FOOD': BUILDSTDERR: db.c:193:12: warning: variable 'junk' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int count, junk, ndbno; BUILDSTDERR: ^~~~ BUILDSTDERR: db.c: In function 'write_OPTIONS': BUILDSTDERR: db.c:686:5: warning: variable 'block' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int block, i, field; BUILDSTDERR: ^~~~~ BUILDSTDERR: db.c: In function 'read_OPTIONS': BUILDSTDERR: db.c:741:5: warning: variable 'block' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int block, field; BUILDSTDERR: ^~~~~ BUILDSTDERR: db.c: In function 'write_fontsize': BUILDSTDERR: db.c:1047:5: warning: variable 'block' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int block; BUILDSTDERR: ^~~~~ BUILDSTDERR: db.c: In function 'version': BUILDSTDERR: db.c:975:1: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: fread(&release_string,8,1,fp); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: db.c: In function 'fontsize': BUILDSTDERR: db.c:1037:1: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: fread(&font_string,8,1,fp); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: trendy.c: In function 'get_trendy': BUILDSTDERR: trendy.c:375:1: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: fgets(buff,128,stdin); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNUTDIR=\".nutdb\" -DFOODDIR=\"/usr//share/nut-nutrition\" -c -o food.o food.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNUTDIR=\".nutdb\" -DFOODDIR=\"/usr//share/nut-nutrition\" -c -o util.o util.c BUILDSTDERR: util.c: In function 'get_qty': BUILDSTDERR: util.c:104:1: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: fgets(buff,128,stdin); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: util.c: In function 'get_select': BUILDSTDERR: util.c:176:1: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: fgets(buff,128,stdin); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: util.c: In function 'get_int': BUILDSTDERR: util.c:184:1: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: fgets(buff,128,stdin); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: util.c: In function 'get_float': BUILDSTDERR: util.c:191:1: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: fgets(buff,128,stdin); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: util.c: In function 'get_string': BUILDSTDERR: util.c:198:1: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: fgets(temp,128,stdin); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: db.c: In function 'write_recipe': BUILDSTDERR: db.c:634:17: warning: '%g' directive writing between 1 and 13 bytes into a region of size 11 [-Wformat-overflow=] BUILDSTDERR: sprintf(numbuf,"%g",food_ptr->qty); BUILDSTDERR: ^~ BUILDSTDERR: db.c:634:16: note: assuming directive output of 12 bytes BUILDSTDERR: sprintf(numbuf,"%g",food_ptr->qty); BUILDSTDERR: ^~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:873, BUILDSTDERR: from food.h:25, BUILDSTDERR: from db.h:31, BUILDSTDERR: from db.c:22: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 2 and 14 bytes into a destination of size 11 BUILDSTDERR: return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: db.c:641:17: warning: '%g' directive writing between 1 and 13 bytes into a region of size 11 [-Wformat-overflow=] BUILDSTDERR: sprintf(numbuf,"%g",food_ptr->grams); BUILDSTDERR: ^~ BUILDSTDERR: db.c:641:16: note: assuming directive output of 12 bytes BUILDSTDERR: sprintf(numbuf,"%g",food_ptr->grams); BUILDSTDERR: ^~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:873, BUILDSTDERR: from food.h:25, BUILDSTDERR: from db.h:31, BUILDSTDERR: from db.c:22: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 2 and 14 bytes into a destination of size 11 BUILDSTDERR: return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNUTDIR=\".nutdb\" -DFOODDIR=\"/usr//share/nut-nutrition\" -c -o meal.o meal.c BUILDSTDERR: db.c: In function 'write_serving': BUILDSTDERR: db.c:667:17: warning: '%g' directive writing between 1 and 13 bytes into a region of size 11 [-Wformat-overflow=] BUILDSTDERR: sprintf(numbuf,"%g",food_ptr->qty); BUILDSTDERR: ^~ BUILDSTDERR: db.c:667:16: note: assuming directive output of 12 bytes BUILDSTDERR: sprintf(numbuf,"%g",food_ptr->qty); BUILDSTDERR: ^~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:873, BUILDSTDERR: from food.h:25, BUILDSTDERR: from db.h:31, BUILDSTDERR: from db.c:22: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 2 and 14 bytes into a destination of size 11 BUILDSTDERR: return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: db.c:672:17: warning: '%g' directive writing between 1 and 13 bytes into a region of size 11 [-Wformat-overflow=] BUILDSTDERR: sprintf(numbuf,"%g",food_ptr->grams); BUILDSTDERR: ^~ BUILDSTDERR: db.c:672:16: note: assuming directive output of 12 bytes BUILDSTDERR: sprintf(numbuf,"%g",food_ptr->grams); BUILDSTDERR: ^~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:873, BUILDSTDERR: from food.h:25, BUILDSTDERR: from db.h:31, BUILDSTDERR: from db.c:22: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 2 and 14 bytes into a destination of size 11 BUILDSTDERR: return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNUTDIR=\".nutdb\" -DFOODDIR=\"/usr//share/nut-nutrition\" -c -o ranking.o ranking.c BUILDSTDERR: db.c: In function 'read_OPTIONS': BUILDSTDERR: db.c:792:54: warning: '%s' directive writing up to 50 bytes into a region of size 9 [-Wformat-overflow=] BUILDSTDERR: case LASTWLDATE : sprintf(options.lastwldate,"%s",valbuf1); BUILDSTDERR: ^~ ~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:873, BUILDSTDERR: from food.h:25, BUILDSTDERR: from db.h:31, BUILDSTDERR: from db.c:22: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 1 and 51 bytes into a destination of size 9 BUILDSTDERR: return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ranking.c: In function 'rank_foods': BUILDSTDERR: ranking.c:277:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: if (opt == 5) strncpy(thisname,food_ptr->name,52); thisname[52] = '\0'; BUILDSTDERR: ^~ BUILDSTDERR: ranking.c:277:54: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: if (opt == 5) strncpy(thisname,food_ptr->name,52); thisname[52] = '\0'; BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: db.c: In function 'write_WLOG': BUILDSTDERR: db.c:888:25: warning: '%s' directive writing up to 8 bytes into a region of size between 1 and 2000 [-Wformat-overflow=] BUILDSTDERR: sprintf(WLOGoldtoday,"%s%s",WLOGold,today_date); BUILDSTDERR: ^~ ~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:873, BUILDSTDERR: from food.h:25, BUILDSTDERR: from db.h:31, BUILDSTDERR: from db.c:22: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 1 and 2008 bytes into a destination of size 2000 BUILDSTDERR: return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: db.c: In function 'make_filenames': BUILDSTDERR: db.c:944:30: warning: '%s' directive writing up to 1999 bytes into a region of size between 1992 and 1998 [-Wformat-overflow=] BUILDSTDERR: sprintf(nutdirsubuser,"%s/%s/%s",getenv("HOME"),nutdir1,subuser); BUILDSTDERR: ^~ ~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:873, BUILDSTDERR: from food.h:25, BUILDSTDERR: from db.h:31, BUILDSTDERR: from db.c:22: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 3 or more bytes (assuming 2008) into a destination of size 2000 BUILDSTDERR: return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: db.c:951:21: warning: '%s' directive writing up to 1999 bytes into a region of size between 1992 and 1998 [-Wformat-overflow=] BUILDSTDERR: sprintf(WLOG,"%s/%s/%s/%s",getenv("HOME"),nutdir1,subuser,WLOG1); BUILDSTDERR: ^~ ~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:873, BUILDSTDERR: from food.h:25, BUILDSTDERR: from db.h:31, BUILDSTDERR: from db.c:22: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 4 or more bytes (assuming 2017) into a destination of size 2000 BUILDSTDERR: return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: db.c:952:24: warning: '%s' directive writing up to 1999 bytes into a region of size between 1992 and 1998 [-Wformat-overflow=] BUILDSTDERR: sprintf(WLOGold,"%s/%s/%s/%s",getenv("HOME"),nutdir1,subuser,WLOGold1); BUILDSTDERR: ^~ ~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:873, BUILDSTDERR: from food.h:25, BUILDSTDERR: from db.h:31, BUILDSTDERR: from db.c:22: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 4 or more bytes (assuming 2014) into a destination of size 2000 BUILDSTDERR: return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: db.c:953:24: warning: '%s' directive writing up to 1999 bytes into a region of size between 1992 and 1998 [-Wformat-overflow=] BUILDSTDERR: sprintf(WLOGaux,"%s/%s/%s/%s",getenv("HOME"),nutdir1,subuser,WLOGaux1); BUILDSTDERR: ^~ ~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:873, BUILDSTDERR: from food.h:25, BUILDSTDERR: from db.h:31, BUILDSTDERR: from db.c:22: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 4 or more bytes (assuming 2017) into a destination of size 2000 BUILDSTDERR: return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: db.c:954:26: warning: '%s' directive writing up to 1999 bytes into a region of size between 1992 and 1998 [-Wformat-overflow=] BUILDSTDERR: sprintf(localFOOD,"%s/%s/%s/%s",getenv("HOME"),nutdir1,subuser,localFOOD1); BUILDSTDERR: ^~ ~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:873, BUILDSTDERR: from food.h:25, BUILDSTDERR: from db.h:31, BUILDSTDERR: from db.c:22: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 4 or more bytes (assuming 2021) into a destination of size 2000 BUILDSTDERR: return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: db.c:955:25: warning: '%s' directive writing up to 1999 bytes into a region of size between 1992 and 1998 [-Wformat-overflow=] BUILDSTDERR: sprintf(localNUT,"%s/%s/%s/%s",getenv("HOME"),nutdir1,subuser,localNUT1); BUILDSTDERR: ^~ ~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:873, BUILDSTDERR: from food.h:25, BUILDSTDERR: from db.h:31, BUILDSTDERR: from db.c:22: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 4 or more bytes (assuming 2021) into a destination of size 2000 BUILDSTDERR: return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: db.c:956:28: warning: '%s' directive writing up to 1999 bytes into a region of size between 1992 and 1998 [-Wformat-overflow=] BUILDSTDERR: sprintf(localWEIGHT,"%s/%s/%s/%s",getenv("HOME"),nutdir1,subuser,localWEIGHT1); BUILDSTDERR: ^~ ~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:873, BUILDSTDERR: from food.h:25, BUILDSTDERR: from db.h:31, BUILDSTDERR: from db.c:22: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 4 or more bytes (assuming 2019) into a destination of size 2000 BUILDSTDERR: return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: db.c:957:25: warning: '%s' directive writing up to 1999 bytes into a region of size between 1992 and 1998 [-Wformat-overflow=] BUILDSTDERR: sprintf(foodfile,"%s/%s/%s/%s",getenv("HOME"),nutdir1,subuser,foodfile1); BUILDSTDERR: ^~ ~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:873, BUILDSTDERR: from food.h:25, BUILDSTDERR: from db.h:31, BUILDSTDERR: from db.c:22: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 4 or more bytes (assuming 2016) into a destination of size 2000 BUILDSTDERR: return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: db.c:958:25: warning: '%s' directive writing up to 1999 bytes into a region of size between 1992 and 1998 [-Wformat-overflow=] BUILDSTDERR: sprintf(mealfile,"%s/%s/%s/%s",getenv("HOME"),nutdir1,subuser,mealfile1); BUILDSTDERR: ^~ ~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:873, BUILDSTDERR: from food.h:25, BUILDSTDERR: from db.h:31, BUILDSTDERR: from db.c:22: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 4 or more bytes (assuming 2016) into a destination of size 2000 BUILDSTDERR: return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: db.c:959:28: warning: '%s' directive writing up to 1999 bytes into a region of size between 1992 and 1998 [-Wformat-overflow=] BUILDSTDERR: sprintf(mealexpfile,"%s/%s/%s/%s",getenv("HOME"),nutdir1,subuser,mealexpfile1); BUILDSTDERR: ^~ ~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:873, BUILDSTDERR: from food.h:25, BUILDSTDERR: from db.h:31, BUILDSTDERR: from db.c:22: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 4 or more bytes (assuming 2017) into a destination of size 2000 BUILDSTDERR: return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: db.c:960:32: warning: '%s' directive writing up to 1999 bytes into a region of size between 1992 and 1998 [-Wformat-overflow=] BUILDSTDERR: sprintf(theusualexpfile,"%s/%s/%s/%s",getenv("HOME"),nutdir1,subuser,theusualexpfile1); BUILDSTDERR: ^~ ~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:873, BUILDSTDERR: from food.h:25, BUILDSTDERR: from db.h:31, BUILDSTDERR: from db.c:22: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 4 or more bytes (assuming 2021) into a destination of size 2000 BUILDSTDERR: return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: db.c:961:29: warning: '%s' directive writing up to 1999 bytes into a region of size between 1992 and 1998 [-Wformat-overflow=] BUILDSTDERR: sprintf(theusualfile,"%s/%s/%s/%s",getenv("HOME"),nutdir1,subuser,theusualfile1); BUILDSTDERR: ^~ ~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:873, BUILDSTDERR: from food.h:25, BUILDSTDERR: from db.h:31, BUILDSTDERR: from db.c:22: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 4 or more bytes (assuming 2020) into a destination of size 2000 BUILDSTDERR: return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: db.c:962:28: warning: '%s' directive writing up to 1999 bytes into a region of size between 1992 and 1998 [-Wformat-overflow=] BUILDSTDERR: sprintf(optionsfile,"%s/%s/%s/%s",getenv("HOME"),nutdir1,subuser,optionsfile1); BUILDSTDERR: ^~ ~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:873, BUILDSTDERR: from food.h:25, BUILDSTDERR: from db.h:31, BUILDSTDERR: from db.c:22: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 4 or more bytes (assuming 2019) into a destination of size 2000 BUILDSTDERR: return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: db.c:963:29: warning: '%s' directive writing up to 1999 bytes into a region of size between 1992 and 1998 [-Wformat-overflow=] BUILDSTDERR: sprintf(localOPTIONS,"%s/%s/%s/%s",getenv("HOME"),nutdir1,subuser,localOPTIONS1); BUILDSTDERR: ^~ ~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:873, BUILDSTDERR: from food.h:25, BUILDSTDERR: from db.h:31, BUILDSTDERR: from db.c:22: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 4 or more bytes (assuming 2020) into a destination of size 2000 BUILDSTDERR: return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: db.c:964:28: warning: '%s' directive writing up to 1999 bytes into a region of size between 1992 and 1998 [-Wformat-overflow=] BUILDSTDERR: sprintf(versionfile,"%s/%s/%s/%s",getenv("HOME"),nutdir1,subuser,versionfile1); BUILDSTDERR: ^~ ~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:873, BUILDSTDERR: from food.h:25, BUILDSTDERR: from db.h:31, BUILDSTDERR: from db.c:22: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 4 or more bytes (assuming 2016) into a destination of size 2000 BUILDSTDERR: return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: db.c:965:29: warning: '%s' directive writing up to 1999 bytes into a region of size between 1992 and 1998 [-Wformat-overflow=] BUILDSTDERR: sprintf(fontsizefile,"%s/%s/%s/%s",getenv("HOME"),nutdir1,subuser,fontsizefile1); BUILDSTDERR: ^~ ~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:873, BUILDSTDERR: from food.h:25, BUILDSTDERR: from db.h:31, BUILDSTDERR: from db.c:22: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 4 or more bytes (assuming 2017) into a destination of size 2000 BUILDSTDERR: return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNUTDIR=\".nutdb\" -DFOODDIR=\"/usr//share/nut-nutrition\" -c -o menu.o menu.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNUTDIR=\".nutdb\" -DFOODDIR=\"/usr//share/nut-nutrition\" -c -o options.o options.c BUILDSTDERR: options.c: In function 'new_nut_levels': BUILDSTDERR: options.c:720:5: warning: variable 'junk' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int junk; BUILDSTDERR: ^~~~ BUILDSTDERR: options.c: In function 'get_cals': BUILDSTDERR: options.c:587:1: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: fgets(buff,128,stdin); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNUTDIR=\".nutdb\" -DFOODDIR=\"/usr//share/nut-nutrition\" -c -o main.o main.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNUTDIR=\".nutdb\" -DFOODDIR=\"/usr//share/nut-nutrition\" -c -o prtmenu.o prtmenu.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNUTDIR=\".nutdb\" -DFOODDIR=\"/usr//share/nut-nutrition\" -c -o recmeal.o recmeal.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNUTDIR=\".nutdb\" -DFOODDIR=\"/usr//share/nut-nutrition\" -c -o viewfood.o viewfood.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNUTDIR=\".nutdb\" -DFOODDIR=\"/usr//share/nut-nutrition\" -c -o anameal.o anameal.c BUILDSTDERR: recmeal.c: In function 'record_meals': BUILDSTDERR: recmeal.c:40:24: warning: variable 'junk' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int meal = 0, modfood, junk, savescreen; BUILDSTDERR: ^~~~ BUILDSTDERR: recmeal.c: In function 'today': BUILDSTDERR: recmeal.c:236:22: warning: '%02d' directive writing between 2 and 10 bytes into a region of size 5 [-Wformat-overflow=] BUILDSTDERR: sprintf(meal_date+4,"%02d",month); BUILDSTDERR: ^~~~ BUILDSTDERR: recmeal.c:236:21: note: directive argument in the range [0, 2147483646] BUILDSTDERR: sprintf(meal_date+4,"%02d",month); BUILDSTDERR: ^~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:873, BUILDSTDERR: from food.h:25, BUILDSTDERR: from options.h:25, BUILDSTDERR: from anameal.h:25, BUILDSTDERR: from recmeal.c:22: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 3 and 11 bytes into a destination of size 5 BUILDSTDERR: return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: recmeal.c: In function 'time_machine': BUILDSTDERR: recmeal.c:265:22: warning: '%02d' directive writing between 2 and 10 bytes into a region of size 5 [-Wformat-overflow=] BUILDSTDERR: sprintf(meal_date+4,"%02d",month); BUILDSTDERR: ^~~~ BUILDSTDERR: recmeal.c:265:21: note: directive argument in the range [0, 2147483646] BUILDSTDERR: sprintf(meal_date+4,"%02d",month); BUILDSTDERR: ^~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:873, BUILDSTDERR: from food.h:25, BUILDSTDERR: from options.h:25, BUILDSTDERR: from anameal.h:25, BUILDSTDERR: from recmeal.c:22: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 3 and 11 bytes into a destination of size 5 BUILDSTDERR: return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNUTDIR=\".nutdb\" -DFOODDIR=\"/usr//share/nut-nutrition\" -c -o addfood.o addfood.c BUILDSTDERR: recmeal.c: In function 'today_plus': BUILDSTDERR: recmeal.c:314:22: warning: '%02d' directive writing between 2 and 10 bytes into a region of size 5 [-Wformat-overflow=] BUILDSTDERR: sprintf(meal_date+4,"%02d",month); BUILDSTDERR: ^~~~ BUILDSTDERR: recmeal.c:314:21: note: directive argument in the range [0, 2147483646] BUILDSTDERR: sprintf(meal_date+4,"%02d",month); BUILDSTDERR: ^~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:873, BUILDSTDERR: from food.h:25, BUILDSTDERR: from options.h:25, BUILDSTDERR: from anameal.h:25, BUILDSTDERR: from recmeal.c:22: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 3 and 11 bytes into a destination of size 5 BUILDSTDERR: return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: addfood.c: In function 'get_recipe_qty': BUILDSTDERR: addfood.c:339:1: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: fgets(buff,128,stdin); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: addfood.c: In function 'get_nut_value': BUILDSTDERR: addfood.c:551:1: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: fgets(buff,128,stdin); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~ cd fltk; make make[1]: Entering directory '/builddir/build/BUILD/nut-19.2/fltk' g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNUTDIR=\".nutdb\" -DFOODDIR=\"/usr//share/nut-nutrition\" -DNOT_XFT -I.. -DNUTDIR=\".nutdb\" -DFOODDIR=\"/usr//share/nut-nutrition\" -c -o Nut_MenuButton.o Nut_MenuButton.cc g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNUTDIR=\".nutdb\" -DFOODDIR=\"/usr//share/nut-nutrition\" -DNOT_XFT -I.. -DNUTDIR=\".nutdb\" -DFOODDIR=\"/usr//share/nut-nutrition\" -c -o Nut_ValueOutput.o Nut_ValueOutput.cc g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNUTDIR=\".nutdb\" -DFOODDIR=\"/usr//share/nut-nutrition\" -DNOT_XFT -I.. -DNUTDIR=\".nutdb\" -DFOODDIR=\"/usr//share/nut-nutrition\" -c -o TheUsualNameWidget.o TheUsualNameWidget.cc g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNUTDIR=\".nutdb\" -DFOODDIR=\"/usr//share/nut-nutrition\" -DNOT_XFT -I.. -DNUTDIR=\".nutdb\" -DFOODDIR=\"/usr//share/nut-nutrition\" -c -o BodyFatValueOutput.o BodyFatValueOutput.cc g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNUTDIR=\".nutdb\" -DFOODDIR=\"/usr//share/nut-nutrition\" -DNOT_XFT -I.. -DNUTDIR=\".nutdb\" -DFOODDIR=\"/usr//share/nut-nutrition\" -c -o MissMealWidget.o MissMealWidget.cc g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNUTDIR=\".nutdb\" -DFOODDIR=\"/usr//share/nut-nutrition\" -DNOT_XFT -I.. -DNUTDIR=\".nutdb\" -DFOODDIR=\"/usr//share/nut-nutrition\" -c -o OunceValueOutput.o OunceValueOutput.cc g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNUTDIR=\".nutdb\" -DFOODDIR=\"/usr//share/nut-nutrition\" -DNOT_XFT -I.. -DNUTDIR=\".nutdb\" -DFOODDIR=\"/usr//share/nut-nutrition\" -c -o Nut_Pack.o Nut_Pack.cc g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNUTDIR=\".nutdb\" -DFOODDIR=\"/usr//share/nut-nutrition\" -DNOT_XFT -I.. -DNUTDIR=\".nutdb\" -DFOODDIR=\"/usr//share/nut-nutrition\" -c -o TheStory.o TheStory.cc g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNUTDIR=\".nutdb\" -DFOODDIR=\"/usr//share/nut-nutrition\" -DNOT_XFT -I.. -DNUTDIR=\".nutdb\" -DFOODDIR=\"/usr//share/nut-nutrition\" -c -o Nut_Scroll.o Nut_Scroll.cc cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNUTDIR=\".nutdb\" -DFOODDIR=\"/usr//share/nut-nutrition\" -lm -o nut-nutrition remmeal.o theusual.o db.o trendy.o food.o util.o meal.o ranking.o menu.o options.o main.o prtmenu.o recmeal.o viewfood.o anameal.o addfood.o g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNUTDIR=\".nutdb\" -DFOODDIR=\"/usr//share/nut-nutrition\" -DNOT_XFT -I.. -DNUTDIR=\".nutdb\" -DFOODDIR=\"/usr//share/nut-nutrition\" -c -o GramValueOutput.o GramValueOutput.cc g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNUTDIR=\".nutdb\" -DFOODDIR=\"/usr//share/nut-nutrition\" -DNOT_XFT -I.. -DNUTDIR=\".nutdb\" -DFOODDIR=\"/usr//share/nut-nutrition\" -c -o Nut.o Nut.cc BUILDSTDERR: TheStory.cc: In constructor 'TheStory::TheStory(int, int, int, int, Fl_Color)': BUILDSTDERR: TheStory.cc:70:63: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] BUILDSTDERR: o->callback(food_group_selector_cb, (void *) FdGrpMap[count]); BUILDSTDERR: ^ BUILDSTDERR: TheStory.cc:81:73: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] BUILDSTDERR: o->callback(food_group_selector_cb, (void *) (FdGrpMap[count+intdiv])); BUILDSTDERR: ^ g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNUTDIR=\".nutdb\" -DFOODDIR=\"/usr//share/nut-nutrition\" -DNOT_XFT -I.. -DNUTDIR=\".nutdb\" -DFOODDIR=\"/usr//share/nut-nutrition\" -c -o Nut_LightButton.o Nut_LightButton.cc g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNUTDIR=\".nutdb\" -DFOODDIR=\"/usr//share/nut-nutrition\" -DNOT_XFT -I.. -DNUTDIR=\".nutdb\" -DFOODDIR=\"/usr//share/nut-nutrition\" -c -o WeightCharts.o WeightCharts.cc g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNUTDIR=\".nutdb\" -DFOODDIR=\"/usr//share/nut-nutrition\" -DNOT_XFT -I.. -DNUTDIR=\".nutdb\" -DFOODDIR=\"/usr//share/nut-nutrition\" -c -o ServingMenuButton.o ServingMenuButton.cc g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNUTDIR=\".nutdb\" -DFOODDIR=\"/usr//share/nut-nutrition\" -DNOT_XFT -I.. -DNUTDIR=\".nutdb\" -DFOODDIR=\"/usr//share/nut-nutrition\" -c -o NutCharts.o NutCharts.cc BUILDSTDERR: ServingMenuButton.cc: In function 'void fill_serving_menu(food*)': BUILDSTDERR: ServingMenuButton.cc:62:42: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] BUILDSTDERR: pulldown[i-1].callback(menu_cb, (void *)i); BUILDSTDERR: ^ g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNUTDIR=\".nutdb\" -DFOODDIR=\"/usr//share/nut-nutrition\" -DNOT_XFT -I.. -DNUTDIR=\".nutdb\" -DFOODDIR=\"/usr//share/nut-nutrition\" -c -o ServingValueOutput.o ServingValueOutput.cc g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNUTDIR=\".nutdb\" -DFOODDIR=\"/usr//share/nut-nutrition\" -DNOT_XFT -I.. -DNUTDIR=\".nutdb\" -DFOODDIR=\"/usr//share/nut-nutrition\" -c -o Nut_Box.o Nut_Box.cc g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNUTDIR=\".nutdb\" -DFOODDIR=\"/usr//share/nut-nutrition\" -DNOT_XFT -I.. -DNUTDIR=\".nutdb\" -DFOODDIR=\"/usr//share/nut-nutrition\" -c -o Nut_Window.o Nut_Window.cc g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNUTDIR=\".nutdb\" -DFOODDIR=\"/usr//share/nut-nutrition\" -DNOT_XFT -I.. -DNUTDIR=\".nutdb\" -DFOODDIR=\"/usr//share/nut-nutrition\" -c -o Nut_LineChart.o Nut_LineChart.cc g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNUTDIR=\".nutdb\" -DFOODDIR=\"/usr//share/nut-nutrition\" -DNOT_XFT -I.. -DNUTDIR=\".nutdb\" -DFOODDIR=\"/usr//share/nut-nutrition\" -c -o DVValueOutput.o DVValueOutput.cc g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNUTDIR=\".nutdb\" -DFOODDIR=\"/usr//share/nut-nutrition\" -DNOT_XFT -I.. -DNUTDIR=\".nutdb\" -DFOODDIR=\"/usr//share/nut-nutrition\" -c -o AnalyzeMeals.o AnalyzeMeals.cc g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNUTDIR=\".nutdb\" -DFOODDIR=\"/usr//share/nut-nutrition\" -DNOT_XFT -I.. -DNUTDIR=\".nutdb\" -DFOODDIR=\"/usr//share/nut-nutrition\" -c -o Nut_ToggleButton.o Nut_ToggleButton.cc g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNUTDIR=\".nutdb\" -DFOODDIR=\"/usr//share/nut-nutrition\" -DNOT_XFT -I.. -DNUTDIR=\".nutdb\" -DFOODDIR=\"/usr//share/nut-nutrition\" -c -o Nut_Button.o Nut_Button.cc g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNUTDIR=\".nutdb\" -DFOODDIR=\"/usr//share/nut-nutrition\" -DNOT_XFT -I.. -DNUTDIR=\".nutdb\" -DFOODDIR=\"/usr//share/nut-nutrition\" -c -o NutValue.o NutValue.cc g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNUTDIR=\".nutdb\" -DFOODDIR=\"/usr//share/nut-nutrition\" -DNOT_XFT -I.. -DNUTDIR=\".nutdb\" -DFOODDIR=\"/usr//share/nut-nutrition\" -c -o GOLightButton.o GOLightButton.cc g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNUTDIR=\".nutdb\" -DFOODDIR=\"/usr//share/nut-nutrition\" -DNOT_XFT -I.. -DNUTDIR=\".nutdb\" -DFOODDIR=\"/usr//share/nut-nutrition\" -c -o MealFood.o MealFood.cc g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNUTDIR=\".nutdb\" -DFOODDIR=\"/usr//share/nut-nutrition\" -DNOT_XFT -I.. -DNUTDIR=\".nutdb\" -DFOODDIR=\"/usr//share/nut-nutrition\" -c -o CancelWidget.o CancelWidget.cc g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNUTDIR=\".nutdb\" -DFOODDIR=\"/usr//share/nut-nutrition\" -DNOT_XFT -I.. -DNUTDIR=\".nutdb\" -DFOODDIR=\"/usr//share/nut-nutrition\" -c -o FoodButton.o FoodButton.cc g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNUTDIR=\".nutdb\" -DFOODDIR=\"/usr//share/nut-nutrition\" -DNOT_XFT -I.. -DNUTDIR=\".nutdb\" -DFOODDIR=\"/usr//share/nut-nutrition\" -c -o Nut_Input.o Nut_Input.cc g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNUTDIR=\".nutdb\" -DFOODDIR=\"/usr//share/nut-nutrition\" -DNOT_XFT -I.. -DNUTDIR=\".nutdb\" -DFOODDIR=\"/usr//share/nut-nutrition\" -c -o MealCountValueOutput.o MealCountValueOutput.cc g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNUTDIR=\".nutdb\" -DFOODDIR=\"/usr//share/nut-nutrition\" -DNOT_XFT -I.. -DNUTDIR=\".nutdb\" -DFOODDIR=\"/usr//share/nut-nutrition\" -c -o MealValueOutput.o MealValueOutput.cc g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNUTDIR=\".nutdb\" -DFOODDIR=\"/usr//share/nut-nutrition\" -DNOT_XFT -I.. -DNUTDIR=\".nutdb\" -DFOODDIR=\"/usr//share/nut-nutrition\" -c -o ViewFoods.o ViewFoods.cc g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNUTDIR=\".nutdb\" -DFOODDIR=\"/usr//share/nut-nutrition\" -DNOT_XFT -I.. -DNUTDIR=\".nutdb\" -DFOODDIR=\"/usr//share/nut-nutrition\" -c -o PCF.o PCF.cc g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNUTDIR=\".nutdb\" -DFOODDIR=\"/usr//share/nut-nutrition\" -DNOT_XFT -I.. -DNUTDIR=\".nutdb\" -DFOODDIR=\"/usr//share/nut-nutrition\" -c -o AddToMealWidget.o AddToMealWidget.cc BUILDSTDERR: MealValueOutput.cc: In member function 'virtual int MealValueOutput::format(char*)': BUILDSTDERR: MealValueOutput.cc:82:28: warning: '%+d' directive writing between 2 and 11 bytes into a region of size 9 [-Wformat-overflow=] BUILDSTDERR: sprintf(current_meal_date,"%+d",v < 0 ? (v-options.mealsperday+1) / options.mealsperday : v / options.mealsperday); BUILDSTDERR: ^~~~~ BUILDSTDERR: MealValueOutput.cc:82:28: note: directive argument in the range [-2147483647, 2147483647] BUILDSTDERR: In file included from /usr/include/stdio.h:873, BUILDSTDERR: from ../food.h:25, BUILDSTDERR: from NutValue.h:27, BUILDSTDERR: from NutButtonWidget.h:26, BUILDSTDERR: from AnalyzeMeals.h:25, BUILDSTDERR: from Nut.h:28, BUILDSTDERR: from MealValueOutput.cc:22: BUILDSTDERR: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 3 and 12 bytes into a destination of size 9 BUILDSTDERR: return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: MealValueOutput.cc:82:28: warning: '%+d' directive writing between 2 and 11 bytes into a region of size 9 [-Wformat-overflow=] BUILDSTDERR: sprintf(current_meal_date,"%+d",v < 0 ? (v-options.mealsperday+1) / options.mealsperday : v / options.mealsperday); BUILDSTDERR: ^~~~~ BUILDSTDERR: MealValueOutput.cc:82:28: note: directive argument in the range [-2147483647, 2147483647] BUILDSTDERR: In file included from /usr/include/stdio.h:873, BUILDSTDERR: from ../food.h:25, BUILDSTDERR: from NutValue.h:27, BUILDSTDERR: from NutButtonWidget.h:26, BUILDSTDERR: from AnalyzeMeals.h:25, BUILDSTDERR: from Nut.h:28, BUILDSTDERR: from MealValueOutput.cc:22: BUILDSTDERR: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 3 and 12 bytes into a destination of size 9 BUILDSTDERR: return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: MealValueOutput.cc: In member function 'void MealValueOutput::set_value(double)': BUILDSTDERR: MealValueOutput.cc:95:27: warning: '%+d' directive writing between 2 and 11 bytes into a region of size 9 [-Wformat-overflow=] BUILDSTDERR: sprintf(current_meal_date,"%+d",newval < 0 ? (newval-options.mealsperday+1) / options.mealsperday : newval / options.mealsperday); BUILDSTDERR: ^~~~~ BUILDSTDERR: MealValueOutput.cc:95:27: note: directive argument in the range [-2147483647, 2147483647] BUILDSTDERR: In file included from /usr/include/stdio.h:873, BUILDSTDERR: from ../food.h:25, BUILDSTDERR: from NutValue.h:27, BUILDSTDERR: from NutButtonWidget.h:26, BUILDSTDERR: from AnalyzeMeals.h:25, BUILDSTDERR: from Nut.h:28, BUILDSTDERR: from MealValueOutput.cc:22: BUILDSTDERR: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 3 and 12 bytes into a destination of size 9 BUILDSTDERR: return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: MealValueOutput.cc:95:27: warning: '%+d' directive writing between 2 and 11 bytes into a region of size 9 [-Wformat-overflow=] BUILDSTDERR: sprintf(current_meal_date,"%+d",newval < 0 ? (newval-options.mealsperday+1) / options.mealsperday : newval / options.mealsperday); BUILDSTDERR: ^~~~~ BUILDSTDERR: MealValueOutput.cc:95:27: note: directive argument in the range [-2147483647, 2147483647] BUILDSTDERR: In file included from /usr/include/stdio.h:873, BUILDSTDERR: from ../food.h:25, BUILDSTDERR: from NutValue.h:27, BUILDSTDERR: from NutButtonWidget.h:26, BUILDSTDERR: from AnalyzeMeals.h:25, BUILDSTDERR: from Nut.h:28, BUILDSTDERR: from MealValueOutput.cc:22: BUILDSTDERR: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 3 and 12 bytes into a destination of size 9 BUILDSTDERR: return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNUTDIR=\".nutdb\" -DFOODDIR=\"/usr//share/nut-nutrition\" -DNOT_XFT -I.. -DNUTDIR=\".nutdb\" -DFOODDIR=\"/usr//share/nut-nutrition\" -c -o PersonalOptions.o PersonalOptions.cc g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNUTDIR=\".nutdb\" -DFOODDIR=\"/usr//share/nut-nutrition\" -DNOT_XFT -I.. -DNUTDIR=\".nutdb\" -DFOODDIR=\"/usr//share/nut-nutrition\" -c -o NewRecipeWidget.o NewRecipeWidget.cc g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNUTDIR=\".nutdb\" -DFOODDIR=\"/usr//share/nut-nutrition\" -DNOT_XFT -I.. -DNUTDIR=\".nutdb\" -DFOODDIR=\"/usr//share/nut-nutrition\" -c -o NutButtonWidget.o NutButtonWidget.cc g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNUTDIR=\".nutdb\" -DFOODDIR=\"/usr//share/nut-nutrition\" -DNOT_XFT -I.. -DNUTDIR=\".nutdb\" -DFOODDIR=\"/usr//share/nut-nutrition\" -c -o FoodChoice.o FoodChoice.cc g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNUTDIR=\".nutdb\" -DFOODDIR=\"/usr//share/nut-nutrition\" -DNOT_XFT -I.. -DNUTDIR=\".nutdb\" -DFOODDIR=\"/usr//share/nut-nutrition\" -c -o DeficNut.o DeficNut.cc BUILDSTDERR: PersonalOptions.cc: In function 'void longterm_idle_cb(void*)': BUILDSTDERR: PersonalOptions.cc:75:26: warning: '%s' directive writing up to 255 bytes into a region of size between 0 and 2047 [-Wformat-overflow=] BUILDSTDERR: else sprintf(userfile,"%s/%s%s",userdir,subuser,namelist[s]->d_name); BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:873, BUILDSTDERR: from ../food.h:25, BUILDSTDERR: from NutValue.h:27, BUILDSTDERR: from NutButtonWidget.h:26, BUILDSTDERR: from AnalyzeMeals.h:25, BUILDSTDERR: from Nut.h:28, BUILDSTDERR: from PersonalOptions.cc:22: BUILDSTDERR: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output 2 or more bytes (assuming 2304) into a destination of size 2048 BUILDSTDERR: return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: PersonalOptions.cc:74:47: warning: '%s' directive writing up to 255 bytes into a region of size between 1 and 2048 [-Wformat-overflow=] BUILDSTDERR: if (strlen(subuser) != 0) sprintf(userfile,"%s%s",userdir,namelist[s]->d_name); BUILDSTDERR: ^~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:873, BUILDSTDERR: from ../food.h:25, BUILDSTDERR: from NutValue.h:27, BUILDSTDERR: from NutButtonWidget.h:26, BUILDSTDERR: from AnalyzeMeals.h:25, BUILDSTDERR: from Nut.h:28, BUILDSTDERR: from PersonalOptions.cc:22: BUILDSTDERR: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 1 and 2303 bytes into a destination of size 2048 BUILDSTDERR: return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: PersonalOptions.cc:176:21: warning: '6 months' directive writing 8 bytes into a region of size 6 [-Wformat-overflow=] BUILDSTDERR: sprintf(unitstring,"6 months"); BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:873, BUILDSTDERR: from ../food.h:25, BUILDSTDERR: from NutValue.h:27, BUILDSTDERR: from NutButtonWidget.h:26, BUILDSTDERR: from AnalyzeMeals.h:25, BUILDSTDERR: from Nut.h:28, BUILDSTDERR: from PersonalOptions.cc:22: BUILDSTDERR: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output 9 bytes into a destination of size 6 BUILDSTDERR: return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In function 'int sprintf(char*, const char*, ...)', BUILDSTDERR: inlined from 'void longterm_idle_cb(void*)' at PersonalOptions.cc:176:9: BUILDSTDERR: /usr/include/bits/stdio2.h:36:34: warning: 'int __builtin___sprintf_chk(char*, int, long unsigned int, const char*, ...)' writing 9 bytes into a region of size 6 overflows the destination [-Wstringop-overflow=] g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNUTDIR=\".nutdb\" -DFOODDIR=\"/usr//share/nut-nutrition\" -DNOT_XFT -I.. -DNUTDIR=\".nutdb\" -DFOODDIR=\"/usr//share/nut-nutrition\" -c -o CalorieValueOutput.o CalorieValueOutput.cc g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNUTDIR=\".nutdb\" -DFOODDIR=\"/usr//share/nut-nutrition\" -DNOT_XFT -I.. -DNUTDIR=\".nutdb\" -DFOODDIR=\"/usr//share/nut-nutrition\" -c -o RecordMeals.o RecordMeals.cc g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNUTDIR=\".nutdb\" -DFOODDIR=\"/usr//share/nut-nutrition\" -DNOT_XFT -I.. -DNUTDIR=\".nutdb\" -DFOODDIR=\"/usr//share/nut-nutrition\" -c -o AddRecipe.o AddRecipe.cc g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNUTDIR=\".nutdb\" -DFOODDIR=\"/usr//share/nut-nutrition\" -DNOT_XFT -I.. -DNUTDIR=\".nutdb\" -DFOODDIR=\"/usr//share/nut-nutrition\" -c -o NutButton.o NutButton.cc g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNUTDIR=\".nutdb\" -DFOODDIR=\"/usr//share/nut-nutrition\" -DNOT_XFT -I.. -DNUTDIR=\".nutdb\" -DFOODDIR=\"/usr//share/nut-nutrition\" -c -o PrintMenus.o PrintMenus.cc g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNUTDIR=\".nutdb\" -DFOODDIR=\"/usr//share/nut-nutrition\" -DNOT_XFT -I.. -DNUTDIR=\".nutdb\" -DFOODDIR=\"/usr//share/nut-nutrition\" -c -o FoodRanking.o FoodRanking.cc g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNUTDIR=\".nutdb\" -DFOODDIR=\"/usr//share/nut-nutrition\" -DNOT_XFT -I.. -DNUTDIR=\".nutdb\" -DFOODDIR=\"/usr//share/nut-nutrition\" -c -o main.o main.cc g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNUTDIR=\".nutdb\" -DFOODDIR=\"/usr//share/nut-nutrition\" -DNOT_XFT -I.. -DNUTDIR=\".nutdb\" -DFOODDIR=\"/usr//share/nut-nutrition\" -c -o WeightLogWidget.o WeightLogWidget.cc g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNUTDIR=\".nutdb\" -DFOODDIR=\"/usr//share/nut-nutrition\" -DNOT_XFT -I.. -DNUTDIR=\".nutdb\" -DFOODDIR=\"/usr//share/nut-nutrition\" -c -o BackToMenu.o BackToMenu.cc BUILDSTDERR: FoodRanking.cc: In member function 'void FoodRanking::per_100_grams(int, int)': BUILDSTDERR: FoodRanking.cc:222:14: warning: variable 'food_ptr' set but not used [-Wunused-but-set-variable] BUILDSTDERR: struct food *food_ptr = &food_root; BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: FoodRanking.cc: In member function 'void FoodRanking::per_100_grams_within_food_group(int, int)': BUILDSTDERR: FoodRanking.cc:292:14: warning: variable 'food_ptr' set but not used [-Wunused-but-set-variable] BUILDSTDERR: struct food *food_ptr = &food_root; BUILDSTDERR: ^~~~~~~~ g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNUTDIR=\".nutdb\" -DFOODDIR=\"/usr//share/nut-nutrition\" -DNOT_XFT -I.. -DNUTDIR=\".nutdb\" -DFOODDIR=\"/usr//share/nut-nutrition\" -c -o Nut_ReturnButton.o Nut_ReturnButton.cc g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNUTDIR=\".nutdb\" -DFOODDIR=\"/usr//share/nut-nutrition\" -DNOT_XFT -I.. -DNUTDIR=\".nutdb\" -DFOODDIR=\"/usr//share/nut-nutrition\" -c -o MealFoodValueOutput.o MealFoodValueOutput.cc g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNUTDIR=\".nutdb\" -DFOODDIR=\"/usr//share/nut-nutrition\" -DNOT_XFT -I.. -DNUTDIR=\".nutdb\" -DFOODDIR=\"/usr//share/nut-nutrition\" -c -o FoodSuggestions.o FoodSuggestions.cc g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNUTDIR=\".nutdb\" -DFOODDIR=\"/usr//share/nut-nutrition\" -DNOT_XFT -I.. -DNUTDIR=\".nutdb\" -DFOODDIR=\"/usr//share/nut-nutrition\" -c -o TheUsualMenuButton.o TheUsualMenuButton.cc BUILDSTDERR: TheUsualMenuButton.cc: In member function 'void TheUsualMenuButton::initialize_theusual()': BUILDSTDERR: TheUsualMenuButton.cc:87:78: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] BUILDSTDERR: add_pulldown[c].add(theusual_ptr->meal_date, 0, tu_add_to_meal_cb, (void *) c, 0); BUILDSTDERR: ^ BUILDSTDERR: TheUsualMenuButton.cc:88:73: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] BUILDSTDERR: delete_pulldown[c].add(theusual_ptr->meal_date, 0, delete_cb, (void *) c, 0); BUILDSTDERR: ^ BUILDSTDERR: TheUsualMenuButton.cc:91:37: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] BUILDSTDERR: add_pulldown[c].user_data((void *) c); BUILDSTDERR: ^ BUILDSTDERR: TheUsualMenuButton.cc:92:40: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] BUILDSTDERR: delete_pulldown[c].user_data((void *) c); BUILDSTDERR: ^ g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNUTDIR=\".nutdb\" -DFOODDIR=\"/usr//share/nut-nutrition\" -DNOT_XFT -I.. -DNUTDIR=\".nutdb\" -DFOODDIR=\"/usr//share/nut-nutrition\" `fltk-config --ldflags` -o nut-nutrition-gui ../anameal.o ../db.o ../food.o ../meal.o ../options.o ../prtmenu.o ../ranking.o ../recmeal.o ../trendy.o ../util.o Nut_MenuButton.o Nut_ValueOutput.o TheUsualNameWidget.o BodyFatValueOutput.o MissMealWidget.o OunceValueOutput.o Nut_Pack.o TheStory.o Nut_Scroll.o GramValueOutput.o Nut.o Nut_LightButton.o WeightCharts.o ServingMenuButton.o NutCharts.o ServingValueOutput.o Nut_Box.o Nut_Window.o Nut_LineChart.o DVValueOutput.o AnalyzeMeals.o Nut_ToggleButton.o Nut_Button.o NutValue.o GOLightButton.o MealFood.o CancelWidget.o FoodButton.o Nut_Input.o MealCountValueOutput.o MealValueOutput.o ViewFoods.o PCF.o AddToMealWidget.o PersonalOptions.o NewRecipeWidget.o NutButtonWidget.o FoodChoice.o DeficNut.o CalorieValueOutput.o RecordMeals.o AddRecipe.o NutButton.o PrintMenus.o FoodRanking.o main.o WeightLogWidget.o BackToMenu.o Nut_ReturnButton.o MealFoodValueOutput.o FoodSuggestions.o TheUsualMenuButton.o make[1]: Leaving directory '/builddir/build/BUILD/nut-19.2/fltk' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.0S6oIf + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/nut-nutrition-19.2-14.fc29.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/nut-nutrition-19.2-14.fc29.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/nut-nutrition-19.2-14.fc29.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/nut-nutrition-19.2-14.fc29.riscv64 + cd nut-19.2 + make install DESTDIR=/builddir/build/BUILDROOT/nut-nutrition-19.2-14.fc29.riscv64 cc -DNUTDIR=\".nutdb\" -DFOODDIR=\"/usr//share/nut-nutrition\" -lm -o nut-nutrition remmeal.o theusual.o trendy.o db.o food.o util.o meal.o ranking.o anameal.o menu.o options.o main.o prtmenu.o recmeal.o viewfood.o addfood.o mkdir -p -m 755 /builddir/build/BUILDROOT/nut-nutrition-19.2-14.fc29.riscv64//usr//bin /builddir/build/BUILDROOT/nut-nutrition-19.2-14.fc29.riscv64//usr//share/nut-nutrition /builddir/build/BUILDROOT/nut-nutrition-19.2-14.fc29.riscv64//usr//share/man/man1 cp nut-nutrition fltk/nut-nutrition-gui /builddir/build/BUILDROOT/nut-nutrition-19.2-14.fc29.riscv64//usr//bin cd /builddir/build/BUILDROOT/nut-nutrition-19.2-14.fc29.riscv64//usr//bin cp raw.data/* /builddir/build/BUILDROOT/nut-nutrition-19.2-14.fc29.riscv64//usr//share/nut-nutrition cp nut-nutrition.1 /builddir/build/BUILDROOT/nut-nutrition-19.2-14.fc29.riscv64//usr//share/man/man1 chmod a+r /builddir/build/BUILDROOT/nut-nutrition-19.2-14.fc29.riscv64//usr//share/nut-nutrition/* /builddir/build/BUILDROOT/nut-nutrition-19.2-14.fc29.riscv64//usr//share/man/man1/nut.1 BUILDSTDERR: chmod: cannot access '/builddir/build/BUILDROOT/nut-nutrition-19.2-14.fc29.riscv64//usr//share/man/man1/nut.1': No such file or directory BUILDSTDERR: make: [Makefile:42: install] Error 1 (ignored) + mkdir -p /builddir/build/BUILDROOT/nut-nutrition-19.2-14.fc29.riscv64/usr/share/applications + desktop-file-install --dir /builddir/build/BUILDROOT/nut-nutrition-19.2-14.fc29.riscv64/usr/share/applications /builddir/build/SOURCES/nut-nutrition.desktop + mkdir -p /builddir/build/BUILDROOT/nut-nutrition-19.2-14.fc29.riscv64/usr/share/metainfo/ + install -p -m 644 /builddir/build/SOURCES/nut-nutrition.appdata.xml /builddir/build/BUILDROOT/nut-nutrition-19.2-14.fc29.riscv64/usr/share/metainfo/nut-nutrition.appdata.xml + appstream-util validate-relax --nonet /builddir/build/BUILDROOT/nut-nutrition-19.2-14.fc29.riscv64/usr/share/metainfo/nut-nutrition.appdata.xml BUILDSTDERR: /builddir/build/BUILDROOT/nut-nutrition-19.2-14.fc29.riscv64/usr/share/metainfo/nut-nutrition.appdata.xml: GLib-GIO-Message: 22:07:41.927: Using the 'memory' GSettings backend. Your settings will not be saved or shared with other applications. OK + mkdir -p /builddir/build/BUILDROOT/nut-nutrition-19.2-14.fc29.riscv64/usr/share/pixmaps + install -p -m 644 nuticon.xpm /builddir/build/BUILDROOT/nut-nutrition-19.2-14.fc29.riscv64/usr/share/pixmaps/nuticon.xpm + mkdir -p /builddir/build/BUILDROOT/nut-nutrition-19.2-14.fc29.riscv64//usr/share/icons/ + install -p -m 644 nuticon.png /builddir/build/BUILDROOT/nut-nutrition-19.2-14.fc29.riscv64/usr/share/icons/ + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 19.2-14.fc29 --unique-debug-suffix -19.2-14.fc29.riscv64 --unique-debug-src-base nut-nutrition-19.2-14.fc29.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/nut-19.2 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/nut-nutrition-19.2-14.fc29.riscv64/usr/bin/nut-nutrition explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/nut-nutrition-19.2-14.fc29.riscv64/usr/bin/nut-nutrition-gui extracting debug info from /builddir/build/BUILDROOT/nut-nutrition-19.2-14.fc29.riscv64/usr/bin/nut-nutrition extracting debug info from /builddir/build/BUILDROOT/nut-nutrition-19.2-14.fc29.riscv64/usr/bin/nut-nutrition-gui /usr/lib/rpm/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. BUILDSTDERR: 1140 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig BUILDSTDERR: /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: nut-nutrition-19.2-14.fc29.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.8MaO9h + umask 022 + cd /builddir/build/BUILD + cd nut-19.2 + DOCDIR=/builddir/build/BUILDROOT/nut-nutrition-19.2-14.fc29.riscv64/usr/share/doc/nut-nutrition + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/nut-nutrition-19.2-14.fc29.riscv64/usr/share/doc/nut-nutrition + cp -pr README /builddir/build/BUILDROOT/nut-nutrition-19.2-14.fc29.riscv64/usr/share/doc/nut-nutrition + cp -pr CREDITS /builddir/build/BUILDROOT/nut-nutrition-19.2-14.fc29.riscv64/usr/share/doc/nut-nutrition + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.lVgXfT + umask 022 + cd /builddir/build/BUILD + cd nut-19.2 + LICENSEDIR=/builddir/build/BUILDROOT/nut-nutrition-19.2-14.fc29.riscv64/usr/share/licenses/nut-nutrition + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/nut-nutrition-19.2-14.fc29.riscv64/usr/share/licenses/nut-nutrition + cp -pr LICENSE /builddir/build/BUILDROOT/nut-nutrition-19.2-14.fc29.riscv64/usr/share/licenses/nut-nutrition + exit 0 Provides: application() application(nut-nutrition.desktop) metainfo() metainfo(nut-nutrition.appdata.xml) nut-nutrition = 19.2-14.fc29 nut-nutrition(riscv-64) = 19.2-14.fc29 Requires(interp): /bin/sh /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh Requires(postun): /bin/sh Requires(posttrans): /bin/sh Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libfltk.so.1.3()(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.27)(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) rtld(GNU_HASH) Processing files: nut-nutrition-debugsource-19.2-14.fc29.riscv64 Provides: nut-nutrition-debugsource = 19.2-14.fc29 nut-nutrition-debugsource(riscv-64) = 19.2-14.fc29 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: nut-nutrition-debuginfo-19.2-14.fc29.riscv64 Provides: debuginfo(build-id) = 87c9079fd3959d61e33161ade667baf60371a104 debuginfo(build-id) = ca7c8342e6f2e4a2f641ac7b1ab83619a6855c0a nut-nutrition-debuginfo = 19.2-14.fc29 nut-nutrition-debuginfo(riscv-64) = 19.2-14.fc29 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: nut-nutrition-debugsource(riscv-64) = 19.2-14.fc29 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/nut-nutrition-19.2-14.fc29.riscv64 Wrote: /builddir/build/RPMS/nut-nutrition-19.2-14.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/nut-nutrition-debugsource-19.2-14.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/nut-nutrition-debuginfo-19.2-14.fc29.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.52iBsq + umask 022 + cd /builddir/build/BUILD + cd nut-19.2 + /usr/bin/rm -rf /builddir/build/BUILDROOT/nut-nutrition-19.2-14.fc29.riscv64 + exit 0 Child return code was: 0