brew update and can still reproduce the problem?brew doctor, fixed all issues and can still reproduce the problem?brew gist-logs <formula> (where <formula> is the name of the formula that failed) and included the output link?brew gist-logs didn't work: ran brew config and brew doctor and included their output with your issue?Install the newest protobuf formula
I got an error in make.
Command output
brew install protobuf
==> Installing protobuf
==> Cloning https://github.com/protocolbuffers/protobuf.git
Updating /home/liuchang/.cache/Homebrew/protobuf--git
==> Checking out tag v3.10.0
HEAD is now at 6d4e7fd Merge pull request #6721 from protocolbuffers/rafi-kamal-patch-1
HEAD is now at 6d4e7fd Merge pull request #6721 from protocolbuffers/rafi-kamal-patch-1
Entering 'third_party/benchmark'
Entering 'third_party/googletest'
/home/liuchang/.cache/Homebrew/protobuf--git/third_party/benchmark
/home/liuchang/.cache/Homebrew/protobuf--git/third_party/googletest
==> ./autogen.sh
==> ./configure --prefix=/home/liuchang/.linuxbrew/Cellar/protobuf/3.10.0 --with-zlib
==> make
Last 15 lines from /home/liuchang/.cache/Homebrew/Logs/protobuf/03.make:
google/protobuf/text_format.cc:1623:27: note: suggested alternative:
google/protobuf/text_format.cc: In member function 'virtual void google::protobuf::TextFormat::FastFieldValuePrinter::PrintDouble(double, google::protobuf::TextFormat::BaseTextGenerator) cons
t':
google/protobuf/text_format.cc:1627:27: error: '__builtin_isnan' is not a member of 'std'
generator->PrintString(!std::isnan(val) ? SimpleDtoa(val) : "nan");
^~~
google/protobuf/text_format.cc:1627:27: note: suggested alternative:
CXX google/protobuf/wrappers.pb.lo
make[2]:
make[2]: Waiting for unfinished jobs....
make[2]: Leaving directory /tmp/protobuf-20191107-11074-tjo8ks/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory/tmp/protobuf-20191107-11074-tjo8ks'
make: ** [all] Error 2
Build and install successfully
brew install commands)brew install protobuf
Please include the output of brew config and brew doctor.
~ $brew config
HOMEBREW_VERSION: 2.1.16
ORIGIN: https://github.com/Homebrew/brew
HEAD: 3aa7624284c43180a3f3a71aeaa9263092868e12
Last commit: 3 days ago
Core tap ORIGIN: https://github.com/Homebrew/linuxbrew-core
Core tap HEAD: 526c409fc99d182b8f24f4548c04c9b20973735c
Core tap last commit: 21 hours ago
HOMEBREW_PREFIX: /home/myusername/.linuxbrew
HOMEBREW_CELLAR: /home/myusername/.linuxbrew/Cellar
HOMEBREW_CACHE: /home/myusername/.cache/Homebrew
HOMEBREW_LOGS: /home/myusername/.cache/Homebrew/Logs
HOMEBREW_REPOSITORY: /home/myusername/.linuxbrew/Homebrew
HOMEBREW_SYSTEM_CURL_TOO_OLD: 1
CPU: 16-core 64-bit sandybridge
Homebrew Ruby: 2.6.3 => /home/myusername/.linuxbrew/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.3/bin/ruby
Clang: 3.4 build 34
Git: 2.24.0 => /home/myusername/.linuxbrew/bin/git
Curl: 7.67.0 => /home/myusername/.linuxbrew/opt/curl/bin/curl
Kernel: Linux 3.10.0-1062.1.2.el7.x86_64 x86_64 GNU/Linux
OS: Springdale Linux release 7.7 (Verona) (Verona)
Host glibc: 2.17
/usr/bin/gcc: 4.8.5
glibc: 2.23
gcc: 5.5.0_4
xorg: N/A
~ $brew doctor
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 or file an issue; just ignore this. Thanks!
Warning: Your Homebrew's prefix is not /home/linuxbrew/.linuxbrew.
Some of Homebrew's bottles (binary packages) can only be used with the default
prefix (/home/linuxbrew/.linuxbrew).
You will encounter build failures with some formulae.
Please create pull requests instead of asking for help on Homebrew's GitHub,
Discourse, Twitter or IRC. You are responsible for resolving any issues you
experience while you are running this unsupported configuration.
I have gcc@6 installed as a dependency of protobuf.
Same here, on CentOS7:
==> Installing protobuf
==> Cloning https://github.com/protocolbuffers/protobuf.git
Cloning into '/users/p/pertoldi/.cache/Homebrew/protobuf--git'...
Note: switching to '6d4e7fd7966c989e38024a8ea693db83758944f1'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:
git switch -c <new-branch-name>
Or undo this operation with:
git switch -
Turn off this advice by setting config variable advice.detachedHead to false
Updating files: 100% (2211/2211), done.
==> Checking out tag v3.10.0
HEAD is now at 6d4e7fd Merge pull request #6721 from protocolbuffers/rafi-kamal-patch-1
Submodule 'third_party/benchmark' (https://github.com/google/benchmark.git) registered for path 'third_party/benchmark'
Submodule 'third_party/googletest' (https://github.com/google/googletest.git) registered for path 'third_party/googletest'
Cloning into '/afs/lngs.infn.it/user/p/pertoldi/.cache/Homebrew/protobuf--git/third_party/benchmark'...
Cloning into '/afs/lngs.infn.it/user/p/pertoldi/.cache/Homebrew/protobuf--git/third_party/googletest'...
Submodule path 'third_party/benchmark': checked out '5b7683f49e1e9223cf9927b24f6fd3d6bd82e3f8'
Submodule path 'third_party/googletest': checked out '5ec7f0c4a113e2f18ac2c6cc7df51ad6afc24081'
/afs/lngs.infn.it/user/p/pertoldi/.cache/Homebrew/protobuf--git/third_party/benchmark
/afs/lngs.infn.it/user/p/pertoldi/.cache/Homebrew/protobuf--git/third_party/googletest
==> ./autogen.sh
==> ./configure --prefix=/nfs/gerda6/users/pertoldi/linuxbrew/Cellar/protobuf/3.10.0 --with-zlib
==> make
Last 15 lines from /users/p/pertoldi/.cache/Homebrew/Logs/protobuf/03.make:
^~~
google/protobuf/text_format.cc:1623:27: note: suggested alternative:
<built-in>: note: '__builtin_isnan'
google/protobuf/text_format.cc: In member function 'virtual void google::protobuf::TextFormat::FastFieldValuePrinter::PrintDouble(double, google::protobuf::TextFormat::BaseTextGenerator*) const':
google/protobuf/text_format.cc:1627:27: error: '__builtin_isnan' is not a member of 'std'
generator->PrintString(!std::isnan(val) ? SimpleDtoa(val) : "nan");
^~~
google/protobuf/text_format.cc:1627:27: note: suggested alternative:
<built-in>: note: '__builtin_isnan'
make[2]: *** [google/protobuf/text_format.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/tmp/protobuf-20191109-29169-nbmn1u/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/protobuf-20191109-29169-nbmn1u'
make: *** [all] Error 2
READ THIS: https://docs.brew.sh/Troubleshooting
These open issues may also help:
protobuf failed to build on CentOS 6 https://github.com/Homebrew/linuxbrew-core/issues/17115
Configs & medical checks:
HOMEBREW_VERSION: 2.1.16
ORIGIN: https://github.com/Homebrew/brew
HEAD: 3aa7624284c43180a3f3a71aeaa9263092868e12
Last commit: 4 days ago
Core tap ORIGIN: https://github.com/Homebrew/linuxbrew-core.git
Core tap HEAD: 7c88bd7307c50aec3ae12640394dec778b903a7e
Core tap last commit: 2 hours ago
HOMEBREW_PREFIX: /nfs/gerda6/users/pertoldi/linuxbrew
HOMEBREW_CELLAR: /nfs/gerda6/users/pertoldi/linuxbrew/Cellar
HOMEBREW_CACHE: /users/p/pertoldi/.cache/Homebrew
HOMEBREW_LOGS: /users/p/pertoldi/.cache/Homebrew/Logs
HOMEBREW_REPOSITORY: /nfs/gerda6/users/pertoldi/linuxbrew
HOMEBREW_SYSTEM_CURL_TOO_OLD: 1
CPU: octa-core 64-bit presler
Homebrew Ruby: 2.6.3 => /nfs/gerda6/users/pertoldi/linuxbrew/Library/Homebrew/vendor/portable-ruby/2.6.3/bin/ruby
Clang: N/A
Git: 2.24.0 => /nfs/gerda6/users/pertoldi/linuxbrew/bin/git
Curl: 7.67.0 => /nfs/gerda6/users/pertoldi/linuxbrew/opt/curl/bin/curl
Java: 1.7.0_79
Kernel: Linux 3.10.0-693.11.1.el7.x86_64 x86_64 GNU/Linux
OS: Scientific Linux release 7.1 (Nitrogen) (Nitrogen)
Host glibc: 2.17
/usr/bin/gcc: 4.8.3
glibc: 2.23
gcc: 5.5.0_4
xorg: N/A
Warning: "config" scripts exist outside your system or Homebrew directories.
`./configure` scripts often look for *-config scripts to determine if
software packages are installed, and which additional flags to use when
compiling and linking.
Having additional scripts in your path can confuse software installed via
Homebrew if the config script overrides a system or Homebrew-provided
script of the same name. We found the following "config" scripts:
/usr/local/root/bin/root-config
/software/bin/root-config
Warning: Your Homebrew's prefix is not /home/linuxbrew/.linuxbrew.
Some of Homebrew's bottles (binary packages) can only be used with the default
prefix (/home/linuxbrew/.linuxbrew).
You will encounter build failures with some formulae.
Please create pull requests instead of asking for help on Homebrew's GitHub,
Discourse, Twitter or IRC. You are responsible for resolving any issues you
experience while you are running this unsupported configuration.
@gipert Could you also provide the full content of mentioned file /users/p/pertoldi/.cache/Homebrew/Logs/protobuf/03.make?
Here it is:
2019-11-09 14:18:56 +0100
make
/usr/bin/make all-recursive
make[1]: Entering directory `/tmp/protobuf-20191109-29169-nbmn1u'
Making all in .
make[2]: Entering directory `/tmp/protobuf-20191109-29169-nbmn1u'
make[2]: Leaving directory `/tmp/protobuf-20191109-29169-nbmn1u'
Making all in src
make[2]: Entering directory `/tmp/protobuf-20191109-29169-nbmn1u/src'
CXX google/protobuf/compiler/importer.lo
CXX google/protobuf/compiler/parser.lo
CXX google/protobuf/compiler/code_generator.lo
CXX google/protobuf/compiler/command_line_interface.lo
CXX google/protobuf/compiler/plugin.lo
CXX google/protobuf/compiler/plugin.pb.lo
CXX google/protobuf/compiler/subprocess.lo
CXX google/protobuf/compiler/zip_writer.lo
CXX google/protobuf/compiler/main.o
CXX google/protobuf/stubs/bytestream.lo
CXX google/protobuf/stubs/common.lo
CXX google/protobuf/stubs/int128.lo
CXX google/protobuf/io/io_win32.lo
CXX google/protobuf/stubs/status.lo
CXX google/protobuf/stubs/statusor.lo
CXX google/protobuf/stubs/stringpiece.lo
CXX google/protobuf/stubs/stringprintf.lo
CXX google/protobuf/stubs/structurally_valid.lo
CXX google/protobuf/stubs/strutil.lo
CXX google/protobuf/stubs/time.lo
CXX google/protobuf/any_lite.lo
CXX google/protobuf/arena.lo
CXX google/protobuf/extension_set.lo
CXX google/protobuf/generated_enum_util.lo
CXX google/protobuf/generated_message_util.lo
CXX google/protobuf/generated_message_table_driven_lite.lo
CXX google/protobuf/implicit_weak_message.lo
CXX google/protobuf/message_lite.lo
CXX google/protobuf/parse_context.lo
CXX google/protobuf/repeated_field.lo
CXX google/protobuf/wire_format_lite.lo
CXX google/protobuf/io/coded_stream.lo
CXX google/protobuf/io/strtod.lo
CXX google/protobuf/io/zero_copy_stream.lo
CXX google/protobuf/io/zero_copy_stream_impl.lo
CXX google/protobuf/io/zero_copy_stream_impl_lite.lo
CXX google/protobuf/any.pb.lo
CXX google/protobuf/api.pb.lo
CXX google/protobuf/stubs/mathlimits.lo
CXX google/protobuf/any.lo
CXX google/protobuf/descriptor.lo
CXX google/protobuf/descriptor_database.lo
CXX google/protobuf/descriptor.pb.lo
CXX google/protobuf/duration.pb.lo
CXX google/protobuf/dynamic_message.lo
CXX google/protobuf/empty.pb.lo
CXX google/protobuf/extension_set_heavy.lo
CXX google/protobuf/field_mask.pb.lo
CXX google/protobuf/generated_message_reflection.lo
CXX google/protobuf/generated_message_table_driven.lo
CXX google/protobuf/map_field.lo
CXX google/protobuf/message.lo
CXX google/protobuf/reflection_ops.lo
CXX google/protobuf/service.lo
CXX google/protobuf/source_context.pb.lo
CXX google/protobuf/struct.pb.lo
CXX google/protobuf/stubs/substitute.lo
CXX google/protobuf/text_format.lo
CXX google/protobuf/timestamp.pb.lo
CXX google/protobuf/type.pb.lo
CXX google/protobuf/unknown_field_set.lo
CXX google/protobuf/wire_format.lo
google/protobuf/text_format.cc: In member function 'virtual void google::protobuf::TextFormat::FastFieldValuePrinter::PrintFloat(float, google::protobuf::TextFormat::BaseTextGenerator*) const':
google/protobuf/text_format.cc:1623:27: error: '__builtin_isnan' is not a member of 'std'
generator->PrintString(!std::isnan(val) ? SimpleFtoa(val) : "nan");
^~~
google/protobuf/text_format.cc:1623:27: note: suggested alternative:
<built-in>: note: '__builtin_isnan'
google/protobuf/text_format.cc: In member function 'virtual void google::protobuf::TextFormat::FastFieldValuePrinter::PrintDouble(double, google::protobuf::TextFormat::BaseTextGenerator*) const':
google/protobuf/text_format.cc:1627:27: error: '__builtin_isnan' is not a member of 'std'
generator->PrintString(!std::isnan(val) ? SimpleDtoa(val) : "nan");
^~~
google/protobuf/text_format.cc:1627:27: note: suggested alternative:
<built-in>: note: '__builtin_isnan'
make[2]: *** [google/protobuf/text_format.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/tmp/protobuf-20191109-29169-nbmn1u/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/protobuf-20191109-29169-nbmn1u'
make: *** [all] Error 2
HOMEBREW_VERSION: 2.1.16
ORIGIN: https://github.com/Homebrew/brew
HEAD: 3aa7624284c43180a3f3a71aeaa9263092868e12
Last commit: 4 days ago
Core tap ORIGIN: https://github.com/Homebrew/linuxbrew-core.git
Core tap HEAD: 7c88bd7307c50aec3ae12640394dec778b903a7e
Core tap last commit: 2 hours ago
HOMEBREW_PREFIX: /nfs/gerda6/users/pertoldi/linuxbrew
HOMEBREW_CELLAR: /nfs/gerda6/users/pertoldi/linuxbrew/Cellar
HOMEBREW_CACHE: /users/p/pertoldi/.cache/Homebrew
HOMEBREW_LOGS: /users/p/pertoldi/.cache/Homebrew/Logs
HOMEBREW_REPOSITORY: /nfs/gerda6/users/pertoldi/linuxbrew
CPU: octa-core 64-bit presler
Homebrew Ruby: 2.6.3 => /nfs/gerda6/users/pertoldi/linuxbrew/Library/Homebrew/vendor/portable-ruby/2.6.3/bin/ruby
Clang: N/A
Git: 2.24.0 => /nfs/gerda6/users/pertoldi/linuxbrew/bin/git
Curl: 7.67.0 => /nfs/gerda6/users/pertoldi/linuxbrew/opt/curl/bin/curl
Java: 1.7.0_79
Kernel: Linux 3.10.0-693.11.1.el7.x86_64 x86_64 GNU/Linux
OS: Scientific Linux release 7.1 (Nitrogen) (Nitrogen)
Host glibc: 2.17
/usr/bin/gcc: 4.8.3
glibc: 2.23
gcc: 5.5.0_4
xorg: N/A
HOMEBREW_CC: gcc-6
HOMEBREW_CXX: g++-6
CXXFLAGS: -DNDEBUG
MAKEFLAGS: -j8
CMAKE_PREFIX_PATH: /nfs/gerda6/users/pertoldi/linuxbrew
PKG_CONFIG_PATH: /nfs/gerda6/users/pertoldi/linuxbrew/opt/python/lib/pkgconfig:/nfs/gerda6/users/pertoldi/linuxbrew/opt/zlib/lib/pkgconfig:/nfs/gerda6/users/pertoldi/linuxbrew/opt/isl/lib/pkgconfig:/nfs/gerda6/users/pertoldi/linuxbrew/opt/mpfr/lib/pkgconfig
HOMEBREW_GIT: git
ACLOCAL_PATH: /nfs/gerda6/users/pertoldi/linuxbrew/share/aclocal
PATH: /nfs/gerda6/users/pertoldi/linuxbrew/Library/Homebrew/shims/linux/super:/nfs/gerda6/users/pertoldi/linuxbrew/opt/autoconf/bin:/nfs/gerda6/users/pertoldi/linuxbrew/opt/automake/bin:/nfs/gerda6/users/pertoldi/linuxbrew/opt/libtool/bin:/nfs/gerda6/users/pertoldi/linuxbrew/opt/python/bin:/nfs/gerda6/users/pertoldi/linuxbrew/opt/glibc/bin:/nfs/gerda6/users/pertoldi/linuxbrew/opt/gcc@6/bin:/nfs/gerda6/users/pertoldi/linuxbrew/opt/binutils/bin:/usr/bin:/bin:/usr/sbin:/sbin
SuSE 11
2019-12-19 17:41:39 -0600
make
check
Making check in .
make[1]: Entering directory '/tmp/protobuf-20191219-14457-6128d9'
/usr/bin/make check-local
make[2]: Entering directory '/tmp/protobuf-20191219-14457-6128d9'
Making lib/libgmock.a lib/libgmock_main.a in gmock
make[3]: Entering directory '/tmp/protobuf-20191219-14457-6128d9/third_party/googletest/googletest'
/bin/sh ./libtool --tag=CXX --mode=compile g++-6 -DHAVE_CONFIG_H -I. -I./build-aux -I. -I./include -pthread -DGTEST_HAS_PTHREAD=1 -DNDEBUG -c -o src/gtest-all.lo src/gtest-all.cc
/bin/sh ./libtool --tag=CXX --mode=compile g++-6 -DHAVE_CONFIG_H -I. -I./build-aux -I. -I./include -pthread -DGTEST_HAS_PTHREAD=1 -DNDEBUG -c -o src/gtest_main.lo src/gtest_main.cc
libtool: compile: g++-6 -DHAVE_CONFIG_H -I. -I./build-aux -I. -I./include -pthread -DGTEST_HAS_PTHREAD=1 -DNDEBUG -c src/gtest-all.cc -fPIC -DPIC -o src/.libs/gtest-all.o
libtool: compile: g++-6 -DHAVE_CONFIG_H -I. -I./build-aux -I. -I./include -pthread -DGTEST_HAS_PTHREAD=1 -DNDEBUG -c src/gtest_main.cc -fPIC -DPIC -o src/.libs/gtest_main.o
libtool: compile: g++-6 -DHAVE_CONFIG_H -I. -I./build-aux -I. -I./include -pthread -DGTEST_HAS_PTHREAD=1 -DNDEBUG -c src/gtest_main.cc -o src/gtest_main.o >/dev/null 2>&1
libtool: compile: g++-6 -DHAVE_CONFIG_H -I. -I./build-aux -I. -I./include -pthread -DGTEST_HAS_PTHREAD=1 -DNDEBUG -c src/gtest-all.cc -o src/gtest-all.o >/dev/null 2>&1
/bin/sh ./libtool --tag=CXX --mode=link g++-6 -pthread -DGTEST_HAS_PTHREAD=1 -DNDEBUG -o lib/libgtest.la -rpath /opt/tacc_mounts/home1/00767/byaa676/.linuxbrew/Cellar/protobuf/3.11.2/lib src/gtest-all.lo
libtool: link: g++-6 -fPIC -DPIC -shared -nostdlib /opt/tacc_mounts/home1/00767/byaa676/.linuxbrew/opt/glibc/lib/crti.o /opt/tacc_mounts/home1/00767/byaa676/.linuxbrew/Cellar/gcc@6/6.5.0_3/bin/../lib/gcc/6/gcc/x86_64-pc-linux-gnu/6.5.0/crtbeginS.o src/.libs/gtest-all.o -L/opt/tacc_mounts/home1/00767/byaa676/.linuxbrew/lib -L/opt/tacc_mounts/home1/00767/byaa676/.linuxbrew/Cellar/gcc@6/6.5.0_3/bin/../lib/gcc/6/gcc/x86_64-pc-linux-gnu/6.5.0 -L/opt/tacc_mounts/home1/00767/byaa676/.linuxbrew/lib/gcc/6 -lstdc++ -lm -lc -lgcc_s /opt/tacc_mounts/home1/00767/byaa676/.linuxbrew/Cellar/gcc@6/6.5.0_3/bin/../lib/gcc/6/gcc/x86_64-pc-linux-gnu/6.5.0/crtendS.o /opt/tacc_mounts/home1/00767/byaa676/.linuxbrew/opt/glibc/lib/crtn.o -pthread -pthread -Wl,-soname -Wl,libgtest.so.0 -o lib/.libs/libgtest.so.0.0.0
libtool: link: (cd "lib/.libs" && rm -f "libgtest.so.0" && ln -s "libgtest.so.0.0.0" "libgtest.so.0")
libtool: link: (cd "lib/.libs" && rm -f "libgtest.so" && ln -s "libgtest.so.0.0.0" "libgtest.so")
libtool: link: ar cru lib/.libs/libgtest.a src/gtest-all.o
ar: `u' modifier ignored since `D' is the default (see `U')
libtool: link: ranlib lib/.libs/libgtest.a
libtool: link: ( cd "lib/.libs" && rm -f "libgtest.la" && ln -s "../libgtest.la" "libgtest.la" )
/bin/sh ./libtool --tag=CXX --mode=link g++-6 -pthread -DGTEST_HAS_PTHREAD=1 -DNDEBUG -o lib/libgtest_main.la -rpath /opt/tacc_mounts/home1/00767/byaa676/.linuxbrew/Cellar/protobuf/3.11.2/lib src/gtest_main.lo lib/libgtest.la
libtool: link: g++-6 -fPIC -DPIC -shared -nostdlib /opt/tacc_mounts/home1/00767/byaa676/.linuxbrew/opt/glibc/lib/crti.o /opt/tacc_mounts/home1/00767/byaa676/.linuxbrew/Cellar/gcc@6/6.5.0_3/bin/../lib/gcc/6/gcc/x86_64-pc-linux-gnu/6.5.0/crtbeginS.o src/.libs/gtest_main.o -Wl,-rpath -Wl,/tmp/protobuf-20191219-14457-6128d9/third_party/googletest/googletest/lib/.libs -Wl,-rpath -Wl,/opt/tacc_mounts/home1/00767/byaa676/.linuxbrew/Cellar/protobuf/3.11.2/lib lib/.libs/libgtest.so -L/opt/tacc_mounts/home1/00767/byaa676/.linuxbrew/lib -L/opt/tacc_mounts/home1/00767/byaa676/.linuxbrew/Cellar/gcc@6/6.5.0_3/bin/../lib/gcc/6/gcc/x86_64-pc-linux-gnu/6.5.0 -L/opt/tacc_mounts/home1/00767/byaa676/.linuxbrew/lib/gcc/6 -lstdc++ -lm -lc -lgcc_s /opt/tacc_mounts/home1/00767/byaa676/.linuxbrew/Cellar/gcc@6/6.5.0_3/bin/../lib/gcc/6/gcc/x86_64-pc-linux-gnu/6.5.0/crtendS.o /opt/tacc_mounts/home1/00767/byaa676/.linuxbrew/opt/glibc/lib/crtn.o -pthread -pthread -Wl,-soname -Wl,libgtest_main.so.0 -o lib/.libs/libgtest_main.so.0.0.0
libtool: link: (cd "lib/.libs" && rm -f "libgtest_main.so.0" && ln -s "libgtest_main.so.0.0.0" "libgtest_main.so.0")
libtool: link: (cd "lib/.libs" && rm -f "libgtest_main.so" && ln -s "libgtest_main.so.0.0.0" "libgtest_main.so")
libtool: link: ar cru lib/.libs/libgtest_main.a src/gtest_main.o
ar: `u' modifier ignored since `D' is the default (see `U')
libtool: link: ranlib lib/.libs/libgtest_main.a
libtool: link: ( cd "lib/.libs" && rm -f "libgtest_main.la" && ln -s "../libgtest_main.la" "libgtest_main.la" )
make[3]: Leaving directory '/tmp/protobuf-20191219-14457-6128d9/third_party/googletest/googletest'
make[3]: Entering directory '/tmp/protobuf-20191219-14457-6128d9/third_party/googletest/googlemock'
/bin/sh ./libtool --tag=CXX --mode=compile g++-6 -DHAVE_CONFIG_H -I. -I./build-aux -I./../googletest/include -I./include -pthread -DGTEST_HAS_PTHREAD=1 -DNDEBUG -c -o src/gmock-all.lo src/gmock-all.cc
/bin/sh ./libtool --tag=CXX --mode=compile g++-6 -DHAVE_CONFIG_H -I. -I./build-aux -I./../googletest/include -I./include -pthread -DGTEST_HAS_PTHREAD=1 -DNDEBUG -c -o src/gmock_main.lo src/gmock_main.cc
libtool: compile: g++-6 -DHAVE_CONFIG_H -I. -I./build-aux -I./../googletest/include -I./include -pthread -DGTEST_HAS_PTHREAD=1 -DNDEBUG -c src/gmock_main.cc -fPIC -DPIC -o src/.libs/gmock_main.o
libtool: compile: g++-6 -DHAVE_CONFIG_H -I. -I./build-aux -I./../googletest/include -I./include -pthread -DGTEST_HAS_PTHREAD=1 -DNDEBUG -c src/gmock-all.cc -fPIC -DPIC -o src/.libs/gmock-all.o
libtool: compile: g++-6 -DHAVE_CONFIG_H -I. -I./build-aux -I./../googletest/include -I./include -pthread -DGTEST_HAS_PTHREAD=1 -DNDEBUG -c src/gmock_main.cc -o src/gmock_main.o >/dev/null 2>&1
libtool: compile: g++-6 -DHAVE_CONFIG_H -I. -I./build-aux -I./../googletest/include -I./include -pthread -DGTEST_HAS_PTHREAD=1 -DNDEBUG -c src/gmock-all.cc -o src/gmock-all.o >/dev/null 2>&1
/bin/sh ./libtool --tag=CXX --mode=link g++-6 -pthread -DGTEST_HAS_PTHREAD=1 -DNDEBUG -o lib/libgmock.la -rpath /opt/tacc_mounts/home1/00767/byaa676/.linuxbrew/Cellar/protobuf/3.11.2/lib src/gmock-all.lo
libtool: link: g++-6 -fPIC -DPIC -shared -nostdlib /opt/tacc_mounts/home1/00767/byaa676/.linuxbrew/opt/glibc/lib/crti.o /opt/tacc_mounts/home1/00767/byaa676/.linuxbrew/Cellar/gcc@6/6.5.0_3/bin/../lib/gcc/6/gcc/x86_64-pc-linux-gnu/6.5.0/crtbeginS.o src/.libs/gmock-all.o -L/opt/tacc_mounts/home1/00767/byaa676/.linuxbrew/lib -L/opt/tacc_mounts/home1/00767/byaa676/.linuxbrew/Cellar/gcc@6/6.5.0_3/bin/../lib/gcc/6/gcc/x86_64-pc-linux-gnu/6.5.0 -L/opt/tacc_mounts/home1/00767/byaa676/.linuxbrew/lib/gcc/6 -lstdc++ -lm -lc -lgcc_s /opt/tacc_mounts/home1/00767/byaa676/.linuxbrew/Cellar/gcc@6/6.5.0_3/bin/../lib/gcc/6/gcc/x86_64-pc-linux-gnu/6.5.0/crtendS.o /opt/tacc_mounts/home1/00767/byaa676/.linuxbrew/opt/glibc/lib/crtn.o -pthread -pthread -Wl,-soname -Wl,libgmock.so.0 -o lib/.libs/libgmock.so.0.0.0
libtool: link: (cd "lib/.libs" && rm -f "libgmock.so.0" && ln -s "libgmock.so.0.0.0" "libgmock.so.0")
libtool: link: (cd "lib/.libs" && rm -f "libgmock.so" && ln -s "libgmock.so.0.0.0" "libgmock.so")
libtool: link: ar cru lib/.libs/libgmock.a src/gmock-all.o
ar: `u' modifier ignored since `D' is the default (see `U')
libtool: link: ranlib lib/.libs/libgmock.a
libtool: link: ( cd "lib/.libs" && rm -f "libgmock.la" && ln -s "../libgmock.la" "libgmock.la" )
/bin/sh ./libtool --tag=CXX --mode=link g++-6 -pthread -DGTEST_HAS_PTHREAD=1 -DNDEBUG -o lib/libgmock_main.la -rpath /opt/tacc_mounts/home1/00767/byaa676/.linuxbrew/Cellar/protobuf/3.11.2/lib src/gmock_main.lo lib/libgmock.la
libtool: link: g++-6 -fPIC -DPIC -shared -nostdlib /opt/tacc_mounts/home1/00767/byaa676/.linuxbrew/opt/glibc/lib/crti.o /opt/tacc_mounts/home1/00767/byaa676/.linuxbrew/Cellar/gcc@6/6.5.0_3/bin/../lib/gcc/6/gcc/x86_64-pc-linux-gnu/6.5.0/crtbeginS.o src/.libs/gmock_main.o -Wl,-rpath -Wl,/tmp/protobuf-20191219-14457-6128d9/third_party/googletest/googlemock/lib/.libs -Wl,-rpath -Wl,/opt/tacc_mounts/home1/00767/byaa676/.linuxbrew/Cellar/protobuf/3.11.2/lib lib/.libs/libgmock.so -L/opt/tacc_mounts/home1/00767/byaa676/.linuxbrew/lib -L/opt/tacc_mounts/home1/00767/byaa676/.linuxbrew/Cellar/gcc@6/6.5.0_3/bin/../lib/gcc/6/gcc/x86_64-pc-linux-gnu/6.5.0 -L/opt/tacc_mounts/home1/00767/byaa676/.linuxbrew/lib/gcc/6 -lstdc++ -lm -lc -lgcc_s /opt/tacc_mounts/home1/00767/byaa676/.linuxbrew/Cellar/gcc@6/6.5.0_3/bin/../lib/gcc/6/gcc/x86_64-pc-linux-gnu/6.5.0/crtendS.o /opt/tacc_mounts/home1/00767/byaa676/.linuxbrew/opt/glibc/lib/crtn.o -pthread -pthread -Wl,-soname -Wl,libgmock_main.so.0 -o lib/.libs/libgmock_main.so.0.0.0
libtool: link: (cd "lib/.libs" && rm -f "libgmock_main.so.0" && ln -s "libgmock_main.so.0.0.0" "libgmock_main.so.0")
libtool: link: (cd "lib/.libs" && rm -f "libgmock_main.so" && ln -s "libgmock_main.so.0.0.0" "libgmock_main.so")
libtool: link: ar cru lib/.libs/libgmock_main.a src/gmock_main.o
ar: `u' modifier ignored since `D' is the default (see `U')
libtool: link: ranlib lib/.libs/libgmock_main.a
libtool: link: ( cd "lib/.libs" && rm -f "libgmock_main.la" && ln -s "../libgmock_main.la" "libgmock_main.la" )
make[3]: Leaving directory '/tmp/protobuf-20191219-14457-6128d9/third_party/googletest/googlemock'
make[2]: Leaving directory '/tmp/protobuf-20191219-14457-6128d9'
make[1]: Leaving directory '/tmp/protobuf-20191219-14457-6128d9'
Making check in src
make[1]: Entering directory '/tmp/protobuf-20191219-14457-6128d9/src'
/usr/bin/make protoc protobuf-test protobuf-lazy-descriptor-test protobuf-lite-test test_plugin protobuf-lite-arena-test no-warning-test zcgzip zcgunzip
make[2]: Entering directory '/tmp/protobuf-20191219-14457-6128d9/src'
make[2]: 'protoc' is up to date.
oldpwd=`pwd` && ( cd . && $oldpwd/protoc -I. --cpp_out=$oldpwd google/protobuf/any_test.proto google/protobuf/compiler/cpp/cpp_test_bad_identifiers.proto google/protobuf/map_lite_unittest.proto google/protobuf/map_proto2_unittest.proto google/protobuf/map_unittest.proto google/protobuf/unittest_arena.proto google/protobuf/unittest_custom_options.proto google/protobuf/unittest_drop_unknown_fields.proto google/protobuf/unittest_embed_optimize_for.proto google/protobuf/unittest_empty.proto google/protobuf/unittest_enormous_descriptor.proto google/protobuf/unittest_import_lite.proto google/protobuf/unittest_import.proto google/protobuf/unittest_import_public_lite.proto google/protobuf/unittest_import_public.proto google/protobuf/unittest_lazy_dependencies.proto google/protobuf/unittest_lazy_dependencies_custom_option.proto google/protobuf/unittest_lazy_dependencies_enum.proto google/protobuf/unittest_lite_imports_nonlite.proto google/protobuf/unittest_lite.proto google/protobuf/unittest_mset.proto google/protobuf/unittest_mset_wire_format.proto google/protobuf/unittest_no_arena_lite.proto google/protobuf/unittest_no_arena_import.proto google/protobuf/unittest_no_arena.proto google/protobuf/unittest_no_field_presence.proto google/protobuf/unittest_no_generic_services.proto google/protobuf/unittest_optimize_for.proto google/protobuf/unittest_preserve_unknown_enum2.proto google/protobuf/unittest_preserve_unknown_enum.proto google/protobuf/unittest.proto google/protobuf/unittest_proto3.proto google/protobuf/unittest_proto3_arena.proto google/protobuf/unittest_proto3_arena_lite.proto google/protobuf/unittest_proto3_lite.proto google/protobuf/unittest_well_known_types.proto google/protobuf/util/internal/testdata/anys.proto google/protobuf/util/internal/testdata/books.proto google/protobuf/util/internal/testdata/default_value.proto google/protobuf/util/internal/testdata/default_value_test.proto google/protobuf/util/internal/testdata/field_mask.proto google/protobuf/util/internal/testdata/maps.proto google/protobuf/util/internal/testdata/oneofs.proto google/protobuf/util/internal/testdata/proto3.proto google/protobuf/util/internal/testdata/struct.proto google/protobuf/util/internal/testdata/timestamp_duration.proto google/protobuf/util/internal/testdata/wrappers.proto google/protobuf/util/json_format.proto google/protobuf/util/json_format_proto3.proto google/protobuf/util/message_differencer_unittest.proto google/protobuf/compiler/cpp/cpp_test_large_enum_value.proto )
echo "// Generated from Makefile.am" > no_warning_test.cc
CXX google/protobuf/compiler/test_plugin-mock_code_generator.o
for FILE in google/protobuf/stubs/callback.h google/protobuf/stubs/bytestream.h google/protobuf/stubs/casts.h google/protobuf/stubs/common.h google/protobuf/stubs/fastmem.h google/protobuf/stubs/hash.h google/protobuf/stubs/logging.h google/protobuf/stubs/macros.h google/protobuf/stubs/map_util.h google/protobuf/stubs/mutex.h google/protobuf/stubs/once.h google/protobuf/stubs/platform_macros.h google/protobuf/stubs/port.h google/protobuf/stubs/status.h google/protobuf/stubs/stl_util.h google/protobuf/stubs/stringpiece.h google/protobuf/stubs/strutil.h google/protobuf/stubs/template_util.h google/protobuf/any.pb.h google/protobuf/api.pb.h google/protobuf/any.h google/protobuf/arena.h google/protobuf/arena_impl.h google/protobuf/arenastring.h google/protobuf/descriptor_database.h google/protobuf/descriptor.h google/protobuf/descriptor.pb.h google/protobuf/duration.pb.h google/protobuf/dynamic_message.h google/protobuf/empty.pb.h google/protobuf/extension_set.h google/protobuf/extension_set_inl.h google/protobuf/field_mask.pb.h google/protobuf/generated_enum_reflection.h google/protobuf/generated_enum_util.h google/protobuf/generated_message_reflection.h google/protobuf/generated_message_table_driven.h google/protobuf/generated_message_util.h google/protobuf/has_bits.h google/protobuf/implicit_weak_message.h google/protobuf/inlined_string_field.h google/protobuf/io/io_win32.h google/protobuf/map_entry.h google/protobuf/map_entry_lite.h google/protobuf/map_field.h google/protobuf/map_field_inl.h google/protobuf/map_field_lite.h google/protobuf/map.h google/protobuf/map_type_handler.h google/protobuf/message.h google/protobuf/message_lite.h google/protobuf/metadata.h google/protobuf/metadata_lite.h google/protobuf/parse_context.h google/protobuf/port.h google/protobuf/port_def.inc google/protobuf/port_undef.inc google/protobuf/reflection.h google/protobuf/reflection_ops.h google/protobuf/repeated_field.h google/protobuf/service.h google/protobuf/source_context.pb.h google/protobuf/struct.pb.h google/protobuf/text_format.h google/protobuf/timestamp.pb.h google/protobuf/type.pb.h google/protobuf/unknown_field_set.h google/protobuf/wire_format.h google/protobuf/wire_format_lite.h google/protobuf/wrappers.pb.h google/protobuf/io/coded_stream.h google/protobuf/io/gzip_stream.h google/protobuf/io/printer.h google/protobuf/io/strtod.h google/protobuf/io/tokenizer.h google/protobuf/io/zero_copy_stream.h google/protobuf/io/zero_copy_stream_impl.h google/protobuf/io/zero_copy_stream_impl_lite.h google/protobuf/compiler/code_generator.h google/protobuf/compiler/command_line_interface.h google/protobuf/compiler/importer.h google/protobuf/compiler/parser.h google/protobuf/compiler/plugin.h google/protobuf/compiler/plugin.pb.h google/protobuf/compiler/cpp/cpp_generator.h google/protobuf/compiler/csharp/csharp_generator.h google/protobuf/compiler/csharp/csharp_names.h google/protobuf/compiler/java/java_generator.h google/protobuf/compiler/java/java_names.h google/protobuf/compiler/js/js_generator.h google/protobuf/compiler/js/well_known_types_embed.h google/protobuf/compiler/objectivec/objectivec_generator.h google/protobuf/compiler/objectivec/objectivec_helpers.h google/protobuf/compiler/php/php_generator.h google/protobuf/compiler/python/python_generator.h google/protobuf/compiler/ruby/ruby_generator.h google/protobuf/util/type_resolver.h google/protobuf/util/delimited_message_util.h google/protobuf/util/field_comparator.h google/protobuf/util/field_mask_util.h google/protobuf/util/json_util.h google/protobuf/util/time_util.h google/protobuf/util/type_resolver_util.h google/protobuf/util/message_differencer.h; do \
echo "#include <${FILE}>" >> no_warning_test.cc; \
done
CXX google/protobuf/compiler/test_plugin-test_plugin.o
CXX google/protobuf/testing/test_plugin-file.o
CXX google/protobuf/testing/zcgunzip.o
CXX google/protobuf/testing/zcgzip.o
echo "int main(int, char**) { return 0; }" >> no_warning_test.cc
CXX no_warning_test-no_warning_test.o
CXXLD zcgzip
CXXLD zcgunzip
touch unittest_proto_middleman
CXX google/protobuf/stubs/protobuf_test-bytestream_unittest.o
CXX google/protobuf/stubs/protobuf_test-common_unittest.o
CXX google/protobuf/stubs/protobuf_test-int128_unittest.o
CXX google/protobuf/io/protobuf_test-io_win32_unittest.o
CXX google/protobuf/stubs/protobuf_test-statusor_test.o
CXX google/protobuf/stubs/protobuf_test-status_test.o
CXX google/protobuf/stubs/protobuf_test-stringpiece_unittest.o
CXX google/protobuf/stubs/protobuf_test-stringprintf_unittest.o
CXX google/protobuf/stubs/protobuf_test-structurally_valid_unittest.o
CXX google/protobuf/stubs/protobuf_test-strutil_unittest.o
CXX google/protobuf/stubs/protobuf_test-template_util_unittest.o
CXX google/protobuf/stubs/protobuf_test-time_test.o
CXX google/protobuf/protobuf_test-any_test.o
CXX google/protobuf/protobuf_test-arenastring_unittest.o
CXX google/protobuf/protobuf_test-arena_unittest.o
CXX google/protobuf/protobuf_test-descriptor_unittest.o
CXX google/protobuf/protobuf_test-descriptor_database_unittest.o
CXX google/protobuf/protobuf_test-drop_unknown_fields_test.o
CXX google/protobuf/protobuf_test-dynamic_message_unittest.o
CXX google/protobuf/protobuf_test-extension_set_unittest.o
CXX google/protobuf/protobuf_test-generated_message_reflection_unittest.o
CXX google/protobuf/protobuf_test-map_field_test.o
CXX google/protobuf/protobuf_test-map_test.o
CXX google/protobuf/protobuf_test-message_unittest.o
CXX google/protobuf/protobuf_test-no_field_presence_test.o
CXX google/protobuf/protobuf_test-preserve_unknown_enum_test.o
CXX google/protobuf/protobuf_test-proto3_arena_lite_unittest.o
CXX google/protobuf/protobuf_test-proto3_arena_unittest.o
CXX google/protobuf/protobuf_test-proto3_lite_unittest.o
CXX google/protobuf/protobuf_test-reflection_ops_unittest.o
CXX google/protobuf/protobuf_test-repeated_field_reflection_unittest.o
CXX google/protobuf/protobuf_test-repeated_field_unittest.o
CXX google/protobuf/protobuf_test-text_format_unittest.o
CXX google/protobuf/protobuf_test-unknown_field_set_unittest.o
CXX google/protobuf/protobuf_test-well_known_types_unittest.o
CXX google/protobuf/protobuf_test-wire_format_unittest.o
CXX google/protobuf/io/protobuf_test-coded_stream_unittest.o
CXX google/protobuf/io/protobuf_test-printer_unittest.o
CXX google/protobuf/io/protobuf_test-tokenizer_unittest.o
CXX google/protobuf/io/protobuf_test-zero_copy_stream_unittest.o
CXX google/protobuf/compiler/protobuf_test-annotation_test_util.o
In file included from ./../third_party/googletest/googletest/include/gtest/gtest.h:60:0,
from ./google/protobuf/test_util.inc:44,
from ./google/protobuf/test_util.h:43,
from google/protobuf/text_format_unittest.cc:49:
google/protobuf/text_format_unittest.cc: In member function 'virtual void google::protobuf::text_format_unittest::TextFormatTest_ParseExotic_Test::TestBody()':
google/protobuf/text_format_unittest.cc:1205:15: error: '__builtin_isnan' is not a member of 'std'
EXPECT_TRUE(std::isnan(message.repeated_double(11)));
^
./../third_party/googletest/googletest/include/gtest/internal/gtest-internal.h:1378:34: note: in definition of macro 'GTEST_TEST_BOOLEAN_'
::testing::AssertionResult(expression)) \
^~~~~~~~~~
google/protobuf/text_format_unittest.cc:1205:3: note: in expansion of macro 'EXPECT_TRUE'
EXPECT_TRUE(std::isnan(message.repeated_double(11)));
^
google/protobuf/text_format_unittest.cc:1205:15: note: suggested alternative:
EXPECT_TRUE(std::isnan(message.repeated_double(11)));
^
./../third_party/googletest/googletest/include/gtest/internal/gtest-internal.h:1378:34: note: in definition of macro 'GTEST_TEST_BOOLEAN_'
::testing::AssertionResult(expression)) \
^~~~~~~~~~
google/protobuf/text_format_unittest.cc:1205:3: note: in expansion of macro 'EXPECT_TRUE'
EXPECT_TRUE(std::isnan(message.repeated_double(11)));
^
<built-in>: note: '__builtin_isnan'
google/protobuf/text_format_unittest.cc:1206:15: error: '__builtin_isnan' is not a member of 'std'
EXPECT_TRUE(std::isnan(message.repeated_double(12)));
^
./../third_party/googletest/googletest/include/gtest/internal/gtest-internal.h:1378:34: note: in definition of macro 'GTEST_TEST_BOOLEAN_'
::testing::AssertionResult(expression)) \
^~~~~~~~~~
google/protobuf/text_format_unittest.cc:1206:3: note: in expansion of macro 'EXPECT_TRUE'
EXPECT_TRUE(std::isnan(message.repeated_double(12)));
^
google/protobuf/text_format_unittest.cc:1206:15: note: suggested alternative:
EXPECT_TRUE(std::isnan(message.repeated_double(12)));
^
./../third_party/googletest/googletest/include/gtest/internal/gtest-internal.h:1378:34: note: in definition of macro 'GTEST_TEST_BOOLEAN_'
::testing::AssertionResult(expression)) \
^~~~~~~~~~
google/protobuf/text_format_unittest.cc:1206:3: note: in expansion of macro 'EXPECT_TRUE'
EXPECT_TRUE(std::isnan(message.repeated_double(12)));
^
<built-in>: note: '__builtin_isnan'
Makefile:6659: recipe for target 'google/protobuf/protobuf_test-text_format_unittest.o' failed
make[2]: *** [google/protobuf/protobuf_test-text_format_unittest.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/tmp/protobuf-20191219-14457-6128d9/src'
Makefile:8357: recipe for target 'check-am' failed
make[1]: *** [check-am] Error 2
make[1]: Leaving directory '/tmp/protobuf-20191219-14457-6128d9/src'
Makefile:1734: recipe for target 'check-recursive' failed
make: *** [check-recursive] Error 1
HOMEBREW_VERSION: 2.2.1
ORIGIN: https://github.com/Homebrew/brew
HEAD: 2fe99bd9823fadea1cf918b1ed8366de7f40d336
Last commit: 11 days ago
Core tap ORIGIN: https://github.com/Homebrew/linuxbrew-core.git
Core tap HEAD: ef5d42daaeb4da49d91ccae845903d9d0707b3c9
Core tap last commit: 5 hours ago
HOMEBREW_PREFIX: /opt/tacc_mounts/home1/00767/byaa676/.linuxbrew
HOMEBREW_CELLAR: /opt/tacc_mounts/home1/00767/byaa676/.linuxbrew/Cellar
HOMEBREW_CACHE: /home1/00767/byaa676/.cache/Homebrew
HOMEBREW_LOGS: /home1/00767/byaa676/.cache/Homebrew/Logs
HOMEBREW_REPOSITORY: /opt/tacc_mounts/home1/00767/byaa676/.linuxbrew/Homebrew
CPU: 20-core 64-bit haswell
Homebrew Ruby: 2.6.3 => /opt/tacc_mounts/home1/00767/byaa676/.linuxbrew/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.3/bin/ruby
Clang: N/A
Git: 2.12.3 => /usr/bin/git
Curl: 7.66.0 => /opt/tacc_mounts/home1/00767/byaa676/.linuxbrew/opt/curl/bin/curl
Kernel: Linux 4.4.103-6.38-default x86_64 GNU/Linux
OS: SUSE Linux Enterprise Server 12 SP3 (n/a)
Host glibc: 2.22
/usr/bin/gcc: 4.8.5
glibc: 2.23
gcc: 5.5.0_4
xorg: N/A
HOMEBREW_CC: gcc-6
HOMEBREW_CXX: g++-6
CXXFLAGS: -DNDEBUG
MAKEFLAGS: -j20
CMAKE_PREFIX_PATH: /opt/tacc_mounts/home1/00767/byaa676/.linuxbrew
PKG_CONFIG_PATH: /opt/tacc_mounts/home1/00767/byaa676/.linuxbrew/opt/python/lib/pkgconfig:/opt/tacc_mounts/home1/00767/byaa676/.linuxbrew/opt/zlib/lib/pkgconfig:/opt/tacc_mounts/home1/00767/byaa676/.linuxbrew/opt/isl/lib/pkgconfig:/opt/tacc_mounts/home1/00767/byaa676/.linuxbrew/opt/mpfr/lib/pkgconfig
HOMEBREW_GIT: git
ACLOCAL_PATH: /opt/tacc_mounts/home1/00767/byaa676/.linuxbrew/share/aclocal
PATH: /opt/tacc_mounts/home1/00767/byaa676/.linuxbrew/Homebrew/Library/Homebrew/shims/linux/super:/opt/tacc_mounts/home1/00767/byaa676/.linuxbrew/opt/autoconf/bin:/opt/tacc_mounts/home1/00767/byaa676/.linuxbrew/opt/automake/bin:/opt/tacc_mounts/home1/00767/byaa676/.linuxbrew/opt/libtool/bin:/opt/tacc_mounts/home1/00767/byaa676/.linuxbrew/opt/python/bin:/opt/tacc_mounts/home1/00767/byaa676/.linuxbrew/opt/glibc/bin:/opt/tacc_mounts/home1/00767/byaa676/.linuxbrew/opt/gcc@6/bin:/opt/tacc_mounts/home1/00767/byaa676/.linuxbrew/opt/binutils/bin:/usr/bin:/bin:/usr/sbin:/sbin
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
bump
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
bump
Warning: Your Homebrew's prefix is not /home/linuxbrew/.linuxbrew.
Some of Homebrew's bottles (binary packages) can only be used with the default
prefix (/home/linuxbrew/.linuxbrew).
You will encounter build failures with some formulae.
Please create pull requests instead of asking for help on Homebrew's GitHub,
Discourse, Twitter or IRC. You are responsible for resolving any issues you
experience while you are running this unsupported configuration.
protobuf does not currently build a relocatable bottle on Linux. We would welcome a pull request to fix this. As brew doctor states this is an unsupported configuration.
As brew doctor states this is an unsupported configuration.
brew doctor does not state protobuf requires /home/linuxbrew/.linuxbrew,brew doctor states that some bottles require it. It is not immediate for a typical user to assume the connection between one and the other.
Furthermore, it opens up that possibility that anything going wrong with building a formula is automatically assumed to be the result of the non-default prefix, and discouraging the average user to seek a way to fix things, and consequentially to stop using linuxbrew altogether when they do not own the system (exactly where homebrew is the most attractive solution).
We are just volunteers, giving our free time to maintain this project. You can't expect us to know everything and be able to fix any issue a user reports. That's why we only focus on issues where a user actually installed brew in default recommended prefix, to avoid strange and hard to reproduce errors (like this one).
Just like @jonchang said, we will happily accept any pull requests addressing this issue, but won't fix it ourselves, because (let alone prefix) we simply are not protobuf developers and don't know the solution for that at this time.
I was not asking anyone to fix anything. I came here to try to figure out the cause of this error and @jonchang made that possible. I should have thanked him for that, my bad. I quickly moved to the important issue (imo) resulting from our short exchange:
I pointed out a difficulty for a typical user with the current way the linuxbrew community is handling the issue of non-default prefix, and the possible consequence of driving users away. With that, I don't mean to complain, I mean to suggest that this problem (how to track the limitation of the non-default prefix) is worth addressing somehow, for the benefit of linuxbrew and its subset of users that have to work in a system they do not own.
For instance, it would be helpful to know how @jonchang concluded that this issue is the result of the non-default prefix. That kind of information (or a link to it) is important to incude in the log message we get in brew doctor, so that people can figure out for themselves if that's the case when they bump into difficulties.
Finally, probably is not said enough but the linuxbrew developer's efforts towards this project are greatly appreciated.
Same situation on centos 7
HOMEBREW_VERSION: 2.2.4
ORIGIN: https://github.com/Homebrew/brew
HEAD: d014d5a982bc3712179af59faae33fe777d49aef
Last commit: 2 weeks ago
Core tap ORIGIN: https://github.com/Homebrew/linuxbrew-core
Core tap HEAD: ff165ec63221ff6182e21f412bee8ca2833b55cb
Core tap last commit: 6 hours ago
HOMEBREW_PREFIX: /mnt/home/jchen/.linuxbrew
HOMEBREW_CELLAR: /mnt/home/jchen/.linuxbrew/Cellar
HOMEBREW_CACHE: /mnt/home/jchen/.cache/Homebrew
HOMEBREW_LOGS: /mnt/home/jchen/.cache/Homebrew/Logs
HOMEBREW_REPOSITORY: /mnt/home/jchen/.linuxbrew/Homebrew
HOMEBREW_SYSTEM_CURL_TOO_OLD: 1
CPU: 24-core 64-bit haswell
Homebrew Ruby: 2.6.3 => /mnt/home/jchen/.linuxbrew/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.3/bin/ruby
Clang: N/A
Git: 2.21.0 => /mnt/home/jchen/.linuxbrew/bin/git
Curl: 7.65.3 => /mnt/home/jchen/.linuxbrew/opt/curl/bin/curl
Java: 1.8.0_45
Kernel: Linux 3.10.0-957.27.2.el7.x86_64 x86_64 GNU/Linux
OS: CentOS Linux release 7.6.1810 (Core) (Core)
Host glibc: 2.17
/usr/bin/gcc: 4.8.5
glibc: 2.23
gcc: 5.5.0_4
xorg: N/A
brew doctor
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 or file an issue; just ignore this. Thanks!
Warning: Your Homebrew's prefix is not /home/linuxbrew/.linuxbrew.
Some of Homebrew's bottles (binary packages) can only be used with the default
prefix (/home/linuxbrew/.linuxbrew).
You will encounter build failures with some formulae.
Please create pull requests instead of asking for help on Homebrew's GitHub,
Discourse, Twitter or IRC. You are responsible for resolving any issues you
experience while you are running this unsupported configuration.
brew install mosh D
==> Installing dependencies for mosh: protobuf
==> Installing mosh dependency: protobuf
==> Cloning https://github.com/protocolbuffers/protobuf.git
Updating /mnt/home/jchen/.cache/Homebrew/protobuf--git
==> Checking out tag v3.11.2
HEAD is now at fe1790c Fix Multiple Request for PHP (#7008)
HEAD is now at fe1790c Fix Multiple Request for PHP (#7008)
Entering 'third_party/benchmark'
Entering 'third_party/googletest'
/mnt/home/jchen/.cache/Homebrew/protobuf--git/third_party/benchmark
/mnt/home/jchen/.cache/Homebrew/protobuf--git/third_party/googletest
==> ./autogen.sh
==> ./configure --prefix=/mnt/home/jchen/.linuxbrew/Cellar/protobuf/3.11.2 --with-zlib
==> make
==> make check
Last 15 lines from /mnt/home/jchen/.cache/Homebrew/Logs/protobuf/04.make:
./../third_party/googletest/googletest/include/gtest/internal/gtest-internal.h:1378:34: note: in definition of macro 'GTEST_TEST_BOOLEAN_'
::testing::AssertionResult(expression)) \
^~~~~~
google/protobuf/text_format_unittest.cc:1206:3: note: in expansion of macro 'EXPECT_TRUE'
EXPECT_TRUE(std::isnan(message.repeated_double(12)));
^
CXX google/protobuf/compiler/cpp/protobuf_test-cpp_bootstrap_unittest.o
CXX google/protobuf/compiler/cpp/protobuf_test-cpp_move_unittest.o
make[2]: * [google/protobuf/protobuf_test-text_format_unittest.o] Error 1
make[2]: Waiting for unfinished jobs....
make[2]: Leaving directory /tmp/protobuf-20200202-4190337-i43nn/src'
make[1]: *** [check-am] Error 2
make[1]: Leaving directory/tmp/protobuf-20200202-4190337-i43nn/src'
make: ** [check-recursive] Error 1
READ THIS: https://docs.brew.sh/Troubleshooting
On most of clusters or HPC, I do not have the permission to write on dirs out of my personal home dir. That's the reason why I am not able to install everything with the default prefix.
I have tried with the latest version of protobuf. The make process is successful, but the "make test" fails. After commenting "make test" in formula, the package can be installed.
I have resolved the problem. It was an issue caused by the c++ comment "//" in libzip. I opened the issue, and they have updated that. Now, it's ok. Thank you.
Great. Thank you @yzcj105
Most helpful comment
On most of clusters or HPC, I do not have the permission to write on dirs out of my personal home dir. That's the reason why I am not able to install everything with the default prefix.