* Package: sys-power/nvram-wakeup-1.1 * Repository: gentoo * Maintainer: base-system@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux nls split-usr userland_GNU * FEATURES: network-sandbox preserve-libs sandbox splitdebug userpriv usersandbox >>> Unpacking source... >>> Unpacking nvram-wakup-1.1.tar.gz to /var/tmp/portage/sys-power/nvram-wakeup-1.1/work >>> Source unpacked in /var/tmp/portage/sys-power/nvram-wakeup-1.1/work >>> Preparing source in /var/tmp/portage/sys-power/nvram-wakeup-1.1/work/nvram-wakup-1.1 ... * strip-flags: CFLAGS: changed '-O2 -pipe -march=native -falign-functions=32:25:16 -fno-common -Werror=format-security -Wformat' to '-O2 -pipe -march=native -Werror=format-security -Wformat' * strip-flags: CXXFLAGS: changed '-O2 -pipe -march=native -falign-functions=32:25:16 -fno-common -Werror=format-security -Wformat' to '-O2 -pipe -march=native -Werror=format-security -Wformat' >>> Source prepared. >>> Configuring source in /var/tmp/portage/sys-power/nvram-wakeup-1.1/work/nvram-wakup-1.1 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/sys-power/nvram-wakeup-1.1/work/nvram-wakup-1.1 ... make -j1 Preparing cvs_revs.h gcc -O2 -pipe -march=native -Werror=format-security -Wformat -Wall -Wstrict-prototypes -g -pedantic -D_GNU_SOURCE -c -o nvram-wakeup.o nvram-wakeup.c gcc -O2 -pipe -march=native -Werror=format-security -Wformat -Wall -Wstrict-prototypes -g -pedantic -D_GNU_SOURCE -c -o nvram-wakeup-mb.o nvram-wakeup-mb.c gcc -O2 -pipe -march=native -Werror=format-security -Wformat -Wall -Wstrict-prototypes -g -pedantic -D_GNU_SOURCE -c -o gmt-test.o gmt-test.c gcc -O2 -pipe -march=native -Werror=format-security -Wformat -Wall -Wstrict-prototypes -g -pedantic -D_GNU_SOURCE -c -o byteops.o byteops.c gcc -O2 -pipe -march=native -Werror=format-security -Wformat -Wall -Wstrict-prototypes -g -pedantic -D_GNU_SOURCE -c -o nvramops.o nvramops.c gcc -O2 -pipe -march=native -Werror=format-security -Wformat -Wall -Wstrict-prototypes -g -pedantic -D_GNU_SOURCE -c -o bios.o bios.c bios.c: In function ‘__dmi_string’: bios.c:75:16: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 75 | if ( (int)bp >= (int)data ) return NULL; /* broken DMI entry */ | ^ bios.c:75:27: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 75 | if ( (int)bp >= (int)data ) return NULL; /* broken DMI entry */ | ^ bios.c: In function ‘__dmi_probe’: bios.c:139:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 139 | if ( (int)data - (int)entry >= size-4 ) break; /* broken DMI euntry */ | ^ bios.c:139:38: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 139 | if ( (int)data - (int)entry >= size-4 ) break; /* broken DMI euntry */ | ^ bios.c:143:54: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 143 | i, (int)data - (int)entry, dm->type, dm->size, dm->size ); | ^ bios.c:143:66: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 143 | i, (int)data - (int)entry, dm->type, dm->size, dm->size ); | ^ gcc -O2 -pipe -march=native -Werror=format-security -Wformat -Wall -Wstrict-prototypes -g -pedantic -D_GNU_SOURCE -c -o tools.o tools.c tools.c: In function ‘nvprintf’: tools.c:125:21: error: format not a string literal and no format arguments [-Werror=format-security] 125 | syslog(lvl, msg); | ^~~~~~ tools.c: In function ‘xxd’: tools.c:170:110: warning: ‘__builtin___sprintf_chk’ may write a terminating nul past the end of the destination [-Wformat-overflow=] 170 | X%02X %02X%02X %02X%02X %02X%02X %02X%02X %02X%02X %02X%02X\n", i, | ^ In file included from /usr/include/stdio.h:867, from tools.c:26: /usr/include/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 50 and 51 bytes into a destination of size 50 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors make: *** [: tools.o] Error 1 * ERROR: sys-power/nvram-wakeup-1.1::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=sys-power/nvram-wakeup-1.1::gentoo'`, * the complete build log and the output of `emerge -pqv '=sys-power/nvram-wakeup-1.1::gentoo'`. * The complete build log is located at '/var/log/portage/sys-power:nvram-wakeup-1.1:20200326-085209.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/sys-power/nvram-wakeup-1.1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-power/nvram-wakeup-1.1/temp/environment'. * Working directory: '/var/tmp/portage/sys-power/nvram-wakeup-1.1/work/nvram-wakup-1.1' * S: '/var/tmp/portage/sys-power/nvram-wakeup-1.1/work/nvram-wakup-1.1'