Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 680820 - dev-libs/libzip-1.5.2[mbedtls] : lib/libzip.so.5.0: undefined reference to mbedtls_md_hmac_starts
Summary: dev-libs/libzip-1.5.2[mbedtls] : lib/libzip.so.5.0: undefined reference to mb...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Chris Reffett (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: underlinking
  Show dependency tree
 
Reported: 2019-03-18 01:07 UTC by Toralf Förster
Modified: 2019-04-04 00:09 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.63 KB, text/plain)
2019-03-18 01:07 UTC, Toralf Förster
Details
dev-libs:libzip-1.5.2:20190318-010351.log (dev-libs:libzip-1.5.2:20190318-010351.log,65.97 KB, text/plain)
2019-03-18 01:07 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,117.08 KB, text/plain)
2019-03-18 01:07 UTC, Toralf Förster
Details
environment (environment,91.38 KB, text/plain)
2019-03-18 01:07 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,13.30 KB, application/x-bzip)
2019-03-18 01:07 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,6.23 KB, application/x-bzip)
2019-03-18 01:07 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,27.99 KB, application/x-bzip)
2019-03-18 01:07 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 2019-03-18 01:07:08 UTC
FAILED: src/zipmerge 
: && /usr/bin/x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native  -Wl,-O1 -Wl,--as-needed    -rdynamic src/CMakeFiles/zipmerge.dir/zipmerge.c.o  -o src/zipmerge  -Wl,-rpath,/var/tmp/portage/dev-libs/libzip-1.5.2/work/libzip-1.5.2-shared/lib: lib/libzip.so.5.0 -lz -lbz2 -lmbedtls && :
lib/libzip.so.5.0: undefined reference to `mbedtls_md_hmac_starts'
lib/libzip.so.5.0: undefined reference to `mbedtls_entropy_init'
lib/libzip.so.5.0: undefined reference to `mbedtls_entropy_free'
lib/libzip.so.5.0: undefined reference to `mbedtls_ctr_drbg_free'

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1-desktop_test_20190313-190226

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

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

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

Available Rust versions:
  [1]   rust-bin-1.32.0 *
  [2]   rust-1.32.0
java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.10.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

emerge -qpvO dev-libs/libzip
[ebuild     U ] dev-libs/libzip-1.5.2 [1.5.1] USE="bzip2 mbedtls%* ssl test -doc -gnutls -libressl -static-libs"
Comment 1 Toralf Förster gentoo-dev 2019-03-18 01:07:11 UTC
Created attachment 569560 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2019-03-18 01:07:14 UTC
Created attachment 569562 [details]
dev-libs:libzip-1.5.2:20190318-010351.log
Comment 3 Toralf Förster gentoo-dev 2019-03-18 01:07:17 UTC
Created attachment 569564 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2019-03-18 01:07:20 UTC
Created attachment 569566 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2019-03-18 01:07:23 UTC
Created attachment 569568 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2019-03-18 01:07:25 UTC
Created attachment 569570 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2019-03-18 01:07:28 UTC
Created attachment 569572 [details]
temp.tbz2
Comment 8 Michael Palimaka (kensington) gentoo-dev 2019-03-31 10:14:31 UTC
I did send a patch upstream: https://github.com/nih-at/libzip/pull/88
Comment 9 Larry the Git Cow gentoo-dev 2019-04-04 00:09:58 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8d445166aaaa9c00abbdc582b73a3e4664ece5ad

commit 8d445166aaaa9c00abbdc582b73a3e4664ece5ad
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2019-04-04 00:09:05 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2019-04-04 00:09:44 +0000

    dev-libs/libzip: Fix USE mbedtls
    
    Closes: https://bugs.gentoo.org/680820
    Package-Manager: Portage-2.3.62, Repoman-2.3.12
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 dev-libs/libzip/files/libzip-1.5.2-mbedtls.patch | 23 +++++++++++++++++++++++
 dev-libs/libzip/libzip-1.5.2-r1.ebuild           |  2 ++
 2 files changed, 25 insertions(+)