Opened 4 years ago

Last modified 4 years ago

#61440 closed defect

cannot build gperf on Big Sur — at Version 2

Reported by: ungur (Liviu Ungur) Owned by:
Priority: Normal Milestone:
Component: ports Version:
Keywords: bigsur Cc:
Port: gperf

Description (last modified by ungur (Liviu Ungur))

I have built MacPorts version 2.6.4 using the git version, branch release-2.6. Configuration and installation went fine. However, I realized that I cannot install any port. The failed attempt to install gcc10 led to the following error:

mymac@MacBook-Pro macports-base.git % sudo port install gcc10
Warning: The macOS 11.0 SDK does not appear to be installed. Ports may not build correctly.
Warning: You can install it as part of the Xcode Command Line Tools package by running `xcode-select --install'.
--->  Computing dependencies for gcc10
The following dependencies will be installed: 
 autoconf
 automake
 bzip2
 cctools
 cmake
 curl
 curl-ca-bundle
 db48
 expat
 gcc_select
 gdbm
 gettext
 glib2
 gmp
 gperf
 help2man
 icu
 isl
 ld64
 ld64-xcode
 libarchive
 libcxx
 libedit
 libffi
 libgcc
 libgcc10
 libiconv
 libidn2
 libmpc
 libpsl
 libtool
 libunistring
 libunwind-headers
 libuv
 libxml2
 llvm-10
 llvm_select
 lz4
 lzo2
 mpfr
 ncurses
 openssl
 p5.28-locale-gettext
 pcre
 perl5.28
 perl5.30
 pkgconfig
 python38
 python3_select
 python_select
 readline
 sqlite3
 texinfo
 xar
 xz
 zlib
 zstd
Continue? [Y/n]: Y
Warning: The macOS 11.0 SDK does not appear to be installed. Ports may not build correctly.
Warning: You can install it as part of the Xcode Command Line Tools package by running `xcode-select --install'.
--->  Fetching archive for gperf
--->  Attempting to fetch gperf-3.1_0.darwin_20.x86_64.tbz2 from http://jog.id.packages.macports.org/macports/packages/gperf
--->  Attempting to fetch gperf-3.1_0.darwin_20.x86_64.tbz2 from https://kmq.jp.packages.macports.org/gperf
--->  Attempting to fetch gperf-3.1_0.darwin_20.x86_64.tbz2 from https://pek.cn.packages.macports.org/macports/packages/gperf
--->  Configuring gperf
Error: Failed to configure gperf, consult /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_gperf/gperf/work/gperf-3.1/config.log
Error: Failed to configure gperf: configure failure: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_gperf/gperf/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
Error: Processing of port gcc10 failed


gcc --version
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/4.2.1
Apple clang version 12.0.0 (clang-1200.0.32.27)
Target: x86_64-apple-darwin20.1.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin

Change History (3)

Changed 4 years ago by ungur (Liviu Ungur)

Attachment: config.log added

/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_gperf/gperf/work/gperf-3.1/config.log

comment:1 Changed 4 years ago by ungur (Liviu Ungur)

Description: modified (diff)

comment:2 Changed 4 years ago by ungur (Liviu Ungur)

Description: modified (diff)
Note: See TracTickets for help on using tickets.