Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 544408 Details for
Bug 664214
app-text/getxbook-1.2 : getgbook.c:46:35: error: %s directive output may be truncated writing up to 1023 bytes into a region of size 1014 [-Werror=format-truncation=]
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
app-text:getxbook-1.2:20180821-185837.log
app-text:getxbook-1.2:20180821-185837.log (text/plain), 3.33 KB, created by
Toralf Förster
on 2018-08-21 19:21:34 UTC
(
hide
)
Description:
app-text:getxbook-1.2:20180821-185837.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2018-08-21 19:21:34 UTC
Size:
3.33 KB
patch
obsolete
> * Package: app-text/getxbook-1.2 > * Repository: gentoo > * Maintainer: grozin@gentoo.org > * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU > * FEATURES: network-sandbox preserve-libs sandbox test userpriv usersandbox >>>> Unpacking source... >>>> Unpacking getxbook-1.2.tar.xz to /var/tmp/portage/app-text/getxbook-1.2/work >>>> Source unpacked in /var/tmp/portage/app-text/getxbook-1.2/work >>>> Preparing source in /var/tmp/portage/app-text/getxbook-1.2/work/getxbook-1.2 ... > * Applying getxbook-1.2.patch ... > [ ok ] >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/app-text/getxbook-1.2/work/getxbook-1.2 ... >>>> Source configured. >>>> Compiling source in /var/tmp/portage/app-text/getxbook-1.2/work/getxbook-1.2 ... >make -j1 >CC getgbook.c >x86_64-pc-linux-gnu-gcc -c -O2 -pipe -march=native -std=c99 -pedantic -Wall -Wextra -Werror -g -D_POSIX_C_SOURCE=200112L -DVERSION=\"1.2\" getgbook.c >getgbook.c: In function âgetpagelistâ: >getgbook.c:46:35: error: â%sâ directive output may be truncated writing up to 1023 bytes into a region of size 1014 [-Werror=format-truncation=] > snprintf(url, URLMAX, "/books?id=%s&printsec=frontcover&redir_esc=y", bookid); > ^~ ~~~~~~ >In file included from /usr/include/stdio.h:862, > from getgbook.c:2: >/usr/include/bits/stdio2.h:64:10: note: â__builtin___snprintf_chkâ output between 43 and 1066 bytes into a destination of size 1024 > return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > __bos (__s), __fmt, __va_arg_pack ()); > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >getgbook.c: In function âgetpageurlsâ: >getgbook.c:85:35: error: â%sâ directive output may be truncated writing up to 1023 bytes into a region of size 1014 [-Werror=format-truncation=] > snprintf(url, URLMAX, "/books?id=%s&pg=%s&jscmd=click3&q=subject:a&redir_esc=y", bookid, pagecode); > ^~ ~~~~~~ >In file included from /usr/include/stdio.h:862, > from getgbook.c:2: >/usr/include/bits/stdio2.h:64:10: note: â__builtin___snprintf_chkâ output 52 or more bytes (assuming 1075) into a destination of size 1024 > return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > __bos (__s), __fmt, __va_arg_pack ()); > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >cc1: all warnings being treated as errors >make: *** [Makefile:36: getgbook.o] Error 1 > * ERROR: app-text/getxbook-1.2::gentoo failed (compile phase): > * emake failed > * > * If you need support, post the output of `emerge --info '=app-text/getxbook-1.2::gentoo'`, > * the complete build log and the output of `emerge -pqv '=app-text/getxbook-1.2::gentoo'`. > * The complete build log is located at '/var/log/portage/app-text:getxbook-1.2:20180821-185837.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/app-text/getxbook-1.2/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/app-text/getxbook-1.2/temp/environment'. > * Working directory: '/var/tmp/portage/app-text/getxbook-1.2/work/getxbook-1.2' > * S: '/var/tmp/portage/app-text/getxbook-1.2/work/getxbook-1.2'
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 664214
:
544406
| 544408 |
544410
|
544412
|
544414
|
544416
|
568092