[MacPorts] #48991: ldas-tools @2.4.2 Updated for latest release of software

MacPorts noreply at macports.org
Thu Oct 1 21:41:19 PDT 2015


#48991: ldas-tools @2.4.2 Updated for latest release of software
-------------------------+---------------------------------
  Reporter:  ed.maros@…  |      Owner:  ryandesign@…
      Type:  update      |     Status:  assigned
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:
Resolution:              |   Keywords:  haspatch maintainer
      Port:  ldas-tools  |
-------------------------+---------------------------------

Comment (by ram@…):

 If the patchfiles are going to be committed to SVN you don't need to
 include the checksums in the Portfile, these are only needed if they are
 downloaded.

 However, if I remove the checksums for the patchfiles then this still
 fails for me, on El Capitan, with the following:

 {{{
 :info:build     /usr/bin/python ./framecpp_sample.py
 :info:build Traceback (most recent call last):
 :info:build   File "./framecpp_sample.py", line 6, in <module>
 :info:build     import frameCPP
 :info:build   File "/opt/local/var/macports/build
 /_Users_ram_macports_ports_science_ldas-tools/ldas-tools/work/ldas-
 tools-2.4.2/libraries/framecpp/src/OOInterface/frameCPP.py", line 33, in
 <module>
 :info:build     _frameCPP = swig_import_helper()
 :info:build   File "/opt/local/var/macports/build
 /_Users_ram_macports_ports_science_ldas-tools/ldas-tools/work/ldas-
 tools-2.4.2/libraries/framecpp/src/OOInterface/frameCPP.py", line 25, in
 swig_import_helper
 :info:build     import _frameCPP
 :info:build ImportError: dlopen(/opt/local/var/macports/build
 /_Users_ram_macports_ports_science_ldas-tools/ldas-tools/work/ldas-
 tools-2.4.2/libraries/framecpp/src/OOInterface/.libs/_frameCPP.so, 2):
 Library not loaded: /opt/local/lib/libframecpp.6.dylib
 :info:build   Referenced from: /opt/local/var/macports/build
 /_Users_ram_macports_ports_science_ldas-tools/ldas-tools/work/ldas-
 tools-2.4.2/libraries/framecpp/src/OOInterface/.libs/_frameCPP.so
 :info:build   Reason: image not found
 }}}

 I'll attach the full build log. I think the problem here is that the
 system python is being used, so the appropriate libraries can't be found.
 I think you need to specify that the MacPorts python should be used (using
 `configure.python`), otherwise it's just going to use whatever `python` is
 in the environment.

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


More information about the macports-tickets mailing list