Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 703354 - net-p2p/fms-0.3.80 : /.../fcpv2.cpp:199:9: error: mbedtls_ssl_set_hs_authmode was not declared in this scope
Summary: net-p2p/fms-0.3.80 : /.../fcpv2.cpp:199:9: error: mbedtls_ssl_set_hs_authmode...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Thomas Sachau
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-12-19 08:59 UTC by Toralf Förster
Modified: 2020-02-09 08:34 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,16.27 KB, text/plain)
2019-12-19 09:00 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,189.32 KB, text/plain)
2019-12-19 09:00 UTC, Toralf Förster
Details
environment (environment,128.69 KB, text/plain)
2019-12-19 09:00 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,13.81 KB, application/x-bzip)
2019-12-19 09:00 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,4.64 KB, application/x-bzip)
2019-12-19 09:00 UTC, Toralf Förster
Details
net-p2p:fms-0.3.80:20191219-044628.log (net-p2p:fms-0.3.80:20191219-044628.log,28.62 KB, text/plain)
2019-12-19 09:00 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,32.17 KB, application/x-bzip)
2019-12-19 09:00 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 2019-12-19 08:59:59 UTC
      |        ^~~~~~~~~
/var/tmp/portage/net-p2p/fms-0.3.80/work/src/freenet/fcpv2.cpp: In member function ‘const bool FCPv2::Connection::Connect(const string&, int, bool)’:
/var/tmp/portage/net-p2p/fms-0.3.80/work/src/freenet/fcpv2.cpp:199:9: error: ‘mbedtls_ssl_set_hs_authmode’ was not declared in this scope; did you mean ‘mbedtls_ssl_conf_authmode’?
  199 |         mbedtls_ssl_set_hs_authmode(&m_sslctx,MBEDTLS_SSL_VERIFY_NONE);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~
      |         mbedtls_ssl_conf_authmode

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no-multilib_hardened-libressl-20191215-175505

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.2.0 *

clang:
clang version 9.0.1 
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/9/bin
llvm:
9.0.1
Available Python interpreters, in order of preference:
  [1]   python3.7
  [2]   python3.6
  [3]   python2.7 (fallback)
  [4]   pypy3 (fallback)
  [5]   pypy (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.39.0 *



repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Thu, 19 Dec 2019 03:05:51 +0000

emerge -qpvO net-p2p/fms
[ebuild  N    ] net-p2p/fms-0.3.80  USE="ssl -frost"
Comment 1 Toralf Förster gentoo-dev 2019-12-19 09:00:04 UTC
Created attachment 600104 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2019-12-19 09:00:07 UTC
Created attachment 600106 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2019-12-19 09:00:09 UTC
Created attachment 600108 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2019-12-19 09:00:12 UTC
Created attachment 600110 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2019-12-19 09:00:15 UTC
Created attachment 600112 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2019-12-19 09:00:18 UTC
Created attachment 600114 [details]
net-p2p:fms-0.3.80:20191219-044628.log
Comment 7 Toralf Förster gentoo-dev 2019-12-19 09:00:21 UTC
Created attachment 600116 [details]
temp.tbz2
Comment 8 Thomas Sachau gentoo-dev 2019-12-30 10:17:47 UTC
Can you try this with <mbedtls-2.18?
Comment 9 Toralf Förster gentoo-dev 2019-12-31 15:46:52 UTC
(In reply to Thomas Sachau from comment #8)
> Can you try this with <mbedtls-2.18?

With 2.18.1 it fails too:

In file included from /var/tmp/portage/net-p2p/fms-0.3.80/work/src/freenet/fcpv2.cpp:1:
/var/tmp/portage/net-p2p/fms-0.3.80/work/src/freenet/../../include/freenet/fcpv2.h:32:8: warning: extra tokens at end of #endif directive [-Wendif-labels]
   32 | #endif __APPLE__
      |        ^~~~~~~~~
/var/tmp/portage/net-p2p/fms-0.3.80/work/src/freenet/fcpv2.cpp: In member function ‘const bool FCPv2::Connection::Connect(const string&, int, bool)’:
/var/tmp/portage/net-p2p/fms-0.3.80/work/src/freenet/fcpv2.cpp:199:9: error: ‘mbedtls_ssl_set_hs_authmode’ was not declared in this scope; did you mean ‘mbedtls_ssl_conf_authmode’?
  199 |         mbedtls_ssl_set_hs_authmode(&m_sslctx,MBEDTLS_SSL_VERIFY_NONE);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~
      |         mbedtls_ssl_conf_authmode
Comment 10 Toralf Förster gentoo-dev 2019-12-31 15:48:02 UTC
(In reply to Toralf Förster from comment #9)
> (In reply to Thomas Sachau from comment #8)
> > Can you try this with <mbedtls-2.18?
> 
> With 2.18.1 it fails too:

And the above is at a non-LibreSSL image: run/17.1_desktop_plasma_systemd-20191229-120804
Comment 11 Thomas Sachau gentoo-dev 2020-01-01 13:33:38 UTC
Please try with mbedtls-2.17.0
Comment 12 Thomas Sachau gentoo-dev 2020-02-09 08:34:23 UTC
Restricted dependency on net-libs/mbedtls for fms-0.3.81, this should prevent the build failure. Just committed, so should be in your local repo in the next hours.