Skip to content

Instantly share code, notes, and snippets.

@kennir
Created September 23, 2016 03:35
Show Gist options
  • Select an option

  • Save kennir/a20f6da9445b9354683adee6de47e82b to your computer and use it in GitHub Desktop.

Select an option

Save kennir/a20f6da9445b9354683adee6de47e82b to your computer and use it in GitHub Desktop.

Revisions

  1. Ken Zhang created this gist Sep 23, 2016.
    2 changes: 2 additions & 0 deletions # protobuf250 - 2016-09-23_11-33-58.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,2 @@
    Homebrew build logs for homebrew/versions/protobuf250 on macOS 10.12
    Build date: 2016-09-23 11:33:58
    23 changes: 23 additions & 0 deletions 00.config.out
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,23 @@
    HOMEBREW_VERSION: 2.5-30255-211-gb036dd1-dirty
    ORIGIN: https://github.com/Homebrew/brew
    HEAD: bbed7246bc5c5b7acb8c1d427d10b43e090dfd39
    Last commit: 16 hours ago
    Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
    Core tap HEAD: a08810829c44d8b02a1cd3e27f8b98459f9c06ef
    Core tap last commit: 4 hours ago
    HOMEBREW_PREFIX: /usr/local
    HOMEBREW_REPOSITORY: /usr/local/Homebrew
    HOMEBREW_CELLAR: /usr/local/Cellar
    HOMEBREW_BOTTLE_DOMAIN: https://homebrew.bintray.com
    CPU: quad-core 64-bit sandybridge
    Homebrew Ruby: 2.0.0-p648
    Clang: 7.3 build 703
    Git: 2.7.4 => /Library/Developer/CommandLineTools/usr/bin/git
    Perl: /usr/bin/perl
    Python: /usr/local/opt/pyenv/shims/python => /usr/bin/python
    Ruby: /usr/bin/ruby => /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby
    Java: N/A
    macOS: 10.12-x86_64
    Xcode: 8.0
    CLT: 7.3.1.0.1.1461711523
    X11: N/A
    7 changes: 7 additions & 0 deletions 00.doctor.out
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,7 @@
    Please note that these warnings are just used to help the Homebrew maintainers
    with debugging if you file an issue. If everything you use Homebrew for is
    working fine: please don't worry and just ignore them. Thanks!

    Warning: A newer Command Line Tools release is available.
    Update them from Software Update in the App Store.

    3 changes: 3 additions & 0 deletions 00.tap.out
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,3 @@
    Formula: protobuf250
    Tap: homebrew/versions
    Path: /usr/local/Homebrew/Library/Taps/homebrew/homebrew-versions/protobuf250.rb
    63 changes: 63 additions & 0 deletions 01.configure
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,63 @@
    2016-09-23 11:33:55 +0800

    ./configure
    --disable-debug
    --disable-dependency-tracking
    --prefix=/usr/local/Cellar/protobuf250/2.5.0
    --with-zlib

    checking whether to enable maintainer-specific portions of Makefiles... yes
    checking build system type... x86_64-apple-darwin16.0.0
    checking host system type... x86_64-apple-darwin16.0.0
    checking target system type... x86_64-apple-darwin16.0.0
    checking for a BSD-compatible install... /usr/bin/install -c
    checking whether build environment is sane... yes
    checking for a thread-safe mkdir -p... ./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 gcc... clang
    checking whether the C compiler works... no
    configure: error: in `/private/tmp/protobuf250-20160923-24863-i88vdg/protobuf-2.5.0':
    configure: error: C compiler cannot create executables
    See `config.log' for more details

    HOMEBREW_VERSION: 2.5-30255-211-gb036dd1-dirty
    ORIGIN: https://github.com/Homebrew/brew
    HEAD: bbed7246bc5c5b7acb8c1d427d10b43e090dfd39
    Last commit: 16 hours ago
    Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
    Core tap HEAD: a08810829c44d8b02a1cd3e27f8b98459f9c06ef
    Core tap last commit: 4 hours ago
    HOMEBREW_PREFIX: /usr/local
    HOMEBREW_REPOSITORY: /usr/local/Homebrew
    HOMEBREW_CELLAR: /usr/local/Cellar
    HOMEBREW_BOTTLE_DOMAIN: https://homebrew.bintray.com
    CPU: quad-core 64-bit sandybridge
    Homebrew Ruby: 2.0.0-p648
    GCC-4.2: build 0
    Clang: 7.3 build 703
    Git: 2.7.4 => /Library/Developer/CommandLineTools/usr/bin/git
    Perl: /usr/bin/perl
    Python: /usr/bin/python
    Ruby: /usr/bin/ruby => /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby
    Java: N/A
    macOS: 10.12-x86_64
    Xcode: 8.0
    CLT: 7.3.1.0.1.1461711523
    X11: N/A

    HOMEBREW_CC: clang
    HOMEBREW_CXX: clang++
    CXXFLAGS: -DNDEBUG
    SDKROOT: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk
    MAKEFLAGS: -j4
    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
    MACOSX_DEPLOYMENT_TARGET: 10.12
    PKG_CONFIG_LIBDIR: /usr/lib/pkgconfig:/usr/local/Homebrew/Library/Homebrew/os/mac/pkgconfig/10.12
    ACLOCAL_PATH: /usr/local/share/aclocal
    PATH: /usr/local/Homebrew/Library/Homebrew/shims/super:/usr/bin:/bin:/usr/sbin:/sbin
    23 changes: 23 additions & 0 deletions 01.configure.cc
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,23 @@
    clang called with: -E -
    superenv added: -isystem/usr/local/include -isystem/usr/include/libxml2 -isystem/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers
    superenv executed: clang -E - -isystem/usr/local/include -isystem/usr/include/libxml2 -isystem/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers

    clang called with: --version
    superenv added: -pipe -Os -march=native -isystem/usr/local/include -isystem/usr/include/libxml2 -isystem/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers -L/usr/local/lib -L/System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries -Wl,-headerpad_max_install_names
    superenv executed: clang -pipe -Os -march=native --version -isystem/usr/local/include -isystem/usr/include/libxml2 -isystem/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers -L/usr/local/lib -L/System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries -Wl,-headerpad_max_install_names

    clang called with: -v
    superenv executed: clang -v

    clang called with: -V
    superenv added: -pipe -Os -march=native -isystem/usr/local/include -isystem/usr/include/libxml2 -isystem/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers -L/usr/local/lib -L/System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries -Wl,-headerpad_max_install_names
    superenv executed: clang -pipe -Os -march=native -V -isystem/usr/local/include -isystem/usr/include/libxml2 -isystem/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers -L/usr/local/lib -L/System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries -Wl,-headerpad_max_install_names

    clang called with: -qversion
    superenv added: -pipe -Os -march=native -isystem/usr/local/include -isystem/usr/include/libxml2 -isystem/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers -L/usr/local/lib -L/System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries -Wl,-headerpad_max_install_names
    superenv executed: clang -pipe -Os -march=native -qversion -isystem/usr/local/include -isystem/usr/include/libxml2 -isystem/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers -L/usr/local/lib -L/System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries -Wl,-headerpad_max_install_names

    clang called with: conftest.c
    superenv added: -pipe -Os -march=native -isystem/usr/local/include -isystem/usr/include/libxml2 -isystem/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers -L/usr/local/lib -L/System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries -Wl,-headerpad_max_install_names
    superenv executed: clang -pipe -Os -march=native conftest.c -isystem/usr/local/include -isystem/usr/include/libxml2 -isystem/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers -L/usr/local/lib -L/System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries -Wl,-headerpad_max_install_names

    320 changes: 320 additions & 0 deletions config.log
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,320 @@
    This file contains any messages produced by compilers while
    running configure, to aid debugging if configure makes a mistake.

    It was created by Protocol Buffers configure 2.5.0, which was
    generated by GNU Autoconf 2.68. Invocation command line was

    $ ./configure --disable-debug --disable-dependency-tracking --prefix=/usr/local/Cellar/protobuf250/2.5.0 --with-zlib

    ## --------- ##
    ## Platform. ##
    ## --------- ##

    hostname = MacBook-Pro.local
    uname -m = x86_64
    uname -r = 16.0.0
    uname -s = Darwin
    uname -v = Darwin Kernel Version 16.0.0: Mon Aug 29 17:56:20 PDT 2016; root:xnu-3789.1.32~3/RELEASE_X86_64

    /usr/bin/uname -p = i386
    /bin/uname -X = unknown

    /bin/arch = unknown
    /usr/bin/arch -k = unknown
    /usr/convex/getsysinfo = unknown
    /usr/bin/hostinfo = Mach kernel version:
    Darwin Kernel Version 16.0.0: Mon Aug 29 17:56:20 PDT 2016; root:xnu-3789.1.32~3/RELEASE_X86_64
    Kernel configured for up to 4 processors.
    2 processors are physically available.
    4 processors are logically available.
    Processor type: i486 (Intel 80486)
    Processors active: 0 1 2 3
    Primary memory available: 8.00 gigabytes
    Default processor set: 318 tasks, 2581 threads, 4 processors
    Load average: 2.69, Mach factor: 1.65
    /bin/machine = unknown
    /usr/bin/oslevel = unknown
    /bin/universe = unknown

    PATH: /usr/local/Homebrew/Library/Homebrew/shims/super
    PATH: /usr/bin
    PATH: /bin
    PATH: /usr/sbin
    PATH: /sbin


    ## ----------- ##
    ## Core tests. ##
    ## ----------- ##

    configure:2455: checking whether to enable maintainer-specific portions of Makefiles
    configure:2464: result: yes
    configure:2525: checking build system type
    configure:2539: result: x86_64-apple-darwin16.0.0
    configure:2559: checking host system type
    configure:2572: result: x86_64-apple-darwin16.0.0
    configure:2592: checking target system type
    configure:2605: result: x86_64-apple-darwin16.0.0
    configure:2648: checking for a BSD-compatible install
    configure:2716: result: /usr/bin/install -c
    configure:2727: checking whether build environment is sane
    configure:2777: result: yes
    configure:2918: checking for a thread-safe mkdir -p
    configure:2957: result: ./install-sh -c -d
    configure:2970: checking for gawk
    configure:3000: result: no
    configure:2970: checking for mawk
    configure:3000: result: no
    configure:2970: checking for nawk
    configure:3000: result: no
    configure:2970: checking for awk
    configure:2986: found /usr/bin/awk
    configure:2997: result: awk
    configure:3008: checking whether make sets $(MAKE)
    configure:3030: result: yes
    configure:3178: checking for gcc
    configure:3205: result: clang
    configure:3434: checking for C compiler version
    configure:3443: clang --version >&5
    Apple LLVM version 7.3.0 (clang-703.0.31)
    Target: x86_64-apple-darwin16.0.0
    Thread model: posix
    InstalledDir: /Library/Developer/CommandLineTools/usr/bin
    configure:3454: $? = 0
    configure:3443: clang -v >&5
    Apple LLVM version 7.3.0 (clang-703.0.31)
    Target: x86_64-apple-darwin16.0.0
    Thread model: posix
    InstalledDir: /Library/Developer/CommandLineTools/usr/bin
    configure:3454: $? = 0
    configure:3443: clang -V >&5
    clang: error: unsupported option '-V -isystem/usr/local/include'
    configure:3454: $? = 1
    configure:3443: clang -qversion >&5
    clang: error: unknown argument: '-qversion'
    configure:3454: $? = 1
    configure:3474: checking whether the C compiler works
    configure:3496: clang conftest.c >&5
    ld: unexpected token: !tapi-tbd-v2 file '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/usr/lib/libSystem.tbd' for architecture x86_64
    clang: error: linker command failed with exit code 1 (use -v to see invocation)
    configure:3500: $? = 1
    configure:3538: result: no
    configure: failed program was:
    | /* confdefs.h */
    | #define PACKAGE_NAME "Protocol Buffers"
    | #define PACKAGE_TARNAME "protobuf"
    | #define PACKAGE_VERSION "2.5.0"
    | #define PACKAGE_STRING "Protocol Buffers 2.5.0"
    | #define PACKAGE_BUGREPORT "protobuf@googlegroups.com"
    | #define PACKAGE_URL ""
    | #define PACKAGE "protobuf"
    | #define VERSION "2.5.0"
    | /* end confdefs.h. */
    |
    | int
    | main ()
    | {
    |
    | ;
    | return 0;
    | }
    configure:3543: error: in `/private/tmp/protobuf250-20160923-24863-i88vdg/protobuf-2.5.0':
    configure:3545: error: C compiler cannot create executables
    See `config.log' for more details

    ## ---------------- ##
    ## Cache variables. ##
    ## ---------------- ##

    ac_cv_build=x86_64-apple-darwin16.0.0
    ac_cv_env_CCC_set=
    ac_cv_env_CCC_value=
    ac_cv_env_CC_set=set
    ac_cv_env_CC_value=clang
    ac_cv_env_CFLAGS_set=
    ac_cv_env_CFLAGS_value=
    ac_cv_env_CPPFLAGS_set=
    ac_cv_env_CPPFLAGS_value=
    ac_cv_env_CXXCPP_set=
    ac_cv_env_CXXCPP_value=
    ac_cv_env_CXXFLAGS_set=set
    ac_cv_env_CXXFLAGS_value=-DNDEBUG
    ac_cv_env_CXX_set=set
    ac_cv_env_CXX_value=clang++
    ac_cv_env_LDFLAGS_set=
    ac_cv_env_LDFLAGS_value=
    ac_cv_env_LIBS_set=
    ac_cv_env_LIBS_value=
    ac_cv_env_build_alias_set=
    ac_cv_env_build_alias_value=
    ac_cv_env_host_alias_set=
    ac_cv_env_host_alias_value=
    ac_cv_env_target_alias_set=
    ac_cv_env_target_alias_value=
    ac_cv_host=x86_64-apple-darwin16.0.0
    ac_cv_path_install='/usr/bin/install -c'
    ac_cv_prog_AWK=awk
    ac_cv_prog_ac_ct_CC=clang
    ac_cv_prog_make_make_set=yes
    ac_cv_target=x86_64-apple-darwin16.0.0

    ## ----------------- ##
    ## Output variables. ##
    ## ----------------- ##

    ACLOCAL='${SHELL} /private/tmp/protobuf250-20160923-24863-i88vdg/protobuf-2.5.0/missing --run aclocal-1.11'
    AMDEPBACKSLASH=''
    AMDEP_FALSE=''
    AMDEP_TRUE=''
    AMTAR='$${TAR-tar}'
    AR=''
    AUTOCONF='${SHELL} /private/tmp/protobuf250-20160923-24863-i88vdg/protobuf-2.5.0/missing --run autoconf'
    AUTOHEADER='${SHELL} /private/tmp/protobuf250-20160923-24863-i88vdg/protobuf-2.5.0/missing --run autoheader'
    AUTOMAKE='${SHELL} /private/tmp/protobuf250-20160923-24863-i88vdg/protobuf-2.5.0/missing --run automake-1.11'
    AWK='awk'
    CC='clang'
    CCDEPMODE=''
    CFLAGS=''
    CPPFLAGS=''
    CXX='clang++'
    CXXCPP=''
    CXXDEPMODE=''
    CXXFLAGS='-DNDEBUG'
    CYGPATH_W='echo'
    DEFS=''
    DEPDIR=''
    DLLTOOL=''
    DSYMUTIL=''
    DUMPBIN=''
    ECHO_C='\c'
    ECHO_N=''
    ECHO_T=''
    EGREP=''
    EXEEXT=''
    FGREP=''
    GCC_FALSE=''
    GCC_TRUE=''
    GREP=''
    HAVE_ZLIB_FALSE=''
    HAVE_ZLIB_TRUE=''
    INSTALL_DATA='${INSTALL} -m 644'
    INSTALL_PROGRAM='${INSTALL}'
    INSTALL_SCRIPT='${INSTALL}'
    INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
    ISAINFO=''
    LD=''
    LDFLAGS=''
    LIBOBJS=''
    LIBS=''
    LIBTOOL=''
    LIPO=''
    LN_S=''
    LTLIBOBJS=''
    MAINT=''
    MAINTAINER_MODE_FALSE='#'
    MAINTAINER_MODE_TRUE=''
    MAKEINFO='${SHELL} /private/tmp/protobuf250-20160923-24863-i88vdg/protobuf-2.5.0/missing --run makeinfo'
    MANIFEST_TOOL=''
    MKDIR_P='./install-sh -c -d'
    NM=''
    NMEDIT=''
    OBJDUMP=''
    OBJEXT=''
    OTOOL64=''
    OTOOL=''
    PACKAGE='protobuf'
    PACKAGE_BUGREPORT='protobuf@googlegroups.com'
    PACKAGE_NAME='Protocol Buffers'
    PACKAGE_STRING='Protocol Buffers 2.5.0'
    PACKAGE_TARNAME='protobuf'
    PACKAGE_URL=''
    PACKAGE_VERSION='2.5.0'
    PATH_SEPARATOR=':'
    POW_LIB=''
    PROTOBUF_OPT_FLAG=''
    PROTOC=''
    PTHREAD_CC=''
    PTHREAD_CFLAGS=''
    PTHREAD_LIBS=''
    RANLIB=''
    SED=''
    SET_MAKE=''
    SHELL='/bin/sh'
    STRIP=''
    USE_EXTERNAL_PROTOC_FALSE=''
    USE_EXTERNAL_PROTOC_TRUE=''
    VERSION='2.5.0'
    ac_ct_AR=''
    ac_ct_CC='clang'
    ac_ct_CXX=''
    ac_ct_DUMPBIN=''
    acx_pthread_config=''
    am__EXEEXT_FALSE=''
    am__EXEEXT_TRUE=''
    am__fastdepCC_FALSE=''
    am__fastdepCC_TRUE=''
    am__fastdepCXX_FALSE=''
    am__fastdepCXX_TRUE=''
    am__include=''
    am__isrc=''
    am__leading_dot='.'
    am__nodep=''
    am__quote=''
    am__tar='$${TAR-tar} chof - "$$tardir"'
    am__untar='$${TAR-tar} xf -'
    bindir='${exec_prefix}/bin'
    build='x86_64-apple-darwin16.0.0'
    build_alias=''
    build_cpu='x86_64'
    build_os='darwin16.0.0'
    build_vendor='apple'
    datadir='${datarootdir}'
    datarootdir='${prefix}/share'
    docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    dvidir='${docdir}'
    exec_prefix='NONE'
    host='x86_64-apple-darwin16.0.0'
    host_alias=''
    host_cpu='x86_64'
    host_os='darwin16.0.0'
    host_vendor='apple'
    htmldir='${docdir}'
    includedir='${prefix}/include'
    infodir='${datarootdir}/info'
    install_sh='${SHELL} /private/tmp/protobuf250-20160923-24863-i88vdg/protobuf-2.5.0/install-sh'
    libdir='${exec_prefix}/lib'
    libexecdir='${exec_prefix}/libexec'
    localedir='${datarootdir}/locale'
    localstatedir='${prefix}/var'
    mandir='${datarootdir}/man'
    mkdir_p='$(top_builddir)/./install-sh -c -d'
    oldincludedir='/usr/include'
    pdfdir='${docdir}'
    prefix='/usr/local/Cellar/protobuf250/2.5.0'
    program_transform_name='s,x,x,'
    psdir='${docdir}'
    sbindir='${exec_prefix}/sbin'
    sharedstatedir='${prefix}/com'
    subdirs=''
    sysconfdir='${prefix}/etc'
    target='x86_64-apple-darwin16.0.0'
    target_alias=''
    target_cpu='x86_64'
    target_os='darwin16.0.0'
    target_vendor='apple'

    ## ----------- ##
    ## confdefs.h. ##
    ## ----------- ##

    /* confdefs.h */
    #define PACKAGE_NAME "Protocol Buffers"
    #define PACKAGE_TARNAME "protobuf"
    #define PACKAGE_VERSION "2.5.0"
    #define PACKAGE_STRING "Protocol Buffers 2.5.0"
    #define PACKAGE_BUGREPORT "protobuf@googlegroups.com"
    #define PACKAGE_URL ""
    #define PACKAGE "protobuf"
    #define VERSION "2.5.0"

    configure: exit 77