Ticket #567 (closed defect: fixed)

Opened 10 years ago

Last modified 7 years ago

daf_persistence, security and afw no longer build

Reported by: rowen Owned by: ktl
Priority: critical Milestone:
Component: daf_persistence Keywords:
Cc: Blocked By:
Blocking: Project: LSST
Version Number: 6970
How to repeat:

not applicable

Description

Today I can't get daf_persistence, security or afw to build. One obvious change I made was to switch to utils ticket 548, but I'm not sure that's the problem.

This is on MacOS X 10.5.6 using the standard compiler (g++ 4.0.1 from XCode 3.1.2).

In the case of daf_persistence it just can't find various needed packages, despite the fact that they are setup and I did recursively delete .scons* files. A relevant extract from the config.log is:

g++ -o .sconf_temp/conftest_13.o -c -g -Wall -O3 -DLSST_HAVE_TR1=1 -DLSST_LITTLE_ENDIAN=1 -I/Users/rowen/lsst_home/DarwinX86/external/boost/1.36.0/include -I/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5 -I/Library/include -I/Users/rowen/lsst_home/DarwinX86/external/mysqlclient/5.0.45+1/include -I/Users/rowen/LSST/code/utils-548/include -I/Users/rowen/LSST/code/daf_base-trunk/include .sconf_temp/conftest_13.cpp
In file included from /Users/rowen/LSST/code/daf_base-trunk/include/lsst/daf/base.h:7,
                 from .sconf_temp/conftest_13.cpp:2:
/Users/rowen/LSST/code/daf_base-trunk/include/lsst/daf/base/PropertySet.h:30:33: error: lsst/pex/exceptions.h: No such file or directory
/Users/rowen/LSST/code/daf_base-trunk/include/lsst/daf/base/PropertySet.h:132: error: expected constructor, destructor, or type conversion before '(' token
scons: Configure: no

At the time of writing this K-T has already fixed daf_persistence in rev 6971 by moving the dependency check for pex_exceptions before daf_data. But that same fix was not sufficient for security or afw.

I have tentatively assigned this to K-T and package daf_persistence but I don't know what change actually caused the trouble. I was able to build these packages a few days ago.

Change History

comment:1 Changed 10 years ago by ktl

  • Status changed from new to closed
  • Resolution set to fixed

The problem is that the dependencies in the SConstruct need to be in order. Now that pex_exceptions does not depend on daf_base, but instead the reverse, these need to be swapped in all SConstruct files. [6971], [6972], and [6973] fix this for daf_persistence, security, and afw, respectively.

Ideally there would be no order-sensitivity in the SConstruct, but that is a build system task.

comment:2 Changed 7 years ago by robyn

  • Milestone DC3a Apps Framework deleted

Milestone DC3a Apps Framework deleted

Note: See TracTickets for help on using tickets.