Opened 4 months ago

Last modified 4 months ago

#69991 assigned defect

lapack @3.12.0_1+accelerate+gfortran fails to build

Reported by: spinicist (Tobias Wood) Owned by: tenomoto (Takeshi Enomoto)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: Dave-Allured (Dave Allured)
Port: lapack

Description

I am trying to use the Accelerate version of LAPACK with Eigen. According to the Eigen website, this means I need LAPACKE. I am hence trying to sudo port install lapack +accelerate however the build step is failing. I have attached the log file, I can't see an actual error, it looks like everything built fine.

Attachments (1)

main.log.bz2 (30.4 KB) - added by jmroot (Joshua Root) 4 months ago.

Download all attachments as: .zip

Change History (6)

comment:1 Changed 4 months ago by jmroot (Joshua Root)

Cc: Dave-Allured added
Owner: set to tenomoto
Status: newassigned
Summary: Accelerate variant fails to buildlapack @3.12.0_1+accelerate+gfortran fails to build
:info:build Undefined symbols for architecture arm64:
:info:build   "_scabs1_", referenced from:
:info:build       _scabs1sub_ in scabs1sub.f.o
…
:info:build make[2]: *** [lib/libcblas.3.12.0.dylib] Error 1

Changed 4 months ago by jmroot (Joshua Root)

Attachment: main.log.bz2 added

comment:2 Changed 4 months ago by spinicist (Tobias Wood)

Hello, this is my first time reporting an issue on MacPorts. Is there any further help I can provide?

comment:3 Changed 4 months ago by Dave-Allured (Dave Allured)

Duplicate of #67262. Please direct further comments there.

comment:4 in reply to:  2 Changed 4 months ago by Dave-Allured (Dave Allured)

Replying to spinicist:

Hello, this is my first time reporting an issue on MacPorts. Is there any further help I can provide?

Thank you for posting main.log. Can you analyze that and provide any insights about that error? It looks like scabs1 is a fortran function included in lapack source code, but is not being built or linked correctly, for some reason. I have not yet found the time to examine your log file. I do not yet understand the context here for leading and trailing underscores.

Follow up to #67262 please.

comment:5 Changed 4 months ago by spinicist (Tobias Wood)

Our messages crossed - I just made a post on #67262. I will continue all further discussion there.

Note: See TracTickets for help on using tickets.