Skip to contentSkip to conversation

Btrfs progs release 5.3.1

DISCUSSION David Sterba 3 participants 4 messages Oct 25, 2019 – Oct 29, 2019 Btrfs file system

lore
Share & tools
lore

David Sterba

author maintainer
#0 lore raw

Hi,

btrfs-progs version 5.3.1 have been released.

This fixes (only) linking against libbtrfs (reported by snapper users). I did houpefully enough testing, the CI is green, builds on various arches, and snapper running with the library from 5.3.1 works.

Tarballs: https://www.kernel.org/pub/linux/kernel/people/kdave/btrfs-progs/
Git: git://git.kernel.org/pub/scm/linux/kernel/git/kdave/btrfs-progs.git

Shortlog:

David Sterba (5):
btrfs-progs: libbtrfs: add list of exported symbols
btrfs-progs: build: add missing symbols to libbtrfs
btrfs-progs: preload libbtrfs for libbtrfs-test
btrfs-progs: update CHANGES for 5.3.1 Btrfs progs v5.3.1

#1 lore raw

Hi,

Le 25/10/2019 à 14:15, David Sterba a écrit :

Quoted 5 lines

btrfs-progs version 5.3.1 have been released.

This fixes (only) linking against libbtrfs (reported by snapper users). I did houpefully enough testing, the CI is green, builds on various arches, and snapper running with the library from 5.3.1 works.

Now it looks unhappy on my #Arch...

root@zafu:/# inxi -S
System:    Host: zafu Kernel: 5.3.7-arch1-1-ARCH x86_64 bits: 64 Desktop: Cinnamon 4.2.4 Distro: Arch Linux
root@zafu:/# pacman -Qs btrfs-progs
local/btrfs-progs 5.3-1
    Btrfs filesystem utilities
root@zafu:/# pacman -Qs snapper
local/snap-pac 2.3.1-1
    Pacman hooks that use snapper to create pre/post btrfs snapshots 
like openSUSE's YaST
root@zafu:/# snapper list
snapper: symbol lookup error: /usr/lib/libbtrfs.so.0: undefined symbol: write_raid56_with_parity

ॐ

Signature · 1 line
Swâmi Petaramesh <[email protected]> PGP 9076E32E
#2 lore raw
Quoted 20 lines · Swâmi Petaramesh

Hi,

Le 25/10/2019 à 14:15, David Sterba a écrit :

Quoted 5 lines

btrfs-progs version 5.3.1 have been released.

This fixes (only) linking against libbtrfs (reported by snapper users). I did houpefully enough testing, the CI is green, builds on various arches, and snapper running with the library from 5.3.1 works.

Now it looks unhappy on my #Arch...

root@zafu:/# inxi -S
System:    Host: zafu Kernel: 5.3.7-arch1-1-ARCH x86_64 bits: 64 
Desktop: Cinnamon 4.2.4 Distro: Arch Linux
root@zafu:/# pacman -Qs btrfs-progs
local/btrfs-progs 5.3-1
     Btrfs filesystem utilities
Quoted 8 lines
root@zafu:/# pacman -Qs snapper
local/snap-pac 2.3.1-1
     Pacman hooks that use snapper to create pre/post btrfs snapshots 
like openSUSE's YaST
root@zafu:/# snapper list
snapper: symbol lookup error: /usr/lib/libbtrfs.so.0: undefined symbol: 
write_raid56_with_parity

write_raid56_with_parity should be considered internal symbol and snapper does not use it. I'll have a look how Arch builds snapper.

#3 lore raw
Quoted 26 lines · David Sterba
Quoted 25 lines · Swâmi Petaramesh

Hi,

Le 25/10/2019 à 14:15, David Sterba a écrit :

Quoted 5 lines

btrfs-progs version 5.3.1 have been released.

This fixes (only) linking against libbtrfs (reported by snapper users). I did houpefully enough testing, the CI is green, builds on various arches, and snapper running with the library from 5.3.1 works.

Now it looks unhappy on my #Arch...

root@zafu:/# inxi -S
System:    Host: zafu Kernel: 5.3.7-arch1-1-ARCH x86_64 bits: 64 
Desktop: Cinnamon 4.2.4 Distro: Arch Linux
root@zafu:/# pacman -Qs btrfs-progs
local/btrfs-progs 5.3-1
     Btrfs filesystem utilities
root@zafu:/# pacman -Qs snapper
local/snap-pac 2.3.1-1
     Pacman hooks that use snapper to create pre/post btrfs snapshots 
like openSUSE's YaST
Quoted 6 lines
Quoted 3 lines
root@zafu:/# snapper list
snapper: symbol lookup error: /usr/lib/libbtrfs.so.0: undefined symbol: 
write_raid56_with_parity

write_raid56_with_parity should be considered internal symbol and snapper does not use it. I'll have a look how Arch builds snapper.

I've grabbed built packages from
https://www.archlinux.org/packages/staging/x86_64/btrfs-progs/download/
(v5.3.1)

and https://www.archlinux.org/packages/core/x86_64/btrfs-progs/download/
(v5.3)

and the files /usr/lib/libbtrfs.so.0.1 are exactly the same:

$ md5sum progs-5.3*/usr/lib/libbtrfs.so.0.1
34a5ae4d38c5831e620b5ece52c04340  progs-5.3.1/usr/lib/libbtrfs.so.0.1
34a5ae4d38c5831e620b5ece52c04340  progs-5.3/usr/lib/libbtrfs.so.0.1

The file size is 371000 but this should be, because 5.3.1 added several .o files and on openSUSE the file size grew from ~400KB to ~2MB.

As the PKGBUILD probably only bumps version, I verified that the kernel.org tarballs indeed contain the right sources and buid with defaults produces the right library.

So this seems to be something fishy on Arch side, like stale build or I don't know.