[MacPorts] #44136: PyROOT with root6 ACLiC Issues

MacPorts noreply at macports.org
Wed Dec 16 16:11:58 PST 2015


#44136: PyROOT with root6 ACLiC Issues
------------------------+--------------------------
  Reporter:  jfcaron@…  |      Owner:  jonesc@…
      Type:  defect     |     Status:  new
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:
Resolution:             |   Keywords:  root, python
      Port:  root6      |
------------------------+--------------------------
Description changed by mojca@…:

Old description:

> 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.
>
> Can anyone reproduce with the minimal script in the later reply?

New description:

 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.)

--

-- 
Ticket URL: <https://trac.macports.org/ticket/44136#comment:2>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list