Here sys-fs/zfs-0.6.2-r1 fails to build: /bin/sh ../../libtool --tag=CC --silent --mode=link x86_64-pc-linux-gnu-gcc -Wall -Wstrict-prototypes -fno-str ict-aliasing -Wno-unused-but-set-variable -DNDEBUG -O2 -pipe -pipe -march=native -mtune=native -ggdb -pthread -l m -lz -lrt -ldl -luuid -lblkid -Wl,--as-needed,--hash-style=gnu -o zfs zfs_iter.o zfs_main.o ../../lib/libnvpair /libnvpair.la ../../lib/libuutil/libuutil.la ../../lib/libzpool/libzpool.la ../../lib/libzfs/libzfs.la -luuid -l uuid -lz -lz -lz ../../lib/libzfs/.libs/libzfs.so: undefined reference to `blkid_dev_iterate_end' ../../lib/libzfs/.libs/libzfs.so: undefined reference to `blkid_dev_devname' ../../lib/libzfs/.libs/libzfs.so: undefined reference to `blkid_dev_iterate_begin' ../../lib/libzfs/.libs/libzfs.so: undefined reference to `blkid_put_cache' ../../lib/libzfs/.libs/libzfs.so: undefined reference to `blkid_dev_next' ../../lib/libzfs/.libs/libzfs.so: undefined reference to `blkid_get_cache' ../../lib/libzfs/.libs/libzfs.so: undefined reference to `blkid_probe_all' ../../lib/libzfs/.libs/libzfs.so: undefined reference to `blkid_dev_set_search' collect2: error: ld returned 1 exit status make[3]: *** [zfs] Error 1 make[3]: Leaving directory `/var/tmp/portage/sys-fs/zfs-0.6.2-r1/work/zfs-zfs-0.6.2/cmd/zfs' make[2]: *** [all-recursive] Error 1 I found similar pull request upstream https://github.com/zfsonlinux/zfs/pull/1685 that references another request https://github.com/zfsonlinux/zfs/pull/1751 that was accepted and incorporates three fixes upstream. As I found https://github.com/zfsonlinux/zfs/commit/a6ce1ea - is not necessary https://github.com/zfsonlinux/zfs/commit/1db7b9b - is already in our patchset https://github.com/zfsonlinux/zfs/commit/31fc193 - and this one is missed. I've applied patch 31fc193 and build issue gone. Please, apply patch in the tree. Thanks.
This patch should have been in -r1, but it was omitted due to an error on my part. I will include it in -r2 in a day or two. Thanks for the report. :)
*** Bug 488314 has been marked as a duplicate of this bug. ***
sys-fs/zfs-0.6.2-r2 is committed with this fix.