Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 713820 - app-backup/borgbackup: forces old version of dev-python/msgpack
Summary: app-backup/borgbackup: forces old version of 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: Anthony Basile
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 722500
  Show dependency tree
 
Reported: 2020-03-21 17:08 UTC by Michał Górny
Modified: 2020-06-07 08:26 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2020-03-21 17:08:54 UTC
NonsolvableDepsInStable: version 1.1.11-r1: nonsolvable depset(depend) keyword(~amd64) stable profile (default/linux/amd64/17.0) (28 total): solutions: [ ~dev-python/msgpack-0.5.6[-python_single_target_python3_6(-),-python_single_target_python3_7(-),python_targets_python3_6(-),python_targets_python3_7(-)] ]
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2020-03-28 08:38:41 UTC
Ping.
Comment 2 toon 2020-03-28 13:41:16 UTC
Yes, I confirm problem.
Currently I'm forced to mask out all dev-python/msgpack packages >= 0.6 because of borgbackup.

I have two borgbackup versions in my portage tree:

# equery list -p borgbackup
 * Searching for borgbackup ...
[IP-] [  ] app-backup/borgbackup-1.1.10-r1:0
[-P-] [ ~] app-backup/borgbackup-1.1.11-r1:0
[-P-] [ -] app-backup/borgbackup-9999:0

Both of them still depend on msgpack-0.5.6:

werkstation /etc/portage # grep 'dev-python/msgpack' /usr/portage/app-backup/borgbackup/borgbackup-1.1.1?-r1.ebuild 
/usr/portage/app-backup/borgbackup/borgbackup-1.1.10-r1.ebuild: ~dev-python/msgpack-0.5.6[${PYTHON_USEDEP}]
/usr/portage/app-backup/borgbackup/borgbackup-1.1.11-r1.ebuild: ~dev-python/msgpack-0.5.6[${PYTHON_USEDEP}]

However, msgpack v0.6.2 has already been declared stable.
An emerge world wants t pull it in and is blocked by borgbackup, hence the mask:

werkstation /etc/portage # equery list -p dev-python/msgpack
 * Searching for msgpack in dev-python ...
[IP-] [  ] dev-python/msgpack-0.5.6:0
[-P-] [M ] dev-python/msgpack-0.6.2:0
Comment 3 Anthony Basile gentoo-dev 2020-03-28 15:41:42 UTC
(In reply to toon from comment #2)
> 
> Both of them still depend on msgpack-0.5.6:
> 

Unfortunately upstream wants 0.5.6.  The only other solution I can think of is to remove dep on the system msgpack and use the bundled version.

@mgorny can you suggest a solution.
Comment 4 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2020-03-28 16:05:20 UTC
'Wants' as in really requires, or merely states that they do?
Comment 5 Anthony Basile gentoo-dev 2020-03-29 15:26:19 UTC
(In reply to Michał Górny from comment #4)
> 'Wants' as in really requires, or merely states that they do?

From their changelog:

- bundle latest supported msgpack-python release (0.5.6), remove msgpack-python
  from setup.py install_requires - by default we use the bundled code now.
  optionally, we still support using an external msgpack (see hints in
  setup.py), but this requires solid requirements management within
  distributions and is not recommended.
  borgbackup will break if you upgrade msgpack to an unsupported version.

I'm falling back to bundled.  Please test borgbackup-1.1.11-r2.ebuild.  If it works, I'll rapid stabilize it.
Comment 6 Piotr Karbowski (RETIRED) gentoo-dev 2020-04-06 18:51:42 UTC
It has been taken care of in:

commit 67e647180c1791bd77fb312df96cfa7e7e8004a9
Author: Anthony G. Basile <blueness@gentoo.org>
Date:   2020-03-29 11:25:15 -0400

    app-backup/borgbackup: fall back on bundled msgpack, bug #713820
    
    Package-Manager: Portage-2.3.89, Repoman-2.3.20
    Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
Comment 7 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2020-05-11 17:22:13 UTC
Old version is still causing problems.
Comment 8 Larry the Git Cow gentoo-dev 2020-06-07 08:26:39 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6dbce13a247751eb4eff335fe9d552115b2df8a1

commit 6dbce13a247751eb4eff335fe9d552115b2df8a1
Author:     Piotr Karbowski <slashbeast@gentoo.org>
AuthorDate: 2020-06-07 08:25:15 +0000
Commit:     Piotr Karbowski <slashbeast@gentoo.org>
CommitDate: 2020-06-07 08:25:15 +0000

    app-backup/borgbackup: drop 1.1.10-r1.
    
    Closes: https://bugs.gentoo.org/713820
    
    Signed-off-by: Piotr Karbowski <slashbeast@gentoo.org>

 app-backup/borgbackup/Manifest                    |  1 -
 app-backup/borgbackup/borgbackup-1.1.10-r1.ebuild | 52 -----------------------
 2 files changed, 53 deletions(-)