[MacPorts] #46228: Openmodelica fails to configure at lapack
#46228: Openmodelica fails to configure at lapack ---------------------+-------------------------------- Reporter: dersh@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Keywords: | Port: lapack ---------------------+-------------------------------- 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 }}} -- Ticket URL: <https://trac.macports.org/ticket/46228> MacPorts <https://www.macports.org/> Ports system for OS X
#46228: Openmodelica fails to configure at lapack ----------------------+-------------------------------- Reporter: dersh@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: lapack | ----------------------+-------------------------------- Comment (by dersh@…): 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. -- Ticket URL: <https://trac.macports.org/ticket/46228#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X
#46228: Openmodelica fails to configure at lapack ----------------------+-------------------------------- Reporter: dersh@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: lapack | ----------------------+-------------------------------- Comment (by dersh@…): I don't see a way to change this to atlas, which is the port that it should be associated with. -- Ticket URL: <https://trac.macports.org/ticket/46228#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X
#46228: openmodelica-devel: error: dgesv (LAPACK) linking failed using -llapack -lblas ----------------------------------------+-------------------------------- Reporter: dersh@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: openmodelica-devel, atlas | ----------------------------------------+-------------------------------- Changes (by ryandesign@…): * cc: vince@… (added) * port: lapack => openmodelica-devel, atlas Comment: 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. -- Ticket URL: <https://trac.macports.org/ticket/46228#comment:3> MacPorts <https://www.macports.org/> Ports system for OS X
#46228: openmodelica-devel: error: dgesv (LAPACK) linking failed using -llapack -lblas ----------------------------------------+-------------------------------- Reporter: dersh@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: openmodelica-devel, atlas | ----------------------------------------+-------------------------------- Comment (by dersh@…): 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. -- Ticket URL: <https://trac.macports.org/ticket/46228#comment:4> MacPorts <https://www.macports.org/> Ports system for OS X
#46228: openmodelica-devel: error: dgesv (LAPACK) linking failed using -llapack -lblas ----------------------------------------+-------------------------------- Reporter: dersh@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: openmodelica-devel, atlas | ----------------------------------------+-------------------------------- Comment (by vince@…): 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. -- Ticket URL: <https://trac.macports.org/ticket/46228#comment:5> MacPorts <https://www.macports.org/> Ports system for OS X
#46228: openmodelica-devel: error: dgesv (LAPACK) linking failed using -llapack -lblas ----------------------+-------------------------------- Reporter: dersh@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: invalid | Keywords: Port: atlas | ----------------------+-------------------------------- Changes (by mf2k@…): * status: new => closed * resolution: => invalid * port: openmodelica-devel, atlas => atlas Comment: There is nothing to fix here. Follow-up on the [https://lists.macosforge.org/mailman/listinfo/macports-dev Macports Developers mailing list] instead. -- Ticket URL: <https://trac.macports.org/ticket/46228#comment:6> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts