Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 807874 - net-misc/openssh-8.6_p1-r2: compilation error "digest-libc.c:88:17: error: ‘SHA256_BLOCK_LENGTH’ undeclared here (not in a function); did you mean ‘SHA1_BLOCK_LENGTH’?"
Summary: net-misc/openssh-8.6_p1-r2: compilation error "digest-libc.c:88:17: error: ‘S...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-08-12 10:22 UTC by Marcin Mirosław
Modified: 2024-03-04 09:25 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,184.03 KB, text/plain)
2021-08-12 10:23 UTC, Marcin Mirosław
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marcin Mirosław 2021-08-12 10:22:16 UTC
"
x86_64-pc-linux-gnu-gcc -O2 -pipe -march=westmere -mtune=native -fuse-linker-plugin -s -fpredictive-commoning -freorder-blocks-and-partition -ftracer -ftree-vectorize -fno-common -pipe -Wno-error=format-tru
ncation -Wall -Wextra -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-parameter -Wno-unused-result -Wimplicit-fallthrough -fno-stric
t-aliasing  -ftrapv -fno-builtin-memset -fstack-protector-strong   -fPIC -I. -I.. -I. -I./..  -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_CONFIG_H -c strcasestr.c
digest-libc.c:88:17: error: ‘SHA256_BLOCK_LENGTH’ undeclared here (not in a function); did you mean ‘SHA1_BLOCK_LENGTH’?
   88 |                 SHA256_BLOCK_LENGTH,
      |                 ^~~~~~~~~~~~~~~~~~~
      |                 SHA1_BLOCK_LENGTH
digest-libc.c:89:17: error: ‘SHA256_DIGEST_LENGTH’ undeclared here (not in a function); did you mean ‘SHA1_DIGEST_LENGTH’?
   89 |                 SHA256_DIGEST_LENGTH,
      |                 ^~~~~~~~~~~~~~~~~~~~
      |                 SHA1_DIGEST_LENGTH
digest-libc.c:90:24: error: ‘SHA2_CTX’ undeclared here (not in a function); did you mean ‘SHA1_CTX’?
   90 |                 sizeof(SHA2_CTX),
      |                        ^~~~~~~~
      |                        SHA1_CTX
digest-libc.c:91:32: error: ‘SHA256Init’ undeclared here (not in a function); did you mean ‘SHA1Init’?
   91 |                 (md_init_fn *) SHA256Init,
      |                                ^~~~~~~~~~
      |                                SHA1Init
digest-libc.c:92:34: error: ‘SHA256Update’ undeclared here (not in a function); did you mean ‘SHA1Update’?
   92 |                 (md_update_fn *) SHA256Update,
      |                                  ^~~~~~~~~~~~
      |                                  SHA1Update
digest-libc.c:93:33: error: ‘SHA256Final’ undeclared here (not in a function); did you mean ‘SHA1Final’?
   93 |                 (md_final_fn *) SHA256Final
      |                                 ^~~~~~~~~~~
      |                                 SHA1Final"
[...]




Reproducible: Always




Portage 3.0.20 (python 3.8.11-final-0, default/linux/amd64/17.1/hardened, gcc-11.2.0, glibc-2.33-r5, 5.13.0-00858-g60fbf06f4967 x86_64)
=================================================================
System uname: Linux-5.13.0-00858-g60fbf06f4967-x86_64-Intel-R-_Xeon-R-_CPU_E3-1230_v5_@_3.40GHz-with-glibc2.2.5
KiB Mem:    10166484 total,   1756104 free
KiB Swap:    1060856 total,   1059320 free
Timestamp of repository gentoo: Thu, 12 Aug 2021 07:08:15 +0000
sh bash 5.1_p8
ld GNU ld (Gentoo 2.36.1 p4) 2.36.1
ccache version 4.3 [enabled]
app-shells/bash:          5.1_p8::gentoo
dev-lang/perl:            5.34.0-r2::gentoo
dev-lang/python:          3.8.11::gentoo, 3.9.6_p1::gentoo, 3.10.0_rc1_p1::gentoo
dev-util/ccache:          4.3-r3::gentoo
dev-util/cmake:           3.21.1::gentoo
sys-apps/baselayout:      2.7-r3::gentoo
sys-apps/openrc:          0.43.3::gentoo
sys-apps/sandbox:         2.24::gentoo
sys-devel/autoconf:       2.69-r5::gentoo, 2.71-r1::gentoo
sys-devel/automake:       1.16.4::gentoo
sys-devel/binutils:       2.36.1-r2::gentoo
sys-devel/gcc:            11.2.0::gentoo
sys-devel/gcc-config:     2.4::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.3::gentoo
sys-kernel/linux-headers: 5.13::gentoo (virtual/os-headers)
sys-libs/glibc:           2.33-r5::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-extra-opts:
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-metamanifest: no
    sync-rsync-verify-jobs: 1

Installed sets: @exim
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=westmere -mtune=native -fuse-linker-plugin -s -fpredictive-commoning -freorder-blocks-and-partition -ftracer -ftree-vectorize -fno-common"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/easy-rsa /usr/share/gnupg/qualified.txt /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=westmere -mtune=native -fuse-linker-plugin -s -fpredictive-commoning -freorder-blocks-and-partition -ftracer -ftree-vectorize -fno-common"
DISTDIR="/tmp/distdir"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -pipe -march=westmere -mtune=native -fuse-linker-plugin -s -fpredictive-commoning -freorder-blocks-and-partition -ftracer -ftree-vectorize -fno-common"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance ccache config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox multilib-strict network-sandbox news nodoc parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe -march=westmere -mtune=native -fuse-linker-plugin -s -fpredictive-commoning -freorder-blocks-and-partition -ftracer -ftree-vectorize -fno-common"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j3 -l4"
PKGDIR="/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="acl amd64 cxx hardened ipv6 jit libglvnd lto nls nptl openmp pie python seccomp split-usr ssp threads unicode vtv xattr xtpax" ABI_X86="64" ELIBC="glibc" KERNEL="linux" PYTHON_SINGLE_TARGET="python3_8" PYTHON_TARGETS="python3_8" USERLAND="GNU"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RUSTFLAGS
Comment 1 Marcin Mirosław 2021-08-12 10:23:19 UTC
Created attachment 732451 [details]
build.log

build.log
Comment 2 Marcin Mirosław 2021-08-13 10:11:04 UTC
It looks that openssh throws the error when USE="-ssl".
Comment 3 kfm 2021-09-10 22:20:57 UTC
(In reply to Marcin Mirosław from comment #2)
> It looks that openssh throws the error when USE="-ssl".

This is correct.
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-09-10 22:45:53 UTC
How about 8.7?
Comment 5 kfm 2021-09-10 23:11:52 UTC
(In reply to Sam James from comment #4)
> How about 8.7?

8.7 seems to be OK. At least, as tested on amd64 with `ACCEPT_KEYWORDS=~amd64 USE="-* pam" emerge -1B =openssh-8.7_p1-r2::gentoo`.
Comment 6 kfm 2022-07-29 14:48:25 UTC
I think this can be closed now.