| Summary: | Build issue: tdesdk/kbugbuster FTBFS | ||
|---|---|---|---|
| Product: | TDE | Reporter: | Darrell <darrella> |
| Component: | tdesdk | Assignee: | Timothy Pearson <kb9vqf> |
| Status: | RESOLVED FIXED | ||
| Severity: | critical | CC: | bugwatch, darrella, slavek.banko |
| Priority: | P1 | ||
| Version: | R14.0.0 [Trinity] | ||
| Hardware: | Other | ||
| OS: | Other | ||
| Compiler Version: | TDE Version String: | ||
| Application Version: | Application Name: | ||
| Attachments: |
Initial patch
Fix cmake build of kbugbuster with kcal |
||
Created attachment 956 [details]
Initial patch
There is currently no testing for required libraries and headers. So far the patch is not pretty. The purpose is to test whether this is the right way.
I tried to build with:
-DBUILD_KBUGBUSTER="ON"
-DWITH_KCAL = "ON"
I ran a quick test of the patch in attachment 956 [details]. I used -DWITH_KCAL=ON and -DBUILD_KBUGBUSTER=ON. I did not reverse commits 629e2283 and b04ab117.
The patch seems to work. In my build log there are many instances of -I/opt/trinity/include/libkcal. I do not see any errors or warnings. The cmake output shows:
//Enable kcal support (kbugbuster)
WITH_KCAL:BOOL=ON
There is a kcal_bugzilla.la and kcal_bugzilla.so in the final package.
Created attachment 957 [details]
Fix cmake build of kbugbuster with kcal
Since the initial patch was succeeding, I have prepared a better patch. Was added test for the presence kcal.
Fixed in GIT hash 59a2f3d9. |
Latest GIT. I am unable to build kbugbuster in tdesdk. I realize kbugbuster is more or less broken from a usability perspective, but we should still be able to build. I can build tdesdk in one of two ways: * -DBUILD_KBUGBUSTER=OFF * Reversing GIT patches b04ab117 and 629e2283, both from 03-27-2012. The failure is being unable to find the libkcal headers installed by tdepim. Those headers are installed in $PREFIX/include/libkcal, as seen in tdepim/libkcal/CMakeLists.txt: DESTINATION ${INCLUDE_INSTALL_DIR}/libkcal. As seen from the two commits, the build process does not look in ${INCLUDE_INSTALL_DIR}/libkcal to find the headers. Reversing the two patches in GIT seems one way to fix this.