[MacPorts] #61440: cannot build gperf on Big Sur

MacPorts noreply at macports.org
Fri Nov 13 11:38:02 UTC 2020


#61440: cannot build gperf on Big Sur
-----------------------------+-----------------------------------------
  Reporter:  ungur           |      Owner:  (none)
      Type:  defect          |     Status:  new
  Priority:  High            |  Milestone:  MacPorts 2.6.4
 Component:  ports           |    Version:
Resolution:                  |   Keywords:  XCode Version 12.2 (12B45b)
      Port:  gcc10 -> gperf  |
-----------------------------+-----------------------------------------
Description changed by ungur:

Old description:

> mymac at 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

New description:

 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 at 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

--

-- 
Ticket URL: <https://trac.macports.org/ticket/61440#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list