Opened 3 years ago

Last modified 18 months ago

#64636 closed defect

ipmitool @1.8.18.20210622_1 fails to build on Monterey/M1 — at Version 1

Reported by: tjbx Owned by: drkp (Dan Ports)
Priority: Normal Milestone:
Component: ports Version:
Keywords: arm64 haspatch Cc:
Port: ipmitool

Description (last modified by jmroot (Joshua Root))

Build fails:

:info:build mv -f .deps/ipmievd.Tpo .deps/ipmievd.Po
:info:build /bin/sh ../libtool --silent  --tag=CC   --mode=link /usr/bin/clang  -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch arm64 -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral  -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch arm64 -o ipmitool ipmitool.o ipmishell.o ../lib/libipmitool.la plugins/libintf.la -lreadline  -lcrypto
:info:build /bin/sh ../libtool --silent  --tag=CC   --mode=link /usr/bin/clang  -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch arm64 -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral  -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch arm64 -o ipmievd ipmievd.o ../lib/libipmitool.la plugins/libintf.la -lreadline  -lcrypto
:info:build ld: warning: pointer not aligned at address 0x1000A170B (_vFlash_completion_code_vals + 19 from ../lib/.libs/libipmitool.a(ipmi_delloem.o))
:info:build ld: warning: pointer not aligned at address 0x1000A1702 (_vFlash_completion_code_vals + 10 from ../lib/.libs/libipmitool.a(ipmi_delloem.o))
:info:build ld: warning: pointer not aligned at address 0x1000A16F9 (_vFlash_completion_code_vals + 1 from ../lib/.libs/libipmitool.a(ipmi_delloem.o))
:info:build ld: unaligned pointer(s) for architecture arm64
:info:build clang: error: linker command failed with exit code 1 (use -v to see invocation)
:info:build make[3]: *** [ipmitool] Error 1
:info:build make[3]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_sysutils_ipmitool/ipmitool/work/ipmitool-11c7605c0d5423f90f399f5e830d1095089f38a1/src'
:info:build make[2]: *** [all-recursive] Error 1
:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_sysutils_ipmitool/ipmitool/work/ipmitool-11c7605c0d5423f90f399f5e830d1095089f38a1/src'
:info:build make[1]: *** [all-recursive] Error 1
:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_sysutils_ipmitool/ipmitool/work/ipmitool-11c7605c0d5423f90f399f5e830d1095089f38a1'
:info:build make: *** [all] Error 2
:info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_sysutils_ipmitool/ipmitool/work/ipmitool-11c7605c0d5423f90f399f5e830d1095089f38a1'
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_sysutils_ipmitool/ipmitool/work/ipmitool-11c7605c0d5423f90f399f5e830d1095089f38a1" && /usr/bin/make -j4 -w all 
:info:build Exit code: 2
:error:build Failed to build ipmitool: command execution failed
:debug:build Error code: CHILDSTATUS 5878 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"
:error:build See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_sysutils_ipmitool/ipmitool/main.log for details.
sh-3.2# port info ipmitool
ipmitool @1.8.18.20210622_1 (sysutils)
Variants:             universal

Description:          IPMItool is a utility for managing and configuring devices that support the Intelligent Platform Management Interface (IPMI) version 1.5 and version 2.0 specifications. IPMI is an
                      open standard for monitoring, logging, recovery, inventory, and control of hardware that is implemented independent of the main CPU, BIOS, and OS. The ipmitool program provides a
                      simple command-line interface to the Baseboard Management Controller. It features the ability to read the sensor data repository (SDR) and print sensor values, display the contents
                      of the System Event Log (SEL), print Field Replaceable Unit (FRU) inventory information, read and set LAN configuration parameters, and perform remote chassis power control.
Homepage:             https://github.com/ipmitool/ipmitool

Build Dependencies:   autoconf, automake, libtool, curl, coreutils, wget
Library Dependencies: openssl, readline
Platforms:            darwin
License:              BSD
Maintainers:          Email: dports@macports.org, GitHub: drkp
                      Policy: openmaintainer
sh-3.2# 

Change History (2)

Changed 3 years ago by tjbx

Attachment: main.log added

mail.log

comment:1 Changed 3 years ago by jmroot (Joshua Root)

Description: modified (diff)
Keywords: arm64 added
Owner: set to drkp
Status: newassigned
Summary: ipmitool fails to build on Monterey/M1ipmitool @1.8.18.20210622_1 fails to build on Monterey/M1
Note: See TracTickets for help on using tickets.