Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#45440 closed defect (fixed)

py27-numeric: ld: framework not found vecLib

Reported by: bart@… Owned by: jmroot (Joshua Root)
Priority: Normal Milestone:
Component: ports Version: 2.3.1
Keywords: yosemite Cc: ryandesign (Ryan Carsten Schmidt)
Port: py-numeric

Description (last modified by ryandesign (Ryan Carsten Schmidt))

On Yosemite,

sudo port clean py27-numeric
sudo port install py27-numeric

fails, full log: http://pastebin.com/ZsaWCBbn

If I manually re-run the

:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-numeric/py27-numeric/work/Numeric-24.2" && /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 setup.py --no-user-cfg build 

part it fails on/with:

building 'lapack_lite' extension
/usr/bin/clang -fno-strict-aliasing -fno-common -dynamic -pipe -Os -fwrapv -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -IInclude -IPackages/FFT/Include -IPackages/RNG/Include -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c Src/lapack_litemodule.c -o build/temp.macosx-10.10-x86_64-2.7/Src/lapack_litemodule.o
/usr/bin/clang -bundle -undefined dynamic_lookup -L/opt/local/lib -Wl,-headerpad_max_install_names -L/opt/local/lib/db48 build/temp.macosx-10.10-x86_64-2.7/Src/lapack_litemodule.o -o build/lib.macosx-10.10-x86_64-2.7/lapack_lite.so -framework vecLib
ld: framework not found vecLib

Xcode Version 6.1 (6A1052c), clang-600.0.54

Change History (11)

comment:1 Changed 10 years ago by bart@…

Cc: bart@… added

Cc Me!

comment:2 Changed 10 years ago by bart@…

The setup.py that fails has a reference to:

VECLIB_PATH = '/System/Library/Frameworks/vecLib.framework'

In that directory, there is one single "vecLib" binary file, but no headers, etc. Everything does seem to be available in:

/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework

I tried changing the location in the setup.py file, but no luck. I'm not that experienced with Macports, so I wouldn't know where to continue.....

comment:3 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added; bart@… removed
Description: modified (diff)
Keywords: py27-numeric removed
Milestone: MacPorts 2.3.2
Owner: changed from macports-tickets@… to jmr@…
Port: py27-numeric added
Summary: py27-numericpy27-numeric: ld: framework not found vecLib

comment:4 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

I think projects are supposed to include the Accelerate framework, not the vecLib framework. Numeric is old, having had its last release in 2005, so it may not have been updated for this.

comment:5 Changed 10 years ago by mf2k (Frank Schima)

Port: py-numeric added; py27-numeric removed

comment:6 Changed 10 years ago by petrrr

Some hints for ticket submission (please check the Guide):

  • you should attach the main.log to the ticket here, link may not be persistent and the link you provides seems not to be valid;
  • you should provide the ports name in the ports field, the keyword field is reserved;
  • as reporter you do not need to CC yourself;
  • instead CC the port's maintainer;
  • you are not supposed to set the Milestone field and I believe for port tickets make little sense.

comment:7 Changed 10 years ago by petrrr

Are you sure you really need Numeric, it is quite outdated. Maybe you want to have a looks at NumPy (port py-numpy) instead.

I see py-numeric is still a dependency of some (few) other ports.

Last edited 10 years ago by petrrr (previous) (diff)

comment:8 Changed 10 years ago by bart@…

@Petr(1); thanks, I'll keep it in mind for future reports. @Petr(2): I assumed that every package should work. I ran into a problem which (according to answers elsewhere) should be fixed by installing the rather old Numeric. But that's no longer needed (for my original problem), so getting Numeric working now has no priority for me.

comment:9 in reply to:  8 Changed 10 years ago by petrrr

Replying to bart@…:

@Petr(2): I assumed that every package should work.

Your right! I am just not too surprised that an discontinues packages would break eventually. (I am more surprised that it still builds in other cases).

comment:10 in reply to:  4 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: newclosed

Replying to ryandesign@…:

I think projects are supposed to include the Accelerate framework, not the vecLib framework.

I verified that this fixes the build on Yosemite and still builds on Mavericks and Tiger. Committed in r127051.

comment:11 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Keywords: yosemite added
Note: See TracTickets for help on using tickets.