[MacPorts] #64574: 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
MacPorts
noreply at macports.org
Wed Feb 2 08:14:20 UTC 2022
#64574: 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
---------------------------+-------------------------------------
Reporter: barracuda156 | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.7.1
Resolution: | Keywords: PowerPC, Leopard, ppc64
Port: vecLibFort |
---------------------------+-------------------------------------
Comment (by barracuda156):
It also fails to build for ppc on 10.6.8 Rosetta:
{{{
Sergey-Fedorovs-Mac-mini:~ svacchanda$ sudo port -v install vecLibFort
Password:
---> Fetching distfiles for vecLibFort
---> vecLibFort-0.4.2.tar.gz does not exist in
/opt/local/var/macports/distfiles/vecLibFort
---> Attempting to fetch vecLibFort-0.4.2.tar.gz from
https://codeload.github.com/mcg1969/vecLibFort/legacy.tar.gz/0.4.2?dummy=
% Total % Received % Xferd Average Speed Time Time Time
Current
Dload Upload Total Spent Left
Speed
100 10265 0 10265 0 0 5597 0 --:--:-- 0:00:01 --:--:--
5603
---> Verifying checksums for vecLibFort
---> Checksumming vecLibFort-0.4.2.tar.gz
---> Extracting vecLibFort
---> Extracting vecLibFort-0.4.2.tar.gz
Executing: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_vecLibFort/vecLibFort/work"
&& /usr/bin/gzip -dc
'/opt/local/var/macports/distfiles/vecLibFort/vecLibFort-0.4.2.tar.gz' |
/usr/bin/gnutar --no-same-owner -xf -
---> Applying patches to vecLibFort
---> Applying patch-Makefile.diff
Executing: 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/patch -p0 <
'/opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/devel/vecLibFort/files
/patch-Makefile.diff'
patching file Makefile
---> Applying patch-add-local-vecLib-760.100-header.diff
Executing: 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/patch -p0 <
'/opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/devel/vecLibFort/files
/patch-add-local-vecLib-760.100-header.diff'
patching file vecLib-760.100.h
---> Applying patch-vecLibFort.diff
Executing: 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/patch -p0 <
'/opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/devel/vecLibFort/files
/patch-vecLibFort.diff'
patching file vecLibFort.c
---> Configuring vecLibFort
---> Building vecLibFort
Executing: 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"
PREFIX=/opt/local LD=/usr/bin/gcc-4.2 LDFLAGS="-arch ppc"
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
make: Entering 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'
/usr/bin/gcc-4.2 -Os -arch ppc -c -o vecLibFort.o vecLibFort.c
/usr/bin/gcc-4.2 -shared -arch ppc -DVECLIBFORT_INTERPOSE -o
libvecLibFortI.dylib -O vecLibFort.c \
-Wl,-reexport_framework -Wl,Accelerate \
-install_name /opt/local/lib/libvecLibFortI.dylib
In file included from vecLibFort.c:22:
vecLib-760.100.h:48:91: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 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:
Accelerate/../Frameworks/vecLib.framework/Headers/Sparse/Sparse.h: No such
file or directory
error: Accelerate/../Frameworks/vecLib.framework/Headers/Sparse/Sparse.h:
No such file or directory
vecLib-760.100.h:53:76: error:
vecLib-760.100.h:53:76:Accelerate/../Frameworks/vecLib.framework/Headers/Sparse/Solve.h:
No such file or directory
error: Accelerate/../Frameworks/vecLib.framework/Headers/Sparse/Solve.h:
No such file or directory
vecLib-760.100.h:57:85: vecLib-760.100.h:57:85: error: error:
Accelerate/../Frameworks/vecLib.framework/Headers/Quadrature/Quadrature.h:
No such file or directory
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:61:73: error:
Accelerate/../Frameworks/vecLib.framework/Headers/BNNS/bnns.h: No such
file or directory
make: *** [libvecLibFortI.dylib] Error 1
make: *** Waiting for unfinished jobs....
vecLibFort.c: In function ‘loadlib’:
vecLibFort.c:206: warning: format ‘%s’ expects type ‘char *’, but argument
3 has type ‘void *’
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"
PREFIX=/opt/local LD=/usr/bin/gcc-4.2 LDFLAGS="-arch ppc"
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
Error: See
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_vecLibFort/vecLibFort/main.log
for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe
there
is a bug.
Error: Processing of port vecLibFort failed
Sergey-Fedorovs-Mac-mini:~ svacchanda$ sudo port -v install vecLibFort
configure.compiler=macports-gcc-7
---> Computing dependencies for vecLibFort.
---> Building vecLibFort
Executing: 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=/opt/local/bin/gcc-mp-7 CFLAGS="-Os -arch
ppc" PREFIX=/opt/local LD=/opt/local/bin/gcc-mp-7 LDFLAGS="-arch ppc"
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
make: Entering 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'
/opt/local/bin/gcc-mp-7 -Os -arch ppc -c -o vecLibFort.o vecLibFort.c
/opt/local/bin/gcc-mp-7 -shared -arch ppc -DVECLIBFORT_INTERPOSE -o
libvecLibFortI.dylib -O vecLibFort.c \
-Wl,-reexport_framework -Wl,Accelerate \
-install_name /opt/local/lib/libvecLibFortI.dylib
In file included from vecLibFort.c:22:0:
vecLib-760.100.h:48:10: fatal error:
Accelerate/../Frameworks/vecLib.framework/Headers/LinearAlgebra/LinearAlgebra.h:
No such file or directory
#include
<Accelerate/../Frameworks/vecLib.framework/Headers/LinearAlgebra/LinearAlgebra.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from vecLibFort.c:22:0:
vecLib-760.100.h:48:10: fatal error:
Accelerate/../Frameworks/vecLib.framework/Headers/LinearAlgebra/LinearAlgebra.h:
No such file or directory
#include
<Accelerate/../Frameworks/vecLib.framework/Headers/LinearAlgebra/LinearAlgebra.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
compilation terminated.
make: *** [libvecLibFortI.dylib] Error 1
make: *** Waiting for unfinished jobs....
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=/opt/local/bin/gcc-mp-7 CFLAGS="-Os -arch
ppc" PREFIX=/opt/local LD=/opt/local/bin/gcc-mp-7 LDFLAGS="-arch ppc"
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
Error: See
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_vecLibFort/vecLibFort/main.log
for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe
there
is a bug.
Error: Processing of port vecLibFort failed
}}}
--
Ticket URL: <https://trac.macports.org/ticket/64574#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list