Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 915319

Summary: app-backup/borgbackup requires ~dev-python/msgpack-1.0.5
Product: Gentoo Linux Reporter: Michał Górny <mgorny>
Component: Current packagesAssignee: Marek Szuba <marecki>
Status: RESOLVED FIXED    
Severity: normal CC: gentoo-bgz
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=927707
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 922394    
Bug Blocks: 722500    

Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2023-10-06 19:01:45 UTC
NonsolvableDepsInStable: version 1.2.6: nonsolvable depset(bdepend) keyword(amd64) stable profile (default/linux/amd64/17.1) (102 total): solutions: [ ~dev-python/msgpack-1.0.5[python_targets_python3_10(-),python_targets_python3_11(-)] ]
Comment 1 Marek Szuba archtester gentoo-dev 2023-10-07 20:17:50 UTC
Quoting upstream comments in setup.py:

"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
"

That said, recent commits to several branches, 1.2-maint included, have allowed the use of 1.0.6 and 1.0.7 - so the next release should have this taken care of. No backports to 1.2.6 because as recently mentioned in another ticket, I am very much opposed to messing with any software from app-backup.
Comment 2 Steven Green 2023-12-08 10:16:10 UTC
Version 1.2.7 was released a few days ago, which includes the change:

"allow msgpack 1.0.6 and 1.0.7"

https://github.com/borgbackup/borg/releases/tag/1.2.7

So hopefully, Marek will find time to update the gentoo ebuild soon.
Comment 3 Eli Schwartz 2023-12-08 15:19:50 UTC
Upstream is not just very picky, but unreasonably picky. From past experience it nearly always works and when it doesn't the tests fail.

That being said attempting to allow newer versions may be like pulling teeth as far as patching goes, though things might have changed...
Comment 4 Larry the Git Cow gentoo-dev 2023-12-08 23:10:58 UTC
The bug has been referenced in the following commit(s):

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

commit dc29c27f0fa57657e645c34e9c08dcf84111b763
Author:     Marek Szuba <marecki@gentoo.org>
AuthorDate: 2023-12-08 23:09:35 +0000
Commit:     Marek Szuba <marecki@gentoo.org>
CommitDate: 2023-12-08 23:10:48 +0000

    app-backup/borgbackup: add 1.2.7
    
    Bug: https://bugs.gentoo.org/915319
    Signed-off-by: Marek Szuba <marecki@gentoo.org>

 app-backup/borgbackup/Manifest                |  1 +
 app-backup/borgbackup/borgbackup-1.2.7.ebuild | 53 +++++++++++++++++++++++++++
 2 files changed, 54 insertions(+)
Comment 5 Larry the Git Cow gentoo-dev 2024-01-18 19:08:09 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=44e604ec957491f0ad8e73fbc2be03e5e68ed060

commit 44e604ec957491f0ad8e73fbc2be03e5e68ed060
Author:     Marek Szuba <marecki@gentoo.org>
AuthorDate: 2024-01-18 19:05:54 +0000
Commit:     Marek Szuba <marecki@gentoo.org>
CommitDate: 2024-01-18 19:08:02 +0000

    app-backup/borgbackup: drop 1.2.6
    
    Closes: https://bugs.gentoo.org/915319
    Signed-off-by: Marek Szuba <marecki@gentoo.org>

 app-backup/borgbackup/Manifest                |  1 -
 app-backup/borgbackup/borgbackup-1.2.6.ebuild | 54 ---------------------------
 2 files changed, 55 deletions(-)