Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 834044 - net-misc/openssh-8.9_p1 - gss-serv.c: error: MAXHOSTNAMELEN undeclared (first use in this function)
Summary: net-misc/openssh-8.9_p1 - gss-serv.c: error: MAXHOSTNAMELEN undeclared (first...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo musl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-02-25 18:12 UTC by Toralf Förster
Modified: 2022-02-26 01:38 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,18.32 KB, text/plain)
2022-02-25 18:12 UTC, Toralf Förster
Details
emerge-history.txt.bz2 (emerge-history.txt.bz2,78.78 KB, application/x-bzip)
2022-02-25 18:12 UTC, Toralf Förster
Details
environment (environment,113.79 KB, text/plain)
2022-02-25 18:12 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,22.49 KB, application/x-bzip)
2022-02-25 18:12 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,46.41 KB, application/x-bzip)
2022-02-25 18:12 UTC, Toralf Förster
Details
net-misc:openssh-8.9_p1:20220225-172547.log (net-misc:openssh-8.9_p1:20220225-172547.log,230.32 KB, text/plain)
2022-02-25 18:12 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,40.38 KB, application/x-bzip)
2022-02-25 18:12 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2022-02-25 18:12:11 UTC
too long lines were shrinked:

x86_64-gentoo-linux-musl-gcc -pipe -march=native -fno-diagnostics-color -O2 -pipe -Wno-error=format-truncation -Wall -Wextra -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-parameter -Wno-unused-result -Wimplicit-fallthrough -
x86_64-gentoo-linux-musl-gcc -pipe -march=native -fno-diagnostics-color -O2 -pipe -Wno-error=format-truncation -Wall -Wextra -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-parameter -Wno-unused-result -Wimplicit-fallthrough -
x86_64-gentoo-linux-musl-gcc -pipe -march=native -fno-diagnostics-color -O2 -pipe -Wno-error=format-truncation -Wall -Wextra -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-parameter -Wno-unused-result -Wimplicit-fallthrough -
gss-serv.c: In function 'ssh_gssapi_acquire_cred':
gss-serv.c:108:40: error: 'MAXHOSTNAMELEN' undeclared (first use in this function)
  108 |                 if (gethostname(lname, MAXHOSTNAMELEN)) {
      |                                        ^~~~~~~~~~~~~~

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0_musl_hardened-j4-20220221-120011

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-gentoo-linux-musl-11.2.1 *
clang/llvm (if any):
clang version 13.0.1
Target: x86_64-gentoo-linux-musl
Thread model: posix
InstalledDir: /usr/lib/llvm/13/bin
/usr/lib/llvm/13
13.0.1
Python 3.9.10
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby27 (with Rubygems)
  [3]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.58.1 *
Available Java Virtual Machines:
  (none found)

php cli:

  HEAD of ::gentoo
commit 085643f6040e6df65424f768d7d282faf777f212
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Fri Feb 25 16:22:05 2022 +0000

    2022-02-25 16:22:04 UTC

emerge -qpvO net-misc/openssh
[ebuild     U ] net-misc/openssh-8.9_p1 [8.8_p1-r4] USE="X kerberos pam (pie) scp sctp ssl -X509 -audit (-debug) -hpn -ldns -libedit -livecd -security-key (-selinux) -static -test -xmss"
Comment 1 Toralf Förster gentoo-dev 2022-02-25 18:12:12 UTC
Created attachment 765819 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-02-25 18:12:13 UTC
Created attachment 765820 [details]
emerge-history.txt.bz2
Comment 3 Toralf Förster gentoo-dev 2022-02-25 18:12:14 UTC
Created attachment 765821 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-02-25 18:12:15 UTC
Created attachment 765822 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-02-25 18:12:16 UTC
Created attachment 765823 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-02-25 18:12:18 UTC
Created attachment 765824 [details]
net-misc:openssh-8.9_p1:20220225-172547.log
Comment 7 Toralf Förster gentoo-dev 2022-02-25 18:12:19 UTC
Created attachment 765825 [details]
temp.tar.bz2
Comment 8 Larry the Git Cow gentoo-dev 2022-02-26 01:38:00 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=126e92820579e58d391f55fdfefe425a685fc217

commit 126e92820579e58d391f55fdfefe425a685fc217
Author:     Patrick McLean <chutzpah@gentoo.org>
AuthorDate: 2022-02-26 01:37:51 +0000
Commit:     Patrick McLean <chutzpah@gentoo.org>
CommitDate: 2022-02-26 01:37:51 +0000

    net-misc/openssh: Add patch to fix #834044
    
    I can't reproduce this locally, however this should be a fairly simple
    fix.
    Closes: https://bugs.gentoo.org/834044
    Package-Manager: Portage-3.0.30, Repoman-3.0.3
    Signed-off-by: Patrick McLean <chutzpah@gentoo.org>

 .../files/openssh-8.9_p1-X509-glue-13.3.patch      | 13 ++++++++++-
 .../openssh-8.9_p1-gss-use-HOST_NAME_MAX.patch     | 27 ++++++++++++++++++++++
 net-misc/openssh/openssh-8.9_p1.ebuild             |  1 +
 3 files changed, 40 insertions(+), 1 deletion(-)