Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 806166 - net-vpn/i2pd-2.38.0-r3 - /.../Crypto.cpp: error: invalid conversion from const char* to const unsigned char* [-fpermissive]
Summary: net-vpn/i2pd-2.38.0-r3 - /.../Crypto.cpp: error: invalid conversion from cons...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Alexey Korepanov
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: openssl-3.0
  Show dependency tree
 
Reported: 2021-08-02 08:49 UTC by Toralf Förster
Modified: 2021-08-02 12:22 UTC (History)
3 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.54 KB, text/plain)
2021-08-02 08:49 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,256.56 KB, text/plain)
2021-08-02 08:49 UTC, Toralf Förster
Details
environment (environment,96.58 KB, text/plain)
2021-08-02 08:49 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,19.52 KB, application/x-bzip)
2021-08-02 08:49 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,5.69 KB, application/x-bzip)
2021-08-02 08:49 UTC, Toralf Förster
Details
net-vpn:i2pd-2.38.0-r3:20210802-075158.log (net-vpn:i2pd-2.38.0-r3:20210802-075158.log,725.11 KB, text/plain)
2021-08-02 08:49 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,34.46 KB, application/x-bzip)
2021-08-02 08:49 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 2021-08-02 08:49:36 UTC
      |     ^~~~~~~~~~~~~~~~~~~
/var/tmp/portage/net-vpn/i2pd-2.38.0-r3/work/i2pd-2.38.0/libi2pd/Crypto.cpp: In function ‘void i2p::crypto::HKDF(const uint8_t*, const uint8_t*, size_t, const string&, uint8_t*, size_t)’:
/var/tmp/portage/net-vpn/i2pd-2.38.0-r3/work/i2pd-2.38.0/libi2pd/Crypto.cpp:1305:71: error: invalid conversion from ‘const char*’ to ‘const unsigned char*’ [-fpermissive]
 1305 |                         EVP_PKEY_CTX_add1_hkdf_info (pctx, info.c_str (), info.length ());
      |                                                            ~~~~~~~~~~~^~
      |                                                                       |
      |                                                                       const char*

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no_multilib_systemd-j3-20210730-192258

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-11.2.0 *
clang version 12.0.1
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/12/bin
/usr/lib/llvm/12
12.0.1
Python 3.9.6
Available Ruby profiles:
  (none found)
Available Rust versions:
  [1]   rust-bin-1.53.0 *
The following VMs are available for generation-2:
*)	AdoptOpenJDK 8.292_p10 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.10.4
  (none found)

  HEAD of ::gentoo
commit e0efb3346e7519cba5302dabd3a90d53b40a22b5
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Mon Aug 2 06:51:52 2021 +0000

    2021-08-02 06:51:50 UTC

emerge -qpvO net-vpn/i2pd
[ebuild  N    ] net-vpn/i2pd-2.38.0-r3  USE="upnp -i2p-hardening -static" CPU_FLAGS_X86="aes avx"
Comment 1 Toralf Förster gentoo-dev 2021-08-02 08:49:37 UTC
Created attachment 729642 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-08-02 08:49:39 UTC
Created attachment 729645 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2021-08-02 08:49:40 UTC
Created attachment 729648 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2021-08-02 08:49:41 UTC
Created attachment 729651 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2021-08-02 08:49:42 UTC
Created attachment 729654 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-08-02 08:49:44 UTC
Created attachment 729657 [details]
net-vpn:i2pd-2.38.0-r3:20210802-075158.log
Comment 7 Toralf Förster gentoo-dev 2021-08-02 08:49:45 UTC
Created attachment 729660 [details]
temp.tar.bz2
Comment 8 Sam James archtester gentoo-dev Security 2021-08-02 12:22:14 UTC
Possibly OpenSSL 3 related?