Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 810388 Details for
Bug 871195
net-misc/utelnetd-0.1.11-r2 - utelnetd.c: error: call to undeclared function grantpt; ISO C99 and
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
net-misc:utelnetd-0.1.11-r2:20220918-090650.log
net-misc:utelnetd-0.1.11-r2:20220918-090650.log (text/plain), 4.54 KB, created by
Toralf Förster
on 2022-09-18 09:14:42 UTC
(
hide
)
Description:
net-misc:utelnetd-0.1.11-r2:20220918-090650.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2022-09-18 09:14:42 UTC
Size:
4.54 KB
patch
obsolete
> * Package: net-misc/utelnetd-0.1.11-r2:0 > * Repository: gentoo > * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU > * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox > >>>> Unpacking source... >>>> Unpacking utelnetd-0.1.11.tar.gz to /var/tmp/portage/net-misc/utelnetd-0.1.11-r2/work >>>> Source unpacked in /var/tmp/portage/net-misc/utelnetd-0.1.11-r2/work >>>> Preparing source in /var/tmp/portage/net-misc/utelnetd-0.1.11-r2/work/utelnetd-0.1.11 ... >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/net-misc/utelnetd-0.1.11-r2/work/utelnetd-0.1.11 ... >>>> Source configured. >>>> Compiling source in /var/tmp/portage/net-misc/utelnetd-0.1.11-r2/work/utelnetd-0.1.11 ... >make -j4 >clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -I. -pipe -DSHELLPATH=\"/bin/login\" -Wall -c -o utelnetd.o utelnetd.c >utelnetd.c:160:17: warning: format string is not a string literal > (potentially insecure) [-Wformat-security] > fprintf(stderr,text); > ^~~~ >utelnetd.c:160:17: note: treat the string as an argument to avoid this > fprintf(stderr,text); > ^ > "%s", >utelnetd.c:232:13: error: call to undeclared function 'grantpt'; ISO C99 and > later do not support implicit function declarations > [-Werror,-Wimplicit-function-declaration] > if (grantpt(p)<0 || unlockpt(p)<0) { > ^ >utelnetd.c:232:29: error: call to undeclared function 'unlockpt'; ISO C99 and > later do not support implicit function declarations > [-Werror,-Wimplicit-function-declaration] > if (grantpt(p)<0 || unlockpt(p)<0) { > ^ >utelnetd.c:238:35: error: call to undeclared function 'ptsname'; ISO C99 and > later do not support implicit function declarations > [-Werror,-Wimplicit-function-declaration] > strcpy(line, (const char*)ptsname(p)); > ^ >utelnetd.c:238:22: warning: cast to 'const char *' from smaller integer type > 'int' [-Wint-to-pointer-cast] > strcpy(line, (const char*)ptsname(p)); > ^~~~~~~~~~~~~~~~~~~~~~~ >utelnetd.c:249:9: warning: implicit conversion from 'int' to 'char' changes > value from 255 to -1 [-Wconstant-conversion] > *b++ = IAC; > ~ ^~~ >/usr/include/arpa/telnet.h:38:13: note: expanded from macro 'IAC' >#define IAC 255 /* interpret as command: */ > ^~~ >utelnetd.c:264:6: warning: variable 't1' set but not used > [-Wunused-but-set-variable] > int t1, t2; > ^ >utelnetd.c:264:10: warning: variable 't2' set but not used > [-Wunused-but-set-variable] > int t1, t2; > ^ >utelnetd.c:561:7: warning: passing 'int *' to parameter of type 'socklen_t *' > (aka 'unsigned int *') converts between pointers to integer types with > different sign [-Wpointer-sign] > &salen)) < 0) { > ^~~~~~ >/usr/include/sys/socket.h:307:28: note: passing argument to parameter > '__addr_len' here > socklen_t *__restrict __addr_len); > ^ >utelnetd.c:597:23: warning: passing 'char *' to parameter of type > 'unsigned char *' converts between pointers to integer types where one is > of the unique plain 'char' type and the other is not [-Wpointer-sign] > ...ptr = remove_iacs(ts->buf1 + ts->wridx1, maxlen, > ^~~~~~~~~~~~~~~~~~~~~ >utelnetd.c:190:28: note: passing argument to parameter 'bf' here >remove_iacs(unsigned char *bf, int len, int *processed, int *num_totty) { > ^ >7 warnings and 3 errors generated. >make: *** [<builtin>: utelnetd.o] Error 1 > * ERROR: net-misc/utelnetd-0.1.11-r2::gentoo failed (compile phase): > * emake failed > * > * If you need support, post the output of `emerge --info '=net-misc/utelnetd-0.1.11-r2::gentoo'`, > * the complete build log and the output of `emerge -pqv '=net-misc/utelnetd-0.1.11-r2::gentoo'`. > * The complete build log is located at '/var/log/portage/net-misc:utelnetd-0.1.11-r2:20220918-090650.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-misc/utelnetd-0.1.11-r2/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/net-misc/utelnetd-0.1.11-r2/temp/environment'. > * Working directory: '/var/tmp/portage/net-misc/utelnetd-0.1.11-r2/work/utelnetd-0.1.11' > * S: '/var/tmp/portage/net-misc/utelnetd-0.1.11-r2/work/utelnetd-0.1.11' >
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 871195
:
810376
|
810379
|
810382
|
810385
| 810388 |
810391