Skip to content

Instantly share code, notes, and snippets.

@ericeche
Last active December 17, 2015 11:29
Show Gist options
  • Save ericeche/5603158 to your computer and use it in GitHub Desktop.
Save ericeche/5603158 to your computer and use it in GitHub Desktop.
qemu fails to install
HOMEBREW_VERSION: 0.9.4
HEAD: dad5917f6bd3ee86d6a9e26b99761da2e268c6be
CPU: quad-core 64-bit ivybridge
OS X: 10.8.3-x86_64
Xcode: 4.6.1
CLT: 4.6.0.0.1.1365549073
X11: N/A
# QEMU configure log Fri May 17 23:47:45 EDT 2013
# Configured with: './configure' '--prefix=/usr/local/Cellar/qemu/1.1.0' '--cc=cc' '--host-cc=cc' '--enable-cocoa' '--disable-bsd-user' '--disable-guest-agent'
#
cc -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -c -o /var/folders/57/xc9b__ys7370175drhvyqkncmznj5d/T//qemu-conf-18688-10196-19301.o /var/folders/57/xc9b__ys7370175drhvyqkncmznj5d/T//qemu-conf-20636-10196-13225.c
/var/folders/57/xc9b__ys7370175drhvyqkncmznj5d/T//qemu-conf-20636-10196-13225.c:2:2: error: __i386__ not defined
#error __i386__ not defined
^
1 error generated.
cc -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -c -o /var/folders/57/xc9b__ys7370175drhvyqkncmznj5d/T//qemu-conf-18688-10196-19301.o /var/folders/57/xc9b__ys7370175drhvyqkncmznj5d/T//qemu-conf-20636-10196-13225.c
cc -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -c -o /var/folders/57/xc9b__ys7370175drhvyqkncmznj5d/T//qemu-conf-18688-10196-19301.o /var/folders/57/xc9b__ys7370175drhvyqkncmznj5d/T//qemu-conf-20636-10196-13225.c
/var/folders/57/xc9b__ys7370175drhvyqkncmznj5d/T//qemu-conf-20636-10196-13225.c:2:2: error: __linux__ not defined
#error __linux__ not defined
^
1 error generated.
cc -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -c -o /var/folders/57/xc9b__ys7370175drhvyqkncmznj5d/T//qemu-conf-18688-10196-19301.o /var/folders/57/xc9b__ys7370175drhvyqkncmznj5d/T//qemu-conf-20636-10196-13225.c
/var/folders/57/xc9b__ys7370175drhvyqkncmznj5d/T//qemu-conf-20636-10196-13225.c:2:2: error: _WIN32 not defined
#error _WIN32 not defined
^
1 error generated.
cc -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -c -o /var/folders/57/xc9b__ys7370175drhvyqkncmznj5d/T//qemu-conf-18688-10196-19301.o /var/folders/57/xc9b__ys7370175drhvyqkncmznj5d/T//qemu-conf-20636-10196-13225.c
/var/folders/57/xc9b__ys7370175drhvyqkncmznj5d/T//qemu-conf-20636-10196-13225.c:2:2: error: __OpenBSD__ not defined
#error __OpenBSD__ not defined
^
1 error generated.
cc -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -c -o /var/folders/57/xc9b__ys7370175drhvyqkncmznj5d/T//qemu-conf-18688-10196-19301.o /var/folders/57/xc9b__ys7370175drhvyqkncmznj5d/T//qemu-conf-20636-10196-13225.c
/var/folders/57/xc9b__ys7370175drhvyqkncmznj5d/T//qemu-conf-20636-10196-13225.c:2:2: error: __sun__ not defined
#error __sun__ not defined
^
1 error generated.
cc -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -c -o /var/folders/57/xc9b__ys7370175drhvyqkncmznj5d/T//qemu-conf-18688-10196-19301.o /var/folders/57/xc9b__ys7370175drhvyqkncmznj5d/T//qemu-conf-20636-10196-13225.c
/var/folders/57/xc9b__ys7370175drhvyqkncmznj5d/T//qemu-conf-20636-10196-13225.c:2:2: error: __HAIKU__ not defined
#error __HAIKU__ not defined
^
1 error generated.
cc -m64 -arch x86_64 -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -c -o /var/folders/57/xc9b__ys7370175drhvyqkncmznj5d/T//qemu-conf-18688-10196-19301.o /var/folders/57/xc9b__ys7370175drhvyqkncmznj5d/T//qemu-conf-20636-10196-13225.c
cc -m64 -arch x86_64 -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -Werror -fstack-protector-all -o /var/folders/57/xc9b__ys7370175drhvyqkncmznj5d/T//qemu-conf-23037-10196-8479.exe /var/folders/57/xc9b__ys7370175drhvyqkncmznj5d/T//qemu-conf-20636-10196-13225.c -m64 -framework CoreFoundation -framework IOKit -arch x86_64 -g
cc -m64 -arch x86_64 -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -fstack-protector-all -Werror -Wendif-labels -o /var/folders/57/xc9b__ys7370175drhvyqkncmznj5d/T//qemu-conf-23037-10196-8479.exe /var/folders/57/xc9b__ys7370175drhvyqkncmznj5d/T//qemu-conf-20636-10196-13225.c -m64 -framework CoreFoundation -framework IOKit -arch x86_64 -g
cc -m64 -arch x86_64 -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -fstack-protector-all -Wendif-labels -Werror -Wmissing-include-dirs -o /var/folders/57/xc9b__ys7370175drhvyqkncmznj5d/T//qemu-conf-23037-10196-8479.exe /var/folders/57/xc9b__ys7370175drhvyqkncmznj5d/T//qemu-conf-20636-10196-13225.c -m64 -framework CoreFoundation -framework IOKit -arch x86_64 -g
cc -m64 -arch x86_64 -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -fstack-protector-all -Wendif-labels -Wmissing-include-dirs -Werror -Wempty-body -o /var/folders/57/xc9b__ys7370175drhvyqkncmznj5d/T//qemu-conf-23037-10196-8479.exe /var/folders/57/xc9b__ys7370175drhvyqkncmznj5d/T//qemu-conf-20636-10196-13225.c -m64 -framework CoreFoundation -framework IOKit -arch x86_64 -g
cc -m64 -arch x86_64 -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -fstack-protector-all -Wendif-labels -Wmissing-include-dirs -Wempty-body -Werror -Wnested-externs -o /var/folders/57/xc9b__ys7370175drhvyqkncmznj5d/T//qemu-conf-23037-10196-8479.exe /var/folders/57/xc9b__ys7370175drhvyqkncmznj5d/T//qemu-conf-20636-10196-13225.c -m64 -framework CoreFoundation -framework IOKit -arch x86_64 -g
cc -m64 -arch x86_64 -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -fstack-protector-all -Wendif-labels -Wmissing-include-dirs -Wempty-body -Wnested-externs -Werror -Wformat-security -o /var/folders/57/xc9b__ys7370175drhvyqkncmznj5d/T//qemu-conf-23037-10196-8479.exe /var/folders/57/xc9b__ys7370175drhvyqkncmznj5d/T//qemu-conf-20636-10196-13225.c -m64 -framework CoreFoundation -framework IOKit -arch x86_64 -g
cc -m64 -arch x86_64 -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -fstack-protector-all -Wendif-labels -Wmissing-include-dirs -Wempty-body -Wnested-externs -Wformat-security -Werror -Wformat-y2k -o /var/folders/57/xc9b__ys7370175drhvyqkncmznj5d/T//qemu-conf-23037-10196-8479.exe /var/folders/57/xc9b__ys7370175drhvyqkncmznj5d/T//qemu-conf-20636-10196-13225.c -m64 -framework CoreFoundation -framework IOKit -arch x86_64 -g
cc -m64 -arch x86_64 -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -fstack-protector-all -Wendif-labels -Wmissing-include-dirs -Wempty-body -Wnested-externs -Wformat-security -Wformat-y2k -Werror -Winit-self -o /var/folders/57/xc9b__ys7370175drhvyqkncmznj5d/T//qemu-conf-23037-10196-8479.exe /var/folders/57/xc9b__ys7370175drhvyqkncmznj5d/T//qemu-conf-20636-10196-13225.c -m64 -framework CoreFoundation -framework IOKit -arch x86_64 -g
cc -m64 -arch x86_64 -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -fstack-protector-all -Wendif-labels -Wmissing-include-dirs -Wempty-body -Wnested-externs -Wformat-security -Wformat-y2k -Winit-self -Werror -Wignored-qualifiers -o /var/folders/57/xc9b__ys7370175drhvyqkncmznj5d/T//qemu-conf-23037-10196-8479.exe /var/folders/57/xc9b__ys7370175drhvyqkncmznj5d/T//qemu-conf-20636-10196-13225.c -m64 -framework CoreFoundation -framework IOKit -arch x86_64 -g
cc -m64 -arch x86_64 -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -fstack-protector-all -Wendif-labels -Wmissing-include-dirs -Wempty-body -Wnested-externs -Wformat-security -Wformat-y2k -Winit-self -Wignored-qualifiers -Werror -Wold-style-declaration -o /var/folders/57/xc9b__ys7370175drhvyqkncmznj5d/T//qemu-conf-23037-10196-8479.exe /var/folders/57/xc9b__ys7370175drhvyqkncmznj5d/T//qemu-conf-20636-10196-13225.c -m64 -framework CoreFoundation -framework IOKit -arch x86_64 -g
clang: error: unknown warning option '-Wold-style-declaration'; did you mean '-Wout-of-line-declaration'?
cc -m64 -arch x86_64 -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -fstack-protector-all -Wendif-labels -Wmissing-include-dirs -Wempty-body -Wnested-externs -Wformat-security -Wformat-y2k -Winit-self -Wignored-qualifiers -Werror -Wold-style-definition -o /var/folders/57/xc9b__ys7370175drhvyqkncmznj5d/T//qemu-conf-23037-10196-8479.exe /var/folders/57/xc9b__ys7370175drhvyqkncmznj5d/T//qemu-conf-20636-10196-13225.c -m64 -framework CoreFoundation -framework IOKit -arch x86_64 -g
cc -m64 -arch x86_64 -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -fstack-protector-all -Wendif-labels -Wmissing-include-dirs -Wempty-body -Wnested-externs -Wformat-security -Wformat-y2k -Winit-self -Wignored-qualifiers -Wold-style-definition -Werror -Wtype-limits -o /var/folders/57/xc9b__ys7370175drhvyqkncmznj5d/T//qemu-conf-23037-10196-8479.exe /var/folders/57/xc9b__ys7370175drhvyqkncmznj5d/T//qemu-conf-20636-10196-13225.c -m64 -framework CoreFoundation -framework IOKit -arch x86_64 -g
cc -m64 -arch x86_64 -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -fstack-protector-all -Wendif-labels -Wmissing-include-dirs -Wempty-body -Wnested-externs -Wformat-security -Wformat-y2k -Winit-self -Wignored-qualifiers -Wold-style-definition -Wtype-limits -o /var/folders/57/xc9b__ys7370175drhvyqkncmznj5d/T//qemu-conf-23037-10196-8479.exe /var/folders/57/xc9b__ys7370175drhvyqkncmznj5d/T//qemu-conf-20636-10196-13225.c -m64 -framework CoreFoundation -framework IOKit -arch x86_64 -g
cc -m64 -arch x86_64 -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -fstack-protector-all -Wendif-labels -Wmissing-include-dirs -Wempty-body -Wnested-externs -Wformat-security -Wformat-y2k -Winit-self -Wignored-qualifiers -Wold-style-definition -Wtype-limits -c -o /var/folders/57/xc9b__ys7370175drhvyqkncmznj5d/T//qemu-conf-18688-10196-19301.o /var/folders/57/xc9b__ys7370175drhvyqkncmznj5d/T//qemu-conf-20636-10196-13225.c
/var/folders/57/xc9b__ys7370175drhvyqkncmznj5d/T//qemu-conf-20636-10196-13225.c:2:10: fatal error: 'linux/futex.h' file not found
#include <linux/futex.h>
^
1 error generated.
cc -m64 -arch x86_64 -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -fstack-protector-all -Wendif-labels -Wmissing-include-dirs -Wempty-body -Wnested-externs -Wformat-security -Wformat-y2k -Winit-self -Wignored-qualifiers -Wold-style-definition -Wtype-limits -o /var/folders/57/xc9b__ys7370175drhvyqkncmznj5d/T//qemu-conf-23037-10196-8479.exe /var/folders/57/xc9b__ys7370175drhvyqkncmznj5d/T//qemu-conf-20636-10196-13225.c -m64 -framework CoreFoundation -framework IOKit -arch x86_64 -g -lz
cc -m64 -arch x86_64 -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -fstack-protector-all -Wendif-labels -Wmissing-include-dirs -Wempty-body -Wnested-externs -Wformat-security -Wformat-y2k -Winit-self -Wignored-qualifiers -Wold-style-definition -Wtype-limits -o /var/folders/57/xc9b__ys7370175drhvyqkncmznj5d/T//qemu-conf-23037-10196-8479.exe /var/folders/57/xc9b__ys7370175drhvyqkncmznj5d/T//qemu-conf-20636-10196-13225.c -m64 -framework CoreFoundation -framework IOKit -arch x86_64 -g -lxenstore -lxenctrl -lxenguest
/var/folders/57/xc9b__ys7370175drhvyqkncmznj5d/T//qemu-conf-20636-10196-13225.c:1:10: fatal error: 'xenctrl.h' file not found
#include <xenctrl.h>
ulib-dlp1252:qemu ericeche$ HOMEBREW_MAKE_JOBS=1 VERBOSE=1 brew install qemu --use-gcc
Warning: Your Xcode (4.6.1) is outdated
Please install Xcode 4.6.2.
==> Downloading http://wiki.qemu.org/download/qemu-1.1.0.tar.bz2
Already downloaded: /Library/Caches/Homebrew/qemu-1.1.0.tar.bz2
tar xf /Library/Caches/Homebrew/qemu-1.1.0.tar.bz2
==> ./configure --prefix=/usr/local/Cellar/qemu/1.1.0 --cc=cc --host-cc=cc --enable-cocoa --disable-bsd-user --disable-guest-agent
./configure --prefix=/usr/local/Cellar/qemu/1.1.0 --cc=cc --host-cc=cc --enable-cocoa --disable-bsd-user --disable-guest-agent
Error: pkg-config binary 'pkg-config' not found
==> Configuration
HOMEBREW_VERSION: 0.9.4
HEAD: dad5917f6bd3ee86d6a9e26b99761da2e268c6be
CPU: quad-core 64-bit ivybridge
OS X: 10.8.3-x86_64
Xcode: 4.6.1
CLT: 4.6.0.0.1.1365549073
X11: N/A
==> ENV
HOMEBREW_CC: clang
MAKEFLAGS: -j1
CMAKE_PREFIX_PATH: /usr/local/opt/gettext:/usr/local/opt/libffi:/usr/local
CMAKE_INCLUDE_PATH: /usr/include/libxml2:/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers/
CMAKE_LIBRARY_PATH: /System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries
PKG_CONFIG_PATH: /usr/local/opt/libtasn1/lib/pkgconfig:/usr/local/opt/p11-kit/lib/pkgconfig:/usr/local/opt/nettle/lib/pkgconfig:/usr/local/opt/gnutls/lib/pkgconfig:/usr/local/opt/libffi/lib/pkgconfig:/usr/local/opt/glib/lib/pkgconfig
PKG_CONFIG_LIBDIR: /usr/lib/pkgconfig:/usr/local/Library/ENV/pkgconfig/10.8
HOMEBREW_MAKE_JOBS: 1
ACLOCAL_PATH: /usr/local/opt/gettext/share/aclocal:/usr/local/share/aclocal
OBJC: cc
PATH: /usr/local/Library/ENV/4.3:/usr/local/opt/jpeg/bin:/usr/local/opt/libtasn1/bin:/usr/local/opt/p11-kit/bin:/usr/local/opt/nettle/bin:/usr/local/opt/gnutls/bin:/usr/local/opt/gettext/bin:/usr/local/opt/glib/bin:/usr/bin:/bin:/usr/sbin:/sbin
Error: qemu did not build
Logs: /Users/ericeche/Library/Logs/Homebrew/qemu/config.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment