Project

General

Profile

Bug #22420

xerces_c build failure on OSX (debug) with larsoft v08_16_00

Added by Tracy Usher about 1 month ago. Updated 13 days ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Install / build / code mgmt
Target version:
-
Start date:
04/19/2019
Due date:
% Done:

0%

Estimated time:
Occurs In:
Experiment:
-
Co-Assignees:
Duration:

Description

When issuing the buildFW command on OSX (High Sierra - ./buildFW -F -b c2 -s s82 $PWD debug larsoft-v08_16_00 ) it fails.

Log file below:

building xerces_c for d17-x86_64-x86_64-c2-debug (flavor Darwin64bit+17)
Declaring xerces_c v3_2_2 for Darwin64bit+17 and c2:debug in /LArSoft/Products/xerces_c/v3_2_2/fakedb
+ ups declare xerces_c v3_2_2 -r /LArSoft/Products/xerces_c/v3_2_2 -f Darwin64bit+17 -m xerces_c.table -q +c2:+debug -z /LArSoft/Products/xerces_c/v3_2_2/fakedb
ERROR: Invalid Specification for Declare -
    Specified product and version currently exist
+ set +x
+ cd /LArSoft/Products/xerces_c/v3_2_2/source
+ tar xf /LArSoft/Products/xerces_c/v3_2_2/tar/xerces-c-3.2.2.tar.gz
+ cd /LArSoft/Products/xerces_c/v3_2_2/build/Darwin64bit+17-c2-debug
+ CC=clang
+ CXX=clang++
+ CXXFLAGS='-g -O0 -std=c++17 -Wno-deprecated-declarations'
+ CFLAGS='-g -O0'
+ /LArSoft/Products/xerces_c/v3_2_2/source/xerces-c-3.2.2/configure --prefix=/LArSoft/Products/xerces_c/v3_2_2/Darwin64bit+17-c2-debug --without-icu
checking build system type... x86_64-apple-darwin17.7.0
checking host system type... x86_64-apple-darwin17.7.0
checking whether make supports nested variables... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /LArSoft/Products/xerces_c/v3_2_2/source/xerces-c-3.2.2/config/install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking whether UID '1194632204' is supported by ustar format... no
checking whether GID '1704612529' is supported by ustar format... no
checking how to create a ustar tar archive... none
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether to use rpath... yes
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether clang++ accepts -g... yes
checking whether make supports the include directive... yes (GNU style)
checking dependency style of clang++... gcc3
checking for a sed that does not truncate output... /usr/bin/sed
checking whether ln -s works... yes
checking how to print strings... printf
checking for gcc... clang
checking whether we are using the GNU C compiler... yes
checking whether clang accepts -g... yes
checking for clang option to accept ISO C89... none needed
checking whether clang understands -c and -o together... rm: conftest.dSYM: is a directory
yes
checking dependency style of clang... gcc3
checking for a sed that does not truncate output... (cached) /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by clang... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... no
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... rm: conftest.dSYM: is a directory
BSD nm
checking the maximum length of command line arguments... 196608
checking how to convert x86_64-apple-darwin17.7.0 file names to x86_64-apple-darwin17.7.0 format... func_convert_file_noop
checking how to convert x86_64-apple-darwin17.7.0 file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... dlltool
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... rm: conftest.dSYM: is a directory
no
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from clang object... rm: conftest.dSYM: is a directory
ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for mt... no
checking if : is a manifest tool... no
checking for dsymutil... dsymutil
checking for nmedit... nmedit
checking for lipo... lipo
checking for otool... otool
checking for otool64... no
checking for -single_module linker flag... yes
checking for -exported_symbols_list linker flag... yes
checking for -force_load linker flag... yes
checking how to run the C preprocessor... clang -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if clang supports -fno-rtti -fno-exceptions... yes
checking for clang option to produce PIC... -fno-common -DPIC
checking if clang PIC flag -fno-common -DPIC works... yes
checking if clang static flag -static works... no
checking if clang supports -c -o file.o... yes
checking if clang supports -c -o file.o... (cached) yes
checking whether the clang linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin17.7.0 dyld
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking how to run the C++ preprocessor... clang++ -E
checking for ld used by clang++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... no
checking whether the clang++ linker (/usr/bin/ld) supports shared libraries... yes
checking for clang++ option to produce PIC... -fno-common -DPIC
checking if clang++ PIC flag -fno-common -DPIC works... yes
checking if clang++ static flag -static works... no
checking if clang++ supports -c -o file.o... yes
checking if clang++ supports -c -o file.o... (cached) yes
checking whether the clang++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin17.7.0 dyld
checking how to hardcode library paths into programs... immediate
checking for ANSI C header files... (cached) yes
checking whether time.h and sys/time.h may both be included... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking float.h usability... yes
checking float.h presence... yes
checking for float.h... yes
checking for inttypes.h... (cached) yes
checking langinfo.h usability... yes
checking langinfo.h presence... yes
checking for langinfo.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for memory.h... (cached) yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking nl_types.h usability... yes
checking nl_types.h presence... yes
checking for nl_types.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdint.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/timeb.h usability... yes
checking sys/timeb.h presence... yes
checking for sys/timeb.h... yes
checking for unistd.h... (cached) yes
checking wchar.h usability... yes
checking wchar.h presence... yes
checking for wchar.h... yes
checking wctype.h usability... yes
checking wctype.h presence... yes
checking for wctype.h... yes
checking CoreServices/CoreServices.h usability... yes
checking CoreServices/CoreServices.h presence... yes
checking for CoreServices/CoreServices.h... yes
checking endian.h usability... no
checking endian.h presence... no
checking for endian.h... no
checking machine/endian.h usability... yes
checking machine/endian.h presence... yes
checking for machine/endian.h... yes
checking arpa/nameser_compat.h usability... yes
checking arpa/nameser_compat.h presence... yes
checking for arpa/nameser_compat.h... yes
checking for stdbool.h that conforms to C99... no
checking for _Bool... no
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for working volatile... yes
checking size of wchar_t... 4
checking for size_t... yes
checking for ssize_t... yes
checking for off_t... yes
checking for size_t... (cached) yes
checking for inttypes.h... (cached) yes
checking size of short... 2
checking size of int... 4
checking size of long... 8
checking size of long long... 8
checking size of __int64... 0
checking for int16_t... yes
checking for int32_t... yes
checking for int64_t... yes
checking for uint16_t... yes
checking for uint32_t... yes
checking for uint64_t... yes
checking for an appropriate signed 16 bit integer type... int16_t
checking for an appropriate unsigned 16 bit integer type... uint16_t
checking for an appropriate signed 32 bit integer type... int32_t
checking for an appropriate unsigned 32 bit integer type... uint32_t
checking for an appropriate signed 64 bit integer type... int64_t
checking for an appropriate unsigned 64 bit integer type... uint64_t
checking whether the compiler recognizes bool as a built-in type... yes
checking whether the compiler implements namespaces... yes
checking whether the compiler supports the std namespace... yes
checking whether the compiler supports ISO C++ standard library... yes
checking whether the compiler implements L"widestring"... yes
checking for the pthreads library -lpthreads... no
checking for the pthreads library -lpthread... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... -D_THREAD_SAFE
checking for getcwd... yes
checking for pathconf... yes
checking for realpath... yes
checking for getaddrinfo... yes
checking for gethostbyaddr... yes
checking for gethostbyname... yes
checking for socket... yes
checking for clock_gettime... yes
checking for ftime... yes
checking for gettimeofday... yes
checking for timegm... yes
checking for gmtime_r... yes
checking for memmove... yes
checking for memset... yes
checking for nl_langinfo... yes
checking for setlocale... yes
checking for localeconv... yes
checking for strcasecmp... yes
checking for strncasecmp... yes
checking for stricmp... no
checking for strnicmp... no
checking for strchr... yes
checking for strdup... yes
checking for strrchr... yes
checking for strstr... yes
checking for strtol... yes
checking for strtoul... yes
checking for snprintf... yes
checking for towupper... yes
checking for towlower... yes
checking for mblen... yes
checking for wcsupr... no
checking for wcslwr... no
checking for wcsnicmp... no
checking for wcsicmp... no
checking for PATH_MAX... yes
checking for cstdint... yes
checking for mbrlen... yes
checking for wcsrtombs... yes
checking for mbsrtowcs... yes
checking if iconv uses const pointers... no
checking for stricmp... (cached) no
checking for strnicmp... (cached) no
checking for towlower... (cached) yes
checking for towupper... (cached) yes
checking for which path delimiter characters to accept... /
checking whether the compiler supports ISO C++11 <thread> and <mutex>... yes
checking whether we can support the Standard C++11 threads-based MutexMgr... yes
checking whether we can support the POSIX threads (pthreads)-based MutexMgr... yes
checking whether we can support the NoThreads MutexMgr... yes
checking for which mutex manager to use (choices: -standard- -posix- -nothreads-)... standard
checking for curl-config... /Applications/anaconda2/bin/curl-config
checking curl/curl.h usability... yes
checking curl/curl.h presence... yes
checking for curl/curl.h... yes
checking for curl_multi_init in -lcurl... yes
checking for socket in -lsocket... no
checking for gethostbyname in -lnsl... no
checking whether we can support the libcurl-based NetAccessor... yes
checking whether we can support the sockets-based NetAccessor... yes
checking whether we can support the CFURL NetAccessor (Mac OS X)... yes
checking for which NetAccessor to use (choices: -curl- -socket- -cfurl-)... curl
checking iconv.h usability... yes
checking iconv.h presence... yes
checking for iconv.h... yes
checking for wchar.h... (cached) yes
checking for string.h... (cached) yes
checking for stdlib.h... (cached) yes
checking stdio.h usability... yes
checking stdio.h presence... yes
checking for stdio.h... yes
checking ctype.h usability... yes
checking ctype.h presence... yes
checking for ctype.h... yes
checking for locale.h... (cached) yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking for endian.h... (cached) no
checking for machine/endian.h... (cached) yes
checking for iconv_open... no
checking for iconv_close... no
checking for iconv... no
checking whether we can support the GNU iconv Transcoder... no
checking for wchar.h... (cached) yes
checking for mblen... (cached) yes
checking for wcstombs... yes
checking for mbstowcs... yes
checking whether we can support the iconv Transcoder... yes
checking whether we can support the ICU Transcoder... no
checking whether we can support the MacOSUnicodeConverter Transcoder... yes
checking for which Transcoder to use (choices: -iconv- -macosunicodeconverter-)... macosunicodeconverter
checking whether we support the InMemory MsgLoader... yes
checking whether we support the ICU MsgLoader... no
checking for nl_types.h... (cached) yes
checking for catopen... yes
checking for catclose... yes
checking for catgets... yes
checking whether we can support the iconv MsgLoader... yes
checking for which MsgLoader to use (choices: -inmemory- -iconv-)... inmemory
checking for which File Manager to use... POSIX
checking whether C++11 char16_t is available... yes
checking whether we can support char16_t XMLCh... yes
checking whether the Windows SDK is available and using wchar_t as wide string... no
checking whether we can support wchar_t XMLCh... no
checking whether we can support uint16_t XMLCh... yes
checking for which XMLCh type to use (choices: -char16_t- -uint16_t-)... char16_t
checking whether the compiler chokes on a placement operator delete... no
checking whether we need to add -msse2... yes
checking for intrin.h usability... no
checking for emmintrin.h usability... yes
checking for cpuid.h usability... yes
checking whether the compiler has the CPUID intrinsic... no
checking whether the compiler has the _get_cpuid intrinsic... yes
checking whether the compiler has the SSE2 intrinsic... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating doc/Makefile
config.status: creating doc/Doxyfile
config.status: creating doc/style/dtd/entities.ent
config.status: creating src/Makefile
config.status: creating tests/Makefile
config.status: creating samples/Makefile
config.status: creating xerces-c.pc
config.status: creating scripts/run-test
config.status: creating config.h
config.status: config.h is unchanged
config.status: creating src/xercesc/util/Xerces_autoconf_config.hpp
config.status: src/xercesc/util/Xerces_autoconf_config.hpp is unchanged
config.status: creating src/xercesc/util/XercesVersion.hpp
config.status: src/xercesc/util/XercesVersion.hpp is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing libtool-rpath-patch commands
configure: 
configure: Report:
configure:   File Manager: POSIX
configure:   Mutex Manager: standard
configure:   Transcoder: macosunicodeconverter
configure:   NetAccessor: curl
configure:   Message Loader: inmemory
configure:   XMLCh Type: char16_t
++ /LArSoft/Products/ssibuildshims/v1_04_13/bin/ncores
+ ncore=4
+ make -j 4
/Applications/Xcode.app/Contents/Developer/usr/bin/make  all-recursive
Making all in doc
make[2]: Nothing to be done for `all'.
Making all in src
/Applications/Xcode.app/Contents/Developer/usr/bin/make  all-am
make[3]: Nothing to be done for `all-am'.
Making all in tests
make[2]: Nothing to be done for `all'.
Making all in samples
make[2]: Nothing to be done for `all'.
+ ((  0  ))
+ make -j 4 check
Making check in doc
make[1]: Nothing to be done for `check'.
Making check in src
/Applications/Xcode.app/Contents/Developer/usr/bin/make  check-am
make[2]: Nothing to be done for `check-am'.
Making check in tests
/Applications/Xcode.app/Contents/Developer/usr/bin/make  DOMTest DOMMemTest Normalizer RangeTest DOMTraversalTest DOMTypeInfoTest EncodingTest InitTermTest MemHandlerTest NetAccessorTest ThreadTest XSerializerTest XSTSHarness XSValueTest Char16Test
make[2]: `DOMTest' is up to date.
make[2]: `DOMMemTest' is up to date.
make[2]: `Normalizer' is up to date.
make[2]: `RangeTest' is up to date.
make[2]: `DOMTraversalTest' is up to date.
make[2]: `DOMTypeInfoTest' is up to date.
make[2]: `EncodingTest' is up to date.
make[2]: `InitTermTest' is up to date.
make[2]: `MemHandlerTest' is up to date.
make[2]: `NetAccessorTest' is up to date.
make[2]: `ThreadTest' is up to date.
make[2]: `XSerializerTest' is up to date.
make[2]: `XSTSHarness' is up to date.
make[2]: `XSValueTest' is up to date.
make[2]: `Char16Test' is up to date.
/Applications/Xcode.app/Contents/Developer/usr/bin/make  check-TESTS
FAIL: scripts/DOMMemTest
FAIL: scripts/DOMTraversalTest
FAIL: scripts/DOMTest
FAIL: scripts/RangeTest
FAIL: scripts/XSerializerTest2
FAIL: scripts/XSerializerTest1
FAIL: scripts/XSerializerTest3
XFAIL: scripts/XSerializerTest
FAIL: scripts/XSerializerTest5
FAIL: scripts/XSValueTest
FAIL: scripts/XSerializerTest4
XFAIL: scripts/InitTermTest
FAIL: scripts/InitTermTest3
FAIL: scripts/InitTermTest2
FAIL: scripts/InitTermTest1
FAIL: scripts/ThreadTest1
FAIL: scripts/ThreadTest2
FAIL: scripts/ThreadTest3
XFAIL: scripts/ThreadTest
FAIL: scripts/ThreadTest4
FAIL: scripts/ThreadTest5
FAIL: scripts/ThreadTest6
FAIL: scripts/ThreadTest7
FAIL: scripts/ThreadTest8
FAIL: scripts/ThreadTest9
FAIL: scripts/ThreadTest10
FAIL: scripts/ThreadTest11
FAIL: scripts/ThreadTest12
FAIL: scripts/ThreadTest13
FAIL: scripts/ThreadTest14
FAIL: scripts/ThreadTest15
FAIL: scripts/MemHandlerTest2
FAIL: scripts/MemHandlerTest1
FAIL: scripts/DOMTypeInfoTest
XFAIL: scripts/MemHandlerTest
FAIL: scripts/Char16Test
============================================================================
Testsuite summary for xerces-c 3.2.2
============================================================================
# TOTAL: 36
# PASS:  0
# SKIP:  0
# XFAIL: 4
# FAIL:  32
# XPASS: 0
# ERROR: 0
============================================================================
See tests/test-suite.log
============================================================================
make[3]: *** [test-suite.log] Error 1
make[2]: *** [check-TESTS] Error 2
make[1]: *** [check-am] Error 2
make: *** [check-recursive] Error 1
+ ssi_die 'ERROR: make check failed.'
+ local exitval
+ [[ ERROR: make check failed. =~ ^[0-9]*$ ]]
+ printf 'ERROR: ERROR: make check failed.\n'
ERROR: ERROR: make check failed.
+ exit 1

History

#1 Updated by Lynn Garren about 1 month ago

  • Status changed from New to Feedback
  • Subject changed from terces_c build failure on OSX (debug) with larsoft v08_16_00 to xerces_c build failure on OSX (debug) with larsoft v08_16_00

Tracy, from the first line in the log file, it is clear that you are building on top of an existing partial build. That may cause problems. Would you please try the following.

  1. remove or rename the xerces_c directory
  2. unwind the xerces_c source code tarball
  3. run buildFW again

#2 Updated by Kyle Knoepfel about 1 month ago

  • Description updated (diff)

#3 Updated by Kyle Knoepfel 20 days ago

Can we close this issue, Tracy?

#4 Updated by Kyle Knoepfel 13 days ago

  • Status changed from Feedback to Closed


Also available in: Atom PDF