Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 905853 - app-backup/borgbackup has automagic dependency on dev-libs/xxhash and app-arch/zstd
Summary: app-backup/borgbackup has automagic dependency on dev-libs/xxhash and app-arc...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Piotr Karbowski (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-05-07 05:18 UTC by Sven Wegener
Modified: 2023-05-07 18:39 UTC (History)
0 users

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 Sven Wegener gentoo-dev 2023-05-07 05:18:07 UTC
If dev-libs/xxhash is installed:

> Detected and preferring liblz4 [via pkg-config]
> Detected and preferring libzstd [via pkg-config]
> Detected and preferring libxxhash [via pkg-config]                                                                                                             

If it's missing:

> Detected and preferring liblz4 [via pkg-config]
> Detected and preferring libzstd [via pkg-config]
> Using bundled xxhash

Resulting in

> !!! existing preserved libs:
> >>> package: dev-libs/xxhash-0.8.1
>  *  - /usr/lib64/libxxhash.so.0
>  *  - /usr/lib64/libxxhash.so.0.8.1
>  *      used by /usr/lib/python3.10/site-packages/borg/algorithms/checksums.cpython-310-x86_64-linux-gnu.so (app-backup/borgbackup-1.2.4)
>  *      used by /usr/lib/python3.11/site-packages/borg/algorithms/checksums.cpython-311-x86_64-linux-gnu.so (app-backup/borgbackup-1.2.4)

upon removal of dev-libs/xxhash
Comment 1 Sven Wegener gentoo-dev 2023-05-07 05:26:30 UTC
Same goes for app-arch/zstd, which borgbackup also bundles as a fallback.
Comment 2 Piotr Karbowski (RETIRED) gentoo-dev 2023-05-07 18:34:07 UTC
Good find.
Comment 3 Larry the Git Cow gentoo-dev 2023-05-07 18:39:13 UTC
The bug has been closed via the following commit(s):

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

commit 2240e21b36a50254143c3453f195ae3f8cb1f046
Author:     Piotr Karbowski <slashbeast@gentoo.org>
AuthorDate: 2023-05-07 18:38:17 +0000
Commit:     Piotr Karbowski <slashbeast@gentoo.org>
CommitDate: 2023-05-07 18:38:17 +0000

    app-backup/borgbackup: 1.2.4-r1 revbump with xxhash and zstd deps.
    
    Also drops version 1.2.3.
    
    Closes: https://bugs.gentoo.org/905853
    Signed-off-by: Piotr Karbowski <slashbeast@gentoo.org>

 app-backup/borgbackup/Manifest                              |  1 -
 .../{borgbackup-1.2.3.ebuild => borgbackup-1.2.4-r1.ebuild} | 13 +++++--------
 2 files changed, 5 insertions(+), 9 deletions(-)