configure: WARNING: unrecognized options: --with-md5-passwords
configure: WARNING: no manpage formatter found
configure: WARNING: unrecognized options: --with-md5-passwords
Makefile:736: warning: ignoring prerequisites on suffix rule definition
log.c: In function ‘do_log’:
log.c:397:53: warning: ‘: ’ directive output may be truncated writing 2 bytes into a region of size between 1 and 1024 [-Wformat-truncation=]
397 | snprintf(fmtbuf, sizeof(fmtbuf), "%s: %s", msgbuf, suffix);
| ^~
In file included from /usr/include/stdio.h:894,
from /usr/include/resolv.h:58,
from openbsd-compat/getrrsetbyname.h:59,
from openbsd-compat/openbsd-compat.h:44,
from includes.h:176,
from log.c:37:
In function ‘snprintf’,
inlined from ‘do_log’ at log.c:397:3:
/usr/include/bits/stdio2.h:71:10: note: ‘__builtin___snprintf_chk’ output 3 or more bytes (assuming 1026) into a destination of size 1024
71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
72 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
73 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
log.c: In function ‘do_log’:
log.c:409:58: warning: ‘
’ directive output may be truncated writing 2 bytes into a region of size between 1 and 1024 [-Wformat-truncation=]
409 | snprintf(msgbuf, sizeof msgbuf, "%s%s%.*s\r\n",
| ^~~~
In function ‘snprintf’,
inlined from ‘do_log’ at log.c:409:3:
/usr/include/bits/stdio2.h:71:10: note: ‘__builtin___snprintf_chk’ output between 3 and 1026 bytes into a destination of size 1024
71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
72 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
73 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
log.c: In function ‘sshlogv’:
log.c:465:67: warning: ‘%ld’ directive output may be truncated writing between 1 and 11 bytes into a region of size between 8 and 111 [-Wformat-truncation=]
465 | snprintf(tag, sizeof(tag), "%.48s:%.48s():%d (bin=%s, pid=%ld)",
| ^~~
log.c:465:36: note: directive argument in the range [-2147483648, 2147483647]
465 | snprintf(tag, sizeof(tag), "%.48s:%.48s():%d (bin=%s, pid=%ld)",
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function ‘snprintf’,
inlined from ‘sshlogv’ at log.c:465:2:
/usr/include/bits/stdio2.h:71:10: note: ‘__builtin___snprintf_chk’ output 20 or more bytes (assuming 133) into a destination of size 128
71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
72 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
73 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
misc.c: In function ‘fmt_timeframe’:
misc.c:712:40: warning: ‘%02llu’ directive output may be truncated writing between 2 and 14 bytes into a region of size 9 [-Wformat-truncation=]
712 | snprintf(buf, TF_LEN, "%02lluw%01ud%02uh", week, day, hrs);
| ^~~~~~
misc.c:712:39: note: directive argument in the range [1, 30500568904943]
712 | snprintf(buf, TF_LEN, "%02lluw%01ud%02uh", week, day, hrs);
| ^~~~~~~~~~~~~~~~~~~
misc.c:712:39: note: directive argument in the range [0, 6]
misc.c:712:39: note: directive argument in the range [0, 23]
In file included from /usr/include/stdio.h:894,
from /usr/include/resolv.h:58,
from openbsd-compat/getrrsetbyname.h:59,
from openbsd-compat/openbsd-compat.h:44,
from includes.h:176,
from misc.c:21:
In function ‘snprintf’,
inlined from ‘fmt_timeframe’ at misc.c:712:3:
/usr/include/bits/stdio2.h:71:10: note: ‘__builtin___snprintf_chk’ output between 9 and 21 bytes into a destination of size 9
71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
72 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
73 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
vis.c: In function ‘stravis’:
vis.c:229:23: warning: pointer ‘buf’ may be used after ‘realloc’ [-Wuse-after-free]
229 | *outp = buf;
| ~~~~~~^~~~~
vis.c:227:17: note: call to ‘realloc’ here
227 | *outp = realloc(buf, len + 1);
| ^~~~~~~~~~~~~~~~~~~~~
ar: creating libopenbsd-compat.a
ssh-keygen.c: In function ‘do_convert_to’:
ssh-keygen.c:362:41: warning: ‘%s’ directive output may be truncated writing up to 1024 bytes into a region of size 39 [-Wformat-truncation=]
362 | "%u-bit %s, converted by %s@%s from OpenSSH",
| ^~
363 | sshkey_size(k), sshkey_type(k),
364 | pw->pw_name, hostname);
| ~~~~~~~~
In file included from /usr/include/stdio.h:894,
from /usr/include/resolv.h:58,
from openbsd-compat/getrrsetbyname.h:59,
from openbsd-compat/openbsd-compat.h:44,
from includes.h:176,
from ssh-keygen.c:15:
In function ‘snprintf’,
inlined from ‘do_convert_to_ssh2’ at ssh-keygen.c:361:2,
inlined from ‘do_convert_to’ at ssh-keygen.c:447:3:
/usr/include/bits/stdio2.h:71:10: note: ‘__builtin___snprintf_chk’ output 36 or more bytes (assuming 1060) into a destination of size 61
71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
72 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
73 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
ssh-keygen.c: In function ‘do_gen_all_hostkeys’:
ssh-keygen.c:1161:55: warning: ‘%s’ directive output may be truncated writing up to 1024 bytes into a region of size 1023 [-Wformat-truncation=]
1161 | snprintf(comment, sizeof comment, "%s@%s", pw->pw_name,
| ^~
1162 | hostname);
| ~~~~~~~~
In function ‘snprintf’,
inlined from ‘do_gen_all_hostkeys’ at ssh-keygen.c:1161:3:
/usr/include/bits/stdio2.h:71:10: note: ‘__builtin___snprintf_chk’ output 2 or more bytes (assuming 1026) into a destination of size 1024
71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
72 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
73 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
ssh-keygen.c: In function ‘main’:
ssh-keygen.c:3958:55: warning: ‘%s’ directive output may be truncated writing up to 1024 bytes into a region of size 1023 [-Wformat-truncation=]
3958 | snprintf(comment, sizeof comment, "%s@%s", pw->pw_name, hostname);
| ^~ ~~~~~~~~
In function ‘snprintf’,
inlined from ‘main’ at ssh-keygen.c:3958:3:
/usr/include/bits/stdio2.h:71:10: note: ‘__builtin___snprintf_chk’ output 2 or more bytes (assuming 1026) into a destination of size 1024
71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
72 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
73 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
scp.c: In function ‘rsource’:
scp.c:1543:56: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size between 2 and 4095 [-Wformat-truncation=]
1543 | (void) snprintf(path, sizeof path, "%s/%s", name, dp->d_name);
| ^~
In file included from /usr/include/stdio.h:894,
from /usr/include/resolv.h:58,
from openbsd-compat/getrrsetbyname.h:59,
from openbsd-compat/openbsd-compat.h:44,
from includes.h:176,
from scp.c:74:
In function ‘snprintf’,
inlined from ‘rsource’ at scp.c:1543:10:
/usr/include/bits/stdio2.h:71:10: note: ‘__builtin___snprintf_chk’ output between 2 and 4350 bytes into a destination of size 4096
71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
72 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
73 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
ar: creating libssh.a
Makefile:736: warning: ignoring prerequisites on suffix rule definition
sshd: no hostkeys available -- exiting.
make: [Makefile:428: check-config] Error 1 (ignored)
[01;33m/usr/libexec/ssh-keysign has suid bit set
[0m[01;33m*** 0 error(s), 1 warning(s)
[0m