Created
April 6, 2012 16:43
-
-
Save stopthink/2321231 to your computer and use it in GitHub Desktop.
brew install ipmitool fails on OSX 10.7.3
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ~$ brew install -v ipmitool | |
| ==> Downloading http://downloads.sourceforge.net/project/ipmitool/ipmitool/1.8.11/ipmitool-1.8.11.tar.bz2 | |
| Already downloaded: /Library/Caches/Homebrew/ipmitool-1.8.11.tar.bz2 | |
| /usr/bin/tar xf /Library/Caches/Homebrew/ipmitool-1.8.11.tar.bz2 | |
| ==> ./configure --prefix=/usr/local/Cellar/ipmitool/1.8.11 --mandir=/usr/local/Cellar/ipmitool/1.8.11/share/man --disable-debug --disable-dependency-tracking | |
| ./configure --prefix=/usr/local/Cellar/ipmitool/1.8.11 --mandir=/usr/local/Cellar/ipmitool/1.8.11/share/man --disable-debug --disable-dependency-tracking | |
| checking build system type... i686-apple-darwin11.3.0 | |
| checking host system type... i686-apple-darwin11.3.0 | |
| checking target system type... i686-apple-darwin11.3.0 | |
| checking for a BSD-compatible install... /usr/bin/install -c | |
| checking whether build environment is sane... yes | |
| checking for gawk... no | |
| checking for mawk... no | |
| checking for nawk... no | |
| checking for awk... awk | |
| checking whether make sets $(MAKE)... yes | |
| checking for gcc... /usr/bin/clang | |
| checking for C compiler default output file name... a.out | |
| checking whether the C compiler works... yes | |
| checking whether we are cross compiling... no | |
| checking for suffix of executables... | |
| checking for suffix of object files... o | |
| checking whether we are using the GNU C compiler... yes | |
| checking whether /usr/bin/clang accepts -g... yes | |
| checking for /usr/bin/clang option to accept ANSI C... none needed | |
| checking for style of include used by make... GNU | |
| checking dependency style of /usr/bin/clang... none | |
| checking for a BSD-compatible install... /usr/bin/install -c | |
| checking whether ln -s works... yes | |
| checking whether make sets $(MAKE)... (cached) yes | |
| checking for rpmbuild... rpm | |
| checking for sed... sed | |
| checking how to run the C preprocessor... /usr/bin/clang -E | |
| checking for egrep... grep -E | |
| checking for ANSI C header files... yes | |
| checking for sys/types.h... yes | |
| checking for sys/stat.h... yes | |
| checking for stdlib.h... yes | |
| checking for string.h... yes | |
| checking for memory.h... yes | |
| checking for strings.h... yes | |
| checking for inttypes.h... yes | |
| checking for stdint.h... yes | |
| checking for unistd.h... yes | |
| checking for stdlib.h... (cached) yes | |
| checking for string.h... (cached) yes | |
| checking sys/ioctl.h usability... yes | |
| checking sys/ioctl.h presence... yes | |
| checking for sys/ioctl.h... yes | |
| checking for sys/stat.h... (cached) yes | |
| checking for unistd.h... (cached) yes | |
| checking paths.h usability... yes | |
| checking paths.h presence... yes | |
| checking for paths.h... yes | |
| checking arpa/inet.h usability... yes | |
| checking arpa/inet.h presence... yes | |
| checking for arpa/inet.h... yes | |
| checking fcntl.h usability... yes | |
| checking fcntl.h presence... yes | |
| checking for fcntl.h... yes | |
| checking netdb.h usability... yes | |
| checking netdb.h presence... yes | |
| checking for netdb.h... yes | |
| checking netinet/in.h usability... yes | |
| checking netinet/in.h presence... yes | |
| checking for netinet/in.h... yes | |
| checking sys/socket.h usability... yes | |
| checking sys/socket.h presence... yes | |
| checking for sys/socket.h... yes | |
| checking sys/byteorder.h usability... no | |
| checking sys/byteorder.h presence... no | |
| checking for sys/byteorder.h... no | |
| checking byteswap.h usability... no | |
| checking byteswap.h presence... no | |
| checking for byteswap.h... no | |
| checking for an ANSI C-conforming const... yes | |
| checking for inline... inline | |
| checking whether byte ordering is bigendian... no | |
| checking for stdlib.h... (cached) yes | |
| checking for GNU libc compatible malloc... yes | |
| checking sys/select.h usability... yes | |
| checking sys/select.h presence... yes | |
| checking for sys/select.h... yes | |
| checking for sys/socket.h... (cached) yes | |
| checking types of arguments for select... int,fd_set *,struct timeval * | |
| checking for working strtod... yes | |
| checking for alarm... yes | |
| checking for gethostbyname... yes | |
| checking for socket... yes | |
| checking for select... yes | |
| checking for memmove... yes | |
| checking for memset... yes | |
| checking for strchr... yes | |
| checking for strdup... yes | |
| checking for strerror... yes | |
| checking for getpassphrase... no | |
| checking for a sed that does not truncate output... /usr/bin/sed | |
| checking for ld used by /usr/bin/clang... /usr/bin/clang | |
| checking if the linker (/usr/bin/clang) is GNU ld... no | |
| checking for /usr/bin/clang option to reload object files... -r | |
| checking for BSD-compatible nm... /usr/bin/nm | |
| checking how to recognise dependent libraries... pass_all | |
| checking dlfcn.h usability... yes | |
| checking dlfcn.h presence... yes | |
| checking for dlfcn.h... yes | |
| checking whether we are using the GNU C++ compiler... yes | |
| checking whether /usr/bin/clang++ accepts -g... yes | |
| checking dependency style of /usr/bin/clang++... none | |
| checking how to run the C++ preprocessor... /usr/bin/clang++ -E | |
| checking for g77... no | |
| checking for f77... no | |
| checking for xlf... no | |
| checking for frt... no | |
| checking for pgf77... no | |
| checking for fort77... no | |
| checking for fl32... no | |
| checking for af77... no | |
| checking for f90... no | |
| checking for xlf90... no | |
| checking for pgf90... no | |
| checking for epcf90... no | |
| checking for f95... no | |
| checking for fort... no | |
| checking for xlf95... no | |
| checking for ifc... no | |
| checking for efc... no | |
| checking for pgf95... no | |
| checking for lf95... no | |
| checking for gfortran... no | |
| checking whether we are using the GNU Fortran 77 compiler... no | |
| checking whether accepts -g... no | |
| checking the maximum length of command line arguments... 196608 | |
| checking command to parse /usr/bin/nm output from /usr/bin/clang object... ok | |
| checking for objdir... .libs | |
| checking for ar... ar | |
| checking for ranlib... ranlib | |
| checking for strip... strip | |
| checking if /usr/bin/clang static flag works... yes | |
| checking if /usr/bin/clang supports -fno-rtti -fno-exceptions... yes | |
| checking for /usr/bin/clang option to produce PIC... -fno-common | |
| checking if /usr/bin/clang PIC flag -fno-common works... yes | |
| checking if /usr/bin/clang supports -c -o file.o... yes | |
| checking whether the /usr/bin/clang linker (/usr/bin/clang) supports shared libraries... yes | |
| checking dynamic linker characteristics... darwin11.3.0 dyld | |
| checking how to hardcode library paths into programs... immediate | |
| checking whether stripping libraries is possible... yes | |
| checking if libtool supports shared libraries... yes | |
| checking whether to build shared libraries... yes | |
| checking whether to build static libraries... yes | |
| configure: creating libtool | |
| appending configuration tag "CXX" to libtool | |
| checking for ld used by /usr/bin/clang++... /usr/bin/clang | |
| checking if the linker (/usr/bin/clang) is GNU ld... no | |
| checking whether the /usr/bin/clang++ linker (/usr/bin/clang) supports shared libraries... yes | |
| checking for /usr/bin/clang++ option to produce PIC... -fno-common | |
| checking if /usr/bin/clang++ PIC flag -fno-common works... yes | |
| checking if /usr/bin/clang++ supports -c -o file.o... yes | |
| checking whether the /usr/bin/clang++ linker (/usr/bin/clang) supports shared libraries... yes | |
| checking dynamic linker characteristics... darwin11.3.0 dyld | |
| checking how to hardcode library paths into programs... immediate | |
| checking whether stripping libraries is possible... yes | |
| appending configuration tag "F77" to libtool | |
| checking for library containing gethostbyname... none required | |
| checking for library containing socket... none required | |
| checking for EVP_aes_128_cbc in -lcrypto... yes | |
| checking for MD5_Init in -lcrypto... yes | |
| checking for MD2_Init in -lcrypto... yes | |
| checking for linux/compiler.h... no | |
| checking linux/ipmi.h usability... no | |
| checking linux/ipmi.h presence... no | |
| checking for linux/ipmi.h... no | |
| checking sys/ipmi.h usability... no | |
| checking sys/ipmi.h presence... no | |
| checking for sys/ipmi.h... no | |
| ** Unable to find OpenIPMI header files. Using internal version. | |
| checking for ipmi_open_inband in -lfreeipmi... no | |
| checking for ipmi_ctx_open_inband in -lfreeipmi... no | |
| checking termios.h usability... yes | |
| checking termios.h presence... yes | |
| checking for termios.h... yes | |
| checking sys/lipmi/lipmi_intf.h usability... no | |
| checking sys/lipmi/lipmi_intf.h presence... no | |
| checking for sys/lipmi/lipmi_intf.h... no | |
| configure: creating ./config.status | |
| config.status: creating Makefile | |
| config.status: creating doc/Makefile | |
| config.status: creating contrib/Makefile | |
| config.status: creating control/Makefile | |
| config.status: creating control/pkginfo | |
| config.status: creating control/prototype | |
| config.status: creating control/rpmmacros | |
| config.status: creating control/ipmitool.spec | |
| config.status: creating lib/Makefile | |
| config.status: creating include/Makefile | |
| config.status: creating include/ipmitool/Makefile | |
| config.status: creating src/Makefile | |
| config.status: creating src/plugins/Makefile | |
| config.status: creating src/plugins/lan/Makefile | |
| config.status: creating src/plugins/lanplus/Makefile | |
| config.status: creating src/plugins/open/Makefile | |
| config.status: creating src/plugins/free/Makefile | |
| config.status: creating src/plugins/imb/Makefile | |
| config.status: creating src/plugins/bmc/Makefile | |
| config.status: creating src/plugins/lipmi/Makefile | |
| config.status: creating config.h | |
| config.status: executing depfiles commands | |
| ipmitool 1.8.11 | |
| Interfaces | |
| lan : yes | |
| lanplus : yes | |
| open : no | |
| free : no | |
| imb : no | |
| bmc : no | |
| lipmi : no | |
| Extra tools | |
| ipmievd : yes | |
| ==> make install | |
| make install | |
| Making install in lib | |
| /bin/sh ../libtool --silent --tag=CC --mode=compile /usr/bin/clang -DHAVE_CONFIG_H -I. -I. -I.. -I../include -Os -w -pipe -march=native -Qunused-arguments -fno-strict-aliasing -c -o helper.lo helper.c | |
| /bin/sh ../libtool --silent --tag=CC --mode=compile /usr/bin/clang -DHAVE_CONFIG_H -I. -I. -I.. -I../include -Os -w -pipe -march=native -Qunused-arguments -fno-strict-aliasing -c -o ipmi_sdr.lo ipmi_sdr.c | |
| /bin/sh ../libtool --silent --tag=CC --mode=compile /usr/bin/clang -DHAVE_CONFIG_H -I. -I. -I.. -I../include -Os -w -pipe -march=native -Qunused-arguments -fno-strict-aliasing -c -o ipmi_sel.lo ipmi_sel.c | |
| /bin/sh ../libtool --silent --tag=CC --mode=compile /usr/bin/clang -DHAVE_CONFIG_H -I. -I. -I.. -I../include -Os -w -pipe -march=native -Qunused-arguments -fno-strict-aliasing -c -o ipmi_sol.lo ipmi_sol.c | |
| mkdir: .libs: File exists | |
| /bin/sh ../libtool --silent --tag=CC --mode=compile /usr/bin/clang -DHAVE_CONFIG_H -I. -I. -I.. -I../include -Os -w -pipe -march=native -Qunused-arguments -fno-strict-aliasing -c -o ipmi_pef.lo ipmi_pef.c | |
| /bin/sh ../libtool --silent --tag=CC --mode=compile /usr/bin/clang -DHAVE_CONFIG_H -I. -I. -I.. -I../include -Os -w -pipe -march=native -Qunused-arguments -fno-strict-aliasing -c -o ipmi_lanp.lo ipmi_lanp.c | |
| /bin/sh ../libtool --silent --tag=CC --mode=compile /usr/bin/clang -DHAVE_CONFIG_H -I. -I. -I.. -I../include -Os -w -pipe -march=native -Qunused-arguments -fno-strict-aliasing -c -o ipmi_fru.lo ipmi_fru.c | |
| /bin/sh ../libtool --silent --tag=CC --mode=compile /usr/bin/clang -DHAVE_CONFIG_H -I. -I. -I.. -I../include -Os -w -pipe -march=native -Qunused-arguments -fno-strict-aliasing -c -o ipmi_chassis.lo ipmi_chassis.c | |
| /bin/sh ../libtool --silent --tag=CC --mode=compile /usr/bin/clang -DHAVE_CONFIG_H -I. -I. -I.. -I../include -Os -w -pipe -march=native -Qunused-arguments -fno-strict-aliasing -c -o ipmi_mc.lo ipmi_mc.c | |
| /bin/sh ../libtool --silent --tag=CC --mode=compile /usr/bin/clang -DHAVE_CONFIG_H -I. -I. -I.. -I../include -Os -w -pipe -march=native -Qunused-arguments -fno-strict-aliasing -c -o log.lo log.c | |
| /bin/sh ../libtool --silent --tag=CC --mode=compile /usr/bin/clang -DHAVE_CONFIG_H -I. -I. -I.. -I../include -Os -w -pipe -march=native -Qunused-arguments -fno-strict-aliasing -c -o dimm_spd.lo dimm_spd.c | |
| /bin/sh ../libtool --silent --tag=CC --mode=compile /usr/bin/clang -DHAVE_CONFIG_H -I. -I. -I.. -I../include -Os -w -pipe -march=native -Qunused-arguments -fno-strict-aliasing -c -o ipmi_sensor.lo ipmi_sensor.c | |
| /bin/sh ../libtool --silent --tag=CC --mode=compile /usr/bin/clang -DHAVE_CONFIG_H -I. -I. -I.. -I../include -Os -w -pipe -march=native -Qunused-arguments -fno-strict-aliasing -c -o ipmi_channel.lo ipmi_channel.c | |
| /bin/sh ../libtool --silent --tag=CC --mode=compile /usr/bin/clang -DHAVE_CONFIG_H -I. -I. -I.. -I../include -Os -w -pipe -march=native -Qunused-arguments -fno-strict-aliasing -c -o ipmi_event.lo ipmi_event.c | |
| /bin/sh ../libtool --silent --tag=CC --mode=compile /usr/bin/clang -DHAVE_CONFIG_H -I. -I. -I.. -I../include -Os -w -pipe -march=native -Qunused-arguments -fno-strict-aliasing -c -o ipmi_session.lo ipmi_session.c | |
| /bin/sh ../libtool --silent --tag=CC --mode=compile /usr/bin/clang -DHAVE_CONFIG_H -I. -I. -I.. -I../include -Os -w -pipe -march=native -Qunused-arguments -fno-strict-aliasing -c -o ipmi_strings.lo ipmi_strings.c | |
| /bin/sh ../libtool --silent --tag=CC --mode=compile /usr/bin/clang -DHAVE_CONFIG_H -I. -I. -I.. -I../include -Os -w -pipe -march=native -Qunused-arguments -fno-strict-aliasing -c -o ipmi_user.lo ipmi_user.c | |
| /bin/sh ../libtool --silent --tag=CC --mode=compile /usr/bin/clang -DHAVE_CONFIG_H -I. -I. -I.. -I../include -Os -w -pipe -march=native -Qunused-arguments -fno-strict-aliasing -c -o ipmi_raw.lo ipmi_raw.c | |
| /bin/sh ../libtool --silent --tag=CC --mode=compile /usr/bin/clang -DHAVE_CONFIG_H -I. -I. -I.. -I../include -Os -w -pipe -march=native -Qunused-arguments -fno-strict-aliasing -c -o ipmi_oem.lo ipmi_oem.c | |
| /bin/sh ../libtool --silent --tag=CC --mode=compile /usr/bin/clang -DHAVE_CONFIG_H -I. -I. -I.. -I../include -Os -w -pipe -march=native -Qunused-arguments -fno-strict-aliasing -c -o ipmi_isol.lo ipmi_isol.c | |
| /bin/sh ../libtool --silent --tag=CC --mode=compile /usr/bin/clang -DHAVE_CONFIG_H -I. -I. -I.. -I../include -Os -w -pipe -march=native -Qunused-arguments -fno-strict-aliasing -c -o ipmi_sunoem.lo ipmi_sunoem.c | |
| /bin/sh ../libtool --silent --tag=CC --mode=compile /usr/bin/clang -DHAVE_CONFIG_H -I. -I. -I.. -I../include -Os -w -pipe -march=native -Qunused-arguments -fno-strict-aliasing -c -o ipmi_fwum.lo ipmi_fwum.c | |
| /bin/sh ../libtool --silent --tag=CC --mode=compile /usr/bin/clang -DHAVE_CONFIG_H -I. -I. -I.. -I../include -Os -w -pipe -march=native -Qunused-arguments -fno-strict-aliasing -c -o ipmi_picmg.lo ipmi_picmg.c | |
| /bin/sh ../libtool --silent --tag=CC --mode=compile /usr/bin/clang -DHAVE_CONFIG_H -I. -I. -I.. -I../include -Os -w -pipe -march=native -Qunused-arguments -fno-strict-aliasing -c -o ipmi_main.lo ipmi_main.c | |
| /bin/sh ../libtool --silent --tag=CC --mode=compile /usr/bin/clang -DHAVE_CONFIG_H -I. -I. -I.. -I../include -Os -w -pipe -march=native -Qunused-arguments -fno-strict-aliasing -c -o ipmi_tsol.lo ipmi_tsol.c | |
| /bin/sh ../libtool --silent --tag=CC --mode=compile /usr/bin/clang -DHAVE_CONFIG_H -I. -I. -I.. -I../include -Os -w -pipe -march=native -Qunused-arguments -fno-strict-aliasing -c -o ipmi_firewall.lo ipmi_firewall.c | |
| /bin/sh ../libtool --silent --tag=CC --mode=compile /usr/bin/clang -DHAVE_CONFIG_H -I. -I. -I.. -I../include -Os -w -pipe -march=native -Qunused-arguments -fno-strict-aliasing -c -o ipmi_kontronoem.lo ipmi_kontronoem.c | |
| /bin/sh ../libtool --silent --tag=CC --mode=compile /usr/bin/clang -DHAVE_CONFIG_H -I. -I. -I.. -I../include -Os -w -pipe -march=native -Qunused-arguments -fno-strict-aliasing -c -o ipmi_hpmfwupg.lo ipmi_hpmfwupg.c | |
| ipmi_hpmfwupg.c:1236:9: error: non-void function 'HpmfwupgTargetCheck' should return a | |
| value [-Wreturn-type] | |
| return; | |
| ^ | |
| ipmi_hpmfwupg.c:3519:7: error: non-void function 'ipmi_hpmfwupg_main' should return a | |
| value [-Wreturn-type] | |
| return; | |
| ^ | |
| 2 errors generated. | |
| make[1]: *** [ipmi_hpmfwupg.lo] Error 1 | |
| make[1]: *** Waiting for unfinished jobs.... | |
| make: *** [install-recursive] Error 1 | |
| config.log was copied to /Users/atrus/Library/Logs/Homebrew | |
| ==> Exit Status: 2 | |
| https://github.com/mxcl/master/blob/master/Library/Formula/ipmitool.rb#L11 | |
| ==> Build Environment | |
| CPU: quad-core 64-bit sandybridge | |
| MacOS: 10.7.3-x86_64 | |
| Xcode: 4.3.2 | |
| CC: /usr/bin/clang | |
| CXX: /usr/bin/clang++ => /usr/bin/clang | |
| LD: /usr/bin/clang | |
| CFLAGS: -Os -w -pipe -march=native -Qunused-arguments | |
| CXXFLAGS: -Os -w -pipe -march=native -Qunused-arguments | |
| MAKEFLAGS: -j4 | |
| Error: Failed executing: make install (ipmitool.rb:11) | |
| These existing issues may help you: | |
| https://github.com/mxcl/homebrew/issues/10872 | |
| Otherwise, please report the bug: | |
| https://github.com/mxcl/homebrew/wiki/reporting-bugs | |
| ~$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi, this issue is here.
Homebrew/legacy-homebrew#10872
Thanks