Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 680184 - net-vpn/openvpn-2.4.7-r2 - patch -p1 failed with .../files/openvpn-2.4.7-libressl.patch
Summary: net-vpn/openvpn-2.4.7-r2 - patch -p1 failed with .../files/openvpn-2.4.7-lib...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Patrick McLean
URL:
Whiteboard:
Keywords:
: 680258 680276 (view as bug list)
Depends on:
Blocks:
 
Reported: 2019-03-13 05:23 UTC by Robin Lowe
Modified: 2019-03-13 23:13 UTC (History)
12 users (show)

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


Attachments
openvpn-2.7.4-r2 ebuild without libressl patch (openvpn-2.4.7-r2.ebuild,4.49 KB, text/plain)
2019-03-13 05:39 UTC, Robin Lowe
Details
emerge --info output (emerge-info,7.44 KB, text/plain)
2019-03-13 15:21 UTC, Robin Lowe
Details
emerge -pqv output (emerge-pqv,185 bytes, text/plain)
2019-03-13 15:21 UTC, Robin Lowe
Details
build log (build.log,3.40 KB, text/x-log)
2019-03-13 15:22 UTC, Robin Lowe
Details
patch rejects (ssl_openssl.c.rej,2.84 KB, text/x-reject)
2019-03-13 15:24 UTC, Robin Lowe
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Robin Lowe 2019-03-13 05:23:49 UTC
Updating to net-vpn/openvpn-2.4.7-rc2 fails.

emerge --info: http://dpaste.com/1KPT7C9
emerge -pqv: http://dpaste.com/08FYG5K
build log: http://dpaste.com/2EB3V4G
rejected hunks: http://dpaste.com/3W4K05W
Comment 1 Robin Lowe 2019-03-13 05:25:32 UTC
(In reply to Robin Lowe from comment #0)
> Updating to net-vpn/openvpn-2.4.7-rc2 fails.
> 
> emerge --info: http://dpaste.com/1KPT7C9
> emerge -pqv: http://dpaste.com/08FYG5K
> build log: http://dpaste.com/2EB3V4G
> rejected hunks: http://dpaste.com/3W4K05W

Looks like the patch line numbers aren't correct, when looking through rejected hunks beside the ssl_openssl.c file they don't line up.
Comment 2 Robin Lowe 2019-03-13 05:39:36 UTC
Created attachment 568940 [details]
openvpn-2.7.4-r2 ebuild without libressl patch
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2019-03-13 08:03:41 UTC
(In reply to Robin Lowe from comment #0)
> Updating to net-vpn/openvpn-2.4.7-rc2 fails.
> 
> emerge --info: http://dpaste.com/1KPT7C9
> emerge -pqv: http://dpaste.com/08FYG5K
> build log: http://dpaste.com/2EB3V4G
> rejected hunks: http://dpaste.com/3W4K05W

Please attach files to the bug report instead of using third party services.
Comment 4 Anton Gubarkov 2019-03-13 08:13:19 UTC
I don't have USE=libressl enabled, but I hit the same bug.
Comment 5 email200202 2019-03-13 08:30:03 UTC
Same here
Comment 6 Robin Lowe 2019-03-13 15:21:35 UTC
Created attachment 568984 [details]
emerge --info output
Comment 7 Robin Lowe 2019-03-13 15:21:54 UTC
Created attachment 568986 [details]
emerge -pqv output
Comment 8 Robin Lowe 2019-03-13 15:22:11 UTC
Created attachment 568988 [details]
build log
Comment 9 Robin Lowe 2019-03-13 15:24:13 UTC
Created attachment 568990 [details]
patch rejects
Comment 10 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2019-03-13 16:45:04 UTC
The patch is applied unconditionally, so the build fails unconditionally.
Comment 11 Jeroen Roovers (RETIRED) gentoo-dev 2019-03-13 17:22:16 UTC
*** Bug 680258 has been marked as a duplicate of this bug. ***
Comment 12 Larry the Git Cow gentoo-dev 2019-03-13 21:53:52 UTC
The bug has been closed via the following commit(s):

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

commit 5d0eadbc6aabbd869d57e042ab41563e888e6e2c
Author:     Patrick McLean <chutzpah@gentoo.org>
AuthorDate: 2019-03-13 21:51:45 +0000
Commit:     Patrick McLean <chutzpah@gentoo.org>
CommitDate: 2019-03-13 21:53:23 +0000

    net-vpn/openvpn: Revert LibreSSL patch (bug #680184)
    
    This reverts commit c16af66cd6e5903520a80e73c6f594449e654a5f.
    
    The patch doesn't apply
    
    Closes: https://bugs.gentoo.org/680184
    Signed-off-By: Patrick McLean <chutzpah@gentoo.org>

 net-vpn/openvpn/files/openvpn-2.4.7-libressl.patch | 133 ++++-----------------
 ...vpn-2.4.7-r2.ebuild => openvpn-2.4.7-r1.ebuild} |   0
 2 files changed, 20 insertions(+), 113 deletions(-)
Comment 13 Jeroen Roovers (RETIRED) gentoo-dev 2019-03-13 23:13:45 UTC
*** Bug 680276 has been marked as a duplicate of this bug. ***