Opened 2 years ago

Closed 2 years ago

Last modified 2 years ago

#66263 closed defect (duplicate)

qrupdate @1.1.2_6+gcc12+openblas build failure on Ventura 13.0.1

Reported by: mcquiggi (Kevin McQuiggin) Owned by:
Priority: Normal Milestone:
Component: ports Version:
Keywords: ventura Cc: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Port: qrupdate

Description

Build of Octave fails as dependency 'qrupdate' is not found.

Attachments (1)

qrupdate.log (485.1 KB) - added by mcquiggi (Kevin McQuiggin) 2 years ago.

Download all attachments as: .zip

Change History (5)

comment:1 Changed 2 years ago by jmroot (Joshua Root)

Cc: MarcusCalhoun-Lopez added
Keywords: octave qrupdate removed
Port: octave added

There certainly is a qrupdate port:

% port search qrupdate
qrupdate @1.1.2_6 (math)
    library for fast updates of QR and Cholesky decompositions

Please show the exact command you are running and its output, and attach any log it generates.

Changed 2 years ago by mcquiggi (Kevin McQuiggin)

Attachment: qrupdate.log added

comment:2 Changed 2 years ago by mcquiggi (Kevin McQuiggin)

Hi Joshua:

Thanks for looking into this! Output:

mcquiggi@Kevins-MacBook-Pro ~ % sudo port install qrupdate
--->  Computing dependencies for qrupdate
--->  Fetching archive for qrupdate
--->  Attempting to fetch qrupdate-1.1.2_6+gcc12+openblas.darwin_22.arm64.tbz2 from https://packages.macports.org/qrupdate
--->  Attempting to fetch qrupdate-1.1.2_6+gcc12+openblas.darwin_22.arm64.tbz2 from https://ywg.ca.packages.macports.org/mirror/macports/packages/qrupdate
--->  Attempting to fetch qrupdate-1.1.2_6+gcc12+openblas.darwin_22.arm64.tbz2 from https://kmq.jp.packages.macports.org/qrupdate
--->  Building qrupdate
Error: Failed to build qrupdate: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_qrupdate/qrupdate/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe there
is a bug.
Error: Processing of port qrupdate failed
mcquiggi@Kevins-MacBook-Pro ~ % 

Of course if I try to build octave, it reaches the point where it tries to build qrupdate with the same result.

I have done 'sudo port selfupdate', of course, to ensure my ports tree is up to date.

I will attach the log file.

Kevin

comment:3 Changed 2 years ago by jmroot (Joshua Root)

Keywords: ventura added
Port: octave removed
Resolution: duplicate
Status: newclosed
Summary: Octave won't build on Ventura 13.0.1 due to unmet dependency 'qrupdate'qrupdate @1.1.2_6+gcc12+openblas build failure on Ventura 13.0.1

OK, so qrupdate is found, but it's failing to build.

:info:build /opt/local/bin/gfortran-mp-12 -m64 -fimplicit-none -O3 -funroll-loops   -dynamiclib -o ../libqrupdate.dylib -install_name /opt/local/lib/libqrupdate.1.dylib caxcpy.o cch1dn.o cch1up.o cchdex.o cchinx.o cchshx.o cgqvec.o cqhqr.o cqr1up.o cqrdec.o cqrder.o cqrinc.o cqrinr.o cqrot.o cqrqh.o cqrshc.o cqrtv1.o dch1dn.o dch1up.o dchdex.o dchinx.o dchshx.o dgqvec.o dqhqr.o dqr1up.o dqrdec.o dqrder.o dqrinc.o dqrinr.o dqrot.o dqrqh.o dqrshc.o dqrtv1.o sch1dn.o sch1up.o schdex.o schinx.o schshx.o sgqvec.o sqhqr.o sqr1up.o sqrdec.o sqrder.o sqrinc.o sqrinr.o sqrot.o sqrqh.o sqrshc.o sqrtv1.o zaxcpy.o zch1dn.o zch1up.o zchdex.o zchinx.o zchshx.o zgqvec.o zqhqr.o zqr1up.o zqrdec.o zqrder.o zqrinc.o zqrinr.o zqrot.o zqrqh.o zqrshc.o zqrtv1.o clu1up.o dlu1up.o slu1up.o zlu1up.o clup1up.o dlup1up.o slup1up.o zlup1up.o \
:info:build             -lopenblas
:info:build ld: file too small (length=0) file 'clup1up.o' for architecture arm64

This appears to be the same as #66108. You may be able to work around the issue by disabling parallel building: sudo port clean qrupdate && sudo port install qrupdate build.jobs=1

comment:4 Changed 2 years ago by mcquiggi (Kevin McQuiggin)

Hi Joshua:

The workaround was successful! Thanks very much!

Kevin

Note: See TracTickets for help on using tickets.