Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 568092 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]
getxbook error log
getxbook-error.txt (text/plain), 10.05 KB, created by
rogge
on 2019-03-07 18:13:30 UTC
(
hide
)
Description:
getxbook error log
Filename:
MIME Type:
Creator:
rogge
Created:
2019-03-07 18:13:30 UTC
Size:
10.05 KB
patch
obsolete
>getabook.c: In function âgetpagelistâ: >getabook.c:76:80: error: â%sâ directive output may be truncated writing up to 10 23 bytes into a region of size 969 [-Werror=format-truncation=] > rl, URLMAX, "/gp/search-inside/service-data?method=getBookData&asin=%s", booki) ; > ^~ ~~~~~ > >In file included from /usr/include/stdio.h:862, > from getabook.c:2: >/usr/include/bits/stdio2.h:64:10: note: â__builtin___snprintf_chkâ output betwee n 56 and 1079 bytes into a destination of size 1024 > return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > __bos (__s), __fmt, __va_arg_pack ()); > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >getabook.c: In function âgetpageurlsâ: >getabook.c:134:48: error: â%sâ directive output may be truncated writing up to 1 023 bytes into a region of size 1003 [-Werror=format-truncation=] > snprintf(query, URLMAX, "method=goToPage&asin=%s&page=%d", bookid, pagenum); > ^~ ~~~~~~ >In file included from /usr/include/stdio.h:862, > from getabook.c:2: >/usr/include/bits/stdio2.h:64:10: note: â__builtin___snprintf_chkâ output betwee n 29 and 1062 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 âgetpagelistâ: >getgbook.c:46:35: error: â%sâ directive output may be truncated writing up to 10 23 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 betwee n 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 10 23 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:35: getabook.o] Error 1 >make: *** Waiting for unfinished jobs.... >cc1: all warnings being treated as errors >make: *** [Makefile:35: 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 '/home/portage/app-text/getxbook-1.2/tem p/build.log'. > * The ebuild environment file is located at '/home/portage/app-text/getxbook-1. 2/temp/environment'. > * Working directory: '/home/portage/app-text/getxbook-1.2/work/getxbook-1.2' > * S: '/home/portage/app-text/getxbook-1.2/work/getxbook-1.2' > >>>> Failed to emerge app-text/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