[MacPorts] #63361: mariadb @5.5.68_0: error: Building FAT binary for an unknown architecture. (was: mariadb-5.5.68_0 Failed to build)
MacPorts
noreply at macports.org
Fri Aug 13 07:10:33 UTC 2021
#63361: mariadb @5.5.68_0: error: Building FAT binary for an unknown architecture.
------------------------------+-----------------------
Reporter: syurin-nagatuki | Owner: michaelld
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.7.1
Resolution: | Keywords: arm64
Port: mariadb |
------------------------------+-----------------------
Changes (by ryandesign):
* keywords: => arm64
* owner: (none) => michaelld
* status: new => assigned
Old description:
> sudo port install mariadb
> ---> Computing dependencies for mariadb
> The following dependencies will be installed:
> cmake
> libarchive
> libcxx
> libuv
> lzo2
> mysql_select
> tcp_wrappers
> Continue? [Y/n]:
> ---> Fetching archive for lzo2
> ---> Attempting to fetch lzo2-2.10_0.darwin_20.arm64.tbz2 from
> https://packages.macports.org/lzo2
> ---> Attempting to fetch lzo2-2.10_0.darwin_20.arm64.tbz2.rmd160 from
> https://packages.macports.org/lzo2
> ---> Installing lzo2 @2.10_0
> ---> Activating lzo2 @2.10_0
> ---> Cleaning lzo2
> ---> Fetching archive for libarchive
> ---> Attempting to fetch libarchive-3.5.1_1.darwin_20.arm64.tbz2 from
> https://packages.macports.org/libarchive
> ---> Attempting to fetch libarchive-3.5.1_1.darwin_20.arm64.tbz2.rmd160
> from https://packages.macports.org/libarchive
> ---> Installing libarchive @3.5.1_1
> ---> Activating libarchive @3.5.1_1
> ---> Cleaning libarchive
> ---> Fetching archive for libcxx
> ---> Attempting to fetch libcxx-5.0.1_4.darwin_20.noarch.tbz2 from
> https://packages.macports.org/libcxx
> ---> Attempting to fetch libcxx-5.0.1_4.darwin_20.noarch.tbz2.rmd160
> from https://packages.macports.org/libcxx
> ---> Installing libcxx @5.0.1_4
> ---> Activating libcxx @5.0.1_4
> ---> Cleaning libcxx
> ---> Fetching archive for libuv
> ---> Attempting to fetch libuv-1.42.0_0.darwin_20.arm64.tbz2 from
> https://packages.macports.org/libuv
> ---> Attempting to fetch libuv-1.42.0_0.darwin_20.arm64.tbz2.rmd160 from
> https://packages.macports.org/libuv
> ---> Installing libuv @1.42.0_0
> ---> Activating libuv @1.42.0_0
> ---> Cleaning libuv
> ---> Fetching archive for cmake
> ---> Attempting to fetch cmake-3.20.5_2.darwin_20.arm64.tbz2 from
> https://packages.macports.org/cmake
> ---> Attempting to fetch cmake-3.20.5_2.darwin_20.arm64.tbz2.rmd160 from
> https://packages.macports.org/cmake
> ---> Installing cmake @3.20.5_2
> ---> Activating cmake @3.20.5_2
> ---> Cleaning cmake
> ---> Fetching archive for mysql_select
> ---> Attempting to fetch mysql_select-0.1.2_4.darwin_20.noarch.tbz2 from
> https://packages.macports.org/mysql_select
> ---> Attempting to fetch
> mysql_select-0.1.2_4.darwin_20.noarch.tbz2.rmd160 from
> https://packages.macports.org/mysql_select
> ---> Installing mysql_select @0.1.2_4
> ---> Activating mysql_select @0.1.2_4
> ---> Cleaning mysql_select
> ---> Fetching archive for tcp_wrappers
> ---> Attempting to fetch tcp_wrappers-20_4.darwin_20.arm64.tbz2 from
> https://packages.macports.org/tcp_wrappers
> ---> Attempting to fetch tcp_wrappers-20_4.darwin_20.arm64.tbz2.rmd160
> from https://packages.macports.org/tcp_wrappers
> ---> Installing tcp_wrappers @20_4
> ---> Activating tcp_wrappers @20_4
> ---> Cleaning tcp_wrappers
> ---> Fetching archive for mariadb
> ---> Attempting to fetch mariadb-5.5.68_0.darwin_20.arm64.tbz2 from
> https://packages.macports.org/mariadb
> ---> Attempting to fetch mariadb-5.5.68_0.darwin_20.arm64.tbz2 from
> https://kmq.jp.packages.macports.org/mariadb
> ---> Attempting to fetch mariadb-5.5.68_0.darwin_20.arm64.tbz2 from
> https://pek.cn.packages.macports.org/macports/packages/mariadb
> ---> Fetching distfiles for mariadb
> ---> Attempting to fetch mariadb-5.5.68.tar.gz from
> https://distfiles.macports.org/mariadb
> ---> Verifying checksums for mariadb
> ---> Extracting mariadb
> ---> Applying patches to mariadb
> ---> Configuring mariadb
> Warning: Configuration logfiles contain indications of -Wimplicit-
> function-declaration; check that features were not accidentally disabled:
> select: found in build/CMakeFiles/CMakeError.log
> finite: found in build/CMakeFiles/CMakeError.log
> ---> Building mariadb
> Error: Failed to build mariadb: command execution failed
> Error: See
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_databases_mariadb/mariadb/main.log
> for details.
> Error: Follow https://guide.macports.org/#project.tickets if you believe
> there is a bug.
> Error: Processing of port mariadb failed
> syurin at MacBookAir ~ $sudo port install mariadb
> Password:
> ---> Computing dependencies for mariadb
> ---> Fetching archive for mariadb
> ---> Attempting to fetch mariadb-5.5.68_0.darwin_20.arm64.tbz2 from
> https://packages.macports.org/mariadb
> ---> Attempting to fetch mariadb-5.5.68_0.darwin_20.arm64.tbz2 from
> https://kmq.jp.packages.macports.org/mariadb
> ---> Attempting to fetch mariadb-5.5.68_0.darwin_20.arm64.tbz2 from
> https://pek.cn.packages.macports.org/macports/packages/mariadb
> ---> Building mariadb
> Error: Failed to build mariadb: command execution failed
> Error: See
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_databases_mariadb/mariadb/main.log
> for details.
> Error: Follow https://guide.macports.org/#project.tickets if you believe
> there is a bug.
> Error: Processing of port mariadb failed
> syurin at MacBookAir ~ $sudo port clean mariadb
> ---> Cleaning mariadb
> syurin at MacBookAir ~ $sudo port install mariadb
> ---> Computing dependencies for mariadb
> ---> Fetching archive for mariadb
> ---> Attempting to fetch mariadb-5.5.68_0.darwin_20.arm64.tbz2 from
> https://packages.macports.org/mariadb
> ---> Attempting to fetch mariadb-5.5.68_0.darwin_20.arm64.tbz2 from
> https://kmq.jp.packages.macports.org/mariadb
> ---> Attempting to fetch mariadb-5.5.68_0.darwin_20.arm64.tbz2 from
> https://pek.cn.packages.macports.org/macports/packages/mariadb
> ---> Fetching distfiles for mariadb
> ---> Verifying checksums for mariadb
> ---> Extracting mariadb
> ---> Applying patches to mariadb
> ---> Configuring mariadb
> Warning: Configuration logfiles contain indications of -Wimplicit-
> function-declaration; check that features were not accidentally disabled:
> select: found in build/CMakeFiles/CMakeError.log
> finite: found in build/CMakeFiles/CMakeError.log
> ---> Building mariadb
> Error: Failed to build mariadb: command execution failed
> Error: See
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_databases_mariadb/mariadb/main.log
> for details.
> Error: Follow https://guide.macports.org/#project.tickets if you believe
> there is a bug.
> Error: Processing of port mariadb failed
New description:
{{{
sudo port install mariadb
---> Computing dependencies for mariadb
The following dependencies will be installed:
cmake
libarchive
libcxx
libuv
lzo2
mysql_select
tcp_wrappers
Continue? [Y/n]:
---> Fetching archive for lzo2
---> Attempting to fetch lzo2-2.10_0.darwin_20.arm64.tbz2 from
https://packages.macports.org/lzo2
---> Attempting to fetch lzo2-2.10_0.darwin_20.arm64.tbz2.rmd160 from
https://packages.macports.org/lzo2
---> Installing lzo2 @2.10_0
---> Activating lzo2 @2.10_0
---> Cleaning lzo2
---> Fetching archive for libarchive
---> Attempting to fetch libarchive-3.5.1_1.darwin_20.arm64.tbz2 from
https://packages.macports.org/libarchive
---> Attempting to fetch libarchive-3.5.1_1.darwin_20.arm64.tbz2.rmd160
from https://packages.macports.org/libarchive
---> Installing libarchive @3.5.1_1
---> Activating libarchive @3.5.1_1
---> Cleaning libarchive
---> Fetching archive for libcxx
---> Attempting to fetch libcxx-5.0.1_4.darwin_20.noarch.tbz2 from
https://packages.macports.org/libcxx
---> Attempting to fetch libcxx-5.0.1_4.darwin_20.noarch.tbz2.rmd160 from
https://packages.macports.org/libcxx
---> Installing libcxx @5.0.1_4
---> Activating libcxx @5.0.1_4
---> Cleaning libcxx
---> Fetching archive for libuv
---> Attempting to fetch libuv-1.42.0_0.darwin_20.arm64.tbz2 from
https://packages.macports.org/libuv
---> Attempting to fetch libuv-1.42.0_0.darwin_20.arm64.tbz2.rmd160 from
https://packages.macports.org/libuv
---> Installing libuv @1.42.0_0
---> Activating libuv @1.42.0_0
---> Cleaning libuv
---> Fetching archive for cmake
---> Attempting to fetch cmake-3.20.5_2.darwin_20.arm64.tbz2 from
https://packages.macports.org/cmake
---> Attempting to fetch cmake-3.20.5_2.darwin_20.arm64.tbz2.rmd160 from
https://packages.macports.org/cmake
---> Installing cmake @3.20.5_2
---> Activating cmake @3.20.5_2
---> Cleaning cmake
---> Fetching archive for mysql_select
---> Attempting to fetch mysql_select-0.1.2_4.darwin_20.noarch.tbz2 from
https://packages.macports.org/mysql_select
---> Attempting to fetch
mysql_select-0.1.2_4.darwin_20.noarch.tbz2.rmd160 from
https://packages.macports.org/mysql_select
---> Installing mysql_select @0.1.2_4
---> Activating mysql_select @0.1.2_4
---> Cleaning mysql_select
---> Fetching archive for tcp_wrappers
---> Attempting to fetch tcp_wrappers-20_4.darwin_20.arm64.tbz2 from
https://packages.macports.org/tcp_wrappers
---> Attempting to fetch tcp_wrappers-20_4.darwin_20.arm64.tbz2.rmd160
from https://packages.macports.org/tcp_wrappers
---> Installing tcp_wrappers @20_4
---> Activating tcp_wrappers @20_4
---> Cleaning tcp_wrappers
---> Fetching archive for mariadb
---> Attempting to fetch mariadb-5.5.68_0.darwin_20.arm64.tbz2 from
https://packages.macports.org/mariadb
---> Attempting to fetch mariadb-5.5.68_0.darwin_20.arm64.tbz2 from
https://kmq.jp.packages.macports.org/mariadb
---> Attempting to fetch mariadb-5.5.68_0.darwin_20.arm64.tbz2 from
https://pek.cn.packages.macports.org/macports/packages/mariadb
---> Fetching distfiles for mariadb
---> Attempting to fetch mariadb-5.5.68.tar.gz from
https://distfiles.macports.org/mariadb
---> Verifying checksums for mariadb
---> Extracting mariadb
---> Applying patches to mariadb
---> Configuring mariadb
Warning: Configuration logfiles contain indications of -Wimplicit-
function-declaration; check that features were not accidentally disabled:
select: found in build/CMakeFiles/CMakeError.log
finite: found in build/CMakeFiles/CMakeError.log
---> Building mariadb
Error: Failed to build mariadb: command execution failed
Error: See
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_databases_mariadb/mariadb/main.log
for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe
there is a bug.
Error: Processing of port mariadb failed
syurin at MacBookAir ~ $sudo port install mariadb
Password:
---> Computing dependencies for mariadb
---> Fetching archive for mariadb
---> Attempting to fetch mariadb-5.5.68_0.darwin_20.arm64.tbz2 from
https://packages.macports.org/mariadb
---> Attempting to fetch mariadb-5.5.68_0.darwin_20.arm64.tbz2 from
https://kmq.jp.packages.macports.org/mariadb
---> Attempting to fetch mariadb-5.5.68_0.darwin_20.arm64.tbz2 from
https://pek.cn.packages.macports.org/macports/packages/mariadb
---> Building mariadb
Error: Failed to build mariadb: command execution failed
Error: See
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_databases_mariadb/mariadb/main.log
for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe
there is a bug.
Error: Processing of port mariadb failed
syurin at MacBookAir ~ $sudo port clean mariadb
---> Cleaning mariadb
syurin at MacBookAir ~ $sudo port install mariadb
---> Computing dependencies for mariadb
---> Fetching archive for mariadb
---> Attempting to fetch mariadb-5.5.68_0.darwin_20.arm64.tbz2 from
https://packages.macports.org/mariadb
---> Attempting to fetch mariadb-5.5.68_0.darwin_20.arm64.tbz2 from
https://kmq.jp.packages.macports.org/mariadb
---> Attempting to fetch mariadb-5.5.68_0.darwin_20.arm64.tbz2 from
https://pek.cn.packages.macports.org/macports/packages/mariadb
---> Fetching distfiles for mariadb
---> Verifying checksums for mariadb
---> Extracting mariadb
---> Applying patches to mariadb
---> Configuring mariadb
Warning: Configuration logfiles contain indications of -Wimplicit-
function-declaration; check that features were not accidentally disabled:
select: found in build/CMakeFiles/CMakeError.log
finite: found in build/CMakeFiles/CMakeError.log
---> Building mariadb
Error: Failed to build mariadb: command execution failed
Error: See
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_databases_mariadb/mariadb/main.log
for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe
there is a bug.
Error: Processing of port mariadb failed
}}}
--
Comment:
Presumably this rather old version of mariadb is not compatible with Apple
Silicon. Have you tried a newer version of mariadb? The newest version in
MacPorts today is mariadb-10.6; try installing that port.
--
Ticket URL: <https://trac.macports.org/ticket/63361#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list