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 1619 - Build Issue: tdelibs source tree is being modified on configuration with cmake
Summary: Build Issue: tdelibs source tree is being modified on configuration with cmake
Status: RESOLVED FIXED
Alias: None
Product: TDE
Classification: Unclassified
Component: tdelibs (show other bugs)
Version: R14.0.0 [Trinity]
Hardware: All Linux
: P5 normal
Assignee: Timothy Pearson
URL:
Depends on:
Blocks:
 
Reported: 2013-08-10 18:04 CDT by Alexander Golubev (Fat-Zer)
Modified: 2014-03-07 00:06 CST (History)
3 users (show)

See Also:
Compiler Version:
TDE Version String:
Application Version:
Application Name:


Attachments
move script to binary dir patch (1021 bytes, patch)
2013-08-10 18:15 CDT, Alexander Golubev (Fat-Zer)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Golubev (Fat-Zer) 2013-08-10 18:04:06 CDT
CMake tries to modify source code tree documentation while being build and fails if the tree is readonly with next errors:
=========================================
CMake Error: Could not open file for write in copy operation /tmp/trinity/tdelibs/kdoctools/update-entities.tmp
CMake Error: : System Error: Read-only file system
CMake Error at kdoctools/ConfigureChecks.cmake:11 (configure_file):
  configure_file Problem configuring file
Call Stack (most recent call first):
  kdoctools/CMakeLists.txt:12 (include)


CMake Error at cmake/modules/TDEMacros.cmake:23 (message):
  #################################################

   /tmp/trinity/tdelibs/kdoctools/update-entities not found!
   Check your sources.

  #################################################
Call Stack (most recent call first):
  kdoctools/ConfigureChecks.cmake:18 (tde_message_fatal)
  kdoctools/CMakeLists.txt:12 (include)


-- Configuring incomplete, errors occurred!
make: *** [cmake_check_build_system] Ошибка 1

=========================================
Comment 1 Alexander Golubev (Fat-Zer) 2013-08-10 18:15:35 CDT
Created attachment 1456 [details]
move script to binary dir patch

This patch doesn't resolves the bug, but with this the configuration won't fail, but the following errors will be displayed: 

=========================================
-- Updating /tmp/trinity/tdelibs/kdoctools/customization/entities/general.entities:
     TDE Release Version: R14.0.0 [DEVELOPMENT]
     TDE Release Date: July 25, 2013
     TDE Release Copyright: 2010-2013
/tmp/tdelibs-build/kdoctools/update-entities: line 48: /tmp/trinity/tdelibs/kdoctools/customization/entities/general.entities: Read-only file system
/tmp/tdelibs-build/kdoctools/update-entities: line 49: /tmp/trinity/tdelibs/kdoctools/customization/entities/general.entities: Read-only file system
/tmp/tdelibs-build/kdoctools/update-entities: line 50: /tmp/trinity/tdelibs/kdoctools/customization/entities/general.entities: Read-only file system
/tmp/tdelibs-build/kdoctools/update-entities: line 51: /tmp/trinity/tdelibs/kdoctools/customization/entities/general.entities: Read-only file system
-- Updated as follows:

<!ENTITY tde-release-version "R14.0.0 [DEVELOPMENT]">
<!ENTITY tde-release-date "April 25, 2013">
<!ENTITY tde-copyright-date "2010-2013">

-- Configuring done
-- Generating done
=========================================

The resolution I see: to copy the general.entities file to the build dir, process it there and explicitly install it.
Comment 2 Alexander Golubev (Fat-Zer) 2013-08-11 17:33:18 CDT
Comment on attachment 1456 [details]
move script to binary dir patch

The patch was pushed with commit on git hash 06fa48d8ebade86f0f9f3f16eaa24c1fc555ff
Sorry, haven't noticed that...
Comment 3 Darrell 2013-11-12 16:15:26 CST
Is this report still valid?
Comment 4 Michele Calgaro 2014-03-07 00:06:49 CST
I am closing the bug since the patch was pushed. I assume the problem was fixed by the patch, otherwise feel free to reopen it.