Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 618988 - dev-libs/mongo-c-driver-1.6.2 : mongoc-stream-tls-openssl.c:(.text+<snip>): undefined reference to `X509_VERIFY_PARAM_set_hostflags'
Summary: dev-libs/mongo-c-driver-1.6.2 : mongoc-stream-tls-openssl.c:(.text+<snip>): u...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Ultrabug
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-05-19 20:03 UTC by Toralf Förster
Modified: 2017-05-30 13:31 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,5.85 KB, text/plain)
2017-05-19 20:03 UTC, Toralf Förster
Details
config.log.tbz2 (config.log.tbz2,11.54 KB, application/x-bzip)
2017-05-19 20:03 UTC, Toralf Förster
Details
dev-libs:mongo-c-driver-1.6.2:20170519-193337.log (dev-libs:mongo-c-driver-1.6.2:20170519-193337.log,324.98 KB, text/plain)
2017-05-19 20:03 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,296.70 KB, text/plain)
2017-05-19 20:03 UTC, Toralf Förster
Details
environment (environment,67.67 KB, text/plain)
2017-05-19 20:03 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,29.05 KB, application/x-bzip)
2017-05-19 20:03 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,26.66 KB, application/x-bzip)
2017-05-19 20:03 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-05-19 20:03:24 UTC
libtool: link: x86_64-pc-linux-gnu-gcc -Wno-format-nonliteral -Wno-deprecated-declarations -DMONGOC_COMPILATION -I/usr/include/libbson-1.0 -I./src/mongoc -I./src/mongoc -DBINARY_DIR=\"./tests/binary\" -DJSON_DIR=\"./tests/json\" -DCERT_TEST_DIR=\"./tests/x509gen\" -DOS_RELEASE_FILE_DIR=\"./tests/release_files\" -O2 -pipe -march=native -Wall -Wl,-O1 -o test-load tests/test_load-test-load.o tests/test_load-mongoc-tests.o -pthread  -Wl,--as-needed ./.libs/libmongoc-priv.a -lrt -lssl -lcrypto -lbson-1.0 -pthread
./.libs/libmongoc-priv.a(libmongoc_priv_la-mongoc-stream-tls-openssl.o): In function `mongoc_stream_tls_openssl_new':
mongoc-stream-tls-openssl.c:(.text+0xcd3): undefined reference to `X509_VERIFY_PARAM_set_hostflags'

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 13.0-no-multilib-libressl_20170512-205521

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

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

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

java-config:
The following VMs are available for generation-2:
Comment 1 Toralf Förster gentoo-dev 2017-05-19 20:03:27 UTC
Created attachment 473376 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2017-05-19 20:03:30 UTC
Created attachment 473378 [details]
config.log.tbz2
Comment 3 Toralf Förster gentoo-dev 2017-05-19 20:03:33 UTC
Created attachment 473380 [details]
dev-libs:mongo-c-driver-1.6.2:20170519-193337.log
Comment 4 Toralf Förster gentoo-dev 2017-05-19 20:03:36 UTC
Created attachment 473382 [details]
emerge-history.txt
Comment 5 Toralf Förster gentoo-dev 2017-05-19 20:03:39 UTC
Created attachment 473384 [details]
environment
Comment 6 Toralf Förster gentoo-dev 2017-05-19 20:03:43 UTC
Created attachment 473386 [details]
etc.portage.tbz2
Comment 7 Toralf Förster gentoo-dev 2017-05-19 20:03:46 UTC
Created attachment 473388 [details]
temp.tbz2
Comment 8 Tomáš Mózes 2017-05-20 05:35:50 UTC
Thanks, seems we need to apply this patch:
https://github.com/mongodb/mongo-c-driver/commit/333bebb849023333be410f5e209101916d683d97

I'll open a PR.
Comment 9 Tomáš Mózes 2017-05-20 06:28:55 UTC
Seems like it's enough to explicitly set the ssl provider.
https://github.com/gentoo/gentoo/pull/4686
Comment 10 Ultrabug gentoo-dev 2017-05-30 13:31:53 UTC
Thanks guys, merged !