Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 626096 Details for
Bug 714832
sys-power/nvram-wakeup-1.1 : tools.c: error: format not a string literal and no format arguments [-Werror=format-security]
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
sys-power:nvram-wakeup-1.1:20200326-085209.log
sys-power:nvram-wakeup-1.1:20200326-085209.log (text/plain), 5.47 KB, created by
Toralf Förster
on 2020-03-26 09:15:32 UTC
(
hide
)
Description:
sys-power:nvram-wakeup-1.1:20200326-085209.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2020-03-26 09:15:32 UTC
Size:
5.47 KB
patch
obsolete
> * 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: *** [<builtin>: 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'
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 714832
:
626088
|
626090
|
626092
|
626094
| 626096 |
626098