Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 728112 - app-text/calibre-4.18.0: Unsufficient dependency on dev-python/msgpack
Summary: app-text/calibre-4.18.0: Unsufficient dependency on dev-python/msgpack
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Ian Stakenvicius (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-06-13 09:03 UTC by Marcus Comstedt
Modified: 2020-06-14 18:44 UTC (History)
2 users (show)

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


Attachments
Output from emerge --info (emerge--info.txt,5.95 KB, text/plain)
2020-06-13 09:04 UTC, Marcus Comstedt
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marcus Comstedt 2020-06-13 09:03:43 UTC
app-text/calibre-4.18.0 has a dependency ">=dev-python/msgpack-0.5.6".
However, it tries to use the kwarg "strict_map_key" which does not exist
in that version.  The dependency needs to be updated to say
">=dev-python/msgpack-0.6.2" instead.

Reproducible: Always

Steps to Reproduce:
1.emerge =dev-python/msgpack-0.5.6
2.emerge =app-text/calibre-4.18.0
3.
Actual Results:  
The build of calibre fails:

---8<---
  File "/tmp/portage/app-text/calibre-4.18.0/work/calibre-4.18.0/src/calibre/utils/serialize.py", line 113, in msgpack_loads
    return msgpack.unpackb(dump, ext_hook=msgpack_decoder, raw=False, use_list=use_list, strict_map_key=False)
  File "msgpack/_unpacker.pyx", line 161, in msgpack._unpacker.unpackb
TypeError: unpackb() got an unexpected keyword argument 'strict_map_key'
---8<---

Expected Results:  
The build of calibre succeeds
Comment 1 Marcus Comstedt 2020-06-13 09:04:54 UTC
Created attachment 644548 [details]
Output from emerge --info
Comment 2 Larry the Git Cow gentoo-dev 2020-06-14 18:43:46 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=701a6c4c7491de96fbc74cdf18421688dc98af4f

commit 701a6c4c7491de96fbc74cdf18421688dc98af4f
Author:     Zac Medico <zmedico@gentoo.org>
AuthorDate: 2020-06-14 18:41:27 +0000
Commit:     Zac Medico <zmedico@gentoo.org>
CommitDate: 2020-06-14 18:42:37 +0000

    app-text/calibre: Require newer msgpack
    
    Reported-by: Marcus Comstedt <marcus@mc.pp.se>
    Closes: https://bugs.gentoo.org/728112
    Package-Manager: Portage-2.3.100, Repoman-2.3.22
    Signed-off-by: Zac Medico <zmedico@gentoo.org>

 app-text/calibre/calibre-4.18.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Comment 3 Zac Medico gentoo-dev 2020-06-14 18:44:12 UTC
Thanks!