Opened 3 years ago

Closed 20 months ago

#64636 closed defect (fixed)

ipmitool @1.8.18.20210622_1 fails to build on Monterey/M1

Reported by: tjbx Owned by: drkp (Dan Ports)
Priority: Normal Milestone:
Component: ports Version:
Keywords: arm64 haspatch Cc: bgagarinov, epilatow (Edward Pilatowicz), acsawdey (Aaron Sawdey), fpetzold, svensen, ryandesign (Ryan Carsten Schmidt)
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# 

Attachments (1)

main.log (173.4 KB) - added by tjbx 3 years ago.
mail.log

Download all attachments as: .zip

Change History (11)

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

comment:2 Changed 2 years ago by bgagarinov

Cc: bgagarinov added

comment:3 Changed 2 years ago by epilatow (Edward Pilatowicz)

Cc: epilatow added

comment:4 Changed 2 years ago by acsawdey (Aaron Sawdey)

Cc: acsawdey added

comment:5 Changed 2 years ago by fpetzold

Cc: fpetzold added

comment:6 Changed 2 years ago by svensen

Cc: svensen added

comment:7 Changed 22 months ago by dgonyier (Dwaine Gonyier)

Last edited 22 months ago by dgonyier (Dwaine Gonyier) (previous) (diff)

comment:8 Changed 20 months ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign added

comment:9 Changed 20 months ago by ryandesign (Ryan Carsten Schmidt)

Keywords: haspatch added

Thanks for letting us know. I've included that fix in https://github.com/macports/macports-ports/pull/18123.

comment:10 Changed 20 months ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: assignedclosed

In d207098e077a78c0d75be6af02681a64a86434f5/macports-ports (master):

ipmitool: Update to 1.8.19

Closes: #64636
Closes: #67156

Note: See TracTickets for help on using tickets.