Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 399668 Details for
Bug 544388
net-misc/telnet-bsd fails to compile with format-security
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
net-misc:telnet-bsd-1.2-r1:20150324-205457.log
net-misc:telnet-bsd-1.2-r1:20150324-205457.log (text/plain), 16.59 KB, created by
Uwe Sauter
on 2015-03-24 20:58:54 UTC
(
hide
)
Description:
net-misc:telnet-bsd-1.2-r1:20150324-205457.log
Filename:
MIME Type:
Creator:
Uwe Sauter
Created:
2015-03-24 20:58:54 UTC
Size:
16.59 KB
patch
obsolete
>[32;01m * [39;49;00mPackage: net-misc/telnet-bsd-1.2-r1 >[32;01m * [39;49;00mRepository: gentoo >[32;01m * [39;49;00mMaintainer: mschiff@gentoo.org >[32;01m * [39;49;00mUSE: abi_x86_64 amd64 elibc_glibc kernel_linux nls userland_GNU >[32;01m * [39;49;00mFEATURES: preserve-libs sandbox splitdebug userpriv usersandbox >>>> Unpacking source... >>>> Unpacking telnet-bsd-1.2.tar.bz2 to /var/tmp/portage/net-misc/telnet-bsd-1.2-r1/work >>>> Source unpacked in /var/tmp/portage/net-misc/telnet-bsd-1.2-r1/work >>>> Preparing source in /var/tmp/portage/net-misc/telnet-bsd-1.2-r1/work/telnet-bsd-1.2 ... > [32;01m*[0m Applying telnet-bsd-1.2-fbsd.patch ... >[A[180C [34;01m[ [32;01mok[34;01m ][0m > [32;01m*[0m Running aclocal -I m4 ... >[A[180C [34;01m[ [32;01mok[34;01m ][0m > [32;01m*[0m Running eautoreconf in '/var/tmp/portage/net-misc/telnet-bsd-1.2-r1/work/telnet-bsd-1.2' ... > [32;01m*[0m Running aclocal -I m4 ... >[A[180C [34;01m[ [32;01mok[34;01m ][0m > [33;01m*[0m This package has a configure.in file which has long been deprecated. Please > [33;01m*[0m update it to use configure.ac instead as newer versions of autotools will die > [33;01m*[0m when it finds this file. See https://bugs.gentoo.org/426262 for details. > [32;01m*[0m Running autoconf --force ... >[A[180C [34;01m[ [32;01mok[34;01m ][0m > [32;01m*[0m Running autoheader ... >[A[180C [34;01m[ [32;01mok[34;01m ][0m > [32;01m*[0m Running automake --add-missing --copy --force-missing ... >[A[180C [34;01m[ [32;01mok[34;01m ][0m > [32;01m*[0m Running elibtoolize in: telnet-bsd-1.2/ >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/net-misc/telnet-bsd-1.2-r1/work/telnet-bsd-1.2 ... > * econf: updating telnet-bsd-1.2/config.guess with /usr/share/gnuconfig/config.guess > * econf: updating telnet-bsd-1.2/config.sub with /usr/share/gnuconfig/config.sub >./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --disable-silent-rules --libdir=/usr/lib64 >checking build system type... x86_64-pc-linux-gnu >checking host system type... x86_64-pc-linux-gnu >checking target system type... x86_64-pc-linux-gnu >checking for a BSD-compatible install... /var/tmp/portage/._portage_reinstall_.uwvcjy/bin/ebuild-helpers/xattr/install -c >checking whether build environment is sane... yes >checking for a thread-safe mkdir -p... /bin/mkdir -p >checking for gawk... gawk >checking whether make sets $(MAKE)... yes >checking whether make supports nested variables... yes >checking for style of include used by make... GNU >checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc >checking whether the C compiler works... yes >checking for C compiler default output file name... a.out >checking for suffix of executables... >checking whether we are cross compiling... no >checking for suffix of object files... o >checking whether we are using the GNU C compiler... yes >checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes >checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed >checking dependency style of x86_64-pc-linux-gnu-gcc... none >checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E >checking for grep that handles long lines and -e... /bin/grep >checking for egrep... /bin/grep -E >checking for ANSI C header files... yes >checking for sys/types.h... yes >checking for sys/stat.h... yes >checking for stdlib.h... yes >checking for string.h... yes >checking for memory.h... yes >checking for strings.h... yes >checking for inttypes.h... yes >checking for stdint.h... yes >checking for unistd.h... yes >checking pty.h usability... yes >checking pty.h presence... yes >checking for pty.h... yes >checking utmp.h usability... yes >checking utmp.h presence... yes >checking for utmp.h... yes >checking for x86_64-pc-linux-gnu-gcc... (cached) x86_64-pc-linux-gnu-gcc >checking whether we are using the GNU C compiler... (cached) yes >checking whether x86_64-pc-linux-gnu-gcc accepts -g... (cached) yes >checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... (cached) none needed >checking dependency style of x86_64-pc-linux-gnu-gcc... (cached) none >checking for strerror in -lcposix... no >checking whether make sets $(MAKE)... (cached) yes >checking for -fpie... yes >checking for an ANSI C-conforming const... yes >checking that generated files are newer than configure... done >configure: creating ./config.status >config.status: creating Makefile >config.status: creating m4/Makefile >config.status: creating telnet/Makefile >config.status: creating telnetd/Makefile >config.status: creating config.h >config.status: executing depfiles commands >make -j9 'CFLAGS=-O1 -pipe -march=native -Werror=format-security -lncurses ' >make all-recursive >make[1]: Entering directory '/var/tmp/portage/net-misc/telnet-bsd-1.2-r1/work/telnet-bsd-1.2' >Making all in m4 >make[2]: Entering directory '/var/tmp/portage/net-misc/telnet-bsd-1.2-r1/work/telnet-bsd-1.2/m4' >make[2]: Nothing to be done for 'all'. >make[2]: Leaving directory '/var/tmp/portage/net-misc/telnet-bsd-1.2-r1/work/telnet-bsd-1.2/m4' >Making all in telnet >make[2]: Entering directory '/var/tmp/portage/net-misc/telnet-bsd-1.2-r1/work/telnet-bsd-1.2/telnet' >x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/share/locale\" -I. -I.. -I.. -I.. -I../intl -I. -W -Wall -Wbad-function-cast -Wcast-align -Wcast-qual -DXTSTRINGDEFINES -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wshadow -Wstrict-prototypes -Wundef -DENV_HACK -DUSE_TERMIO -DKLUDGELINEMODE -D_GNU_SOURCE -fpie -O1 -pipe -march=native -Werror=format-security -lncurses -c main.c >x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/share/locale\" -I. -I.. -I.. -I.. -I../intl -I. -W -Wall -Wbad-function-cast -Wcast-align -Wcast-qual -DXTSTRINGDEFINES -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wshadow -Wstrict-prototypes -Wundef -DENV_HACK -DUSE_TERMIO -DKLUDGELINEMODE -D_GNU_SOURCE -fpie -O1 -pipe -march=native -Werror=format-security -lncurses -c ring.c >x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/share/locale\" -I. -I.. -I.. -I.. -I../intl -I. -W -Wall -Wbad-function-cast -Wcast-align -Wcast-qual -DXTSTRINGDEFINES -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wshadow -Wstrict-prototypes -Wundef -DENV_HACK -DUSE_TERMIO -DKLUDGELINEMODE -D_GNU_SOURCE -fpie -O1 -pipe -march=native -Werror=format-security -lncurses -c telnet.c >x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/share/locale\" -I. -I.. -I.. -I.. -I../intl -I. -W -Wall -Wbad-function-cast -Wcast-align -Wcast-qual -DXTSTRINGDEFINES -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wshadow -Wstrict-prototypes -Wundef -DENV_HACK -DUSE_TERMIO -DKLUDGELINEMODE -D_GNU_SOURCE -fpie -O1 -pipe -march=native -Werror=format-security -lncurses -c tn3270.c >x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/share/locale\" -I. -I.. -I.. -I.. -I../intl -I. -W -Wall -Wbad-function-cast -Wcast-align -Wcast-qual -DXTSTRINGDEFINES -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wshadow -Wstrict-prototypes -Wundef -DENV_HACK -DUSE_TERMIO -DKLUDGELINEMODE -D_GNU_SOURCE -fpie -O1 -pipe -march=native -Werror=format-security -lncurses -c commands.c >x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/share/locale\" -I. -I.. -I.. -I.. -I../intl -I. -W -Wall -Wbad-function-cast -Wcast-align -Wcast-qual -DXTSTRINGDEFINES -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wshadow -Wstrict-prototypes -Wundef -DENV_HACK -DUSE_TERMIO -DKLUDGELINEMODE -D_GNU_SOURCE -fpie -O1 -pipe -march=native -Werror=format-security -lncurses -c network.c >x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/share/locale\" -I. -I.. -I.. -I.. -I../intl -I. -W -Wall -Wbad-function-cast -Wcast-align -Wcast-qual -DXTSTRINGDEFINES -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wshadow -Wstrict-prototypes -Wundef -DENV_HACK -DUSE_TERMIO -DKLUDGELINEMODE -D_GNU_SOURCE -fpie -O1 -pipe -march=native -Werror=format-security -lncurses -c sys_bsd.c >x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/share/locale\" -I. -I.. -I.. -I.. -I../intl -I. -W -Wall -Wbad-function-cast -Wcast-align -Wcast-qual -DXTSTRINGDEFINES -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wshadow -Wstrict-prototypes -Wundef -DENV_HACK -DUSE_TERMIO -DKLUDGELINEMODE -D_GNU_SOURCE -fpie -O1 -pipe -march=native -Werror=format-security -lncurses -c terminal.c >x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/share/locale\" -I. -I.. -I.. -I.. -I../intl -I. -W -Wall -Wbad-function-cast -Wcast-align -Wcast-qual -DXTSTRINGDEFINES -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wshadow -Wstrict-prototypes -Wundef -DENV_HACK -DUSE_TERMIO -DKLUDGELINEMODE -D_GNU_SOURCE -fpie -O1 -pipe -march=native -Werror=format-security -lncurses -c utilities.c >telnet.c: In function âlm_willâ: >telnet.c:884:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > if (NETROOM () > sizeof (str_lm)) > ^ >telnet.c: In function âlm_doâ: >telnet.c:929:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > if (NETROOM () > sizeof (str_lm)) > ^ >telnet.c: In function âlm_modeâ: >telnet.c:976:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > if (NETROOM () > sizeof (str_lm_mode)) > ^ >telnet.c: In function âslc_importâ: >telnet.c:1087:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > if (NETROOM () > sizeof (slc_import_val)) > ^ >telnet.c: In function âenv_opt_addâ: >telnet.c:1429:7: warning: pointer targets in passing argument 1 of âstrlenâ differ in signedness [-Wpointer-sign] > opt_replyend += 2*strlen(ep); > ^ >In file included from telnet.c:33:0: >/usr/include/string.h:398:15: note: expected âconst char *â but argument is of type âunsigned char *â > extern size_t strlen (const char *__s) > ^ >telnet.c:1431:9: warning: pointer targets in passing argument 1 of âstrlenâ differ in signedness [-Wpointer-sign] > opt_replyend += 2*strlen(vp); > ^ >In file included from telnet.c:33:0: >/usr/include/string.h:398:15: note: expected âconst char *â but argument is of type âunsigned char *â > extern size_t strlen (const char *__s) > ^ >main.c: In function âmainâ: >main.c:113:8: warning: pointer targets in passing argument 1 of âenv_defineâ differ in signedness [-Wpointer-sign] > env_define ("DISPLAY", (unsigned char *) p); > ^ >In file included from telnet_locl.h:77:0, > from main.c:30: >externs.h:192:17: note: expected âunsigned char *â but argument is of type âchar *â > struct env_lst *env_define (unsigned char *, unsigned char *); > ^ >x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/share/locale\" -I. -I.. -I.. -I.. -I../intl -I. -W -Wall -Wbad-function-cast -Wcast-align -Wcast-qual -DXTSTRINGDEFINES -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wshadow -Wstrict-prototypes -Wundef -DENV_HACK -DUSE_TERMIO -DKLUDGELINEMODE -D_GNU_SOURCE -fpie -O1 -pipe -march=native -Werror=format-security -lncurses -c genget.c >utilities.c: In function âprintsubâ: >utilities.c:742:5: error: format not a string literal and no format arguments [-Werror=format-security] > fprintf(NetTrace, "\" VAR " + noquote); > ^ >utilities.c:747:5: error: format not a string literal and no format arguments [-Werror=format-security] > fprintf(NetTrace, "\" VALUE " + noquote); > ^ >utilities.c:752:5: error: format not a string literal and no format arguments [-Werror=format-security] > fprintf(NetTrace, "\" ESC " + noquote); > ^ >utilities.c:757:5: error: format not a string literal and no format arguments [-Werror=format-security] > fprintf(NetTrace, "\" USERVAR " + noquote); > ^ >cc1: some warnings being treated as errors >terminal.c: In function âttyflushâ: >terminal.c:127:4: warning: pointer targets in passing argument 1 of âTerminalWriteâ differ in signedness [-Wpointer-sign] > n1 = TerminalWrite(ttyoring.bottom, n1); > ^ >In file included from telnet_locl.h:77:0, > from terminal.c:30: >externs.h:246:5: note: expected âchar *â but argument is of type âunsigned char *â > int TerminalWrite(char *buf, int n); > ^ >Makefile:433: recipe for target 'utilities.o' failed >make[2]: *** [utilities.o] Error 1 >make[2]: *** Waiting for unfinished jobs.... >commands.c: In function âenv_cmdâ: >commands.c:1790:3: warning: pointer targets in passing argument 1 of âc->handlerâ differ in signedness [-Wpointer-sign] > (*c->handler) (argv[2], argv[3]); > ^ >commands.c:1790:3: note: expected âunsigned char *â but argument is of type âchar *â >commands.c:1790:3: warning: pointer targets in passing argument 2 of âc->handlerâ differ in signedness [-Wpointer-sign] >commands.c:1790:3: note: expected âunsigned char *â but argument is of type âchar *â >commands.c: In function âenv_initâ: >commands.c:1843:3: warning: pointer targets in passing argument 1 of âenv_findâ differ in signedness [-Wpointer-sign] > if ((ep = env_find ("DISPLAY")) > ^ >commands.c:1810:1: note: expected âunsigned char *â but argument is of type âchar *â > env_find (unsigned char *var) > ^ >commands.c:1873:3: warning: pointer targets in passing argument 1 of âenv_findâ differ in signedness [-Wpointer-sign] > if ((env_find ("USER") == NULL) && (ep = env_find ("LOGNAME"))) > ^ >commands.c:1810:1: note: expected âunsigned char *â but argument is of type âchar *â > env_find (unsigned char *var) > ^ >commands.c:1873:3: warning: pointer targets in passing argument 1 of âenv_findâ differ in signedness [-Wpointer-sign] > if ((env_find ("USER") == NULL) && (ep = env_find ("LOGNAME"))) > ^ >commands.c:1810:1: note: expected âunsigned char *â but argument is of type âchar *â > env_find (unsigned char *var) > ^ >commands.c:1878:3: warning: pointer targets in passing argument 1 of âenv_findâ differ in signedness [-Wpointer-sign] > if ((ep = env_find("TERM"))) > ^ >commands.c:1810:1: note: expected âunsigned char *â but argument is of type âchar *â > env_find (unsigned char *var) > ^ >commands.c: In function âenv_defineâ: >commands.c:1909:16: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] > if ((ep->var = strdup ((char *) var)) == NULL) > ^ >commands.c:1911:18: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] > if ((ep->value = strdup ((char *) value)) == NULL) > ^ >commands.c: In function âenv_initâ: >commands.c:1861:16: warning: ignoring return value of âasprintfâ, declared with attribute warn_unused_result [-Wunused-result] > asprintf (&cp, "%s%s", hbuf, cp2); > ^ >commands.c: In function âtnâ: >commands.c:2274:7: warning: ignoring return value of âfgetsâ, declared with attribute warn_unused_result [-Wunused-result] > (void) fgets (&line[strlen (line)], sizeof (line) - strlen (line), > ^ >commands.c: In function âsetescapeâ: >commands.c:1465:7: warning: ignoring return value of âfgetsâ, declared with attribute warn_unused_result [-Wunused-result] > (void) fgets (buf, sizeof (buf), stdin); > ^ >make[2]: Leaving directory '/var/tmp/portage/net-misc/telnet-bsd-1.2-r1/work/telnet-bsd-1.2/telnet' >Makefile:371: recipe for target 'all-recursive' failed >make[1]: *** [all-recursive] Error 1 >make[1]: Leaving directory '/var/tmp/portage/net-misc/telnet-bsd-1.2-r1/work/telnet-bsd-1.2' >Makefile:311: recipe for target 'all' failed >make: *** [all] Error 2 > [31;01m*[0m ERROR: net-misc/telnet-bsd-1.2-r1::gentoo failed (configure phase): > [31;01m*[0m emake failed > [31;01m*[0m > [31;01m*[0m If you need support, post the output of `emerge --info '=net-misc/telnet-bsd-1.2-r1::gentoo'`, > [31;01m*[0m the complete build log and the output of `emerge -pqv '=net-misc/telnet-bsd-1.2-r1::gentoo'`. > [31;01m*[0m The complete build log is located at '/var/log/portage/net-misc:telnet-bsd-1.2-r1:20150324-205457.log.gz'. > [31;01m*[0m For convenience, a symlink to the build log is located at '/var/tmp/portage/net-misc/telnet-bsd-1.2-r1/temp/build.log.gz'. > [31;01m*[0m The ebuild environment file is located at '/var/tmp/portage/net-misc/telnet-bsd-1.2-r1/temp/environment'. > [31;01m*[0m Working directory: '/var/tmp/portage/net-misc/telnet-bsd-1.2-r1/work/telnet-bsd-1.2' > [31;01m*[0m S: '/var/tmp/portage/net-misc/telnet-bsd-1.2-r1/work/telnet-bsd-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 544388
: 399668 |
409420