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

Bug 613890

Summary: sys-fs/btrfs-progs-4.10 breaks app-backup/snapper
Product: Gentoo Linux Reporter: Denis Descheneaux <d.descheneaux>
Component: Current packagesAssignee: Sergei Trofimovich (RETIRED) <slyfox>
Status: RESOLVED FIXED    
Severity: normal CC: dlan, floppym, pastas4, proxy-maint
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://mail-archive.com/linux-btrfs@vger.kernel.org/msg62615.html
Whiteboard:
Package list:
Runtime testing required: ---

Description Denis Descheneaux 2017-03-26 12:46:30 UTC
sys-fs/btrfs-progs-4.10 breaks app-backup/snapper

snapper affected includes -9999 version

snapper: symbol lookup error: /usr/lib64/libbtrfs.so.0: undefined symbol: __error

Downgrading + masking sys-fs/btrfs-progs-4.10 fixes the issue

snapper --version
snapper 0.4.4
flags btrfs,lvm,ext4,xattrs,rollback,btrfs-quota,no-selinux
Comment 1 Mike Gilbert gentoo-dev 2017-03-26 20:11:58 UTC
Please attach a full build log.
Comment 2 Mike Gilbert gentoo-dev 2017-03-26 20:28:35 UTC
Oh, I see. This is runtime breakage due to missing symbols.

This should be reported to the developers upstream.
Comment 3 Sergei Trofimovich (RETIRED) gentoo-dev 2017-03-27 20:50:37 UTC
Ugh. My apologies!

Not the first time I've pushed broken libbtrfs.

Assuming unresolved __error is an omission
(and not the way one supposed to override error implementation)
pushed the fix for snapper as btrfs-progs-4.10-r1 bump:

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

While at it added missing 'sizes.h' header. Will send out
the same patches upstream shortly.
Comment 4 Sergei Trofimovich (RETIRED) gentoo-dev 2017-03-31 20:56:41 UTC
Patch was accepted upstream as:
    http://repo.or.cz/btrfs-progs-unstable/devel.git/commitdiff/64c2190d94e9f96c5e5a9e8f223afa68b90cf0c2
and was released as 4.10.2. I've pushed a bump as:
    https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=60dd05244af80e39bafe998ca0ee3847ebb7fdfe

Thanks everyone!