Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 680634 - gnome-extra/evolution-data-server-3.30.5-r1 - ld: /usr/lib64/ undefined reference to `EVP_MD_CTX_cleanup'
Summary: gnome-extra/evolution-data-server-3.30.5-r1 - ld: /usr/lib64/ u...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
Depends on:
Reported: 2019-03-16 18:38 UTC by Mark Locascio
Modified: 2019-03-20 05:17 UTC (History)
2 users (show)

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

emerge --info (emergeinfo.txt,6.04 KB, text/plain)
2019-03-16 18:38 UTC, Mark Locascio

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Locascio 2019-03-16 18:38:46 UTC
Created attachment 569392 [details]
emerge --info

Emerging gnome-extra/evolution-data-server-3.30.5-r1 fails with the following error:

[ 52%] Building C object src/libebackend/CMakeFiles/ebackend.dir/e-backend.c.o
/usr/lib/gcc/x86_64-pc-linux-gnu/8.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib64/ undefined reference to `EVP_MD_CTX_cleanup'
collect2: error: ld returned 1 exit status
make[2]: *** [src/tools/list-sources/CMakeFiles/list-sources.dir/build.make:88: src/tools/list-sources/list-sources] Error 1
make[2]: Leaving directory '/tmp/portage/gnome-extra/evolution-data-server-3.30.5-r1/work/evolution-data-server-3.30.5_build'
make[1]: *** [CMakeFiles/Makefile2:6529: src/tools/list-sources/CMakeFiles/list-sources.dir/all] Error 2

emerge --info is attached.
Comment 1 Mart Raudsepp gentoo-dev 2019-03-16 22:13:18 UTC
It looks like you need to rebuild liboauth after an openssl upgrade?
Comment 2 Mark Locascio 2019-03-17 19:08:52 UTC
Can confirm that rebuilding liboath resolves the issue.
Comment 3 Fred Krogh 2019-03-19 01:04:22 UTC
THanks, worked for me as well.
Comment 4 Mart Raudsepp gentoo-dev 2019-03-19 05:27:33 UTC
I assume this was during a full @world upgrade, not selective evolution-data-server upgrade? What was the revision of liboauth you reinstalled and was it an upgrade from 1.0.3 to 1.0.30-r1?

@portage: Why might evolution-data-server get upgraded before liboauth gets rebuilt, with evolution-data-server depending on libgdata, which depends on liboauth, which has a subslot operator dep on openssl?
Comment 5 Mark Locascio 2019-03-20 03:07:16 UTC
Correct, this was a world upgrade.

My log appears to show that I:
- upgraded from liboauth-1.0.1 to liboauth-1.0.3 on Nov. 9, 2016
- upgraded from liboauth-1.0.3 to liboauth-1.0.3-r1 on Nov. 17, 2018
- re-emerged liboauth-1.0.3-r1 on Jan. 02, 2019 (not explicitly, this was part of a world upgrade)

I started seeing this problem a couple weeks ago when evolution-data-server-3.30.5-r1 became available.
Comment 6 Mart Raudsepp gentoo-dev 2019-03-20 05:17:06 UTC
I assume you have disabled USE=nss on liboauth to even hit this in the first place (thus using openssl for it instead of nss); in whichj case where in that timeline were openssl upgrades (from 1.0.0 to 1.1.0 series in particular)