Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 607008 - dev-libs/libgit2-glib-0.24.4[libressl] : /.../libgit2.so: undefined reference to `BIO_meth_set_gets'
Summary: dev-libs/libgit2-glib-0.24.4[libressl] : /.../libgit2.so: undefined reference...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL: https://github.com/libgit2/libgit2/pu...
Whiteboard:
Keywords: Inclusion, PATCH
Depends on:
Blocks: libressl-support
  Show dependency tree
 
Reported: 2017-01-24 09:59 UTC by Toralf Förster
Modified: 2019-02-28 23:53 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,5.40 KB, text/plain)
2017-01-24 09:59 UTC, Toralf Förster
Details
config.log (config.log,37.57 KB, text/plain)
2017-01-24 09:59 UTC, Toralf Förster
Details
dev-libs:libgit2-glib-0.24.4:20170124-063906.log (dev-libs:libgit2-glib-0.24.4:20170124-063906.log,71.01 KB, text/plain)
2017-01-24 09:59 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,77.30 KB, text/plain)
2017-01-24 09:59 UTC, Toralf Förster
Details
environment (environment,160.24 KB, text/plain)
2017-01-24 09:59 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,15.76 KB, application/x-bzip)
2017-01-24 09:59 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 2017-01-24 09:59:15 UTC
g-ir-scanner: link: /bin/sh ../libtool --mode=link --tag=CC x86_64-pc-linux-gnu-gcc -o /var/tmp/portage/dev-libs/libgit2-glib-0.24.4/work/libgit2-glib-0.24.4/libgit2-glib/tmp-introspect9NBLXA/Ggit-1.0 -export-dynamic -O2 -pipe -march=native -Wall -Wl,-O1 -Wl,--as-needed tmp-introspect9NBLXA/var/tmp/portage/dev-libs/libgit2-glib-0.24.4/work/libgit2-glib-0.24.4/libgit2-glib/tmp-introspect9NBLXA/Ggit-1.0.o -L. libgit2-glib-1.0.la -Wl,--export-dynamic -lgmodule-2.0 -pthread -lgit2 -lgio-2.0 -lgobject-2.0 -lglib-2.0
libtool: link: x86_64-pc-linux-gnu-gcc -o /var/tmp/portage/dev-libs/libgit2-glib-0.24.4/work/libgit2-glib-0.24.4/libgit2-glib/tmp-introspect9NBLXA/.libs/Ggit-1.0 -O2 -pipe -march=native -Wall -Wl,-O1 tmp-introspect9NBLXA/var/tmp/portage/dev-libs/libgit2-glib-0.24.4/work/libgit2-glib-0.24.4/libgit2-glib/tmp-introspect9NBLXA/Ggit-1.0.o -Wl,--export-dynamic -pthread -Wl,--export-dynamic  -Wl,--as-needed -L. ./.libs/libgit2-glib-1.0.so -lgmodule-2.0 -lgit2 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -pthread
/usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/../../../../lib64/libgit2.so: undefined reference to `BIO_meth_set_gets'

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

  This is an unstable amd64 chroot image (named 13.0-no-multilib-libressl-unstable_20170122-225602) at a hardened host acting as a tinderbox.

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-5.4.0 *
llvm-config --version:
3.9.1

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

java-config:

  -----------------------------------------------------------------
Comment 1 Toralf Förster gentoo-dev 2017-01-24 09:59:18 UTC
Created attachment 461168 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2017-01-24 09:59:21 UTC
Created attachment 461170 [details]
config.log
Comment 3 Toralf Förster gentoo-dev 2017-01-24 09:59:25 UTC
Created attachment 461172 [details]
dev-libs:libgit2-glib-0.24.4:20170124-063906.log
Comment 4 Toralf Förster gentoo-dev 2017-01-24 09:59:28 UTC
Created attachment 461174 [details]
emerge-history.txt
Comment 5 Toralf Förster gentoo-dev 2017-01-24 09:59:31 UTC
Created attachment 461176 [details]
environment
Comment 6 Toralf Förster gentoo-dev 2017-01-24 09:59:35 UTC
Created attachment 461178 [details]
etc.portage.tbz2
Comment 7 Mart Raudsepp gentoo-dev 2017-08-22 12:30:59 UTC
I read from libgit2 changelog that it is now (since 0.26.0) compatible with OpenSSL v1.1, maybe that was the problem here?
Comment 8 Gilles Dartiguelongue (RETIRED) gentoo-dev 2017-09-13 07:22:22 UTC
Could be the libressl USE flag ? libgit2 ships with src/openssl_stream.{c,h} that checks for openssl < 1.1 to define these symbols, maybe libressl messes with that ?
Comment 9 Gilles Dartiguelongue (RETIRED) gentoo-dev 2017-09-13 07:25:17 UTC
Some more search show this is the actual problem.
Comment 10 Stefan Strogin gentoo-dev 2019-02-28 23:53:44 UTC
Does not reproduce with dev-libs/libgit2-0.28.1 and libressl-2.8.3

Appears it was fixed upstream here: https://github.com/libgit2/libgit2/commit/d9007dc8520942763a21e4058dfa8f159f3e3c56