checking for thin_check... no configure: error: thin_check not found in path /usr/lib64/portage/bin/ebuild-helpers:/usr/local/sbin:/usr/local/bin:... It should not check for thin_check, when crosscompiling. Reproducible: Always
*** This bug has been marked as a duplicate of bug 436332 ***
*** Bug 491746 has been marked as a duplicate of this bug. ***
Either it should DEPEND on sys-block/thin-provisioning-tools or the check should be removed (if it's pointless anyway).
Created attachment 364634 [details, diff] Fix thin tool path check This issue is not specific to cross compiling but crops up any time you build lvm2 with an alternate $ROOT value and sys-block/thin-provisioning-tools is not installed on the host system. Instead of letting the configure script scan $PATH for the tools just set the path explicitly. Both 103 and 104 build now with this fix. Patched versions committed to my overlay: https://github.com/marineam/misc-overlay/commit/b80265052d31e43ddab5c864b3d8584ba60d9c66
Shouldn't the sys-block/thin-provisioning-tools package be pulled in as a dependency by the 'thin' use flag? I would also suggest that thin should not be selected by default.
InCVS of .105-r2.