Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 674280 - net-vpn/vtun-3.0.3 : lfd_encrypt.c:99:16: error: storage size of ctx_enc isn t known
Summary: net-vpn/vtun-3.0.3 : lfd_encrypt.c:99:16: error: storage size of ctx_enc isn ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Sergey Popov
URL:
Whiteboard: Fixed in 3.0.3-r1
Keywords: InVCS, PATCH
Depends on:
Blocks: openssl-1.1
  Show dependency tree
 
Reported: 2019-01-01 20:33 UTC by Toralf Förster
Modified: 2019-07-15 05:33 UTC (History)
3 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.60 KB, text/plain)
2019-01-01 20:33 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,177.12 KB, text/plain)
2019-01-01 20:33 UTC, Toralf Förster
Details
environment (environment,98.70 KB, text/plain)
2019-01-01 20:33 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,16.00 KB, application/x-bzip)
2019-01-01 20:33 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,6.54 KB, application/x-bzip)
2019-01-01 20:33 UTC, Toralf Förster
Details
net-vpn:vtun-3.0.3:20190101-203059.log (net-vpn:vtun-3.0.3:20190101-203059.log,21.34 KB, text/plain)
2019-01-01 20:33 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,26.20 KB, application/x-bzip)
2019-01-01 20:34 UTC, Toralf Förster
Details
vtun-libssl-1.1.patch (file_674280.txt,7.64 KB, patch)
2019-02-25 23:59 UTC, Dani Church
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2019-01-01 20:33:43 UTC
             ^~~~~~~~~~~~~~~~~~~~
x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native  -I/usr/include/openssl -I/usr/include/openssl -I/usr/include/openssl -I/usr/include/openssl -DVTUN_CONFIG_FILE=\"/etc/vtund.conf\" -DVTUN_PID_FILE=\"/var/lib/run/vtund.pid\" -DVTUN_STAT_DIR=\"/var/lib/log/vtund\" -DVTUN_LOCK_DIR=\"/var/lib/lock/vtund\" -c lfd_encrypt.c
lfd_encrypt.c:99:16: error: storage size of ‘ctx_enc’ isn’t known
 EVP_CIPHER_CTX ctx_enc; /* encrypt */
                ^~~~~~~
lfd_encrypt.c:100:16: error: storage size of ‘ctx_dec’ isn’t known

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0-desktop-plasma-systemd_20181228-192239

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

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

Available Python interpreters, in order of preference:
  [1]   python3.6
  [2]   python2.7 (fallback)

Available Rust versions:
  [1]   rust-1.31.1 *
java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.9.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

emerge -qpvO net-vpn/vtun
[ebuild  N    ] net-vpn/vtun-3.0.3  USE="ssl zlib -lzo -socks5"
Comment 1 Toralf Förster gentoo-dev 2019-01-01 20:33:46 UTC
Created attachment 559408 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2019-01-01 20:33:49 UTC
Created attachment 559410 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2019-01-01 20:33:51 UTC
Created attachment 559412 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2019-01-01 20:33:54 UTC
Created attachment 559414 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2019-01-01 20:33:57 UTC
Created attachment 559416 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2019-01-01 20:33:59 UTC
Created attachment 559418 [details]
net-vpn:vtun-3.0.3:20190101-203059.log
Comment 7 Toralf Förster gentoo-dev 2019-01-01 20:34:02 UTC
Created attachment 559420 [details]
temp.tbz2
Comment 8 Alexandru N. Barloiu 2019-01-23 08:43:32 UTC
https://sourceforge.net/p/vtun/patches/25/

There's a patch here.
Comment 9 Dani Church 2019-02-25 23:59:46 UTC
Created attachment 566502 [details, diff]
vtun-libssl-1.1.patch

Chris West's vtun-libssl-1.1 patch from https://sourceforge.net/p/vtun/patches/25/, modified to apply against net-vpn/vtun-3.0.3
Comment 10 Andreas Sturmlechner gentoo-dev 2019-04-29 21:57:58 UTC
ping
Comment 11 Larry the Git Cow gentoo-dev 2019-07-14 07:18:40 UTC
The bug has been closed via the following commit(s):

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

commit ce831f8c08bc53e1d1cd6af329f7bcd902aa7b9d
Author:     Hans de Graaff <graaff@gentoo.org>
AuthorDate: 2019-07-14 07:18:16 +0000
Commit:     Hans de Graaff <graaff@gentoo.org>
CommitDate: 2019-07-14 07:18:32 +0000

    net-vpn/vtun: fix openssl 1.1 compatibility
    
    Fixes: https://bugs.gentoo.org/674280
    Signed-off-by: Hans de Graaff <graaff@gentoo.org>
    Package-Manager: Portage-2.3.66, Repoman-2.3.11

 net-vpn/vtun/files/vtun-libssl-1.1.patch | 229 +++++++++++++++++++++++++++++++
 net-vpn/vtun/vtun-3.0.3-r1.ebuild        |  59 ++++++++
 2 files changed, 288 insertions(+)