Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 705864 - net-libs/mbedtls-2.19.1 installs mbedtls/version.h which claims 2.17.0
Summary: net-libs/mbedtls-2.19.1 installs mbedtls/version.h which claims 2.17.0
Status: RESOLVED DUPLICATE of bug 705038
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Anthony Basile
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-01-19 17:20 UTC by Gert Doering
Modified: 2020-01-29 14:23 UTC (History)
0 users

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


Attachments
emerge --info (emerge-info.txt,6.16 KB, text/plain)
2020-01-19 17:20 UTC, Gert Doering
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gert Doering 2020-01-19 17:20:22 UTC
Created attachment 603734 [details]
emerge --info

When you install mbedtls 2.19.1 as of today, you get an installation that is internally inconsistent as the installed version.h claims "2.17":

gert@blueNUC2:/usr/include/mbedtls$ equery b `pwd`/version.h
 * Searching for /usr/include/mbedtls/version.h ... 
net-libs/mbedtls-2.19.1 (/usr/include/mbedtls/version.h)

gert@blueNUC2:/usr/include/mbedtls$ grep MBEDTLS_VERSION version.h
#define MBEDTLS_VERSION_MAJOR  2
#define MBEDTLS_VERSION_MINOR  17
#define MBEDTLS_VERSION_PATCH  0
#define MBEDTLS_VERSION_NUMBER         0x02110000
#define MBEDTLS_VERSION_STRING         "2.17.0"
#define MBEDTLS_VERSION_STRING_FULL    "mbed TLS 2.17.0"

the version.h in the mbedtls 2.19.1 tarball is fine, but the ebuild also builds mbedcrypto, and the version used *there* has a mbedtls/version.h which is 2.17.0

>>> Emerging (1 of 1) net-libs/mbedtls-2.19.1::gentoo
 * mbedtls-2.19.1.tar.gz BLAKE2B SHA512 size ;-) ...                     [ ok ]
 * mbedcrypto-2.0.0.tar.gz BLAKE2B SHA512 size ;-) ...                   [ ok ]


I've tried to find a page detailing mbedtls <-> mbedcrypto dependencies but failed - so I leave that to the ebuild maintainers to figure out...
Comment 1 Anthony Basile gentoo-dev 2020-01-21 22:21:19 UTC
Actually, I'm finding the same problem with 2.18.1.  The whole mbedtls <-> mbedcrypto is quite annoying.
Comment 2 Anthony Basile gentoo-dev 2020-01-29 14:23:53 UTC

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