Opened 10 years ago
Closed 10 years ago
#46228 closed defect (invalid)
openmodelica-devel: error: dgesv (LAPACK) linking failed using -llapack -lblas
Reported by: | dershow | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.3.3 |
Keywords: | Cc: | Veence (Vincent) | |
Port: | atlas |
Description
I just tried to upgrade openmodelica and now I get an error on the configure stage.
It seems to relate to liblapack.
I have attached the configure log, and the error I see is here:
sudo port upgrade openmodelica-devel build.jobs=4 ---> Computing dependencies for openmodelica-devel ---> Fetching archive for openmodelica-devel ---> Attempting to fetch openmodelica-devel-23769_0+gfortran48+libraries+modelica3d+qt+sundials.darwin_13.x86_64.tbz2 from http://packages.macports.org/openmodelica-devel ---> Attempting to fetch openmodelica-devel-23769_0+gfortran48+libraries+modelica3d+qt+sundials.darwin_13.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/openmodelica-devel ---> Attempting to fetch openmodelica-devel-23769_0+gfortran48+libraries+modelica3d+qt+sundials.darwin_13.x86_64.tbz2 from http://nue.de.packages.macports.org/macports/packages/openmodelica-devel ---> Fetching distfiles for openmodelica-devel ---> Verifying checksums for openmodelica-devel ---> Extracting openmodelica-devel ---> Configuring openmodelica-devel Error: Failed to configure openmodelica-devel, consult /opt/local/var/macports/build/_opt_local_var_macports_sources_build.openmodelica.org_macports_lang_openmodelica-devel/openmodelica-devel/work/openmodelica_23769/config.log Error: org.macports.configure for port openmodelica-devel returned: configure failure: command execution failed Please see the log file for port openmodelica-devel for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_build.openmodelica.org_macports_lang_openmodelica-devel/openmodelica-devel/main.log Error: Unable to upgrade port: 1 To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets
Attachments (1)
Change History (7)
Changed 10 years ago by dershow
Attachment: | config.log added |
---|
comment:1 Changed 10 years ago by dershow
comment:2 Changed 10 years ago by dershow
I don't see a way to change this to atlas, which is the port that it should be associated with.
comment:3 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | vince@… added |
---|---|
Port: | openmodelica-devel atlas added; lapack removed |
Summary: | Openmodelica fails to configure at lapack → openmodelica-devel: error: dgesv (LAPACK) linking failed using -llapack -lblas |
You appear to be reporting a problem building the port "openmodelica-devel" when atlas is installed. We don't have a port "openmodelica-devel" in MacPorts. You must have gotten it from somewhere else.
The fact that openmodelica-devel failed to build when atlas was present does not necessarily indicate a problem in atlas. It could just as easily indicate a problem in openmodelica-devel.
Cc'ing maintainer of atlas for input.
comment:4 Changed 10 years ago by dershow
Yes, I am building the openmodelica-devel port from openmodelica.org. It is a valid port, but not one that is included with macports. https://www.openmodelica.org/download/download-mac That port builds fine until atlas is installed. I did also report it to openmodelica:https://trac.openmodelica.org/OpenModelica/ticket/3030 Apparently, the problem is that the libatlas is not a shared library, but is instead static only. I installed atlas because that was suggested to install octave, which built fine. I then force uninstalled atlas, and now openmodelica-devel again builds fine.
comment:5 Changed 10 years ago by Veence (Vincent)
Hi Adam, I’m sorry to be very late on this. If the log you joined is dependable, the problem is that the configuration script lacks a ‘-latlas’ flag. The reported missing functions are indeed neither in liblapack.a nor in libblas.a but in libatlas.a. So the configure script should be modified accordingly. But since it is an unofficial port, I am afraid you’re a bit on your own here.
comment:6 Changed 10 years ago by mf2k (Frank Schima)
Port: | openmodelica-devel removed |
---|---|
Resolution: | → invalid |
Status: | new → closed |
There is nothing to fix here. Follow-up on the Macports Developers mailing list instead.
The issue is with atlas. I had installed atlas, and that is what caused this error. By deactivating atlas, the problem goes away. Although, I had to force deactivate, as I had installed octave, which requires it. Hmmm, some conflict going on.