Created attachment 557044 [details] emerge --info /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../../tsk/.libs/libtsk.so: undefined reference to `libewf_handle_read_random' collect2: error: ld returned 1 exit status make[2]: *** [Makefile:422: img_stat] Error 1 emerge -pqv app-forensics/sleuthkit [ebuild R ] app-forensics/sleuthkit-4.6.4-r1 USE="threads zlib -aff -doc -ewf -java -postgres -static-libs -test" emerge -pqv app-forensics/libewf [ebuild R ] app-forensics/libewf-20171104 USE="bzip2 fuse nls ssl unicode uuid zlib -bfio -debug -static-libs"
Created attachment 557046 [details] build.log
If app-forensics/libewf is installed it's detected during the configure phase and used later on even if the ewf USE flag is not set. However the detection of a newer libewf version seems not to work which leads to the error. The sleuthkit has a configure option -without-ewf which may help here (see https://github.com/sleuthkit/sleuthkit/blob/develop/INSTALL.txt)
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=27a9adf55f85c8443fd535f4e3f3345176215130 commit 27a9adf55f85c8443fd535f4e3f3345176215130 Author: Göktürk Yüksek <gokturk@gentoo.org> AuthorDate: 2018-12-19 17:06:08 +0000 Commit: Göktürk Yüksek <gokturk@gentoo.org> CommitDate: 2018-12-19 17:06:08 +0000 app-forensics/sleuthkit: handle automagic detection of libewf #672502 Closes: https://bugs.gentoo.org/672502 Package-Manager: Portage-2.3.52, Repoman-2.3.12 Signed-off-by: Göktürk Yüksek <gokturk@gentoo.org> app-forensics/sleuthkit/sleuthkit-4.6.0.ebuild | 8 +++----- app-forensics/sleuthkit/sleuthkit-4.6.4-r1.ebuild | 6 ++---- 2 files changed, 5 insertions(+), 9 deletions(-)