#44136 closed defect (fixed)
PyROOT with root6 ACLiC Issues
Reported by: | jfcaron3 | Owned by: | cjones051073 (Chris Jones) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | mojca (Mojca Miklavec) | |
Port: | root6 |
Description (last modified by mojca (Mojca Miklavec))
Hi, I've tried reporting this on ROOTTalk but haven't gotten anywhere. It looks like it might be MacPorts-specific. ROOTTalk post: http://root.cern.ch/phpBB3/viewtopic.php?f=14&t=18229
I tried using MacPorts provided ROOT 6.00.01 and I get the same behavior, so it's not my customized GSL & ROOT. This is still a problem on 6.06.00.
Steps to reproduce.
File tuple.C
:
#ifndef __MAKECINT__ #include <tuple> #endif #include <array> #include <utility> int foo() { int a,b; std::tie(a,b)= std::make_pair(5,6); return a; }
When running python2.7
:
> python2.7 Python 2.7.11 (default, Dec 8 2015, 20:16:01) [GCC 4.2.1 Compatible Apple LLVM 4.2 (clang-425.0.28)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> import ROOT >>> ROOT.gROOT.ProcessLine(".L tuple.C+") Info in <TMacOSXSystem::ACLiC>: creating shared library /private/tmp/./tuple_C.so ld: can't link with bundle (MH_BUNDLE) only dylibs (MH_DYLIB) file '/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_locale.so' for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) Error in <ACLiC>: Compilation failed! 0L >>>
When running root6
:
$ root6 ... root [0] .L tuple.C+ Info in <TMacOSXSystem::ACLiC>: creating shared library /private/tmp/./tuple_C.so root [1] .q
(Running python2.7
after root6
would make the python command succeed because the files are already there.)
Change History (6)
comment:1 Changed 10 years ago by mojca (Mojca Miklavec)
Cc: | jonesc@… removed |
---|---|
Owner: | changed from macports-tickets@… to jonesc@… |
Version: | 2.3.0 |
comment:2 Changed 9 years ago by mojca (Mojca Miklavec)
Description: | modified (diff) |
---|
comment:3 Changed 9 years ago by cjones051073 (Chris Jones)
comment:4 Changed 6 years ago by cjones051073 (Chris Jones)
Closing this, as the issue appears resolved with the latest root6 port (6.14.02) and using the now default python 3.6
comment:5 Changed 6 years ago by cjones051073 (Chris Jones)
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:6 Changed 6 years ago by mf2k (Frank Schima)
Keywords: | root python removed |
---|
Note: See
TracTickets for help on using
tickets.
Hi,
The command that is run when ACLiC generates the library is
Trying to figure what those environment variables get expanded to the best way I found was to just run 'ps x' whilst the command was running... this gives
so indeed the library
is in the list.
I cannot comment really on if this is a bug in ROOT (why is it linking against this...) or a bug in the ROOT Macports build, or a bug in the python package, or a feature of the way the MacPorts python ports are built as frameworks or ...
Sorry. I don't have any ideas on what to do, but thought I would post this just for future reference...
Chris