Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 683012 - <app-backup/borgbackup-1.2 conflicts with >=dev-python/msgpack-0.6
Summary: <app-backup/borgbackup-1.2 conflicts with >=dev-python/msgpack-0.6
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Anthony Basile
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-04-10 07:46 UTC by Boris Bigott
Modified: 2019-12-21 13:48 UTC (History)
4 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 Boris Bigott 2019-04-10 07:46:10 UTC
It looks like borgbackup will support msgpack 0.6 with it's next 1.2 release. Unfortunately, it is still in alpha.

Reproducible: Always
Comment 1 Piotr Karbowski (RETIRED) gentoo-dev 2019-04-14 15:22:24 UTC
The current situation is that borgbackup refules to run with:

    You do not have a supported msgpack[-python] version installed. Terminating.
    This should never happen as specific, supported versions are required by our setup.py.
    Do not contact borgbackup support about this.
Comment 2 Larry the Git Cow gentoo-dev 2019-04-14 16:19:44 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4cba1216422f4be172301ef17178a53224d34490

commit 4cba1216422f4be172301ef17178a53224d34490
Author:     Piotr Karbowski <slashbeast@gentoo.org>
AuthorDate: 2019-04-14 16:18:07 +0000
Commit:     Piotr Karbowski <slashbeast@gentoo.org>
CommitDate: 2019-04-14 16:19:19 +0000

    app-backup/borgbackup: 1.1.9: fixed msgpack version dependency
    
    Currently borgbackup does not support msgpack other than 0.5.6, with
    version checking hardcoded internally. The msgpack >=0.6 is supposed to
    be supported in borgbackup-1.2 that is yet to be released.
    
    Closes: https://bugs.gentoo.org/683012
    Package-Manager: Portage-2.3.62, Repoman-2.3.12
    Signed-off-by: Piotr Karbowski <slashbeast@gentoo.org>

 app-backup/borgbackup/borgbackup-1.1.9.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Comment 3 Dennis Schridde 2019-04-18 20:06:09 UTC
(In reply to Larry the Git Cow from comment #2)
> The bug has been closed via the following commit(s):
> 
> https://gitweb.gentoo.org/repo/gentoo.git/commit/
> ?id=4cba1216422f4be172301ef17178a53224d34490
> 
> commit 4cba1216422f4be172301ef17178a53224d34490
> Author:     Piotr Karbowski <slashbeast@gentoo.org>
> AuthorDate: 2019-04-14 16:18:07 +0000
> Commit:     Piotr Karbowski <slashbeast@gentoo.org>
> CommitDate: 2019-04-14 16:19:19 +0000
> 
>     app-backup/borgbackup: 1.1.9: fixed msgpack version dependency
>     
>     Currently borgbackup does not support msgpack other than 0.5.6, with
>     version checking hardcoded internally. The msgpack >=0.6 is supposed to
>     be supported in borgbackup-1.2 that is yet to be released.
>     
>     Closes: https://bugs.gentoo.org/683012
>     Package-Manager: Portage-2.3.62, Repoman-2.3.12
>     Signed-off-by: Piotr Karbowski <slashbeast@gentoo.org>
> 
>  app-backup/borgbackup/borgbackup-1.1.9.ebuild | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

The exact requirement is:

    # we are rather picky about msgpack versions, because a good working msgpack is
    # very important for borg, see https://github.com/borgbackup/borg/issues/3753
    # best versions seem to be 0.4.6, 0.4.7, 0.4.8 and 0.5.6:
    'msgpack-python >=0.4.6, <=0.5.6, !=0.5.0, !=0.5.1, !=0.5.2, !=0.5.3, !=0.5.4, !=0.5.5',
    # if you can't satisfy the above requirement, these are versions that might
    # also work ok, IF you make sure to use the COMPILED version of msgpack-python,
    # NOT the PURE PYTHON fallback implementation: ==0.5.1, ==0.5.4
Comment 4 David Duchesne 2019-05-23 17:42:20 UTC
Hello,

I'm using borgbackup 1.1.8 and the ebuild uses msgpack 0.6.1. So far everything was working fine until I try to mount a previous backup :

$ borg mount /home/foo/backup/ /home/foo/tmp
$ cd tmp
$ ls
$ ls: cannot open directory '.': Transport endpoint is not connected

Upgrading to 1.1.9 or 1.1.10 fixes the issue as it uses :

~dev-python/msgpack-0.5.6[${PYTHON_USEDEP}]

instead of (in 1.1.8 ebuild)

dev-python/msgpack[${PYTHON_USEDEP}]

I'd like now if the 1.1.8 ebuild will receive an update to fix the msgpack dependency ? Or should I just keyword 1.1.9 meanwhile ?

Thanks for your help.
Comment 5 Piotr Karbowski (RETIRED) gentoo-dev 2019-05-23 20:23:32 UTC
I will fix the 1.1.8 dependency, however the only supported msgpack by borgbackup is not stabilized, Once https://bugs.gentoo.org/686626 is done, I will follow up with this one.
Comment 6 Larry the Git Cow gentoo-dev 2019-06-15 17:24:16 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=282560fb6b538991eae445d1328320e5394b1a1f

commit 282560fb6b538991eae445d1328320e5394b1a1f
Author:     Piotr Karbowski <slashbeast@gentoo.org>
AuthorDate: 2019-06-15 17:20:51 +0000
Commit:     Piotr Karbowski <slashbeast@gentoo.org>
CommitDate: 2019-06-15 17:23:56 +0000

    app-backup/borgbackup: 1.1.8: fixed msgpack version dependency.
    
    This is the same fix that has been applied to 1.1.9, as reported on bug
    683012.
    
    Bug: https://bugs.gentoo.org/683012
    Package-Manager: Portage-2.3.67, Repoman-2.3.14
    Signed-off-by: Piotr Karbowski <slashbeast@gentoo.org>

 app-backup/borgbackup/borgbackup-1.1.8.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)