Opened 3 years ago

Closed 3 years ago

#63361 closed defect (invalid)

mariadb @5.5.68_0: error: Building FAT binary for an unknown architecture.

Reported by: syurin-nagatuki Owned by: michaelld (Michael Dickens)
Priority: Normal Milestone:
Component: ports Version: 2.7.1
Keywords: arm64 Cc:
Port: mariadb

Description (last modified by ryandesign (Ryan Carsten Schmidt))

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@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@MacBookAir ~ $sudo port clean mariadb  
--->  Cleaning mariadb
syurin@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

Attachments (1)

main.log (191.9 KB) - added by syurin-nagatuki 3 years ago.
Log

Download all attachments as: .zip

Change History (4)

Changed 3 years ago by syurin-nagatuki

Attachment: main.log added

Log

comment:1 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Keywords: arm64 added
Owner: set to michaelld
Status: newassigned
Summary: mariadb-5.5.68_0 Failed to buildmariadb @5.5.68_0: error: Building FAT binary for an unknown architecture.

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.

comment:2 in reply to:  1 Changed 3 years ago by syurin-nagatuki

Replying to ryandesign:

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.

Thank you for your reply. I seem to have misunderstood the version to install. When I installed the version you pointed out, I was able to install it successfully. Thank you for supporting my rudimentary mistake.

comment:3 Changed 3 years ago by ctreleaven (Craig Treleaven)

Resolution: invalid
Status: assignedclosed
Note: See TracTickets for help on using tickets.