Skip to content

Instantly share code, notes, and snippets.

@Hnasar
Created March 7, 2012 08:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Hnasar/1992033 to your computer and use it in GitHub Desktop.
Save Hnasar/1992033 to your computer and use it in GitHub Desktop.
dpkg fails to install
==> Downloading http://ftp.debian.org/debian/pool/main/d/dpkg/dpkg_1.15.8.12.tar.bz2
File already downloaded in /Users/hashem/Library/Caches/Homebrew
/usr/bin/tar xf /Users/hashem/Library/Caches/Homebrew/dpkg-1.15.8.12.tar.bz2
==> Patching
/usr/bin/patch -f -p1 -i 001-homebrew.diff
patching file configure
==> ./configure --disable-dependency-tracking --prefix=/usr/local/Cellar/dpkg/1.15.8.12 --disable-compiler-warnings --disable-linker-optimisations --disable-compiler-optimisations --without-start-stop-daemon
./configure --disable-dependency-tracking --prefix=/usr/local/Cellar/dpkg/1.15.8.12 --disable-compiler-warnings --disable-linker-optimisations --disable-compiler-optimisations --without-start-stop-daemon
checking for gcc... /usr/bin/clang
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
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 ISO C89... none needed
checking how to run the C preprocessor... /usr/bin/clang -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/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... no
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking build system type... x86_64-apple-darwin11.3.0
checking host system type... x86_64-apple-darwin11.3.0
checking dpkg cpu type... x86_64
configure: WARNING: x86_64 not found in cputable
checking dpkg operating system type... darwin11.3.0
configure: WARNING: darwin11.3.0 not found in ostable
checking dpkg architecture name...
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... build-aux/install-sh -c -d
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking dependency style of /usr/bin/clang... none
checking whether NLS is requested... yes
checking for msgfmt... no
checking for gmsgfmt... :
checking for xgettext... no
checking for msgmerge... no
checking for ld used by GCC... /usr/bin/clang
checking if the linker (/usr/bin/clang) is GNU ld... no
checking for shared library run path origin... done
checking for CFPreferencesCopyAppValue... yes
checking for CFLocaleCopyCurrent... yes
checking for GNU gettext in libc... no
checking for iconv... yes
checking for working iconv... yes
checking how to link with libiconv... -liconv
checking for GNU gettext in libintl... no
checking whether to use NLS... no
checking for gcc... (cached) /usr/bin/clang
checking whether we are using the GNU C compiler... (cached) yes
checking whether /usr/bin/clang accepts -g... (cached) yes
checking for /usr/bin/clang option to accept ISO C89... (cached) none needed
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 for flex... flex
checking lex output file root... lex.yy
checking lex library... -lfl
checking whether yytext is a pointer... yes
checking for ranlib... ranlib
checking for doxygen... no
checking for dot... NO
checking for po4a... no
checking for perl... /usr/bin/perl
checking for pod2man... pod2man
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for gzdopen in -lz... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for BZ2_bzdopen in -lbz2... yes
checking bzlib.h usability... yes
checking bzlib.h presence... yes
checking for bzlib.h... yes
checking for pkg-config... /usr/local/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for is_selinux_enabled in -lselinux... no
checking selinux/selinux.h usability... no
checking selinux/selinux.h presence... no
checking for selinux/selinux.h... no
checking whether Unicode is requested... yes
checking ncurses/ncurses.h usability... no
checking ncurses/ncurses.h presence... no
checking for ncurses/ncurses.h... no
checking ncurses.h usability... yes
checking ncurses.h presence... yes
checking for ncurses.h... yes
checking curses.h usability... yes
checking curses.h presence... yes
checking for curses.h... yes
checking ncurses/term.h usability... no
checking ncurses/term.h presence... no
checking for ncurses/term.h... no
checking term.h usability... yes
checking term.h presence... yes
checking for term.h... yes
checking ncursesw/ncurses.h usability... no
checking ncursesw/ncurses.h presence... no
checking for ncursesw/ncurses.h... no
checking ncursesw/term.h usability... no
checking ncursesw/term.h presence... no
checking for ncursesw/term.h... no
checking for initscr in -lncursesw... no
checking for initscr in -lncurses... yes
checking for ANSI C header files... (cached) yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking error.h usability... no
checking error.h presence... no
checking for error.h... no
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking libintl.h usability... no
checking libintl.h presence... no
checking for libintl.h... no
checking kvm.h usability... no
checking kvm.h presence... no
checking for kvm.h... no
checking sys/cdefs.h usability... yes
checking sys/cdefs.h presence... yes
checking for sys/cdefs.h... yes
checking sys/syscall.h usability... yes
checking sys/syscall.h presence... yes
checking for sys/syscall.h... yes
checking linux/fiemap.h usability... no
checking linux/fiemap.h presence... no
checking for linux/fiemap.h... no
checking whether byte ordering is bigendian... no
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for working volatile... yes
checking whether compiler supports C99 features... yes
checking for mode_t... yes
checking for pid_t... yes
checking for size_t... yes
checking for ptrdiff_t... yes
checking size of unsigned int... 4
checking size of unsigned long... 8
checking for unistd.h... (cached) yes
checking whether sys_siglist is declared... yes
checking for va_copy... yes
checking for C99 snprintf functions... yes
checking whether sync is synchronous... no
checking whether to use synchronous sync... no
checking whether offsetof is declared... yes
checking whether WCOREDUMP is declared... yes
checking whether TIOCNOTTY is declared... yes
checking for getopt... yes
checking for getopt_long... yes
checking for obstack_free... no
checking for strnlen... yes
checking for strerror... yes
checking for strsignal... yes
checking for asprintf... yes
checking for scandir... yes
checking for alphasort... yes
checking for unsetenv... yes
checking for strtoul... yes
checking for isascii... yes
checking for bcopy... yes
checking for memcpy... yes
checking for setsid... yes
checking for getdtablesize... yes
checking for posix_fadvise... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating dpkg-deb/Makefile
config.status: creating dpkg-split/Makefile
config.status: creating dselect/Makefile
config.status: creating dselect/methods/Makefile
config.status: creating dselect/po/Makefile.in
config.status: creating lib/Makefile
config.status: creating lib/compat/Makefile
config.status: creating lib/dpkg/Makefile
config.status: creating lib/dpkg/libdpkg.pc
config.status: creating lib/dpkg/test/Makefile
config.status: creating doc/Doxyfile
config.status: creating man/Makefile
config.status: creating po/Makefile.in
config.status: creating scripts/Makefile
config.status: creating scripts/po/Makefile.in
config.status: creating src/Makefile
config.status: creating utils/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing po-directories commands
config.status: creating dselect/po/POTFILES
config.status: creating dselect/po/Makefile
config.status: creating po/POTFILES
config.status: creating po/Makefile
config.status: creating scripts/po/POTFILES
config.status: creating scripts/po/Makefile
==> make
make
make all-recursive
Making all in lib
Making all in compat
CC empty.o
CC obstack.o
/usr/bin/clang -DHAVE_CONFIG_H -idirafter ../../lib/compat -I../.. -Os -w -pipe -march=native -Qunused-arguments -c empty.c
/usr/bin/clang -DHAVE_CONFIG_H -idirafter ../../lib/compat -I../.. -Os -w -pipe -march=native -Qunused-arguments -c obstack.c
AR libcompat.a
/usr/bin/ranlib: file: libcompat.a(empty.o) has no symbols
ranlib: file: libcompat.a(empty.o) has no symbols
Making all in dpkg
Making all in .
CC ar.o
/usr/bin/clang -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/local/Cellar/dpkg/1.15.8.12/share/locale\" -DCONFIGDIR=\"/usr/local/Cellar/dpkg/1.15.8.12/etc/dpkg\" -idirafter ../../lib/compat -I../.. -I../../lib -Os -w -pipe -march=native -Qunused-arguments -c ar.c
CC buffer.o
CC cleanup.o
CC command.o
/usr/bin/clang -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/local/Cellar/dpkg/1.15.8.12/share/locale\" -DCONFIGDIR=\"/usr/local/Cellar/dpkg/1.15.8.12/etc/dpkg\" -idirafter ../../lib/compat -I../.. -I../../lib -Os -w -pipe -march=native -Qunused-arguments -c command.c
/usr/bin/clang -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/local/Cellar/dpkg/1.15.8.12/share/locale\" -DCONFIGDIR=\"/usr/local/Cellar/dpkg/1.15.8.12/etc/dpkg\" -idirafter ../../lib/compat -I../.. -I../../lib -Os -w -pipe -march=native -Qunused-arguments -c cleanup.c
/usr/bin/clang -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/local/Cellar/dpkg/1.15.8.12/share/locale\" -DCONFIGDIR=\"/usr/local/Cellar/dpkg/1.15.8.12/etc/dpkg\" -idirafter ../../lib/compat -I../.. -I../../lib -Os -w -pipe -march=native -Qunused-arguments -c buffer.c
CC compress.o
/usr/bin/clang -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/local/Cellar/dpkg/1.15.8.12/share/locale\" -DCONFIGDIR=\"/usr/local/Cellar/dpkg/1.15.8.12/etc/dpkg\" -idirafter ../../lib/compat -I../.. -I../../lib -Os -w -pipe -march=native -Qunused-arguments -c compress.c
CC database.o
/usr/bin/clang -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/local/Cellar/dpkg/1.15.8.12/share/locale\" -DCONFIGDIR=\"/usr/local/Cellar/dpkg/1.15.8.12/etc/dpkg\" -idirafter ../../lib/compat -I../.. -I../../lib -Os -w -pipe -march=native -Qunused-arguments -c database.c
CC dbmodify.o
/usr/bin/clang -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/local/Cellar/dpkg/1.15.8.12/share/locale\" -DCONFIGDIR=\"/usr/local/Cellar/dpkg/1.15.8.12/etc/dpkg\" -idirafter ../../lib/compat -I../.. -I../../lib -Os -w -pipe -march=native -Qunused-arguments -c dbmodify.c
CC dir.o
/usr/bin/clang -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/local/Cellar/dpkg/1.15.8.12/share/locale\" -DCONFIGDIR=\"/usr/local/Cellar/dpkg/1.15.8.12/etc/dpkg\" -idirafter ../../lib/compat -I../.. -I../../lib -Os -w -pipe -march=native -Qunused-arguments -c dir.c
CC dump.o
/usr/bin/clang -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/local/Cellar/dpkg/1.15.8.12/share/locale\" -DCONFIGDIR=\"/usr/local/Cellar/dpkg/1.15.8.12/etc/dpkg\" -idirafter ../../lib/compat -I../.. -I../../lib -Os -w -pipe -march=native -Qunused-arguments -c dump.c
CC ehandle.o
/usr/bin/clang -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/local/Cellar/dpkg/1.15.8.12/share/locale\" -DCONFIGDIR=\"/usr/local/Cellar/dpkg/1.15.8.12/etc/dpkg\" -idirafter ../../lib/compat -I../.. -I../../lib -Os -w -pipe -march=native -Qunused-arguments -c ehandle.c
CC file.o
/usr/bin/clang -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/local/Cellar/dpkg/1.15.8.12/share/locale\" -DCONFIGDIR=\"/usr/local/Cellar/dpkg/1.15.8.12/etc/dpkg\" -idirafter ../../lib/compat -I../.. -I../../lib -Os -w -pipe -march=native -Qunused-arguments -c file.c
CC fields.o
/usr/bin/clang -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/local/Cellar/dpkg/1.15.8.12/share/locale\" -DCONFIGDIR=\"/usr/local/Cellar/dpkg/1.15.8.12/etc/dpkg\" -idirafter ../../lib/compat -I../.. -I../../lib -Os -w -pipe -march=native -Qunused-arguments -c fields.c
CC log.o
/usr/bin/clang -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/local/Cellar/dpkg/1.15.8.12/share/locale\" -DCONFIGDIR=\"/usr/local/Cellar/dpkg/1.15.8.12/etc/dpkg\" -idirafter ../../lib/compat -I../.. -I../../lib -Os -w -pipe -march=native -Qunused-arguments -c log.c
CC md5.o
/usr/bin/clang -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/local/Cellar/dpkg/1.15.8.12/share/locale\" -DCONFIGDIR=\"/usr/local/Cellar/dpkg/1.15.8.12/etc/dpkg\" -idirafter ../../lib/compat -I../.. -I../../lib -Os -w -pipe -march=native -Qunused-arguments -c md5.c
CC mlib.o
/usr/bin/clang -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/local/Cellar/dpkg/1.15.8.12/share/locale\" -DCONFIGDIR=\"/usr/local/Cellar/dpkg/1.15.8.12/etc/dpkg\" -idirafter ../../lib/compat -I../.. -I../../lib -Os -w -pipe -march=native -Qunused-arguments -c mlib.c
CC myopt.o
/usr/bin/clang -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/local/Cellar/dpkg/1.15.8.12/share/locale\" -DCONFIGDIR=\"/usr/local/Cellar/dpkg/1.15.8.12/etc/dpkg\" -idirafter ../../lib/compat -I../.. -I../../lib -Os -w -pipe -march=native -Qunused-arguments -c myopt.c
CC nfmalloc.o
/usr/bin/clang -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/local/Cellar/dpkg/1.15.8.12/share/locale\" -DCONFIGDIR=\"/usr/local/Cellar/dpkg/1.15.8.12/etc/dpkg\" -idirafter ../../lib/compat -I../.. -I../../lib -Os -w -pipe -march=native -Qunused-arguments -c nfmalloc.c
CC parse.o
/usr/bin/clang -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/local/Cellar/dpkg/1.15.8.12/share/locale\" -DCONFIGDIR=\"/usr/local/Cellar/dpkg/1.15.8.12/etc/dpkg\" -idirafter ../../lib/compat -I../.. -I../../lib -Os -w -pipe -march=native -Qunused-arguments -c parse.c
CC parsehelp.o
/usr/bin/clang -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/local/Cellar/dpkg/1.15.8.12/share/locale\" -DCONFIGDIR=\"/usr/local/Cellar/dpkg/1.15.8.12/etc/dpkg\" -idirafter ../../lib/compat -I../.. -I../../lib -Os -w -pipe -march=native -Qunused-arguments -c parsehelp.c
CC path.o
/usr/bin/clang -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/local/Cellar/dpkg/1.15.8.12/share/locale\" -DCONFIGDIR=\"/usr/local/Cellar/dpkg/1.15.8.12/etc/dpkg\" -idirafter ../../lib/compat -I../.. -I../../lib -Os -w -pipe -march=native -Qunused-arguments -c path.c
CC pkg.o
/usr/bin/clang -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/local/Cellar/dpkg/1.15.8.12/share/locale\" -DCONFIGDIR=\"/usr/local/Cellar/dpkg/1.15.8.12/etc/dpkg\" -idirafter ../../lib/compat -I../.. -I../../lib -Os -w -pipe -march=native -Qunused-arguments -c pkg.c
CC pkg-array.o
/usr/bin/clang -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/local/Cellar/dpkg/1.15.8.12/share/locale\" -DCONFIGDIR=\"/usr/local/Cellar/dpkg/1.15.8.12/etc/dpkg\" -idirafter ../../lib/compat -I../.. -I../../lib -Os -w -pipe -march=native -Qunused-arguments -c pkg-array.c
CC pkg-format.o
/usr/bin/clang -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/local/Cellar/dpkg/1.15.8.12/share/locale\" -DCONFIGDIR=\"/usr/local/Cellar/dpkg/1.15.8.12/etc/dpkg\" -idirafter ../../lib/compat -I../.. -I../../lib -Os -w -pipe -march=native -Qunused-arguments -c pkg-format.c
CC pkg-list.o
/usr/bin/clang -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/local/Cellar/dpkg/1.15.8.12/share/locale\" -DCONFIGDIR=\"/usr/local/Cellar/dpkg/1.15.8.12/etc/dpkg\" -idirafter ../../lib/compat -I../.. -I../../lib -Os -w -pipe -march=native -Qunused-arguments -c pkg-list.c
CC pkg-queue.o
/usr/bin/clang -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/local/Cellar/dpkg/1.15.8.12/share/locale\" -DCONFIGDIR=\"/usr/local/Cellar/dpkg/1.15.8.12/etc/dpkg\" -idirafter ../../lib/compat -I../.. -I../../lib -Os -w -pipe -march=native -Qunused-arguments -c pkg-queue.c
CC pkg-show.o
/usr/bin/clang -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/local/Cellar/dpkg/1.15.8.12/share/locale\" -DCONFIGDIR=\"/usr/local/Cellar/dpkg/1.15.8.12/etc/dpkg\" -idirafter ../../lib/compat -I../.. -I../../lib -Os -w -pipe -march=native -Qunused-arguments -c pkg-show.c
CC progress.o
/usr/bin/clang -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/local/Cellar/dpkg/1.15.8.12/share/locale\" -DCONFIGDIR=\"/usr/local/Cellar/dpkg/1.15.8.12/etc/dpkg\" -idirafter ../../lib/compat -I../.. -I../../lib -Os -w -pipe -march=native -Qunused-arguments -c progress.c
CC string.o
/usr/bin/clang -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/local/Cellar/dpkg/1.15.8.12/share/locale\" -DCONFIGDIR=\"/usr/local/Cellar/dpkg/1.15.8.12/etc/dpkg\" -idirafter ../../lib/compat -I../.. -I../../lib -Os -w -pipe -march=native -Qunused-arguments -c string.c
CC subproc.o
/usr/bin/clang -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/local/Cellar/dpkg/1.15.8.12/share/locale\" -DCONFIGDIR=\"/usr/local/Cellar/dpkg/1.15.8.12/etc/dpkg\" -idirafter ../../lib/compat -I../.. -I../../lib -Os -w -pipe -march=native -Qunused-arguments -c subproc.c
CC tarfn.o
/usr/bin/clang -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/local/Cellar/dpkg/1.15.8.12/share/locale\" -DCONFIGDIR=\"/usr/local/Cellar/dpkg/1.15.8.12/etc/dpkg\" -idirafter ../../lib/compat -I../.. -I../../lib -Os -w -pipe -march=native -Qunused-arguments -c tarfn.c
CC triglib.o
/usr/bin/clang -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/local/Cellar/dpkg/1.15.8.12/share/locale\" -DCONFIGDIR=\"/usr/local/Cellar/dpkg/1.15.8.12/etc/dpkg\" -idirafter ../../lib/compat -I../.. -I../../lib -Os -w -pipe -march=native -Qunused-arguments -c triglib.c
CC trigdeferred.o
/usr/bin/clang -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/local/Cellar/dpkg/1.15.8.12/share/locale\" -DCONFIGDIR=\"/usr/local/Cellar/dpkg/1.15.8.12/etc/dpkg\" -idirafter ../../lib/compat -I../.. -I../../lib -Os -w -pipe -march=native -Qunused-arguments -c trigdeferred.c
CC utils.o
/usr/bin/clang -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/local/Cellar/dpkg/1.15.8.12/share/locale\" -DCONFIGDIR=\"/usr/local/Cellar/dpkg/1.15.8.12/etc/dpkg\" -idirafter ../../lib/compat -I../.. -I../../lib -Os -w -pipe -march=native -Qunused-arguments -c utils.c
CC varbuf.o
CC vercmp.o
/usr/bin/clang -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/local/Cellar/dpkg/1.15.8.12/share/locale\" -DCONFIGDIR=\"/usr/local/Cellar/dpkg/1.15.8.12/etc/dpkg\" -idirafter ../../lib/compat -I../.. -I../../lib -Os -w -pipe -march=native -Qunused-arguments -c vercmp.c
/usr/bin/clang -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/local/Cellar/dpkg/1.15.8.12/share/locale\" -DCONFIGDIR=\"/usr/local/Cellar/dpkg/1.15.8.12/etc/dpkg\" -idirafter ../../lib/compat -I../.. -I../../lib -Os -w -pipe -march=native -Qunused-arguments -c varbuf.c
AR libdpkg.a
Making all in test
make[4]: Nothing to be done for `all'.
make[3]: Nothing to be done for `all-am'.
Making all in dpkg-deb
CC build.o
/usr/bin/clang -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/local/Cellar/dpkg/1.15.8.12/share/locale\" -idirafter ../lib/compat -I.. -I../lib -Os -w -pipe -march=native -Qunused-arguments -c build.c
CC extract.o
CC info.o
CC main.o
/usr/bin/clang -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/local/Cellar/dpkg/1.15.8.12/share/locale\" -idirafter ../lib/compat -I.. -I../lib -Os -w -pipe -march=native -Qunused-arguments -c main.c
/usr/bin/clang -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/local/Cellar/dpkg/1.15.8.12/share/locale\" -idirafter ../lib/compat -I.. -I../lib -Os -w -pipe -march=native -Qunused-arguments -c info.c
/usr/bin/clang -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/local/Cellar/dpkg/1.15.8.12/share/locale\" -idirafter ../lib/compat -I.. -I../lib -Os -w -pipe -march=native -Qunused-arguments -c extract.c
CCLD dpkg-deb
Making all in dpkg-split
CC info.o
CC join.o
/usr/bin/clang -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/local/Cellar/dpkg/1.15.8.12/share/locale\" -DADMINDIR=\"/usr/local/Cellar/dpkg/1.15.8.12/var/lib/dpkg\" -DMKSPLITSCRIPT=\"/usr/local/Cellar/dpkg/1.15.8.12/lib/dpkg/mksplit\" -idirafter ../lib/compat -I.. -I../lib -Os -w -pipe -march=native -Qunused-arguments -c info.c
/usr/bin/clang -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/local/Cellar/dpkg/1.15.8.12/share/locale\" -DADMINDIR=\"/usr/local/Cellar/dpkg/1.15.8.12/var/lib/dpkg\" -DMKSPLITSCRIPT=\"/usr/local/Cellar/dpkg/1.15.8.12/lib/dpkg/mksplit\" -idirafter ../lib/compat -I.. -I../lib -Os -w -pipe -march=native -Qunused-arguments -c join.c
CC main.o
CC queue.o
/usr/bin/clang -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/local/Cellar/dpkg/1.15.8.12/share/locale\" -DADMINDIR=\"/usr/local/Cellar/dpkg/1.15.8.12/var/lib/dpkg\" -DMKSPLITSCRIPT=\"/usr/local/Cellar/dpkg/1.15.8.12/lib/dpkg/mksplit\" -idirafter ../lib/compat -I.. -I../lib -Os -w -pipe -march=native -Qunused-arguments -c queue.c
/usr/bin/clang -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/local/Cellar/dpkg/1.15.8.12/share/locale\" -DADMINDIR=\"/usr/local/Cellar/dpkg/1.15.8.12/var/lib/dpkg\" -DMKSPLITSCRIPT=\"/usr/local/Cellar/dpkg/1.15.8.12/lib/dpkg/mksplit\" -idirafter ../lib/compat -I.. -I../lib -Os -w -pipe -march=native -Qunused-arguments -c main.c
CC split.o
/usr/bin/clang -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/local/Cellar/dpkg/1.15.8.12/share/locale\" -DADMINDIR=\"/usr/local/Cellar/dpkg/1.15.8.12/var/lib/dpkg\" -DMKSPLITSCRIPT=\"/usr/local/Cellar/dpkg/1.15.8.12/lib/dpkg/mksplit\" -idirafter ../lib/compat -I.. -I../lib -Os -w -pipe -march=native -Qunused-arguments -c split.c
CCLD dpkg-split
Making all in src
CC archives.o
CC configure.o
CC cleanup.o
/usr/bin/clang -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/local/Cellar/dpkg/1.15.8.12/share/locale\" -DADMINDIR=\"/usr/local/Cellar/dpkg/1.15.8.12/var/lib/dpkg\" -idirafter ../lib/compat -I.. -I../lib -Os -w -pipe -march=native -Qunused-arguments -c configure.c
CC depcon.o
/usr/bin/clang -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/local/Cellar/dpkg/1.15.8.12/share/locale\" -DADMINDIR=\"/usr/local/Cellar/dpkg/1.15.8.12/var/lib/dpkg\" -idirafter ../lib/compat -I.. -I../lib -Os -w -pipe -march=native -Qunused-arguments -c depcon.c
/usr/bin/clang -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/local/Cellar/dpkg/1.15.8.12/share/locale\" -DADMINDIR=\"/usr/local/Cellar/dpkg/1.15.8.12/var/lib/dpkg\" -idirafter ../lib/compat -I.. -I../lib -Os -w -pipe -march=native -Qunused-arguments -c cleanup.c
/usr/bin/clang -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/local/Cellar/dpkg/1.15.8.12/share/locale\" -DADMINDIR=\"/usr/local/Cellar/dpkg/1.15.8.12/var/lib/dpkg\" -idirafter ../lib/compat -I.. -I../lib -Os -w -pipe -march=native -Qunused-arguments -c archives.c
CC enquiry.o
/usr/bin/clang -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/local/Cellar/dpkg/1.15.8.12/share/locale\" -DADMINDIR=\"/usr/local/Cellar/dpkg/1.15.8.12/var/lib/dpkg\" -idirafter ../lib/compat -I.. -I../lib -Os -w -pipe -march=native -Qunused-arguments -c enquiry.c
CC errors.o
/usr/bin/clang -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/local/Cellar/dpkg/1.15.8.12/share/locale\" -DADMINDIR=\"/usr/local/Cellar/dpkg/1.15.8.12/var/lib/dpkg\" -idirafter ../lib/compat -I.. -I../lib -Os -w -pipe -march=native -Qunused-arguments -c errors.c
CC filesdb.o
/usr/bin/clang -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/local/Cellar/dpkg/1.15.8.12/share/locale\" -DADMINDIR=\"/usr/local/Cellar/dpkg/1.15.8.12/var/lib/dpkg\" -idirafter ../lib/compat -I.. -I../lib -Os -w -pipe -march=native -Qunused-arguments -c filesdb.c
CC filters.o
/usr/bin/clang -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/local/Cellar/dpkg/1.15.8.12/share/locale\" -DADMINDIR=\"/usr/local/Cellar/dpkg/1.15.8.12/var/lib/dpkg\" -idirafter ../lib/compat -I.. -I../lib -Os -w -pipe -march=native -Qunused-arguments -c filters.c
CC divertdb.o
/usr/bin/clang -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/local/Cellar/dpkg/1.15.8.12/share/locale\" -DADMINDIR=\"/usr/local/Cellar/dpkg/1.15.8.12/var/lib/dpkg\" -idirafter ../lib/compat -I.. -I../lib -Os -w -pipe -march=native -Qunused-arguments -c divertdb.c
CC statdb.o
/usr/bin/clang -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/local/Cellar/dpkg/1.15.8.12/share/locale\" -DADMINDIR=\"/usr/local/Cellar/dpkg/1.15.8.12/var/lib/dpkg\" -idirafter ../lib/compat -I.. -I../lib -Os -w -pipe -march=native -Qunused-arguments -c statdb.c
CC help.o
/usr/bin/clang -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/local/Cellar/dpkg/1.15.8.12/share/locale\" -DADMINDIR=\"/usr/local/Cellar/dpkg/1.15.8.12/var/lib/dpkg\" -idirafter ../lib/compat -I.. -I../lib -Os -w -pipe -march=native -Qunused-arguments -c help.c
CC main.o
/usr/bin/clang -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/local/Cellar/dpkg/1.15.8.12/share/locale\" -DADMINDIR=\"/usr/local/Cellar/dpkg/1.15.8.12/var/lib/dpkg\" -idirafter ../lib/compat -I.. -I../lib -Os -w -pipe -march=native -Qunused-arguments -c main.c
CC packages.o
/usr/bin/clang -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/local/Cellar/dpkg/1.15.8.12/share/locale\" -DADMINDIR=\"/usr/local/Cellar/dpkg/1.15.8.12/var/lib/dpkg\" -idirafter ../lib/compat -I.. -I../lib -Os -w -pipe -march=native -Qunused-arguments -c packages.c
CC processarc.o
/usr/bin/clang -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/local/Cellar/dpkg/1.15.8.12/share/locale\" -DADMINDIR=\"/usr/local/Cellar/dpkg/1.15.8.12/var/lib/dpkg\" -idirafter ../lib/compat -I.. -I../lib -Os -w -pipe -march=native -Qunused-arguments -c processarc.c
CC remove.o
/usr/bin/clang -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/local/Cellar/dpkg/1.15.8.12/share/locale\" -DADMINDIR=\"/usr/local/Cellar/dpkg/1.15.8.12/var/lib/dpkg\" -idirafter ../lib/compat -I.. -I../lib -Os -w -pipe -march=native -Qunused-arguments -c remove.c
CC select.o
/usr/bin/clang -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/local/Cellar/dpkg/1.15.8.12/share/locale\" -DADMINDIR=\"/usr/local/Cellar/dpkg/1.15.8.12/var/lib/dpkg\" -idirafter ../lib/compat -I.. -I../lib -Os -w -pipe -march=native -Qunused-arguments -c select.c
CC trigproc.o
/usr/bin/clang -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/local/Cellar/dpkg/1.15.8.12/share/locale\" -DADMINDIR=\"/usr/local/Cellar/dpkg/1.15.8.12/var/lib/dpkg\" -idirafter ../lib/compat -I.. -I../lib -Os -w -pipe -march=native -Qunused-arguments -c trigproc.c
CC update.o
/usr/bin/clang -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/local/Cellar/dpkg/1.15.8.12/share/locale\" -DADMINDIR=\"/usr/local/Cellar/dpkg/1.15.8.12/var/lib/dpkg\" -idirafter ../lib/compat -I.. -I../lib -Os -w -pipe -march=native -Qunused-arguments -c update.c
CC glob.o
/usr/bin/clang -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/local/Cellar/dpkg/1.15.8.12/share/locale\" -DADMINDIR=\"/usr/local/Cellar/dpkg/1.15.8.12/var/lib/dpkg\" -idirafter ../lib/compat -I.. -I../lib -Os -w -pipe -march=native -Qunused-arguments -c glob.c
CC divertcmd.o
/usr/bin/clang -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/local/Cellar/dpkg/1.15.8.12/share/locale\" -DADMINDIR=\"/usr/local/Cellar/dpkg/1.15.8.12/var/lib/dpkg\" -idirafter ../lib/compat -I.. -I../lib -Os -w -pipe -march=native -Qunused-arguments -c divertcmd.c
CC querycmd.o
/usr/bin/clang -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/local/Cellar/dpkg/1.15.8.12/share/locale\" -DADMINDIR=\"/usr/local/Cellar/dpkg/1.15.8.12/var/lib/dpkg\" -idirafter ../lib/compat -I.. -I../lib -Os -w -pipe -march=native -Qunused-arguments -c querycmd.c
CC statcmd.o
/usr/bin/clang -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/local/Cellar/dpkg/1.15.8.12/share/locale\" -DADMINDIR=\"/usr/local/Cellar/dpkg/1.15.8.12/var/lib/dpkg\" -idirafter ../lib/compat -I.. -I../lib -Os -w -pipe -march=native -Qunused-arguments -c statcmd.c
CC trigcmd.o
/usr/bin/clang -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/local/Cellar/dpkg/1.15.8.12/share/locale\" -DADMINDIR=\"/usr/local/Cellar/dpkg/1.15.8.12/var/lib/dpkg\" -idirafter ../lib/compat -I.. -I../lib -Os -w -pipe -march=native -Qunused-arguments -c trigcmd.c
CCLD dpkg
CCLD dpkg-trigger
CCLD dpkg-divert
CCLD dpkg-statoverride
CCLD dpkg-query
Making all in utils
CC update-alternatives.o
/usr/bin/clang -DHAVE_CONFIG_H -DADMINDIR=\"/usr/local/Cellar/dpkg/1.15.8.12/var/lib/dpkg\" -DLOCALEDIR=\"/usr/local/Cellar/dpkg/1.15.8.12/share/locale\" -DLOGDIR=\"/usr/local/Cellar/dpkg/1.15.8.12/var/log\" -DSYSCONFDIR=\"/usr/local/Cellar/dpkg/1.15.8.12/etc\" -idirafter ../lib/compat -I.. -I../lib -Os -w -pipe -march=native -Qunused-arguments -c update-alternatives.c
CC install-info.o
/usr/bin/clang -DHAVE_CONFIG_H -DADMINDIR=\"/usr/local/Cellar/dpkg/1.15.8.12/var/lib/dpkg\" -DLOCALEDIR=\"/usr/local/Cellar/dpkg/1.15.8.12/share/locale\" -DLOGDIR=\"/usr/local/Cellar/dpkg/1.15.8.12/var/log\" -DSYSCONFDIR=\"/usr/local/Cellar/dpkg/1.15.8.12/etc\" -idirafter ../lib/compat -I.. -I../lib -Os -w -pipe -march=native -Qunused-arguments -c install-info.c
CCLD dpkg-install-info
CCLD update-alternatives
Making all in dselect
Making all in methods
make[3]: Nothing to be done for `all'.
Making all in po
CXX baselist.o
CXX basecmds.o
CXX basetop.o
/usr/bin/clang++ -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/local/Cellar/dpkg/1.15.8.12/share/locale\" -DADMINDIR=\"/usr/local/Cellar/dpkg/1.15.8.12/var/lib/dpkg\" -DLIBDIR=\"/usr/local/Cellar/dpkg/1.15.8.12/lib/dpkg\" -DLOCALLIBDIR=\"/usr/local/lib/dpkg\" -idirafter ../lib/compat -iquote . -I.. -I../lib -Os -w -pipe -march=native -Qunused-arguments -c -o baselist.o baselist.cc
CXX bindings.o
/usr/bin/clang++ -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/local/Cellar/dpkg/1.15.8.12/share/locale\" -DADMINDIR=\"/usr/local/Cellar/dpkg/1.15.8.12/var/lib/dpkg\" -DLIBDIR=\"/usr/local/Cellar/dpkg/1.15.8.12/lib/dpkg\" -DLOCALLIBDIR=\"/usr/local/lib/dpkg\" -idirafter ../lib/compat -iquote . -I.. -I../lib -Os -w -pipe -march=native -Qunused-arguments -c -o bindings.o bindings.cc
/usr/bin/clang++ -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/local/Cellar/dpkg/1.15.8.12/share/locale\" -DADMINDIR=\"/usr/local/Cellar/dpkg/1.15.8.12/var/lib/dpkg\" -DLIBDIR=\"/usr/local/Cellar/dpkg/1.15.8.12/lib/dpkg\" -DLOCALLIBDIR=\"/usr/local/lib/dpkg\" -idirafter ../lib/compat -iquote . -I.. -I../lib -Os -w -pipe -march=native -Qunused-arguments -c -o basetop.o basetop.cc
/usr/bin/clang++ -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/local/Cellar/dpkg/1.15.8.12/share/locale\" -DADMINDIR=\"/usr/local/Cellar/dpkg/1.15.8.12/var/lib/dpkg\" -DLIBDIR=\"/usr/local/Cellar/dpkg/1.15.8.12/lib/dpkg\" -DLOCALLIBDIR=\"/usr/local/lib/dpkg\" -idirafter ../lib/compat -iquote . -I.. -I../lib -Os -w -pipe -march=native -Qunused-arguments -c -o basecmds.o basecmds.cc
In file included from bindings.cc:27:
In file included from ../lib/dpkg/i18n.hIn file included from basecmds.cc:28:
In file included from ../lib/dpkg/i18n.h:28:
In file included from ../lib/compat/gettext.h:56:
/usr/include/c++/4.2.1/cstdlib:142:3: error: declaration conflicts with target of using declaration already in scope
abs(long __i) { return labs(__i); }
^
/usr/include/stdlib.h:146:6: note: target of using declaration
int abs(int) __pure2;
^
/usr/include/c++/4.2.1/cstdlib::28:
In file included from ../lib/compat/gettext.h109:11: note: using declaration
using ::abs;
^
/usr/include/c++/4.2.1/cstdlib:145:3: error: declaration conflicts with target of using declaration already in scope
div(long __i, long __j) { return ldiv(__i, __j); }
^
/usr/include/stdlib.h:158:8: note: target of using declaration:56:
/usr/include/c++/4.2.1/cstdlib:
div_t div(int, int) __pure2;
^
142:/usr/include/c++/4.2.1/cstdlib:116:11: note: using declaration
3 using ::div;
^:
error: declaration conflicts with target of using declaration already in scope
abs(long __i) { return labs(__i); }
^
/usr/include/stdlib.h:146:6: note: target of using declaration
int abs(int) __pure2;
^
/usr/include/c++/4.2.1/cstdlib:109:11: note: using declaration
using ::abs;
^
/usr/include/c++/4.2.1/cstdlib:145:3: error: declaration conflicts with target of using declaration already in scope
div(long __i, long __j) { return ldiv(__i, __j); }
^
/usr/include/stdlib.h:158:8: note: target of using declaration
div_t div(int, int) __pure2;
^
/usr/include/c++/4.2.1/cstdlib:116:11: note: using declaration
using ::div;
^
In file included from baselist.cc:34:
In file included from ../lib/dpkg/i18n.h:28:
In file included from ../lib/compat/gettext.h:56:
/usr/include/c++/4.2.1/cstdlib:142:3: error: declaration conflicts with target of using declaration already in scope
abs(long __i) { return labs(__i); }
^
/usr/include/stdlib.h:146:6: note: target of using declaration
int abs(int) __pure2;
^
/usr/include/c++/4.2.1/cstdlib:109:11: note: using declaration
using ::abs;
^
/usr/include/c++/4.2.1/cstdlib:145:3: error: declaration conflicts with target of using declaration already in scope
div(long __i, long __j) { return ldiv(__i, __j); }
^
/usr/include/stdlib.h:158:8: note: target of using declaration
div_t div(int, int) __pure2;
^
/usr/include/c++/4.2.1/cstdlib:116:11: note: using declaration
using ::div;
^
2 errors generated.
make[3]: *** [basecmds.o] Error 1
make[3]: *** Waiting for unfinished jobs....
2 errors generated.
make[3]: *** [bindings.o] Error 1
2 errors generated.
make[3]: *** [baselist.o] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
==> Exit Status: 2
http://github.com/mxcl/homebrew/blob/master/Library/Formula/dpkg.rb#L20
==> Environment
HOMEBREW_VERSION: 0.8.1
HEAD: 61b4d3d7d5898184a5192fb6a969db998bb16521
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
Hardware: quad-core 64-bit sandybridge
OS X: 10.7.3
Kernel Architecture: x86_64
Xcode: 4.3
GCC-4.0: N/A
GCC-4.2: N/A
LLVM: build 2336
Clang: 3.0 build 211
MacPorts or Fink? false
X11: /usr/X11
System Ruby: 1.8.7-249
/usr/bin/ruby => /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
Which Perl: /usr/bin/perl
Which Python: /usr/bin/python
Which Ruby: /Users/hashem/.rvm/rubies/ruby-1.9.2-p290/bin/ruby
==> Build Flags
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
These existing issues may help you:
https://github.com/mxcl/homebrew/issues/9239
Otherwise, please report the bug:
https://github.com/mxcl/homebrew/wiki/checklist-before-filing-a-new-issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment