Config files in .../configure are overwritten by make run

Bug #541143 reported by Ralph Lange
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
EPICS Base
Fix Released
High
Janet B. Anderson

Bug Description

Editing (even touching) files in the 3.13-compat config directory lead to a subsequent make run overwriting the 3.14 config files with the 3.13 version.
After that any make run fails, the base configuration is irreversibly corrupted - the affected files have to be recreated from the distribution tar file.

Steps to reproduce:
1. Unpack base from 3.14.5 distribution tar.
2. touch config/CONFIG_COMMON
3. make
   and see how configure/CONFIG_COMMON gets overwritten
4. Try to make ...

Additional information:
Even though COMPAT_313=NO, make traverses into the 3.13 config directory and overwrites config files in the 3.14 configure dirctory (since that is the default $(INSTALL_CONFIG) in that case).

The fix for this problem is to add an if test around the
"DIRS += config config/tools" line in base/Makefile as follows:

ifeq ($(findstring YES,$(COMPAT_313) $(COMPAT_TOOLS_313)),YES)
DIRS += config config/tools
endif

OS: Linux RH 8.0

Platform: PC i686

Version: R3.14.5

Original Mantis Bug: mantis-65
    http://www.aps.anl.gov/epics/mantis/view_bug_page.php?f_id=65

Tags: 3.14 3.14.5 build
Revision history for this message
Janet B. Anderson (jba-aps) wrote :

Fix will be in next R3.14 release.

Revision history for this message
Andrew Johnson (anj) wrote :

R3.14.6 Released.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.