Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 675610 - x11-misc/x11vnc-0.9.16 : sslhelper.c:(.text+<snip>): undefined reference to X509_OBJECT_new
Summary: x11-misc/x11vnc-0.9.16 : sslhelper.c:(.text+<snip>): undefined reference to X...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Alexander Tsoy
URL:
Whiteboard:
Keywords: PATCH, PullRequest
Depends on:
Blocks: libressl-support
  Show dependency tree
 
Reported: 2019-01-16 18:45 UTC by Toralf Förster
Modified: 2019-06-01 08:15 UTC (History)
5 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,15.83 KB, text/plain)
2019-01-16 18:45 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,151.21 KB, text/plain)
2019-01-16 18:45 UTC, Toralf Förster
Details
environment (environment,57.96 KB, text/plain)
2019-01-16 18:45 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,12.61 KB, application/x-bzip)
2019-01-16 18:45 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,10.95 KB, application/x-bzip)
2019-01-16 18:45 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,22.84 KB, application/x-bzip)
2019-01-16 18:45 UTC, Toralf Förster
Details
x11-misc:x11vnc-0.9.16:20190115-232546.log (x11-misc:x11vnc-0.9.16:20190115-232546.log,58.45 KB, text/plain)
2019-01-16 18:45 UTC, Toralf Förster
Details
x11vnc-0.9.16-libressl.patch (x11vnc-0.9.16-libressl.patch,8.56 KB, text/plain)
2019-05-20 18:45 UTC, Alexander Tsoy
Details
x11vnc-0.9.16-libressl.patch (x11vnc-0.9.16-libressl.patch,3.66 KB, text/plain)
2019-05-21 15:09 UTC, Alexander Tsoy
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-01-16 18:45:21 UTC
x11vnc-sslhelper.o: In function `verify_callback':
sslhelper.c:(.text+0x7bb): undefined reference to `X509_OBJECT_new'
sslhelper.c:(.text+0x7de): undefined reference to `X509_OBJECT_get0_X509_CRL'
sslhelper.c:(.text+0x92a): undefined reference to `X509_OBJECT_free'
sslhelper.c:(.text+0x94c): undefined reference to `X509_OBJECT_new'

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0_libressl_20190113-072420

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

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

Available Python interpreters, in order of preference:
  [1]   python3.6
  [2]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems) *
  [2]   ruby25 (with Rubygems)
  [3]   ruby26 (with Rubygems)
Available Rust versions:
  [1]   rust-bin-1.31.1 *
java-config:
The following VMs are available for generation-2:


emerge -qpvO x11-misc/x11vnc
[ebuild  N    ] x11-misc/x11vnc-0.9.16  USE="crypt libressl ssl -fbcon -xinerama -zeroconf"
Comment 1 Toralf Förster gentoo-dev 2019-01-16 18:45:24 UTC
Created attachment 561442 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2019-01-16 18:45:27 UTC
Created attachment 561444 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2019-01-16 18:45:30 UTC
Created attachment 561446 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2019-01-16 18:45:33 UTC
Created attachment 561448 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2019-01-16 18:45:36 UTC
Created attachment 561450 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2019-01-16 18:45:39 UTC
Created attachment 561452 [details]
temp.tbz2
Comment 7 Toralf Förster gentoo-dev 2019-01-16 18:45:42 UTC
Created attachment 561454 [details]
x11-misc:x11vnc-0.9.16:20190115-232546.log
Comment 8 Alexander Tsoy 2019-05-20 18:45:56 UTC
Created attachment 577420 [details]
x11vnc-0.9.16-libressl.patch

This is a regression caused by upstream changes regarding openssl-1.1 support:
https://github.com/LibVNC/x11vnc/commit/d37dac6963c2fb65cf577a6413657621cbcb406a

Please try attached patch. I don't have any system with libressl to test.
Comment 9 Andreas Sturmlechner gentoo-dev 2019-05-21 11:23:05 UTC
Assigning to libressl proj. Ultimately this isn't going to block openssl-1.1-stable.
Comment 10 Alexander Tsoy 2019-05-21 15:09:49 UTC
Created attachment 577454 [details]
x11vnc-0.9.16-libressl.patch

I tested this patch with libressl-2.8.3 and -2.9.1
Comment 11 Larry the Git Cow gentoo-dev 2019-06-01 08:15:18 UTC
The bug has been closed via the following commit(s):

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

commit 8b853a8081e1c2ce0c4966203bdf0f928d782ce3
Author:     Alexander Tsoy <alexander@tsoy.me>
AuthorDate: 2019-05-21 19:29:59 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2019-06-01 08:15:07 +0000

    x11-misc/x11vnc: fix building with libressl
    
    Closes: https://bugs.gentoo.org/675610
    Package-Manager: Portage-2.3.62, Repoman-2.3.11
    Signed-off-by: Alexander Tsoy <alexander@tsoy.me>
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 x11-misc/x11vnc/files/x11vnc-0.9.16-libressl.patch | 93 ++++++++++++++++++++++
 x11-misc/x11vnc/x11vnc-0.9.16-r3.ebuild            |  1 +
 2 files changed, 94 insertions(+)