Bug 1346202

Summary: Missing sqlite-devel requires in sleuthkit-devel
Product: [Fedora] Fedora Reporter: Pino Toscano <ptoscano>
Component: sleuthkitAssignee: Nicolas Chauvet (kwizart) <kwizart>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 23CC: kwizart
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-09-29 14:33:39 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 910269    

Description Pino Toscano 2016-06-14 09:18:14 UTC
Description of problem:
The headers provided by sleuthkit-devel require the SQLite headers, but there is no requires -- this means building anything using libtsk will fail if sqlite-devel is not installed as well.

Version-Release number of selected component (if applicable):
sleuthkit-devel-4.2.0-1.fc23.x86_64
sleuthkit-devel-4.2.0-2.fc24.x86_64

How reproducible:
Every time.

Steps to Reproduce:
1. Install sleuthkit-devel
2. Make sure sqlite-devel is not installed
3. Try to build the following test application:
| #include <tsk/libtsk.h>
| int main(void) { return 0; }

Actual results:

$ gcc -c -g -O2 -fno-strict-overflow -Wno-strict-overflow conftest.c
In file included from /usr/include/tsk/libtsk.h:8:0,
                 from conftest.c:1:
/usr/include/tsk/hashdb/tsk_hashdb.h:20:21: fatal error: sqlite3.h: No such file or directory
 #include <sqlite3.h>
                     ^

Expected results:
Builds fine.

Comment 1 Nicolas Chauvet (kwizart) 2016-09-29 14:33:39 UTC
Fixed in 25 and later.