Skip to content

Instantly share code, notes, and snippets.

@bbhoss

bbhoss/error.txt Secret

Created April 18, 2015 02:26
Show Gist options
  • Save bbhoss/109016af0af101c95a90 to your computer and use it in GitHub Desktop.
Save bbhoss/109016af0af101c95a90 to your computer and use it in GitHub Desktop.
Building native extensions. This could take a while...
ERROR: Error installing picky-generators:
ERROR: Failed to build gem native extension.
/Users/bbhoss/.rvm/rubies/ruby-2.1.2/bin/ruby extconf.rb
building local copy/version of google sparse/dense hash library
sh configure --prefix=/Users/bbhoss/.rvm/gems/ruby-2.1.2/gems/google_hash-0.8.7/ext/local_installed
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 g++... g++
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 g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... gcc3
checking for gcc... gcc-4.2
checking whether we are using the GNU C compiler... yes
checking whether gcc-4.2 accepts -g... yes
checking for gcc-4.2 option to accept ISO C89... none needed
checking dependency style of gcc-4.2... gcc3
checking how to run the C preprocessor... gcc-4.2 -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 memcpy... yes
checking for memmove... 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 for uint16_t... yes
checking for u_int16_t... yes
checking for __uint16... no
checking for long long... yes
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking for unistd.h... (cached) yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/utsname.h usability... yes
checking sys/utsname.h presence... yes
checking for sys/utsname.h... yes
checking how to run the C++ preprocessor... g++ -E
checking google/malloc_extension.h usability... yes
checking google/malloc_extension.h presence... yes
checking for google/malloc_extension.h... yes
checking build system type... x86_64-apple-darwin14.0.0
checking host system type... x86_64-apple-darwin14.0.0
checking for the pthreads library -lpthreads... no
checking whether pthreads work without any flags... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... -D_THREAD_SAFE
checking whether to check for GCC pthread/shared inconsistencies... no
checking whether what we have so far is sufficient with -nostdlib... no
checking whether -lpthread saves the day... no
configure: WARNING: Impossible to determine how to use pthreads with shared libraries and -nostdlib
checking whether the compiler implements namespaces... yes
checking the location of hash_map... <unordered_map>
checking how to include hash_fun directly... <functional>
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/config.h
config.status: executing depfiles commands
[ -d src/sparsehash/internal ] || mkdir -p src/sparsehash/internal
echo "/*" > src/sparsehash/internal/_sparsehash_config
echo " * NOTE: This file is for internal use only." >> src/sparsehash/internal/_sparsehash_config
echo " * Do not use these #defines in your own program!" >> src/sparsehash/internal/_sparsehash_config
echo " */" >> src/sparsehash/internal/_sparsehash_config
awk '{prevline=currline; currline=$0;} \
/^#/ {in_second_file = 1;} \
!in_second_file {if (currline !~ /^ *$/) {inc[currline]=0}}; \
in_second_file { for (i in inc) { \
if (index(currline, i) != 0) { \
print "\n"prevline"\n"currline; \
delete inc[i]; \
} \
} }' \
./src/config.h.include ./src/config.h \
>> src/sparsehash/internal/_sparsehash_config
mv -f src/sparsehash/internal/_sparsehash_config src/sparsehash/internal/sparseconfig.h
/Applications/Xcode.app/Contents/Developer/usr/bin/make all-am
g++ -DHAVE_CONFIG_H -I. -I./src -I./src -Wall -W -Wwrite-strings -Woverloaded-virtual -Wshadow -g -O2 -MT template_util_unittest.o -MD -MP -MF .deps/template_util_unittest.Tpo -c -o template_util_unittest.o `test -f 'src/template_util_unittest.cc' || echo './'`src/template_util_unittest.cc
mv -f .deps/template_util_unittest.Tpo .deps/template_util_unittest.Po
g++ -Wall -W -Wwrite-strings -Woverloaded-virtual -Wshadow -g -O2 -o template_util_unittest template_util_unittest.o
g++ -DHAVE_CONFIG_H -I. -I./src -I./src -Wall -W -Wwrite-strings -Woverloaded-virtual -Wshadow -g -O2 -MT type_traits_unittest.o -MD -MP -MF .deps/type_traits_unittest.Tpo -c -o type_traits_unittest.o `test -f 'src/type_traits_unittest.cc' || echo './'`src/type_traits_unittest.cc
src/type_traits_unittest.cc:296:28: warning: 'const' qualifier on reference type 'RefFloat' (aka 'float &') has no effect [-Wignored-qualifiers]
EXPECT_TRUE(is_reference<const RefFloat>::value);
^~~~~~
./src/testutil.h:51:9: note: expanded from macro 'EXPECT_TRUE'
if (!(cond)) { \
^
src/type_traits_unittest.cc:297:28: warning: 'volatile' qualifier on reference type 'RefFloat' (aka 'float &') has no effect [-Wignored-qualifiers]
EXPECT_TRUE(is_reference<volatile RefFloat>::value);
^~~~~~~~~
./src/testutil.h:51:9: note: expanded from macro 'EXPECT_TRUE'
if (!(cond)) { \
^
src/type_traits_unittest.cc:298:28: warning: 'const' qualifier on reference type 'RefFloat' (aka 'float &') has no effect [-Wignored-qualifiers]
EXPECT_TRUE(is_reference<const volatile RefFloat>::value);
^~~~~~
./src/testutil.h:51:9: note: expanded from macro 'EXPECT_TRUE'
if (!(cond)) { \
^
src/type_traits_unittest.cc:298:34: warning: 'volatile' qualifier on reference type 'RefFloat' (aka 'float &') has no effect [-Wignored-qualifiers]
EXPECT_TRUE(is_reference<const volatile RefFloat>::value);
^~~~~~~~~
./src/testutil.h:51:9: note: expanded from macro 'EXPECT_TRUE'
if (!(cond)) { \
^
src/type_traits_unittest.cc:88:7: warning: private field 'n_' is not used [-Wunused-private-field]
int n_;
^
src/type_traits_unittest.cc:98:7: warning: private field 'n_' is not used [-Wunused-private-field]
int n_;
^
src/type_traits_unittest.cc:112:7: warning: private field 'n_' is not used [-Wunused-private-field]
int n_;
^
src/type_traits_unittest.cc:138:7: warning: private field 'n_' is not used [-Wunused-private-field]
int n_;
^
8 warnings generated.
mv -f .deps/type_traits_unittest.Tpo .deps/type_traits_unittest.Po
g++ -Wall -W -Wwrite-strings -Woverloaded-virtual -Wshadow -g -O2 -o type_traits_unittest type_traits_unittest.o
g++ -DHAVE_CONFIG_H -I. -I./src -I./src -Wall -W -Wwrite-strings -Woverloaded-virtual -Wshadow -g -O2 -MT libc_allocator_with_realloc_test.o -MD -MP -MF .deps/libc_allocator_with_realloc_test.Tpo -c -o libc_allocator_with_realloc_test.o `test -f 'src/libc_allocator_with_realloc_test.cc' || echo './'`src/libc_allocator_with_realloc_test.cc
mv -f .deps/libc_allocator_with_realloc_test.Tpo .deps/libc_allocator_with_realloc_test.Po
g++ -Wall -W -Wwrite-strings -Woverloaded-virtual -Wshadow -g -O2 -o libc_allocator_with_realloc_test libc_allocator_with_realloc_test.o
g++ -DHAVE_CONFIG_H -I. -I./src -I./src -Wall -W -Wwrite-strings -Woverloaded-virtual -Wshadow -g -O2 -MT sparsetable_unittest.o -MD -MP -MF .deps/sparsetable_unittest.Tpo -c -o sparsetable_unittest.o `test -f 'src/sparsetable_unittest.cc' || echo './'`src/sparsetable_unittest.cc
mv -f .deps/sparsetable_unittest.Tpo .deps/sparsetable_unittest.Po
g++ -Wall -W -Wwrite-strings -Woverloaded-virtual -Wshadow -g -O2 -o sparsetable_unittest sparsetable_unittest.o
g++ -DHAVE_CONFIG_H -I. -I./src -I./src -Wall -W -Wwrite-strings -Woverloaded-virtual -Wshadow -g -O2 -MT hashtable_test.o -MD -MP -MF .deps/hashtable_test.Tpo -c -o hashtable_test.o `test -f 'src/hashtable_test.cc' || echo './'`src/hashtable_test.cc
In file included from src/hashtable_test.cc:63:
./src/hash_test_interface.h:436:50: warning: unused parameter 'k' [-Wunused-parameter]
void set_empty_key(const typename p::key_type& k) { }
^
./src/hash_test_interface.h:543:50: warning: unused parameter 'k' [-Wunused-parameter]
void set_empty_key(const typename p::key_type& k) { }
^
./src/hash_test_interface.h:659:50: warning: unused parameter 'k' [-Wunused-parameter]
void set_empty_key(const typename p::key_type& k) { }
^
src/hashtable_test.cc:520:1: warning: unused variable 'HashtableCharStarTest_numtypes' [-Wunused-const-variable]
TYPED_TEST_CASE_6(HashtableCharStarTest, CharStarHashtables);
^
./src/testutil.h:106:20: note: expanded from macro 'TYPED_TEST_CASE_6'
static const int classname##_numtypes = 6; \
^
<scratch space>:94:1: note: expanded from here
HashtableCharStarTest_numtypes
^
4 warnings generated.
mv -f .deps/hashtable_test.Tpo .deps/hashtable_test.Po
g++ -Wall -W -Wwrite-strings -Woverloaded-virtual -Wshadow -g -O2 -o hashtable_test hashtable_test.o
g++ -DHAVE_CONFIG_H -I. -I./src -I./src -Wall -W -Wwrite-strings -Woverloaded-virtual -Wshadow -g -O2 -MT simple_test.o -MD -MP -MF .deps/simple_test.Tpo -c -o simple_test.o `test -f 'src/simple_test.cc' || echo './'`src/simple_test.cc
mv -f .deps/simple_test.Tpo .deps/simple_test.Po
g++ -Wall -W -Wwrite-strings -Woverloaded-virtual -Wshadow -g -O2 -o simple_test simple_test.o
g++ -DHAVE_CONFIG_H -I. -I./src -I./src -Wall -W -Wwrite-strings -Woverloaded-virtual -Wshadow -g -O2 -MT simple_compat_test.o -MD -MP -MF .deps/simple_compat_test.Tpo -c -o simple_compat_test.o `test -f 'src/simple_compat_test.cc' || echo './'`src/simple_compat_test.cc
mv -f .deps/simple_compat_test.Tpo .deps/simple_compat_test.Po
g++ -Wall -W -Wwrite-strings -Woverloaded-virtual -Wshadow -g -O2 -o simple_compat_test simple_compat_test.o
g++ -DHAVE_CONFIG_H -I. -I./src -I./src -D_THREAD_SAFE -Wall -W -Wwrite-strings -Woverloaded-virtual -Wshadow -g -O2 -MT time_hash_map-time_hash_map.o -MD -MP -MF .deps/time_hash_map-time_hash_map.Tpo -c -o time_hash_map-time_hash_map.o `test -f 'src/time_hash_map.cc' || echo './'`src/time_hash_map.cc
mv -f .deps/time_hash_map-time_hash_map.Tpo .deps/time_hash_map-time_hash_map.Po
g++ -D_THREAD_SAFE -Wall -W -Wwrite-strings -Woverloaded-virtual -Wshadow -g -O2 -D_THREAD_SAFE -o time_hash_map time_hash_map-time_hash_map.o -ltcmalloc
echo 'prefix=/Users/bbhoss/.rvm/gems/ruby-2.1.2/gems/google_hash-0.8.7/ext/local_installed' > "libsparsehash.pc".tmp
echo 'exec_prefix='`echo '/Users/bbhoss/.rvm/gems/ruby-2.1.2/gems/google_hash-0.8.7/ext/local_installed' | sed 's@^/Users/bbhoss/.rvm/gems/ruby-2.1.2/gems/google_hash-0.8.7/ext/local_installed@${prefix}@'` >> "libsparsehash.pc".tmp
echo 'libdir='`echo '/Users/bbhoss/.rvm/gems/ruby-2.1.2/gems/google_hash-0.8.7/ext/local_installed/lib' | sed 's@^/Users/bbhoss/.rvm/gems/ruby-2.1.2/gems/google_hash-0.8.7/ext/local_installed@${exec_prefix}@'` >> "libsparsehash.pc".tmp
echo 'includedir='`echo '/Users/bbhoss/.rvm/gems/ruby-2.1.2/gems/google_hash-0.8.7/ext/local_installed/include' | sed 's@^/Users/bbhoss/.rvm/gems/ruby-2.1.2/gems/google_hash-0.8.7/ext/local_installed@${prefix}@'` >> "libsparsehash.pc".tmp
echo '' >> "libsparsehash.pc".tmp
echo 'Name: sparsehash' >> "libsparsehash.pc".tmp
echo 'Version: 2.0.2' >> "libsparsehash.pc".tmp
grep '^Summary:' ./packages/rpm/rpm.spec | sed s/^Summary:/Description:/ | head -n1 >> "libsparsehash.pc".tmp
grep '^URL: ' ./packages/rpm/rpm.spec >> "libsparsehash.pc".tmp
echo 'Requires:' >> "libsparsehash.pc".tmp
echo 'Libs:' >> "libsparsehash.pc".tmp
echo 'Cflags: -I${includedir}' >> "libsparsehash.pc".tmp
mv -f "libsparsehash.pc".tmp "libsparsehash.pc"
/Applications/Xcode.app/Contents/Developer/usr/bin/make install-am
test -z "/Users/bbhoss/.rvm/gems/ruby-2.1.2/gems/google_hash-0.8.7/ext/local_installed/lib" || ./install-sh -c -d "/Users/bbhoss/.rvm/gems/ruby-2.1.2/gems/google_hash-0.8.7/ext/local_installed/lib"
/bin/sh: ./install-sh: Permission denied
make[2]: *** [install-libLTLIBRARIES] Error 126
make[1]: *** [install-am] Error 2
make: *** [install] Error 2
running from /Users/bbhoss/.rvm/gems/ruby-2.1.2/gems/google_hash-0.8.7/ext
checking for tr1/functional... yes
checking for functional... yes
checking for tr1/functional... yes
creating Makefile
make "DESTDIR=" clean
make "DESTDIR="
compiling dense_double_to_double.cpp
dense_double_to_double.cpp:3:10: fatal error: 'google/dense_hash_map' file not found
#include <google/dense_hash_map>
^
1 error generated.
make: *** [dense_double_to_double.o] Error 1
make failed, exit code 2
Gem files will remain installed in /Users/bbhoss/.rvm/gems/ruby-2.1.2/gems/google_hash-0.8.7 for inspection.
Results logged to /Users/bbhoss/.rvm/gems/ruby-2.1.2/extensions/x86_64-darwin-13/2.1.0-static/google_hash-0.8.7/gem_make.out
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment