Skip to content

Instantly share code, notes, and snippets.

@stevegraham
Created September 17, 2012 03:09
Show Gist options
  • Select an option

  • Save stevegraham/3735355 to your computer and use it in GitHub Desktop.

Select an option

Save stevegraham/3735355 to your computer and use it in GitHub Desktop.
dpkg fails
==> Downloading http://ftp.debian.org/debian/pool/main/d/dpkg/dpkg_1.15.8.12.tar.bz2
Already downloaded: /Library/Caches/Homebrew/dpkg-1.15.8.12.tar.bz2
/usr/bin/tar xf /Library/Caches/Homebrew/dpkg-1.15.8.12.tar.bz2
==> Patching
/usr/bin/patch -f -p1 -i 000-homebrew.diff
patching file configure
patching file lib/dpkg/dpkg.h
Hunk #1 succeeded at 97 with fuzz 1.
==> ./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... cc
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 cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking how to run the C preprocessor... cc -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... yes
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-darwin12.0.0
checking host system type... x86_64-apple-darwin12.0.0
checking dpkg cpu type... x86_64
configure: WARNING: x86_64 not found in cputable
checking dpkg operating system type... darwin12.0.0
configure: WARNING: darwin12.0.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... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking dependency style of cc... 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... cc
checking if the linker (cc) 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... no, consider installing GNU libiconv
checking for GNU gettext in libintl... no
checking whether to use NLS... no
checking for gcc... (cached) cc
checking whether we are using the GNU C compiler... (cached) yes
checking whether cc accepts -g... (cached) yes
checking for cc option to accept ISO C89... (cached) none needed
checking whether we are using the GNU C++ compiler... yes
checking whether c++ accepts -g... yes
checking dependency style of c++... none
checking for flex... flex
checking lex output file root... lex.yy
checking lex library... -ll
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
/usr/bin/make all-recursive
Making all in lib
Making all in compat
CC empty.o
cc -DHAVE_CONFIG_H -idirafter ../../lib/compat -I../.. -g -O2 -c empty.c
brew: Superenv removed: -g -O2
CC obstack.o
cc -DHAVE_CONFIG_H -idirafter ../../lib/compat -I../.. -g -O2 -c obstack.c
brew: Superenv removed: -g -O2
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
cc -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 -g -O2 -c ar.c
brew: Superenv removed: -g -O2
CC buffer.o
cc -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 -g -O2 -c buffer.c
brew: Superenv removed: -g -O2
CC cleanup.o
cc -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 -g -O2 -c cleanup.c
brew: Superenv removed: -g -O2
CC command.o
cc -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 -g -O2 -c command.c
brew: Superenv removed: -g -O2
CC compress.o
cc -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 -g -O2 -c compress.c
brew: Superenv removed: -g -O2
CC database.o
cc -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 -g -O2 -c database.c
brew: Superenv removed: -g -O2
CC dbmodify.o
cc -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 -g -O2 -c dbmodify.c
brew: Superenv removed: -g -O2
CC dir.o
cc -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 -g -O2 -c dir.c
brew: Superenv removed: -g -O2
CC dump.o
cc -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 -g -O2 -c dump.c
brew: Superenv removed: -g -O2
CC ehandle.o
cc -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 -g -O2 -c ehandle.c
brew: Superenv removed: -g -O2
CC file.o
cc -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 -g -O2 -c file.c
brew: Superenv removed: -g -O2
CC fields.o
cc -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 -g -O2 -c fields.c
brew: Superenv removed: -g -O2
CC log.o
cc -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 -g -O2 -c log.c
brew: Superenv removed: -g -O2
CC md5.o
cc -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 -g -O2 -c md5.c
brew: Superenv removed: -g -O2
CC mlib.o
cc -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 -g -O2 -c mlib.c
brew: Superenv removed: -g -O2
CC myopt.o
cc -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 -g -O2 -c myopt.c
brew: Superenv removed: -g -O2
CC nfmalloc.o
cc -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 -g -O2 -c nfmalloc.c
brew: Superenv removed: -g -O2
CC parse.o
cc -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 -g -O2 -c parse.c
brew: Superenv removed: -g -O2
CC parsehelp.o
cc -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 -g -O2 -c parsehelp.c
brew: Superenv removed: -g -O2
CC path.o
cc -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 -g -O2 -c path.c
brew: Superenv removed: -g -O2
CC pkg.o
cc -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 -g -O2 -c pkg.c
brew: Superenv removed: -g -O2
CC pkg-array.o
cc -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 -g -O2 -c pkg-array.c
brew: Superenv removed: -g -O2
CC pkg-format.o
cc -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 -g -O2 -c pkg-format.c
brew: Superenv removed: -g -O2
CC pkg-list.o
cc -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 -g -O2 -c pkg-list.c
brew: Superenv removed: -g -O2
CC pkg-queue.o
cc -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 -g -O2 -c pkg-queue.c
brew: Superenv removed: -g -O2
CC pkg-show.o
cc -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 -g -O2 -c pkg-show.c
brew: Superenv removed: -g -O2
CC progress.o
cc -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 -g -O2 -c progress.c
brew: Superenv removed: -g -O2
CC string.o
cc -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 -g -O2 -c string.c
brew: Superenv removed: -g -O2
CC subproc.o
cc -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 -g -O2 -c subproc.c
brew: Superenv removed: -g -O2
CC tarfn.o
cc -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 -g -O2 -c tarfn.c
brew: Superenv removed: -g -O2
CC triglib.o
cc -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 -g -O2 -c triglib.c
brew: Superenv removed: -g -O2
CC trigdeferred.o
cc -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 -g -O2 -c trigdeferred.c
brew: Superenv removed: -g -O2
CC utils.o
cc -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 -g -O2 -c utils.c
brew: Superenv removed: -g -O2
CC varbuf.o
cc -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 -g -O2 -c varbuf.c
brew: Superenv removed: -g -O2
CC vercmp.o
cc -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 -g -O2 -c vercmp.c
brew: Superenv removed: -g -O2
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
cc -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/local/Cellar/dpkg/1.15.8.12/share/locale\" -idirafter ../lib/compat -I.. -I../lib -g -O2 -c build.c
brew: Superenv removed: -g -O2
CC extract.o
cc -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/local/Cellar/dpkg/1.15.8.12/share/locale\" -idirafter ../lib/compat -I.. -I../lib -g -O2 -c extract.c
brew: Superenv removed: -g -O2
CC info.o
cc -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/local/Cellar/dpkg/1.15.8.12/share/locale\" -idirafter ../lib/compat -I.. -I../lib -g -O2 -c info.c
brew: Superenv removed: -g -O2
CC main.o
cc -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/local/Cellar/dpkg/1.15.8.12/share/locale\" -idirafter ../lib/compat -I.. -I../lib -g -O2 -c main.c
brew: Superenv removed: -g -O2
CCLD dpkg-deb
brew: Superenv removed: -g -O2
Making all in dpkg-split
CC info.o
cc -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 -g -O2 -c info.c
brew: Superenv removed: -g -O2
CC join.o
cc -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 -g -O2 -c join.c
brew: Superenv removed: -g -O2
CC main.o
cc -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 -g -O2 -c main.c
brew: Superenv removed: -g -O2
CC queue.o
cc -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 -g -O2 -c queue.c
brew: Superenv removed: -g -O2
CC split.o
cc -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 -g -O2 -c split.c
brew: Superenv removed: -g -O2
CCLD dpkg-split
brew: Superenv removed: -g -O2
Making all in src
CC archives.o
cc -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 -g -O2 -c archives.c
brew: Superenv removed: -g -O2
CC cleanup.o
cc -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 -g -O2 -c cleanup.c
brew: Superenv removed: -g -O2
CC configure.o
cc -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 -g -O2 -c configure.c
brew: Superenv removed: -g -O2
CC depcon.o
cc -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 -g -O2 -c depcon.c
brew: Superenv removed: -g -O2
CC enquiry.o
cc -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 -g -O2 -c enquiry.c
brew: Superenv removed: -g -O2
CC errors.o
cc -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 -g -O2 -c errors.c
brew: Superenv removed: -g -O2
CC filesdb.o
cc -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 -g -O2 -c filesdb.c
brew: Superenv removed: -g -O2
CC filters.o
cc -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 -g -O2 -c filters.c
brew: Superenv removed: -g -O2
CC divertdb.o
cc -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 -g -O2 -c divertdb.c
brew: Superenv removed: -g -O2
CC statdb.o
cc -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 -g -O2 -c statdb.c
brew: Superenv removed: -g -O2
CC help.o
cc -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 -g -O2 -c help.c
brew: Superenv removed: -g -O2
CC main.o
cc -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 -g -O2 -c main.c
brew: Superenv removed: -g -O2
CC packages.o
cc -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 -g -O2 -c packages.c
brew: Superenv removed: -g -O2
CC processarc.o
cc -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 -g -O2 -c processarc.c
brew: Superenv removed: -g -O2
CC remove.o
cc -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 -g -O2 -c remove.c
brew: Superenv removed: -g -O2
CC select.o
cc -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 -g -O2 -c select.c
brew: Superenv removed: -g -O2
CC trigproc.o
cc -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 -g -O2 -c trigproc.c
brew: Superenv removed: -g -O2
CC update.o
cc -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 -g -O2 -c update.c
brew: Superenv removed: -g -O2
CCLD dpkg
brew: Superenv removed: -g -O2
CC glob.o
cc -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 -g -O2 -c glob.c
brew: Superenv removed: -g -O2
CC divertcmd.o
cc -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 -g -O2 -c divertcmd.c
brew: Superenv removed: -g -O2
CCLD dpkg-divert
brew: Superenv removed: -g -O2
CC querycmd.o
cc -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 -g -O2 -c querycmd.c
brew: Superenv removed: -g -O2
CCLD dpkg-query
brew: Superenv removed: -g -O2
CC statcmd.o
cc -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 -g -O2 -c statcmd.c
brew: Superenv removed: -g -O2
CCLD dpkg-statoverride
brew: Superenv removed: -g -O2
CC trigcmd.o
cc -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 -g -O2 -c trigcmd.c
brew: Superenv removed: -g -O2
CCLD dpkg-trigger
brew: Superenv removed: -g -O2
Making all in utils
CC update-alternatives.o
cc -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 -g -O2 -c update-alternatives.c
brew: Superenv removed: -g -O2
CCLD update-alternatives
brew: Superenv removed: -g -O2
CC install-info.o
cc -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 -g -O2 -c install-info.c
brew: Superenv removed: -g -O2
CCLD dpkg-install-info
brew: Superenv removed: -g -O2
Making all in dselect
Making all in methods
make[3]: Nothing to be done for `all'.
Making all in po
CXX basecmds.o
c++ -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 -g -O2 -c -o basecmds.o basecmds.cc
brew: Superenv removed: -g -O2
In 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: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[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
config.log was copied to /Users/steviegraham/Library/Logs/Homebrew
==> Exit Status: 2
https://github.com/mxcl/master/blob/master/Library/Formula/dpkg.rb#L26
==> Build Environment
HOMEBREW_VERSION: 0.9.3
HEAD: 9c6ea5370479559a7927ee281d3a68ebc923bf54
CPU: quad-core 64-bit ivybridge
OS X: 10.8-x86_64
Xcode: 4.4.1
CLT: 4.4.0.0.1.1249367152
X11: 2.7.3 => /opt/X11
CC: cc
CXX: c++
LD: cc
MAKEFLAGS: -j1
CMAKE_PREFIX_PATH: /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/lib/pkgconfig:/usr/local/Library/Homebrew/pkgconfig
HOMEBREW_MAKE_JOBS: 1
ACLOCAL_PATH: /usr/local/share/aclocal
PATH: /usr/local/Library/ENV/4.3:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin
Error: Failed executing: make (dpkg.rb:26)
This link will help resolve the above errors:
https://github.com/mxcl/homebrew/wiki/bug-fixing-checklist
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment