Opened 3 years ago
Closed 3 years ago
#64574 closed defect (fixed)
vecLibFort: error: Accelerate/../Frameworks/vecLib.framework/Headers/LinearAlgebra/LinearAlgebra.h: No such file or directory
Reported by: | barracuda156 | Owned by: | tenomoto (Takeshi Enomoto) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.7.1 |
Keywords: | leopard snowleopard lion mountainlion mavericks haspatch | Cc: | |
Port: | vecLibFort |
Description
In file included from vecLibFort.c:22: In file included from vecLibFort.c:22vecLib-760.100.h:48:91:: vecLib-760.100.h:48:91:error: Accelerate/../Frameworks/vecLib.framework/Headers/LinearAlgebra/LinearAlgebra.h: No such file or directoryerror: Accelerate/../Frameworks/vecLib.framework/Headers/LinearAlgebra/LinearAlgebra.h: No such file or directory vecLib-760.100.h:52:77: error: vecLib-760.100.h:52:77: error: Accelerate/../Frameworks/vecLib.framework/Headers/Sparse/Sparse.h: No such file or directory Accelerate/../Frameworks/vecLib.framework/Headers/Sparse/Sparse.h: No such file or directory vecLib-760.100.h:53:76: error: Accelerate/../Frameworks/vecLib.framework/Headers/Sparse/Solve.h: No such file or directoryvecLib-760.100.h:53:76: error: Accelerate/../Frameworks/vecLib.framework/Headers/Sparse/Solve.h: No such file or directory vecLib-760.100.h:57:85: error: Accelerate/../Frameworks/vecLib.framework/Headers/Quadrature/Quadrature.h: No such file or directory vecLib-760.100.h:61:73: error: Accelerate/../Frameworks/vecLib.framework/Headers/BNNS/bnns.h: No such file or directory vecLib-760.100.h:57:85: error: Accelerate/../Frameworks/vecLib.framework/Headers/Quadrature/Quadrature.h: No such file or directory vecLib-760.100.h:61:73: error: Accelerate/../Frameworks/vecLib.framework/Headers/BNNS/bnns.h: No such file or directory In file included from vecLibFort.c:22: vecLib-760.100.h:48:91: error: Accelerate/../Frameworks/vecLib.framework/Headers/LinearAlgebra/LinearAlgebra.h: No such file or directory vecLib-760.100.h:52:77: error: Accelerate/../Frameworks/vecLib.framework/Headers/Sparse/Sparse.h: No such file or directory vecLib-760.100.h:53:76: error: Accelerate/../Frameworks/vecLib.framework/Headers/Sparse/Solve.h: No such file or directory vecLib-760.100.h:57:85: error: Accelerate/../Frameworks/vecLib.framework/Headers/Quadrature/Quadrature.h: No such file or directory vecLib-760.100.h:61:73: error: Accelerate/../Frameworks/vecLib.framework/Headers/BNNS/bnns.h: No such file or directory In file included from vecLibFort.c:22: vecLib-760.100.h:48:91: error: Accelerate/../Frameworks/vecLib.framework/Headers/LinearAlgebra/LinearAlgebra.h: No such file or directory vecLib-760.100.h:52:77: error: Accelerate/../Frameworks/vecLib.framework/Headers/Sparse/Sparse.h: No such file or directory vecLib-760.100.h:53:76: error: Accelerate/../Frameworks/vecLib.framework/Headers/Sparse/Solve.h: No such file or directory vecLib-760.100.h:57:85: error: Accelerate/../Frameworks/vecLib.framework/Headers/Quadrature/Quadrature.h: No such file or directory vecLib-760.100.h:61:73: error: Accelerate/../Frameworks/vecLib.framework/Headers/BNNS/bnns.h: No such file or directory fatal error: lipo: can't figure out the architecture type of: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_vecLibFort/vecLibFort/work/.tmp/ccuo67o8.out make: *** [libvecLibFortI.dylib] Error 1 make: *** Waiting for unfinished jobs.... fatal error: lipo: can't figure out the architecture type of: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_vecLibFort/vecLibFort/work/.tmp/ccP3wcdc.out make: *** [vecLibFort.o] Error 1 make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_vecLibFort/vecLibFort/work/mcg1969-vecLibFort-4e39a68' Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_vecLibFort/vecLibFort/work/vecLibFort-0.4.2" && /usr/bin/make -j4 -w all CC=/usr/bin/gcc-4.2 CFLAGS="-Os -arch ppc -arch ppc64" PREFIX=/opt/local LD=/usr/bin/gcc-4.2 LDFLAGS="-arch ppc -arch ppc64" DESTDIR=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_vecLibFort/vecLibFort/work/destroot/opt/local Exit code: 2 Error: Failed to build vecLibFort: command execution failed
Attachments (3)
Change History (8)
Changed 3 years ago by barracuda156
comment:1 Changed 3 years ago by barracuda156
Changed 3 years ago by barracuda156
Attachment: | main_10.6.8.log added |
---|
comment:2 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)
Owner: | set to tenomoto |
---|---|
Status: | new → assigned |
I suspect this was caused by the fix for #63717. (The build failed with the version of vecLib.h in the macOS 12 SDK therefore vecLibFort now includes a copy of the macOS 11 SDK's vecLib.h, but this copy of vecLib.h is quite different from the one that is needed for systems as old as 10.6.)
Try replacing patch-vecLibFort.diff in the port's files directory with the attached version. If that works, we can send a PR to the developers.
Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)
Attachment: | patch-vecLibFort.diff added |
---|
comment:3 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)
Keywords: | leopard snowleopard haspatch added; PowerPC Leopard ppc64 removed |
---|---|
Summary: | vecLibFort fails to build for ppc+ppc64 on 10.5.8: fatal error: lipo: can't figure out the architecture type of: /opt/local/var/macports/build → vecLibFort: error: Accelerate/../Frameworks/vecLib.framework/Headers/LinearAlgebra/LinearAlgebra.h: No such file or directory |
comment:4 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)
Keywords: | lion mountainlion mavericks added |
---|
I confirmed the bug on Mac OS X 10.7 and that my fix works.
I reported it to the developers: https://github.com/mcg1969/vecLibFort/issues/14
I sent them the fix: https://github.com/mcg1969/vecLibFort/pull/15
I sent a PR to update the port to 0.4.3 and include this fix: https://github.com/macports/macports-ports/pull/13955
comment:5 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
It also fails to build for ppc on 10.6.8 Rosetta: