Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 657756 - sys-fs/btrfsmaintenance-0.4.1 - btrfs-defrag.sh complains about a missing function is_btrfs
Summary: sys-fs/btrfsmaintenance-0.4.1 - btrfs-defrag.sh complains about a missing fun...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal trivial
Assignee: Martin Dummer
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2018-06-10 19:46 UTC by Felix Neumärker
Modified: 2018-07-07 21:58 UTC (History)
3 users (show)

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


Attachments
patch (btrfs-defrag.patch,296 bytes, patch)
2018-06-10 19:46 UTC, Felix Neumärker
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Felix Neumärker 2018-06-10 19:46:39 UTC
Created attachment 535592 [details, diff]
patch

btrfs-defrag.sh complains about a missing function is_btrfs
-> script does not work anymore

Issue is known to upstream since 20/05/2018 (see https://github.com/kdave/btrfsmaintenance/issues/52), but hasn't been addressed yet.

Fix is simple (see attachment) - Maybe the ebuild should include/apply the trivial patch?
Comment 1 Larry the Git Cow gentoo-dev 2018-07-07 21:58:54 UTC
The bug has been closed via the following commit(s):

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

commit 2e18700253683a13e3ec5b2baf8b0180fda974d2
Author:     Martin Dummer <martin.dummer@gmx.net>
AuthorDate: 2018-06-26 20:11:12 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2018-07-07 21:57:14 +0000

    sys-fs/btrfsmaintenance: fix btrfs-defrag.sh
    
    this ebuild fixes missing function is_btrfs in btrfs-defrag.sh
    
    Closes: https://bugs.gentoo.org/657756
    Package-Manager: Portage-2.3.40, Repoman-2.3.9
    Closes: https://github.com/gentoo/gentoo/pull/9077

 .../btrfsmaintenance-0.4.1-r1.ebuild               | 66 ++++++++++++++++++++++
 .../btrfsmaintenance/files/fix-btrfs-defrag.patch  | 12 ++++
 2 files changed, 78 insertions(+)