Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 877361 - net-libs/gnutls-3.7.7: fails to compile (nettle/mac.c:766:31: error: 'streebog512_update' undeclared (first use in this function); did you mean 'streebog512_ctx'?)
Summary: net-libs/gnutls-3.7.7: fails to compile (nettle/mac.c:766:31: error: 'streebo...
Status: UNCONFIRMED
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: 2022-10-17 01:44 UTC by LinuxUser912
Modified: 2022-10-17 02:03 UTC (History)
1 user (show)

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


Attachments
build.log for gnutls (build.log,635.40 KB, text/plain)
2022-10-17 01:44 UTC, LinuxUser912
Details
emerge --info (emerge info.txt,7.86 KB, text/plain)
2022-10-17 01:47 UTC, LinuxUser912
Details

Note You need to log in before you can comment on or make changes to this bug.
Description LinuxUser912 2022-10-17 01:44:58 UTC
Created attachment 824483 [details]
build.log for gnutls

While trying to perform a world update, I came across this error with net-libs/gnutls:

/var/tmp/portage/net-libs/gnutls-3.7.7/work/gnutls-3.7.7/lib/nettle/mac.c:765:3: warning: nested extern declaration of 'streebog512_init' [-Wnested-externs]
/var/tmp/portage/net-libs/gnutls-3.7.7/work/gnutls-3.7.7/lib/nettle/mac.c:766:31: error: 'streebog512_update' undeclared (first use in this function); did you mean 'streebog512_ctx'?
  766 |   ctx->update = (update_func) streebog512_update;
      |                               ^~~~~~~~~~~~~~~~~~
      |                               streebog512_ctx
/var/tmp/portage/net-libs/gnutls-3.7.7/work/gnutls-3.7.7/lib/nettle/mac.c:767:31: error: 'streebog512_digest' undeclared (first use in this function); did you mean 'streebog512_ctx'?
  767 |   ctx->digest = (digest_func) streebog512_digest;
      |                               ^~~~~~~~~~~~~~~~~~
      |                               streebog512_ctx
/var/tmp/portage/net-libs/gnutls-3.7.7/work/gnutls-3.7.7/lib/nettle/mac.c:769:17: error: 'STREEBOG512_DIGEST_SIZE' undeclared (first use in this function); did you mean 'SHA512_DIGEST_SIZE'?
  769 |   ctx->length = STREEBOG512_DIGEST_SIZE;
      |                 ^~~~~~~~~~~~~~~~~~~~~~~
      |                 SHA512_DIGEST_SIZE
make[4]: *** [Makefile:2353: mac.lo] Error 1
make[4]: Leaving directory '/var/tmp/portage/net-libs/gnutls-3.7.7/work/gnutls-3.7.7-abi_x86_32.x86/lib/nettle'
make[3]: *** [Makefile:2903: all-recursive] Error 1
make[3]: Leaving directory '/var/tmp/portage/net-libs/gnutls-3.7.7/work/gnutls-3.7.7-abi_x86_32.x86/lib'
make[2]: *** [Makefile:2507: all] Error 2
make[2]: Leaving directory '/var/tmp/portage/net-libs/gnutls-3.7.7/work/gnutls-3.7.7-abi_x86_32.x86/lib'
make[1]: *** [Makefile:2258: all-recursive] Error 1
make[1]: Leaving directory '/var/tmp/portage/net-libs/gnutls-3.7.7/work/gnutls-3.7.7-abi_x86_32.x86'
make: *** [Makefile:2183: all] Error 2
 * ERROR: net-libs/gnutls-3.7.7::gentoo failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=net-libs/gnutls-3.7.7::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=net-libs/gnutls-3.7.7::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/net-libs/gnutls-3.7.7/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-libs/gnutls-3.7.7/temp/environment'.
 * Working directory: '/var/tmp/portage/net-libs/gnutls-3.7.7/work/gnutls-3.7.7-abi_x86_32.x86'
 * S: '/var/tmp/portage/net-libs/gnutls-3.7.7/work/gnutls-3.7.7'

>>> Failed to emerge net-libs/gnutls-3.7.7, Log file:

>>>  '/var/tmp/portage/net-libs/gnutls-3.7.7/temp/build.log'

 * Messages for package dev-util/electron-19.0.16:

 * 
 * Chromium 102.0.5005.115 will be used instead of the required one
 * 

 * Messages for package app-office/libreoffice-7.3.5.2:

 * If you plan to use Base application you must enable USE base.

 * Messages for package net-libs/gnutls-3.7.7:

 * ERROR: net-libs/gnutls-3.7.7::gentoo failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=net-libs/gnutls-3.7.7::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=net-libs/gnutls-3.7.7::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/net-libs/gnutls-3.7.7/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-libs/gnutls-3.7.7/temp/environment'.
 * Working directory: '/var/tmp/portage/net-libs/gnutls-3.7.7/work/gnutls-3.7.7-abi_x86_32.x86'
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-10-17 01:45:45 UTC
Please include emerge --info.
Comment 2 LinuxUser912 2022-10-17 01:47:11 UTC
Created attachment 824485 [details]
emerge --info
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-10-17 01:50:39 UTC
What version of nettle is installed?

emerge -pvO nettle (only run with p).
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-10-17 01:52:44 UTC
(In reply to Sam James from comment #3)
> What version of nettle is installed?
> 
> emerge -pvO nettle (only run with p).

also, what version of gnutls is currently installed?
Comment 5 LinuxUser912 2022-10-17 01:55:57 UTC
(In reply to Sam James from comment #3)
> What version of nettle is installed?
> 
> emerge -pvO nettle (only run with p).

PiggletPC /usr/lib # emerge -pvO nettle
!!! Section 'haskell' in repos.conf has location attribute set to nonexistent directory: '/var/db/repos/haskell'
!!! Section 'piggypos-official' in repos.conf is missing location attribute
--- Invalid atom in /etc/portage/package.mask: =media-plugins/gst-plugins-vpx
WARNING: One or more repositories have missing repo_name entries:

	/var/db/repos/haskell/profiles/repo_name

NOTE: Each repo_name entry should be a plain text file containing a
unique name for the repository on the first line.



These are the packages that would be merged, in order:

[ebuild   R    ] dev-libs/nettle-3.7.3:0/8-6::gentoo  USE="asm gmp -doc -static-libs -test" ABI_X86="32 (64) (-x32)" CPU_FLAGS_X86="-aes -sha" 0 KiB

Total: 1 package (1 reinstall), Size of downloads: 0 KiB
Comment 6 LinuxUser912 2022-10-17 02:00:28 UTC
(In reply to Sam James from comment #4)
> (In reply to Sam James from comment #3)
> > What version of nettle is installed?
> > 
> > emerge -pvO nettle (only run with p).
> 
> also, what version of gnutls is currently installed?

These are the packages that would be merged, in order:

[ebuild     U  ] net-libs/gnutls-3.7.7:0/30.30::gentoo [3.7.2:0/30::gentoo] USE="cxx idn nls openssl seccomp tls-heartbeat tools verify-sig%* zlib%* -brotli% -dane -doc -examples -guile -pkcs11 -sslv2 -sslv3 -static-libs -test (-test-full) -valgrind -zstd%" ABI_X86="32 (64) (-x32)" 0 KiB

Total: 1 package (1 upgrade), Size of downloads: 0 KiB

 * IMPORTANT: 9 news items need reading for repository 'gentoo'.
 * Use eselect news read to view new items.
Comment 7 LinuxUser912 2022-10-17 02:03:03 UTC
(In reply to LinuxUser912 from comment #6)
>equery --quiet list gnutls
net-libs/gnutls-3.7.2