[MacPorts] #43917: ROOT6 : Update to first production release, 6.00.00
MacPorts
noreply at macports.org
Sat Jun 7 00:56:49 PDT 2014
#43917: ROOT6 : Update to first production release, 6.00.00
-----------------------+---------------------------------
Reporter: jonesc@… | Owner: mojca@…
Type: update | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords: haspatch maintainer
Port: root6 |
-----------------------+---------------------------------
Comment (by mojca@…):
Ah, OK, it seems clearer now:
{{{
$ sudo port deactivate clang-3.5
---> Deactivating clang-3.5
@3.5-r206638_3+analyzer+arm_runtime+assertions
---> Cleaning clang-3.5
$ root6
ERROR in cling::CIFactory::createCI(): cannot extract standard library
include paths!
Invoking:
echo | LC_ALL=C clang++-mp-3.5 -pipe -Os -arch x86_64 -stdlib=libc++
-m64 -pipe -W -Wall -Woverloaded-virtual -fsigned-char -fno-common
-Qunused-arguments -std=c++11 -DR__HAVE_CONFIG -fPIC -fvisibility-inlines-
hidden -fno-common -Woverloaded-virtual -Wcast-qual -fno-strict-aliasing
-pedantic -Wno-long-long -Wall -W -Wno-unused-parameter -Wwrite-strings
-xc++ -E -v - 2>&1 >/dev/null | awk '/^#include </,/^End of search/{if
(!/^#include </ && !/^End of search/){ print }}' | grep -E "(c|g)\+\+"
results in
with exit code 256
sh: clang++-mp-3.5: command not found
Warning in cling::CIFactory::createCI():
Possible C++ standard library mismatch, compiled with _LIBCPP_VERSION
v1101 but extraction of runtime standard library version failed.
Invoking:
echo '#include <vector>' | clang++-mp-3.5 -pipe -Os -arch x86_64
-stdlib=libc++ -m64 -pipe -W -Wall -Woverloaded-virtual -fsigned-char
-fno-common -Qunused-arguments -std=c++11 -DR__HAVE_CONFIG -fPIC
-fvisibility-inlines-hidden -fno-common -Woverloaded-virtual -Wcast-qual
-fno-strict-aliasing -pedantic -Wno-long-long -Wall -W -Wno-unused-
parameter -Wwrite-strings -xc++ -dM -E - | grep 'define _LIBCPP_VERSION'
| awk '{print $3}'
results in
sh: clang++-mp-3.5: command not found
with exit code 0
input_line_3:6:10: fatal error: 'string' file not found
#include <string>
^
lookup.type.by.name.file:1:1: error: unknown type name 'string'
string
^
In file included from input_line_4:1:
In file included from
/opt/local/libexec/root6/etc/root/cling/Interpreter/DynamicLookupRuntimeUniverse.h:16:
In file included from
/opt/local/libexec/root6/etc/root/cling/Interpreter/Interpreter.h:13:
/opt/local/libexec/root6/etc/root/cling/Interpreter/InvocationOptions.h:13:10:
fatal error: 'string' file not found
#include <string>
^
*** Break *** segmentation violation
===========================================================
There was a crash.
This is the entire stack trace of all threads:
===========================================================
Thread 1 (process 79962):
#0 0x00007fff832a5168 in wait4 ()
#1 0x00007fff840ff5f5 in system ()
#2 0x00000001076fb471 in TUnixSystem::StackTrace ()
#3 0x00000001076fe799 in TUnixSystem::DispatchSignals ()
#4 <signal handler called>
#5 0x0000000107cd9a67 in cling::EvaluateTSynthesizer::Initialize ()
#6 0x0000000107cd9fb5 in cling::EvaluateTSynthesizer::Transform ()
#7 0x0000000107d06453 in
cling::TransactionTransformer::TransformTransaction ()
#8 0x0000000107ceebbd in cling::IncrementalParser::endTransaction ()
#9 0x0000000107cefefe in cling::IncrementalParser::Compile ()
#10 0x0000000107cf4bc7 in cling::Interpreter::declare ()
#11 0x0000000107c65291 in TClingCallbacks::TClingCallbacks ()
#12 0x0000000107c32def in TCling::TCling ()
#13 0x0000000107c2f95f in CreateInterpreter ()
#14 0x0000000107620535 in TROOT::InitInterpreter ()
#15 0x0000000107620431 in ROOT::GetROOT2 ()
#16 0x00000001075daec9 in TApplication::TApplication ()
#17 0x0000000107ae17ba in TRint::TRint ()
#18 0x0000000107ae22d4 in TRint::TRint ()
#19 0x0000000107561e11 in main ()
===========================================================
The lines below might hint at the cause of the crash.
If they do not help you then please submit a bug report at
http://root.cern.ch/bugs. Please post the ENTIRE stack trace
from above as an attachment in addition to anything else
that might help us fixing this issue.
===========================================================
#5 0x0000000107cd9a67 in cling::EvaluateTSynthesizer::Initialize ()
#6 0x0000000107cd9fb5 in cling::EvaluateTSynthesizer::Transform ()
#7 0x0000000107d06453 in
cling::TransactionTransformer::TransformTransaction ()
#8 0x0000000107ceebbd in cling::IncrementalParser::endTransaction ()
#9 0x0000000107cefefe in cling::IncrementalParser::Compile ()
#10 0x0000000107cf4bc7 in cling::Interpreter::declare ()
#11 0x0000000107c65291 in TClingCallbacks::TClingCallbacks ()
#12 0x0000000107c32def in TCling::TCling ()
#13 0x0000000107c2f95f in CreateInterpreter ()
#14 0x0000000107620535 in TROOT::InitInterpreter ()
#15 0x0000000107620431 in ROOT::GetROOT2 ()
#16 0x00000001075daec9 in TApplication::TApplication ()
#17 0x0000000107ae17ba in TRint::TRint ()
#18 0x0000000107ae22d4 in TRint::TRint ()
#19 0x0000000107561e11 in main ()
===========================================================
}}}
But there are a bunch of issues that I don't quite understand:
* (something was probably awfully wrong on this old laptop – maybe low
disk space, web browser using all resources, slow processor etc., but)
ROOT spent 3 hours compiling `cling`: why doesn't it use that built-in
clang/cling compiler? Why does it struggle with the system compiler then?
Should we open a ticket for that?
* Are you aware that currently ROOT would use, say, `macports-clang-3.4`
(on anything else but 10.9) without declaring a runtime dependency on that
compiler? You only declare a dependency if user asks for it via
`+clang34`, but not when that compiler is automatically selected.
--
Ticket URL: <https://trac.macports.org/ticket/43917#comment:68>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list