By default, Bugzilla does not search the list of RESOLVED bugs.
You can force it to do so by putting the upper-case word ALL in front of your search query, e.g.: ALL tdelibs
We recommend searching for bugs this way, as you may discover that your bug has already been resolved and fixed in a later release.

Bug 2852

Summary: tdebase fails to compile on x86_64 because config.ci is not make for tdm
Product: TDE Reporter: thomas <hippykitty>
Component: tdebaseAssignee: Michele Calgaro <michele.calgaro>
Status: RESOLVED FIXED    
Severity: blocker CC: bugwatch, deloptes, michele.calgaro, slavek.banko
Priority: P5    
Version: R14.1.x [Trinity]   
Hardware: amd64   
OS: Linux   
Compiler Version: TDE Version String:
Application Version: Application Name:
Bug Depends on:    
Bug Blocks: 2885    

Description thomas 2017-12-31 18:27:40 CST
tdebase fails to compile on x86_64 because config.ci is not make for tdm

I'm not the only one that has this problem. I found this:
https://www.linux.org.ru/forum/development/13677762

[ 81%] Building C object tdm/kfrontend/CMakeFiles/tdm_greet.dir/tdm_greet.c.o
In file included from /tmp/build/tmp-tdebase/tdebase/tdm/kfrontend/tdm_greet.c:28:0:
/tmp/build/tmp-tdebase/tdebase/tdm/kfrontend/tdm_greet.h:30:10: fatal error: config.ci: No such file or directory
#include <config.ci> /* for the HAVE_VTS define */
^~~~~~~~~~~
compilation terminated.
make[2]: *** [tdm/kfrontend/CMakeFiles/tdm_greet.dir/build.make:103: tdm/kfrontend/CMakeFiles/tdm_greet.dir/tdm_greet.c.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:27229: tdm/kfrontend/CMakeFiles/tdm_greet.dir/all] Error 2
make: *** [Makefile:130: all] Error 2
Comment 1 deloptes 2018-02-19 13:17:44 CST
On debian I think the problem was solved after cloning last version of tde-packaging
Comment 2 Michele Calgaro 2018-08-05 06:11:57 CDT
for reference:
1) tdebase builds fine in debian, both locally and in a clean chroot
2) trying to build tdm only, shows the exact same issue. Run debian/rules binary and stop the process when configure is done. go to obj...../tdm and run make. Problem shows.
Comment 3 Michele Calgaro 2018-08-05 07:03:30 CDT
in tdm/kfrontend/CMakeLists.txt, replace line 53 as follow:
set_property( SOURCE tdm_greet.c APPEND PROPERTY OBJECT_DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/config.ci )

This will fix the issue. A patch will be pushed to git repo after R14.0.5 is out.
Comment 4 Michele Calgaro 2018-09-01 00:06:09 CDT
Fixed in commit 2f1da058 (R14.1) and 18e56531 (R14.0).
Comment 5 Slávek Banko 2018-09-01 03:09:28 CDT
At QuickBuild I see many FTBFS:

/build/buildd/tdebase-trinity-14.1.0~r2078/tdm/kfrontend/tdm_config.c:47:10: fatal error: config.ci: No such file or directory
 #include <config.ci>
          ^~~~~~~~~~~
compilation terminated.
tdm/kfrontend/CMakeFiles/tdm_config.dir/build.make:65: recipe for target 'tdm/kfrontend/CMakeFiles/tdm_config.dir/tdm_config.c.o' failed

It seems that the patch has caused problems where we have not previously seen them :)
Comment 6 Michele Calgaro 2018-09-01 03:53:21 CDT
I will post another patch on gitea for testing
Comment 7 Michele Calgaro 2018-09-01 04:06:58 CDT
Hopefully this is now fixed in commit a89e0f34 (R14.1) and 3270212e (R14.0).
I did not run into any issue with the first commit, but since it seems to create  problems on quickbuild, this second patch should resolve things properly.
I leave the bug open until builds on quickbuilds are good again.
Comment 8 Michele Calgaro 2018-09-01 08:44:40 CDT
Builds on quickbuild looks good again. Closing.