[MacPorts] #64366: port libelf-0.8.13_2.darwin_21.arm64 configure failure: command execution failed

MacPorts noreply at macports.org
Wed Jan 5 17:10:12 UTC 2022


#64366: port libelf-0.8.13_2.darwin_21.arm64 configure failure: command execution
failed
-----------------------+--------------------
 Reporter:  NickFabry  |      Owner:  (none)
     Type:  defect     |     Status:  new
 Priority:  Normal     |  Milestone:
Component:  ports      |    Version:  2.7.1
 Keywords:             |       Port:  libelf
-----------------------+--------------------
 While attempting to install qmk dependencies, in particular avrdude, avr-
 gcc and arm-none-eabi-gcc, the installs kept failing. Trying to trace down
 which dependency was failing led to libelf. I did a "sudo port clean
 libelf" to attempt a clean install, and libelf still failed to install:
 {{{
 adminfabry at Winston fabry % sudo port install libelf
 4530ms
 --->  Computing dependencies for libelf
 --->  Fetching archive for libelf
 --->  Attempting to fetch libelf-0.8.13_2.darwin_21.arm64.tbz2 from
 https://pek.cn.packages.macports.org/macports/packages/libelf
 --->  Attempting to fetch libelf-0.8.13_2.darwin_21.arm64.tbz2 from
 http://jog.id.packages.macports.org/macports/packages/libelf
 --->  Attempting to fetch libelf-0.8.13_2.darwin_21.arm64.tbz2 from
 https://fra.de.packages.macports.org/libelf
 --->  Fetching distfiles for libelf
 --->  Verifying checksums for libelf
 --->  Extracting libelf
 --->  Applying patches to libelf
 --->  Configuring libelf
 Error: Failed to configure libelf: consult
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libelf/libelf/work/libelf-0.8.13/config.log
 Error: Failed to configure libelf: 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_libelf/libelf/main.log
 for details.
 Error: Follow https://guide.macports.org/#project.tickets if you believe
 there
 is a bug.
 Error: Processing of port libelf failed
 }}}

 I've attached the config.log and main.log files referenced above. In the
 config.log, this may have been the source of the error:
 {{{
 configure:5233: error: /bin/sh ./config.sub -apple-darwin21.2.0 failed
 }}}
 And in the main.log, this similar error:
 {{{
 :info:configure checking build system type... configure: error: /bin/sh
 ./config.sub -apple-darwin21.2.0 failed
 :info:configure configure: WARNING: cache variable ac_cv_build contains a
 newline
 :info:configure Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libelf/libelf/work/libelf-0.8.13"
 && ./configure --prefix=/opt/local --disable-compat
 :info:configure Exit code: 1
 :error:configure Failed to configure libelf: consult
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libelf/libelf/work/libelf-0.8.13/config.log
 :error:configure Failed to configure libelf: configure failure: command
 execution failed
 :debug:configure Error code: NONE
 :debug:configure Backtrace: configure failure: command execution failed
 :debug:configure     while executing
 :debug:configure "$procedure $targetname"
 :error:configure See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libelf/libelf/main.log
 for details.
 }}}
 I'm running macOS 12.1, XCode 13.2.1 (13C100).
 Thanks for your volunteerism and work.

-- 
Ticket URL: <https://trac.macports.org/ticket/64366>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list