Upgrade to ROOT 5.32.02

From Daya Bay
Jump to navigation Jump to search

20120404

  • On mac os x 10.6.8, in /Users/dayabay/offline/NuWa-trunk
  • Edit NuWa-trunk/lcgcmt/LCG_Configuration/cmt/requirements to add macro ROOT_config_version "5.32.02"
  • ./dybinst trunk all
  • ./dybinst trunk all FAIL suds

20120405

  • Wrong directory, too stale. should be /Users/dayabay/offline-trunk
  • Edit requirements file, svn export new dybinst
  • ./dybinst trunk all
    • Installing more ... failed with 1
libtool: compile:  g++ -DMORE_ENABLE_EXPERIMENTAL -DHAVE_CONFIG_H -I/usr/X11/include/freetype2 -I../libltdl -I.. -I.. -DMORE_NO_FLAT_HEADER_PATHS -ansi -MT bitpow.lo -MD -MP -MF .deps/bitpow.Tpo -c math/bitpow.cc  -fno-common -DPIC -o .libs/bitpow.o
In file included from math/bitpow.cc:3:
../more/math/math.h: In function 'int more::math::isfinite(double)':
../more/math/math.h:126: error: 'finite' was not declared in this scope
make[2]: *** [bitpow.lo] Error 1
    • Perhaps some clash in configuration and patching? Clean up, try again
    • rm -rf external/build/LCG/more-0.8.3* external/tarFiles/more-0.8.3.tar.bz2 external/More
  • ./dybinst trunk external more mysql_python django data SQLAlchemy virtualenv OK
    • Spew of snotty messages
 Installing relax ...
  Output dir : /Users/dayabay/offline-trunk/NuWa-trunk/relax/Relax/i386-darwin-gcc42-dbg
  default : skip rebuild when output_dir exists ... remove this output dir to force rebuild or rerun with -r / -c / -s  options to do this dumbly / cleverly / simply  ==> SKIP
  Installing gaudi ...
  Output dir : /Users/dayabay/offline-trunk/NuWa-trunk/gaudi/GaudiRelease/i386-darwin-gcc42-dbg
  default : skip rebuild when output_dir exists ... remove this output dir to force rebuild or rerun with -r / -c / -s  options to do this dumbly / cleverly / simply  ==> SKIP
  Installing lhcb ...
  Output dir : /Users/dayabay/offline-trunk/NuWa-trunk/lhcb/Dyb/GiGaRelease/i386-darwin-gcc42-dbg
  default : skip rebuild when output_dir exists ... remove this output dir to force rebuild or rerun with -r / -c / -s  options to do this dumbly / cleverly / simply  ==> SKIP
  Installing dybgaudi ...
  Output dir : /Users/dayabay/offline-trunk/NuWa-trunk/dybgaudi/DybRelease/i386-darwin-gcc42-dbg
  default : skip rebuild when output_dir exists ... remove this output dir to force rebuild or rerun with -r / -c / -s  options to do this dumbly / cleverly / simply  ==> SKIP
  • Follow instructions
    • rm -rf /Users/dayabay/offline-trunk/NuWa-trunk/relax/Relax/i386-darwin-gcc42-dbg /Users/dayabay/offline-trunk/NuWa-trunk/gaudi/GaudiRelease/i386-darwin-gcc42-dbg /Users/dayabay/offline-trunk/NuWa-trunk/lhcb/Dyb/GiGaRelease/i386-darwin-gcc42-dbg /Users/dayabay/offline-trunk/NuWa-trunk/dybgaudi/DybRelease/i386-darwin-gcc42-dbg
  • and try again ./dybinst trunk projects
    • Building gaudi ... failed with 10
cd ../i386-darwin-gcc42-dbg/; c++  -o genconf.exe.new ../i386-darwin-gcc42-dbg/genconf.o -L/Users/dayabay/offline-trunk/NuWa-trunk/gaudi/InstallArea/i386-darwin-gcc42-dbg/lib  -L/Users/dayabay/offline-trunk/NuWa-trunk/relax/InstallArea/i3
86-darwin-gcc42-dbg/lib    -lGaudiKernel     -L/Users/dayabay/offline-trunk/NuWa-trunk/../external/ROOT/5.32.02_python`echo 2.7 | cut -d. -f1,2`/i386-darwin-gcc42-dbg/root/lib -lReflex  -L/Users/dayabay/offline-trunk/NuWa-trunk/../externa
l/Boost/1.38.0_python`echo 2.7 | cut -d. -f1,2`/i386-darwin-gcc42-dbg/lib  -lboost_thread-xgcc42-mt-1_38   -lboost_system-xgcc42-mt-1_38  -lboost_filesystem-xgcc42-mt-1_38          -lGaudiKernel  -L/Users/dayabay/offline-trunk/NuWa-trunk/
../external/Boost/1.38.0_python`echo 2.7 | cut -d. -f1,2`/i386-darwin-gcc42-dbg/lib  -lboost_thread-xgcc42-mt-1_38   -lboost_system-xgcc42-mt-1_38  -lboost_filesystem-xgcc42-mt-1_38   -lboost_filesystem-xgcc42-mt-1_38  -lboost_program_opt
ions-xgcc42-mt-1_38     -L/Users/dayabay/offline-trunk/NuWa-trunk/../external/ROOT/5.32.02_python`echo 2.7 | cut -d. -f1,2`/i386-darwin-gcc42-dbg/root/lib -lReflex  -L/Users/dayabay/offline-trunk/NuWa-trunk/../external/ROOT/5.32.02_python
`echo 2.7 | cut -d. -f1,2`/i386-darwin-gcc42-dbg/root/lib -lCore -lCint -lTree -lpthread  -u _G__cpp_setup_initializerG__Tree  -lRIO -lMathCore   -L/Users/dayabay/offline-trunk/NuWa-trunk/../external/Boost/1.38.0_python`echo 2.7 | cut -d.
 -f1,2`/i386-darwin-gcc42-dbg/lib  -lboost_thread-xgcc42-mt-1_38   -lboost_system-xgcc42-mt-1_38  -lboost_filesystem-xgcc42-mt-1_38    -L/Users/dayabay/offline-trunk/NuWa-trunk/../external/Python/2.7/i386-darwin-gcc42-dbg/lib -lpython`echo 2.7 | cut -d. -f1,2`             ; mv -f genconf.exe.new genconf.exe
Undefined symbols:
  "Property::Property(Property const&)", referenced from:
      GaudiHandleProperty::GaudiHandleProperty(GaudiHandleProperty const&)in genconf.o
      GaudiHandleArrayProperty::GaudiHandleArrayProperty(GaudiHandleArrayProperty const&)in genconf.o
  "GaudiHandleArrayProperty::fromString(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)", referenced from:
      vtable for GaudiHandleArrayPropertyin genconf.o
  "Property::declareUpdateHandler(PropertyCallbackFunctor*)", referenced from:
      vtable for GaudiHandleArrayPropertyin genconf.o
      vtable for GaudiHandlePropertyin genconf.o
  "GaudiHandleArrayProperty::toString() const", referenced from:
      vtable for GaudiHandleArrayPropertyin genconf.o
  "System::loadDynamicLib(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, void**)", referenced from:
      configGenerator::genConfig(std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&)in genconf.o
  "typeinfo for Property", referenced from:
      configGenerator::pythonizeValue(Property const*, std::basic_string<char, std::char_traits<char>, std::allocator<char> >&, std::basic_string<char, std::char_traits<char>, std::allocator<char> >&)in genconf.o
      configGenerator::pythonizeValue(Property const*, std::basic_string<char, std::char_traits<char>, std::allocator<char> >&, std::basic_string<char, std::char_traits<char>, std::allocator<char> >&)in genconf.o
      typeinfo for GaudiHandleArrayPropertyin genconf.o
      typeinfo for GaudiHandlePropertyin genconf.o
  "StatusCode::disableChecking()", referenced from:
      configGenerator::genConfig(std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&)in genconf.o
  "StatusCode::~StatusCode()", referenced from:
      createAppMgr()     in genconf.o
      createAppMgr()     in genconf.o
      createAppMgr()     in genconf.o
      createAppMgr()     in genconf.o
      configGenerator::genConfig(std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&)in genconf.o
      GaudiHandleProperty::assign(Property const&) in genconf.o
      GaudiHandleArrayProperty::assign(Property const&) in genconf.o
      SmartIF<IProperty>::operator=(IInterface*)in genconf.o
      SmartIF<IAppMgrUI>::operator=(IInterface*)in genconf.o
  "typeinfo for GaudiHandleBase", referenced from:
      configGenerator::pythonizeValue(Property const*, std::basic_string<char, std::char_traits<char>, std::allocator<char> >&, std::basic_string<char, std::char_traits<char>, std::allocator<char> >&)in genconf.o
  "Service::Service(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, ISvcLocator*)", referenced from:
      configGenerator::genConfig(std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&)in genconf.o
  "Property::declareReadHandler(PropertyCallbackFunctor*)", referenced from:
      vtable for GaudiHandleArrayPropertyin genconf.o
      vtable for GaudiHandlePropertyin genconf.o
  "Property::useReadHandler() const", referenced from:
      vtable for GaudiHandleArrayPropertyin genconf.o
      vtable for GaudiHandlePropertyin genconf.o
  "Property::fillStream(std::basic_ostream<char, std::char_traits<char> >&) const", referenced from:
      vtable for GaudiHandleArrayPropertyin genconf.o
      vtable for GaudiHandlePropertyin genconf.o
  "Property::~Property()", referenced from:
      GaudiHandleProperty::~GaudiHandleProperty()in genconf.o
      GaudiHandleProperty::~GaudiHandleProperty()in genconf.o
      GaudiHandleArrayProperty::~GaudiHandleArrayProperty()in genconf.o
      GaudiHandleArrayProperty::~GaudiHandleArrayProperty()in genconf.o
  "Property::useUpdateHandler()", referenced from:
      vtable for GaudiHandleArrayPropertyin genconf.o
      vtable for GaudiHandlePropertyin genconf.o
  "GaudiHandleProperty::toString() const", referenced from:
      vtable for GaudiHandlePropertyin genconf.o
  "System::getLastErrorString()", referenced from:
      configGenerator::genConfig(std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&)in genconf.o
  "typeinfo for GaudiHandleArrayBase", referenced from:
      configGenerator::pythonizeValue(Property const*, std::basic_string<char, std::char_traits<char>, std::allocator<char> >&, std::basic_string<char, std::char_traits<char>, std::allocator<char> >&)in genconf.o
  "GaudiHandleProperty::fromString(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)", referenced from:
      vtable for GaudiHandlePropertyin genconf.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
  • Brute force
    • cd NuWa-trunk
    • rm -rf gaudi
    • svn update Updated to revision 16628.
  • and try again ./dybinst trunk projects gaudi lhcb dybgaudi
  • gaudi build ok, but Building lhcb ... failed with 10
Document XmlToolsConf
#CMT---> (constituents.make) Creating XmlToolsConf.lock and Starting XmlToolsConf
:::::: libraries : [ XmlTools ] ::::::
:::: processing library: XmlTools...
 - component: XmlCnvSvc
dyld: lazy symbol binding failed: Symbol not found: __ZN8XmlTools9EvaluatorC1Ev
  Referenced from: /Users/dayabay/offline-trunk/NuWa-trunk/lhcb/InstallArea/i386-darwin-gcc42-dbg/lib/libXmlTools.so
  Expected in: flat namespace

dyld: Symbol not found: __ZN8XmlTools9EvaluatorC1Ev
  Referenced from: /Users/dayabay/offline-trunk/NuWa-trunk/lhcb/InstallArea/i386-darwin-gcc42-dbg/lib/libXmlTools.so
  Expected in: flat namespace

make[3]: *** [/Users/dayabay/offline-trunk/NuWa-trunk/lhcb/Tools/XmlTools/genConf/XmlTools/XmlToolsConf.py] Trace/BPT trap
  • Brutish approach cd NuWa-trunk/ ; rm -rf lhcb ; svn update Updated to revision 16630.
  • again ./dybinst trunk projects lhcb dybgaudi.
  • lhcb OK. Building dybgaudi ... failed with 10
  • Brute approach cd NuWa-trunk/; rm -rf dybgaudi/;svn update
  • again ./dybinst trunk projects dybgaudi OK

20120406

  • ./dybinst trunk tests
  • All tests OK. Done.