Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 631250 - net-misc/spice-gtk-0.34 : ./.../libspice-client-glib-2.0.so: undefined reference to BIO_meth_set_puts
Summary: net-misc/spice-gtk-0.34 : ./.../libspice-client-glib-2.0.so: undefined refere...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Virtualization Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-09-17 19:36 UTC by Toralf Förster
Modified: 2018-03-20 16:50 UTC (History)
4 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.21 KB, text/plain)
2017-09-17 19:36 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,300.55 KB, text/plain)
2017-09-17 19:36 UTC, Toralf Förster
Details
environment (environment,100.19 KB, text/plain)
2017-09-17 19:36 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,23.70 KB, application/x-bzip)
2017-09-17 19:36 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,21.73 KB, application/x-bzip)
2017-09-17 19:36 UTC, Toralf Förster
Details
net-misc:spice-gtk-0.34:20170916-050902.log (net-misc:spice-gtk-0.34:20170916-050902.log,325.76 KB, text/plain)
2017-09-17 19:36 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,42.18 KB, application/x-bzip)
2017-09-17 19:36 UTC, Toralf Förster
Details
Fix build with LibreSSL (spice-gtk.patch,1.42 KB, patch)
2018-01-07 22:06 UTC, anoteros
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 2017-09-17 19:36:28 UTC
libtool: link: x86_64-pc-linux-gnu-gcc -o /var/tmp/portage/net-misc/spice-gtk-0.34/work/spice-gtk-0.34/src/tmp-introspectq78ha10h/.libs/SpiceClientGLib-2.0 -O2 -pipe -march=native -Wall tmp-introspectq78ha10h/var/tmp/portage/net-misc/spice-gtk-0.34/work/spice-gtk-0.34/src/tmp-introspectq78ha10h/SpiceClientGLib-2.0.o -Wl,--export-dynamic -pthread -Wl,-O1 -Wl,--export-dynamic  -L. ./.libs/libspice-client-glib-2.0.so -lcelt051 -lgthread-2.0 /usr/lib64/libopus.so -lm -ljpeg -lz -llz4 -lpixman-1 -lssl -lcrypto -lgio-2.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -Wl,--as-needed -pthread
./.libs/libspice-client-glib-2.0.so: undefined reference to `BIO_meth_set_puts'
./.libs/libspice-client-glib-2.0.so: undefined reference to `BIO_set_data'
./.libs/libspice-client-glib-2.0.so: undefined reference to `BIO_get_new_index'
./.libs/libspice-client-glib-2.0.so: undefined reference to `EVP_PKEY_get0_RSA'

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 13.0_libressl_20170909-193047

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

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

Available Python interpreters, in order of preference:
  [1]   python3.4
  [2]   python3.6 (fallback)
  [3]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby22 (with Rubygems) *
java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 7.2.6.11 [icedtea-bin-7]
2)	IcedTea JDK 3.5.1 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-7  system-vm
  [2]   icedtea-bin-8 

emerge -qpv net-misc/spice-gtk
[ebuild  N    ] net-misc/spice-gtk-0.34  USE="introspection libressl -dbus -gstaudio -gstvideo -gtk3 -lz4 -mjpeg -policykit -pulseaudio -sasl -smartcard -static-libs -usbredir -vala -webdav"
Comment 1 Toralf Förster gentoo-dev 2017-09-17 19:36:32 UTC
Created attachment 494972 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2017-09-17 19:36:35 UTC
Created attachment 494974 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2017-09-17 19:36:39 UTC
Created attachment 494976 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2017-09-17 19:36:42 UTC
Created attachment 494978 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2017-09-17 19:36:45 UTC
Created attachment 494980 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2017-09-17 19:36:49 UTC
Created attachment 494982 [details]
net-misc:spice-gtk-0.34:20170916-050902.log
Comment 7 Toralf Förster gentoo-dev 2017-09-17 19:36:52 UTC
Created attachment 494984 [details]
temp.tbz2
Comment 8 Bearcat M. Şándor 2017-12-20 01:35:54 UTC
Apparently this is an openssl version issue: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=219362 as this package has the same issue. 

Though i don't have openssl enabled, i have libressl enabled, and i get the same error, so it may happen with both ssl providers.
Comment 9 anoteros 2018-01-07 22:06:44 UTC
Created attachment 513720 [details, diff]
Fix build with LibreSSL

This patch allows net-misc/spice-gtk-0.34 to build cleanly for me
Comment 10 Toralf Förster gentoo-dev 2018-01-28 21:45:54 UTC
currently I get this at another image (w/o any patch) :


libtool: link: x86_64-pc-linux-gnu-gcc -o /var/tmp/portage/net-misc/spice-gtk-0.34/work/spice-gtk-0.34/src/tmp-introspectkv_im50v/.libs/SpiceClientGLib-2.0 -O2 -pipe -march=native tmp-introspectkv_im50v/var/tmp/portage/net-misc/spice-gtk-0.34/work/spice-gtk-0.34/src/tmp-introspectkv_im50v/SpiceClientGLib-2.0.o -Wl,--export-dynamic -pthread -Wl,-O1 -Wl,--export-dynamic  -L. ./.libs/libspice-client-glib-2.0.so -lcelt051 -lgthread-2.0 /usr/lib64/libopus.so -lm -ljpeg -lz -llz4 -lpixman-1 -lssl -lcrypto -lpulse-mainloop-glib -lpulse -lgio-2.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -Wl,--as-needed -pthread
./.libs/libspice-client-glib-2.0.so: undefined reference to `BIO_meth_set_read'
./.libs/libspice-client-glib-2.0.so: undefined reference to `BIO_get_data'
./.libs/libspice-client-glib-2.0.so: undefined reference to `BIO_meth_set_write'
./.libs/libspice-client-glib-2.0.so: undefined reference to `BIO_meth_set_ctrl'
Comment 11 Larry the Git Cow gentoo-dev 2018-03-19 15:31:46 UTC
The bug has been referenced in the following commit(s):

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

commit bd6ee50aacb0fb9bd65ffd81e40e2266bf2b7b03
Author:     Matthias Maier <tamiko@gentoo.org>
AuthorDate: 2018-03-19 15:29:37 +0000
Commit:     Matthias Maier <tamiko@gentoo.org>
CommitDate: 2018-03-19 15:29:37 +0000

    net-misc/spice-gtk: Apply openssl11/libressl patches
    
    Bug: https://bugs.gentoo.org/631250
    Bug: https://bugs.gentoo.org/617764
    Package-Manager: Portage-2.3.24, Repoman-2.3.6

 .../spice-gtk/files/spice-gtk-0.34-libressl.patch  |  43 ++++++
 .../spice-gtk/files/spice-gtk-0.34-openssl11.patch |  16 +++
 net-misc/spice-gtk/spice-gtk-0.34-r3.ebuild        | 153 +++++++++++++++++++++
 3 files changed, 212 insertions(+)}
Comment 12 Matthias Maier gentoo-dev 2018-03-19 15:32:16 UTC
Please test 0.34-r3 and close if that fixes the problem.
Comment 13 Toralf Förster gentoo-dev 2018-03-20 16:13:44 UTC
-r3 compiles fine here
Comment 14 Matthias Maier gentoo-dev 2018-03-20 16:50:17 UTC
Thanks for testing!