This fails to build: [ebuild U ] sys-fs/lvm2-2.02.136::gentoo [2.02.116-r2::gentoo] USE="readline thin udev -clvm -cman -device-mapper-only -lvm1 -lvm2create_initrd (-selinux) -static -static-libs -systemd" Reproducible: Always
Created attachment 419018 [details] emerge --info
Created attachment 419020 [details] build log
Can relate to Bug 567572, but build log is different. Here it fails on: Mismatch between symbols in shared library and lists in .exported_symbols.* files: dm_tree_children_use_uuid
Created attachment 419256 [details] emerge --info
Same error on my system [ebuild U ] sys-fs/lvm2-2.02.136::gentoo [2.02.116-r2::gentoo] USE="readline systemd thin udev -clvm -cman -device-mapper-only -lvm1 -lvm2create_initrd (-selinux) (-static) (-static-libs)"
Created attachment 419258 [details] build.log
The problem is not in lvm2 package but in sort/uniq. with LC_COLLATE set to cs_CZ.utf8 "sort -u" or uniq does not work well. Workaround is set LC_COLLATE to en_US.utf8 LC_COLLATE=en_US.utf8 emerge lvm2. Same problem is with strace 4.13.