Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 888549 - app-backup/btrbk doesn't work with =sys-fs/btrfs-progs-6.1
Summary: app-backup/btrbk doesn't work with =sys-fs/btrfs-progs-6.1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Craig Andrews
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-12-26 21:02 UTC by Michael Mair-Keimberger (mm1ke)
Modified: 2022-12-27 10:19 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 Michael Mair-Keimberger (mm1ke) 2022-12-26 21:02:06 UTC
Hi,

There is an issue with the latest btrfs-progs and btrbk. With the latest btrfs-progs i'm not able to create backups.

there is an open issue at btrbk [1] and it seems more people (also on other distros) hitting this problem.

Maybe blocking newer btrfs-progs for btrbk should be considered until the issue is fixed.

[1] https://github.com/digint/btrbk/issues/519



Portage 3.0.41 (python 3.10.9-final-0, default/linux/amd64/17.1, gcc-11, glibc-2.36-r5, 5.15.80-gentoo x86_64)
=================================================================
System uname: Linux-5.15.80-gentoo-x86_64-AMD_Athlon_3000G_with_Radeon_Vega_Graphics-with-glibc2.36
KiB Mem:    14261000 total,    118388 free
KiB Swap:    4194300 total,   4194044 free
Timestamp of repository gentoo: Sat, 24 Dec 2022 23:30:01 +0000
Head commit of repository gentoo: 92cde17291b69d28cad8969f1013f758645b839c
Timestamp of repository guru: Sun, 25 Dec 2022 22:18:03 +0000
Head commit of repository guru: 1b35fe6aa1648c3ae4311d94dc147e4fa10daae1

Head commit of repository local: 4011bf4d7fe06acf5e958ee790a2c166f131b5ea

sh bash 5.1_p16-r2
ld GNU ld (Gentoo 2.38 p4) 2.38
app-misc/pax-utils:        1.3.5::gentoo
app-shells/bash:           5.1_p16-r2::gentoo
dev-java/java-config:      2.3.1::gentoo
dev-lang/perl:             5.36.0-r1::gentoo
dev-lang/python:           3.9.16::gentoo, 3.10.9::gentoo, 3.11.1::gentoo
dev-util/cmake:            3.24.3::gentoo
dev-util/meson:            0.63.3::gentoo
sys-apps/baselayout:       2.9::gentoo
sys-apps/openrc:           0.45.2-r2::gentoo
sys-apps/sandbox:          2.29::gentoo
sys-devel/autoconf:        2.71-r5::gentoo
sys-devel/automake:        1.16.5::gentoo
sys-devel/binutils:        2.38-r2::gentoo
sys-devel/binutils-config: 5.4.1::gentoo
sys-devel/gcc:             11.3.1_p20221209::gentoo
sys-devel/gcc-config:      2.8::gentoo
sys-devel/libtool:         2.4.7::gentoo
sys-devel/llvm:            15.0.6::gentoo
sys-devel/make:            4.3::gentoo
sys-kernel/linux-headers:  5.15-r3::gentoo (virtual/os-headers)
sys-libs/glibc:            2.36-r5::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-max-age: 24
    sync-rsync-extra-opts: --info=progress2,name0,del0

guru
    location: /var/db/repos/guru
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/guru.git
    masters: gentoo

local
    location: /var/db/repos/local
    sync-type: git
    sync-uri: git://s2/local.git
    masters: gentoo

Installed sets: @g_base, @g_base_tools
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps=y --jobs=3 -g --binpkg-changed-deps=y --binpkg-respect-use=y"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.utf8"
LC_ALL="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en"
MAKEOPTS="-j4"
PKGDIR="/var/cache/binpkgs"
PORTAGE_BINHOST="http://vs7:8080/s2"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--info=progress2,name0,del0"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
SHELL="/bin/bash"
USE="acl amd64 bzip2 cli crypt dri fortran gdbm iconv ipv6 libglvnd libtirpc multilib ncurses nls nptl openmp pam pcre readline seccomp split-usr ssl test-rust threads udev unicode vim-syntax wayland xattr zlib" ABI_X86="64" ADA_TARGET="gnat_2021" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 aes avx avx2 f16c fma3 pclmul popcnt sha sse3 sse4_1 sse4_2 sse4a ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="pc efi-64" INPUT_DEVICES="libinput" KERNEL="linux" L10N="en" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-4 php8-0" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_10" PYTHON_TARGETS="python3_10" RUBY_TARGETS="ruby27" USERLAND="GNU" VIDEO_CARDS="radeonsi amdgpu" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LD, LEX, LFLAGS, LIBTOOL, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS
Comment 1 Larry the Git Cow gentoo-dev 2022-12-27 01:30:26 UTC
The bug has been referenced in the following commit(s):

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

commit d83cda29049fa2b059adcc49524724e78e247692
Author:     Craig Andrews <candrews@gentoo.org>
AuthorDate: 2022-12-27 01:28:59 +0000
Commit:     Craig Andrews <candrews@gentoo.org>
CommitDate: 2022-12-27 01:30:22 +0000

    app-backup/btrbk: doesn't work with =sys-fs/btrfs-progs-6.1
    
    Bug: https://bugs.gentoo.org/888549
    Signed-off-by: Craig Andrews <candrews@gentoo.org>

 app-backup/btrbk/btrbk-0.31.2.ebuild | 4 ++--
 app-backup/btrbk/btrbk-0.32.5.ebuild | 2 +-
 app-backup/btrbk/btrbk-9999.ebuild   | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)
Comment 2 Katze 2022-12-27 07:15:08 UTC
Just a quick note that the issue seems to be upstream btrfs-progs 6.1 (https://github.com/kdave/btrfs-progs/issues/562). The uuid handling in that specific version seems to be broken, so arranging for btrfs-progs 6.1 specfically to be keyworded accordingly would make more sense IMHO. The commit to fix this has already landed but was not yet released, so it may be better to coordinate this with the btrfs-progs ebuild maintainer(s) to have the keywording (or other solution) in place and remove the dependency on <6.1 in btrbk to enable upgrades for fixed versions.

I'm not Gentoo maintainer though, so I don't know the way of doing for this.

In any case the maintainer who added btrfs-progs 6.1 was sam@ (https://github.com/gentoo-mirror/gentoo/commit/1b471d96f0196ee3a8c9d752464f0016889a3249).
Comment 3 Larry the Git Cow gentoo-dev 2022-12-27 10:12:51 UTC
The bug has been closed via the following commit(s):

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

commit d00acba1f7fca3d8450ddcc5d0122f459881fa46
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-12-27 10:11:27 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-12-27 10:12:28 +0000

    app-backup/btrbk: drop btrfs-progs version restriction
    
    Note that it needed a revbump anyway as it was runtime breakage,
    but it turns out btrfs-progs is broken, not btrbk, and the bad
    btrfs-progs version is now masked.
    
    Closes: https://bugs.gentoo.org/888549
    See: d83cda29049fa2b059adcc49524724e78e247692
    Signed-off-by: Sam James <sam@gentoo.org>

 app-backup/btrbk/btrbk-0.31.2.ebuild | 2 +-
 app-backup/btrbk/btrbk-0.32.5.ebuild | 2 +-
 app-backup/btrbk/btrbk-9999.ebuild   | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

Additionally, it has been referenced in the following commit(s):

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

commit 88e23a58ec4dca3de09ab2be0f8e878516dee8d9
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-12-27 10:10:33 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-12-27 10:10:33 +0000

    profiles: mask broken =sys-fs/btrfs-progs-6.1
    
    Bug: https://bugs.gentoo.org/888549
    Signed-off-by: Sam James <sam@gentoo.org>

 profiles/package.mask | 5 +++++
 1 file changed, 5 insertions(+)
Comment 4 Larry the Git Cow gentoo-dev 2022-12-27 10:19:19 UTC
The bug has been referenced in the following commit(s):

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

commit 009fba584dbee8864f06e4ac69e87a2837606782
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-12-27 10:18:32 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-12-27 10:18:32 +0000

    app-backup/btrbk: revbump to drop btrfs-progs restriction
    
    While the original commit to add the < dep should've revbumped, the
    fact it doesn't does not remove the need to revbump again to drop it,
    as anyone who installed in the interim wouldn't be able to upgrade btrfs-progs
    in future.
    
    Bug: https://bugs.gentoo.org/888549
    Fixes: d00acba1f7fca3d8450ddcc5d0122f459881fa46
    Signed-off-by: Sam James <sam@gentoo.org>

 app-backup/btrbk/{btrbk-0.32.5.ebuild => btrbk-0.32.5-r1.ebuild} | 0
 1 file changed, 0 insertions(+), 0 deletions(-)