[MacPorts] #64950: libgcc-devel @12-20220327_0+enable_stdlib_flag+universal: configure: error: C preprocessor "/lib/cpp" fails sanity check (was: libgcc-devel @12-20220327_0+enable_stdlib_flag+universal - Error code: CHILDSTATUS 92445 2)

MacPorts noreply at macports.org
Fri Apr 8 20:20:45 UTC 2022


#64950: libgcc-devel @12-20220327_0+enable_stdlib_flag+universal: configure: error:
C preprocessor "/lib/cpp" fails sanity check
---------------------------+--------------------
  Reporter:  aliktab       |      Owner:  (none)
      Type:  defect        |     Status:  new
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.7.2
Resolution:                |   Keywords:
      Port:  libgcc-devel  |
---------------------------+--------------------

Old description:

> :info:build Command failed:  cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_macports_release_tarballs_ports_lang_gcc-devel/libgcc-
> devel/work/build" && /usr/bin/make -j10 -w bootstrap-lean
> :info:build Exit code: 2
> :error:build Failed to build libgcc-devel: command execution failed
> :debug:build Error code: CHILDSTATUS 92445 2
> :debug:build Backtrace: command execution failed
> :debug:build     while executing
> :debug:build "system {*}$notty {*}$callback {*}$nice $fullcmdstring"
> :debug:build     invoked from within
> :debug:build "command_exec -callback
> portprogress::target_progress_callback build"
> :debug:build     (procedure "portbuild::build_main" line 8)
> :debug:build     invoked from within
> :debug:build "$procedure $targetname"

New description:

 {{{
 :info:build Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_lang_gcc-devel/libgcc-
 devel/work/build" && /usr/bin/make -j10 -w bootstrap-lean
 :info:build Exit code: 2
 :error:build Failed to build libgcc-devel: command execution failed
 :debug:build Error code: CHILDSTATUS 92445 2
 :debug:build Backtrace: command execution failed
 :debug:build     while executing
 :debug:build "system {*}$notty {*}$callback {*}$nice $fullcmdstring"
 :debug:build     invoked from within
 :debug:build "command_exec -callback
 portprogress::target_progress_callback build"
 :debug:build     (procedure "portbuild::build_main" line 8)
 :debug:build     invoked from within
 :debug:build "$procedure $targetname"
 }}}

--

Comment (by ryandesign):

 The log says:
 > {{{
 > configure: error: C preprocessor "/lib/cpp" fails sanity check
 > }}}
 Please attach the config.log file(s) so that we can see why this happened.

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


More information about the macports-tickets mailing list