Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 672502 - app-forensics/sleuthkit-4.6.4-r1[-ewf] with app-forensics/libewf installed - ld: ../../tsk/.libs/libtsk.so: undefined reference to `libewf_handle_read_random'
Summary: app-forensics/sleuthkit-4.6.4-r1[-ewf] with app-forensics/libewf installed - ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Göktürk Yüksek
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-12-04 16:25 UTC by Jan Breig
Modified: 2018-12-19 17:08 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emerge-info,8.32 KB, text/plain)
2018-12-04 16:25 UTC, Jan Breig
Details
build.log (build.log,87.22 KB, text/plain)
2018-12-04 16:26 UTC, Jan Breig
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Breig 2018-12-04 16:25:00 UTC
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"
Comment 1 Jan Breig 2018-12-04 16:26:09 UTC
Created attachment 557046 [details]
build.log
Comment 2 Jan Breig 2018-12-04 16:45:44 UTC
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)
Comment 3 Larry the Git Cow gentoo-dev 2018-12-19 17:08:12 UTC
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(-)