Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 579082 - media-libs/mesa: automagic dependency on cryptographic library
Summary: media-libs/mesa: automagic dependency on cryptographic library
Status: RESOLVED DUPLICATE of bug 539266
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-04-05 08:07 UTC by Alexander Tsoy
Modified: 2016-04-05 09:44 UTC (History)
1 user (show)

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


Attachments
mesa-11.2.0:20160405-071304.log.gz (mesa-11.2.0:20160405-071304.log.gz,374.00 KB, application/gzip)
2016-04-05 08:07 UTC, Alexander Tsoy
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Tsoy 2016-04-05 08:07:16 UTC
Created attachment 429670 [details]
mesa-11.2.0:20160405-071304.log.gz

mesa automagically depends on one of the packages providing SHA1 hash function: nettle, libgcrypt, openssl, etc. See configure.ac for more info.


For example on my system:

$ ldd /usr/lib64/mesa/radeonsi_dri.so | grep nettle
        libnettle.so.6 => /usr/lib64/libnettle.so.6 (0x000003607109a000)
$ ldd /usr/lib64/mesa/i915_dri.so | grep nettle
        libnettle.so.6 => /usr/lib64/libnettle.so.6 (0x000003ab49313000)
# grep -rl libnettle /var/db/pkg/media-libs/mesa-11.1.2-r1/
/var/db/pkg/media-libs/mesa-11.1.2-r1/NEEDED
/var/db/pkg/media-libs/mesa-11.1.2-r1/NEEDED.ELF.2
/var/db/pkg/media-libs/mesa-11.1.2-r1/REQUIRES


From the build log:

checking for SHA1Init... no
checking for CC_SHA1_Init... no
checking for wincrypt.h... no
checking for SHA1Init in -lmd... no
checking for LIBSHA1... no
checking for nettle_sha1_init in -lnettle... yes
checking for gcry_md_open in -lgcrypt... yes
checking for SHA1_Init in -lcrypto... yes
checking for OPENSSL... yes
checking for SHA1 implementation... libnettle
Comment 1 Chí-Thanh Christopher Nguyễn gentoo-dev 2016-04-05 09:44:14 UTC

*** This bug has been marked as a duplicate of bug 539266 ***