| Summary: | tdebase fails to compile on x86_64 because config.ci is not make for tdm | ||
|---|---|---|---|
| Product: | TDE | Reporter: | thomas <hippykitty> |
| Component: | tdebase | Assignee: | 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
On debian I think the problem was solved after cloning last version of tde-packaging 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. 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.
Fixed in commit 2f1da058 (R14.1) and 18e56531 (R14.0). 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 :)
I will post another patch on gitea for testing 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. Builds on quickbuild looks good again. Closing. |