* Package: dev-db/couchdb-1.2.0  * Repository: gentoo  * Maintainer: djc@gentoo.org  * USE: amd64 elibc_glibc kernel_linux multilib selinux userland_GNU  * FEATURES: sandbox selinux sesandbox >>> Unpacking source... >>> Unpacking apache-couchdb-1.2.0.tar.gz to /var/tmp/portage/dev-db/couchdb-1.2.0/work >>> Source unpacked in /var/tmp/portage/dev-db/couchdb-1.2.0/work >>> Preparing source in /var/tmp/portage/dev-db/couchdb-1.2.0/work/apache-couchdb-1.2.0 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-db/couchdb-1.2.0/work/apache-couchdb-1.2.0 ... * econf: updating apache-couchdb-1.2.0/build-aux/config.sub with /usr/share/gnuconfig/config.sub * econf: updating apache-couchdb-1.2.0/build-aux/config.guess with /usr/share/gnuconfig/config.guess ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 --with-erlang=/usr/lib/erlang/usr/include --localstatedir=/var --with-js-lib=/usr/lib checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of x86_64-pc-linux-gnu-gcc... gcc3 checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking how to print strings... printf checking for a sed that does not truncate output... /bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for fgrep... /bin/grep -F checking for ld used by x86_64-pc-linux-gnu-gcc... /usr/x86_64-pc-linux-gnu/bin/ld checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/x86_64-pc-linux-gnu/bin/ld option to reload object files... -r checking for x86_64-pc-linux-gnu-objdump... x86_64-pc-linux-gnu-objdump checking how to recognize dependent libraries... pass_all checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar checking for x86_64-pc-linux-gnu-strip... x86_64-pc-linux-gnu-strip checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib checking command to parse /usr/bin/nm -B output from x86_64-pc-linux-gnu-gcc object... ok checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -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 for dlfcn.h... yes checking for objdir... .libs checking if x86_64-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no checking for x86_64-pc-linux-gnu-gcc option to produce PIC... -fPIC -DPIC checking if x86_64-pc-linux-gnu-gcc PIC flag -fPIC -DPIC works... yes checking if x86_64-pc-linux-gnu-gcc static flag -static works... yes checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... yes checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... (cached) yes checking whether the x86_64-pc-linux-gnu-gcc linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking whether ln -s works... yes checking for x86_64-pc-linux-gnu-pkg-config... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for x86_64-pc-linux-gnu-g++... x86_64-pc-linux-gnu-g++ checking whether we are using the GNU C++ compiler... yes checking whether x86_64-pc-linux-gnu-g++ accepts -g... yes checking dependency style of x86_64-pc-linux-gnu-g++... gcc3 checking how to run the C++ preprocessor... x86_64-pc-linux-gnu-g++ -E checking for ld used by x86_64-pc-linux-gnu-g++... /usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64 checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) is GNU ld... yes checking whether the x86_64-pc-linux-gnu-g++ linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes checking for x86_64-pc-linux-gnu-g++ option to produce PIC... -fPIC -DPIC checking if x86_64-pc-linux-gnu-g++ PIC flag -fPIC -DPIC works... yes checking if x86_64-pc-linux-gnu-g++ static flag -static works... yes checking if x86_64-pc-linux-gnu-g++ supports -c -o file.o... yes checking if x86_64-pc-linux-gnu-g++ supports -c -o file.o... (cached) yes checking whether the x86_64-pc-linux-gnu-g++ linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether byte ordering is bigendian... no checking for stdint.h... (cached) yes checking stddef.h usability... yes checking stddef.h presence... yes checking for stddef.h... yes checking sys/mman.h usability... yes checking sys/mman.h presence... yes checking for sys/mman.h... yes checking sys/resource.h usability... yes checking sys/resource.h presence... yes checking for sys/resource.h... yes checking for mmap... yes checking if the compiler supports __builtin_expect... yes checking if the compiler supports __builtin_ctzll... yes checking for pthread_create in -lpthread... no checking for erl... /usr/bin/erl checking for JS185... no checking for JS... yes checking jsapi.h usability... yes checking jsapi.h presence... yes checking for jsapi.h... yes checking for JS_NewObject in -lmozjs... yes checking for JS_NewCompartmentAndGlobalObject in -lmozjs... no checking for JS_ThrowStopIteration in -lmozjs... yes checking for JS_GetStringCharsAndLength in -lmozjs... no checking for JSScript*... yes checking for icu-config... /usr/bin/icu-config checking for ICU >= 3.4.1... yes checking ICU_CFLAGS... checking ICU_CXXFLAGS... checking ICU_LIBS... -lpthread -ldl -lm -L/usr/lib64 -licui18n -licuuc -licudata -lpthread -ldl -lm checking for curl-config... /usr/bin/curl-config checking for curl >= 7.18.0... yes checking CURL_CFLAGS... checking CURL_LIBS... -lcurl -lcares -lidn -lssl -lcrypto -lldap -lrt -L/usr/lib64 -O2 -pipe -Wl,-O1 -Wl,--as-needed -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lkeyutils -lresolv -ldl -lssl -lcrypto -lz checking for erlc... /usr/bin/erlc checking erl_driver.h usability... yes checking erl_driver.h presence... yes checking for erl_driver.h... yes checking for help2man... /usr/bin/help2man checking location of init directory... ${sysconfdir}/init.d checking location of launchd directory... not found configure: creating ./config.status config.status: creating Makefile config.status: creating bin/couch-config.tpl config.status: creating bin/couchdb.tpl config.status: creating bin/couchdb.bat.tpl config.status: creating bin/Makefile config.status: creating etc/couchdb/Makefile config.status: creating etc/couchdb/default.ini.tpl config.status: creating etc/default/Makefile config.status: creating etc/init/couchdb.tpl config.status: creating etc/init/Makefile config.status: creating etc/launchd/org.apache.couchdb.plist.tpl config.status: creating etc/launchd/Makefile config.status: creating etc/logrotate.d/couchdb.tpl config.status: creating etc/logrotate.d/Makefile config.status: creating etc/windows/Makefile config.status: creating etc/Makefile config.status: creating share/Makefile config.status: creating src/Makefile config.status: creating src/couchdb/couch.app.tpl config.status: creating src/couchdb/Makefile config.status: creating src/couchdb/priv/Makefile config.status: creating src/erlang-oauth/Makefile config.status: creating src/etap/Makefile config.status: creating src/ibrowse/Makefile config.status: creating src/mochiweb/Makefile config.status: creating src/snappy/Makefile config.status: creating src/snappy/google-snappy/snappy-stubs-public.h config.status: creating src/ejson/Makefile config.status: creating test/Makefile config.status: creating test/bench/Makefile config.status: creating test/etap/Makefile config.status: creating test/etap/test_util.erl config.status: creating test/javascript/Makefile config.status: creating test/view_server/Makefile config.status: creating utils/Makefile config.status: creating var/Makefile config.status: creating config.h config.status: creating src/snappy/google-snappy/config.h config.status: executing depfiles commands config.status: executing libtool commands You have configured Apache CouchDB, time to relax. Run `make && sudo make install' to install. >>> Source configured. >>> Compiling source in /var/tmp/portage/dev-db/couchdb-1.2.0/work/apache-couchdb-1.2.0 ... make make all-recursive make[1]: Entering directory `/var/tmp/portage/dev-db/couchdb-1.2.0/work/apache-couchdb-1.2.0' Making all in bin make[2]: Entering directory `/var/tmp/portage/dev-db/couchdb-1.2.0/work/apache-couchdb-1.2.0/bin' sed -e "s|%ERL%|/usr/bin/erl|g" \ -e "s|%ICU_CONFIG%|/usr/bin/icu-config|g" \ -e "s|%bindir%|/usr/bin|g" \ -e "s|%localerlanglibdir%|/usr/lib64/couchdb/erlang/lib|g" \ -e "s|%defaultini%|default.ini|g" \ -e "s|%localini%|local.ini|g" \ -e "s|%localconfdir%|/etc/couchdb|g" \ -e "s|%localstatelogdir%|/var/log/couchdb|g" \ -e "s|%localstatelibdir%|/var/lib/couchdb|g" \ -e "s|%localstatedir%|/var|g" \ -e "s|%bug_uri%|https://issues.apache.org/jira/browse/COUCHDB|g" \ -e "s|%package_author_address%|dev@couchdb.apache.org|g" \ -e "s|%package_author_name%|The Apache Software Foundation|g" \ -e "s|%package_name%|Apache CouchDB|g" \ -e "s|%version%|1.2.0|g" \ -e "s|%couchdb_command_name%|`echo couchdb | sed 's,x,x,'`|g" > \ couchdb < couchdb.tpl chmod +x couchdb sed -e "s|%ERL%|/usr/bin/erl|g" \ -e "s|%bindir%|/usr/bin|g" \ -e "s|%localerlanglibdir%|/usr/lib64/couchdb/erlang/lib|g" \ -e "s|%localconfdir%|/etc/couchdb|g" \ -e "s|%localdatadir%|/usr/share/couchdb|g" \ -e "s|%localbuilddatadir%|/usr/share/couchdb|g" \ -e "s|%localstatelogdir%|/var/log/couchdb|g" \ -e "s|%localstatelibdir%|/var/lib/couchdb|g" \ -e "s|%localstatedir%|/var|g" \ -e "s|%localstaterundir%|/var/run/couchdb|g" \ -e "s|%couchlibdir%|/usr/lib64/couchdb/erlang/lib/couch-%version%|g"\ -e "s|%couchincludedir%|/usr/lib64/couchdb/erlang/lib/include|g"\ -e "s|%couchebindir%|/usr/lib64/couchdb/erlang/lib/ebin|g"\ -e "s|%couchprivlibdir%|/usr/lib64/couchdb/erlang/lib/couch-%version%/priv/lib|g"\ -e "s|%bug_uri%|https://issues.apache.org/jira/browse/COUCHDB|g" \ -e "s|%package_author_address%|dev@couchdb.apache.org|g" \ -e "s|%package_author_name%|The Apache Software Foundation|g" \ -e "s|%package_name%|Apache CouchDB|g" \ -e "s|%version%|1.2.0|g" \ -e "s|%couchdb_command_name%|`echo couchdb | sed 's,x,x,'`|g" > \ couch-config < couch-config.tpl chmod +x couch-config ln -s -f "/var/tmp/portage/dev-db/couchdb-1.2.0/work/apache-couchdb-1.2.0/src/couchdb/priv/couchjs" "couchjs_dev" sed -e "s|%ERL%|/usr/bin/erl|g" \ -e "s|%bindir%|/var/tmp/portage/dev-db/couchdb-1.2.0/work/apache-couchdb-1.2.0/bin|g" \ -e "s|%localerlanglibdir%|/var/tmp/portage/dev-db/couchdb-1.2.0/work/apache-couchdb-1.2.0\/src\/couchdb|g" \ -e "s|%couchlibdir%|/var/tmp/portage/dev-db/couchdb-1.2.0/work/apache-couchdb-1.2.0\/src\/couchdb|g"\ -e "s|%couchincludedir%|/var/tmp/portage/dev-db/couchdb-1.2.0/work/apache-couchdb-1.2.0\/src\/couchdb|g"\ -e "s|%couchebindir%|/var/tmp/portage/dev-db/couchdb-1.2.0/work/apache-couchdb-1.2.0\/src\/couchdb|g"\ -e "s|%couchprivlibdir%|/var/tmp/portage/dev-db/couchdb-1.2.0/work/apache-couchdb-1.2.0/src/couchdb/priv/.libs|g"\ -e "s|%localdatadir%|/var/tmp/portage/dev-db/couchdb-1.2.0/work/apache-couchdb-1.2.0/share|g" \ -e "s|%localbuilddatadir%|/var/tmp/portage/dev-db/couchdb-1.2.0/work/apache-couchdb-1.2.0/share|g" \ -e "s|%localstatelibdir%|/var/tmp/portage/dev-db/couchdb-1.2.0/work/apache-couchdb-1.2.0/tmp/lib|g" \ -e "s|%localstatelogdir%|/var/tmp/portage/dev-db/couchdb-1.2.0/work/apache-couchdb-1.2.0/tmp/log|g" \ -e "s|%localstatedir%|/var/tmp/portage/dev-db/couchdb-1.2.0/work/apache-couchdb-1.2.0/tmp|g" \ -e "s|%localstaterundir%|/var/tmp/portage/dev-db/couchdb-1.2.0/work/apache-couchdb-1.2.0/tmp/run|g" \ -e "s|%bug_uri%|https://issues.apache.org/jira/browse/COUCHDB|g" \ -e "s|%package_author_address%|dev@couchdb.apache.org|g" \ -e "s|%package_author_name%|The Apache Software Foundation|g" \ -e "s|%package_name%|Apache CouchDB|g" \ -e "s|%version%|1.2.0|g" \ -e "s|%couchdb_command_name%|/var/tmp/portage/dev-db/couchdb-1.2.0/work/apache-couchdb-1.2.0/utils/run|g" > \ couch-config_dev < couch-config.tpl chmod +x couch-config_dev make[2]: Leaving directory `/var/tmp/portage/dev-db/couchdb-1.2.0/work/apache-couchdb-1.2.0/bin' Making all in etc make[2]: Entering directory `/var/tmp/portage/dev-db/couchdb-1.2.0/work/apache-couchdb-1.2.0/etc' Making all in couchdb make[3]: Entering directory `/var/tmp/portage/dev-db/couchdb-1.2.0/work/apache-couchdb-1.2.0/etc/couchdb' sed -e "s|%bindir%|/usr/bin|g" \ -e "s|%localconfdir%|/etc/couchdb|g" \ -e "s|%localdatadir%|/usr/share/couchdb|g" \ -e "s|%localbuilddatadir%|/usr/share/couchdb|g" \ -e "s|%localstatelibdir%|/var/lib/couchdb|g" \ -e "s|%localstatelogdir%|/var/log/couchdb|g" \ -e "s|%localstaterundir%|/var/run/couchdb|g" \ -e "s|%couchprivlibdir%|/usr/lib64/couchdb/erlang/lib/couch-1.2.0/priv/lib|g" \ -e "s|%couchjs_command_name%|`echo couchjs | sed 's,x,x,'`|g" \ < default.ini.tpl > default.ini sed -e "s|%bindir%|/var/tmp/portage/dev-db/couchdb-1.2.0/work/apache-couchdb-1.2.0/bin|g" \ -e "s|%localconfdir%|/var/tmp/portage/dev-db/couchdb-1.2.0/work/apache-couchdb-1.2.0/etc/couchdb|g" \ -e "s|%localdatadir%|/var/tmp/portage/dev-db/couchdb-1.2.0/work/apache-couchdb-1.2.0/share|g" \ -e "s|%localbuilddatadir%|/var/tmp/portage/dev-db/couchdb-1.2.0/work/apache-couchdb-1.2.0/share|g" \ -e "s|%localstatelibdir%|/var/tmp/portage/dev-db/couchdb-1.2.0/work/apache-couchdb-1.2.0/tmp/lib|g" \ -e "s|%localstatelogdir%|/var/tmp/portage/dev-db/couchdb-1.2.0/work/apache-couchdb-1.2.0/tmp/log|g" \ -e "s|%localstaterundir%|/var/tmp/portage/dev-db/couchdb-1.2.0/work/apache-couchdb-1.2.0/tmp/run|g" \ -e "s|%couchprivlibdir%|/var/tmp/portage/dev-db/couchdb-1.2.0/work/apache-couchdb-1.2.0/src/couchdb/priv/.libs|g" \ -e "s|%couchjs_command_name%|`echo couchjs_dev | sed 's,x,x,'`|g" \ < default.ini.tpl > default_dev.ini if test ! -f "local_dev.ini"; then \ cp local.ini local_dev.ini; \ fi make[3]: Leaving directory `/var/tmp/portage/dev-db/couchdb-1.2.0/work/apache-couchdb-1.2.0/etc/couchdb' Making all in default make[3]: Entering directory `/var/tmp/portage/dev-db/couchdb-1.2.0/work/apache-couchdb-1.2.0/etc/default' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/var/tmp/portage/dev-db/couchdb-1.2.0/work/apache-couchdb-1.2.0/etc/default' Making all in init make[3]: Entering directory `/var/tmp/portage/dev-db/couchdb-1.2.0/work/apache-couchdb-1.2.0/etc/init' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/var/tmp/portage/dev-db/couchdb-1.2.0/work/apache-couchdb-1.2.0/etc/init' Making all in launchd make[3]: Entering directory `/var/tmp/portage/dev-db/couchdb-1.2.0/work/apache-couchdb-1.2.0/etc/launchd' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/var/tmp/portage/dev-db/couchdb-1.2.0/work/apache-couchdb-1.2.0/etc/launchd' Making all in logrotate.d make[3]: Entering directory `/var/tmp/portage/dev-db/couchdb-1.2.0/work/apache-couchdb-1.2.0/etc/logrotate.d' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/var/tmp/portage/dev-db/couchdb-1.2.0/work/apache-couchdb-1.2.0/etc/logrotate.d' Making all in windows make[3]: Entering directory `/var/tmp/portage/dev-db/couchdb-1.2.0/work/apache-couchdb-1.2.0/etc/windows' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/var/tmp/portage/dev-db/couchdb-1.2.0/work/apache-couchdb-1.2.0/etc/windows' make[3]: Entering directory `/var/tmp/portage/dev-db/couchdb-1.2.0/work/apache-couchdb-1.2.0/etc' if test "/bin/mkdir -p"; then \ /bin/mkdir -p init; \ else \ if test ! -d init; then \ mkdir init; \ fi \ fi sed -e "s|%configure_input%|init/couchdb. Generated from init/couchdb.tpl by configure.|" \ -e "s|%bindir%|/usr/bin|" \ -e "s|%sysconfdir%|/etc|" \ -e "s|%localstaterundir%|/var/run/couchdb|" \ -e "s|%couchdb_command_name%|`echo couchdb | sed 's,x,x,'`|" \ < init/couchdb.tpl > init/couchdb sed -e "s|%localstatelogdir%|/var/log/couchdb|g" < logrotate.d/couchdb.tpl > logrotate.d/couchdb make[3]: Leaving directory `/var/tmp/portage/dev-db/couchdb-1.2.0/work/apache-couchdb-1.2.0/etc' make[2]: Leaving directory `/var/tmp/portage/dev-db/couchdb-1.2.0/work/apache-couchdb-1.2.0/etc' Making all in src make[2]: Entering directory `/var/tmp/portage/dev-db/couchdb-1.2.0/work/apache-couchdb-1.2.0/src' Making all in couchdb make[3]: Entering directory `/var/tmp/portage/dev-db/couchdb-1.2.0/work/apache-couchdb-1.2.0/src/couchdb' Making all in priv make[4]: Entering directory `/var/tmp/portage/dev-db/couchdb-1.2.0/work/apache-couchdb-1.2.0/src/couchdb/priv' /bin/sh ../../../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../src/snappy/google-snappy -I/usr/lib/erlang/usr/include -D_XOPEN_SOURCE -I/opt/local/include -I/usr/local/include -I/usr/include -O2 -O2 -pipe -MT couch_icu_driver_la-couch_icu_driver.lo -MD -MP -MF .deps/couch_icu_driver_la-couch_icu_driver.Tpo -c -o couch_icu_driver_la-couch_icu_driver.lo `test -f 'icu_driver/couch_icu_driver.c' || echo './'`icu_driver/couch_icu_driver.c libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../src/snappy/google-snappy -I/usr/lib/erlang/usr/include -D_XOPEN_SOURCE -I/opt/local/include -I/usr/local/include -I/usr/include -O2 -O2 -pipe -MT couch_icu_driver_la-couch_icu_driver.lo -MD -MP -MF .deps/couch_icu_driver_la-couch_icu_driver.Tpo -c icu_driver/couch_icu_driver.c -fPIC -DPIC -o .libs/couch_icu_driver_la-couch_icu_driver.o icu_driver/couch_icu_driver.c:171:9: warning: initialization from incompatible pointer type mv -f .deps/couch_icu_driver_la-couch_icu_driver.Tpo .deps/couch_icu_driver_la-couch_icu_driver.Plo /bin/sh ../../../libtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc -O2 -O2 -pipe -module -avoid-version -Wl,-O1 -Wl,--as-needed -L/opt/local/lib -L/usr/local/lib -o couch_icu_driver.la -rpath /usr/lib64/couchdb/erlang/lib/couch-1.2.0/priv/lib couch_icu_driver_la-couch_icu_driver.lo -lpthread -ldl -lm -L/usr/lib64 -licui18n -licuuc -licudata -lpthread -ldl -lm -Wl,-O1 -Wl,--as-needed -L/opt/local/lib -L/usr/local/lib -lcrypt libtool: link: x86_64-pc-linux-gnu-gcc -shared .libs/couch_icu_driver_la-couch_icu_driver.o -L/opt/local/lib -L/usr/local/lib -L/usr/lib64 -licui18n -licuuc -licudata -lpthread -ldl -lm -lcrypt -Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed -Wl,-soname -Wl,couch_icu_driver.so -o .libs/couch_icu_driver.so libtool: link: ( cd ".libs" && rm -f "couch_icu_driver.la" && ln -s "../couch_icu_driver.la" "couch_icu_driver.la" ) /bin/sh ../../../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../src/snappy/google-snappy -D_BSD_SOURCE -I/usr/lib/erlang/usr/include -D_XOPEN_SOURCE -I/opt/local/include -I/usr/local/include -I/usr/include -O2 -O2 -pipe -MT couch_ejson_compare_la-couch_ejson_compare.lo -MD -MP -MF .deps/couch_ejson_compare_la-couch_ejson_compare.Tpo -c -o couch_ejson_compare_la-couch_ejson_compare.lo `test -f 'couch_ejson_compare/couch_ejson_compare.c' || echo './'`couch_ejson_compare/couch_ejson_compare.c libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../src/snappy/google-snappy -D_BSD_SOURCE -I/usr/lib/erlang/usr/include -D_XOPEN_SOURCE -I/opt/local/include -I/usr/local/include -I/usr/include -O2 -O2 -pipe -MT couch_ejson_compare_la-couch_ejson_compare.lo -MD -MP -MF .deps/couch_ejson_compare_la-couch_ejson_compare.Tpo -c couch_ejson_compare/couch_ejson_compare.c -fPIC -DPIC -o .libs/couch_ejson_compare_la-couch_ejson_compare.o mv -f .deps/couch_ejson_compare_la-couch_ejson_compare.Tpo .deps/couch_ejson_compare_la-couch_ejson_compare.Plo /bin/sh ../../../libtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc -O2 -O2 -pipe -module -avoid-version -Wl,-O1 -Wl,--as-needed -L/opt/local/lib -L/usr/local/lib -o couch_ejson_compare.la -rpath /usr/lib64/couchdb/erlang/lib/couch-1.2.0/priv/lib couch_ejson_compare_la-couch_ejson_compare.lo -lpthread -ldl -lm -L/usr/lib64 -licui18n -licuuc -licudata -lpthread -ldl -lm -Wl,-O1 -Wl,--as-needed -L/opt/local/lib -L/usr/local/lib -lcrypt libtool: link: x86_64-pc-linux-gnu-gcc -shared .libs/couch_ejson_compare_la-couch_ejson_compare.o -L/opt/local/lib -L/usr/local/lib -L/usr/lib64 -licui18n -licuuc -licudata -lpthread -ldl -lm -lcrypt -Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed -Wl,-soname -Wl,couch_ejson_compare.so -o .libs/couch_ejson_compare.so libtool: link: ( cd ".libs" && rm -f "couch_ejson_compare.la" && ln -s "../couch_ejson_compare.la" "couch_ejson_compare.la" ) cp spawnkillable/couchspawnkillable.sh couchspawnkillable chmod +x couchspawnkillable x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../src/snappy/google-snappy -D_XOPEN_SOURCE -I/opt/local/include -I/usr/local/include -I/usr/include -g -Wall -Werror -D_BSD_SOURCE -DXP_UNIX -DXP_UNIX -DJS_THREADSAFE -I/usr/include/xulrunner-2.0 -I/usr/include/nspr -I/opt/local/include -I/usr/local/include -I/usr/include -O2 -O2 -pipe -MT couchjs-http.o -MD -MP -MF .deps/couchjs-http.Tpo -c -o couchjs-http.o `test -f 'couch_js/http.c' || echo './'`couch_js/http.c mv -f .deps/couchjs-http.Tpo .deps/couchjs-http.Po x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../src/snappy/google-snappy -D_XOPEN_SOURCE -I/opt/local/include -I/usr/local/include -I/usr/include -g -Wall -Werror -D_BSD_SOURCE -DXP_UNIX -DXP_UNIX -DJS_THREADSAFE -I/usr/include/xulrunner-2.0 -I/usr/include/nspr -I/opt/local/include -I/usr/local/include -I/usr/include -O2 -O2 -pipe -MT couchjs-main.o -MD -MP -MF .deps/couchjs-main.Tpo -c -o couchjs-main.o `test -f 'couch_js/main.c' || echo './'`couch_js/main.c cc1: warnings being treated as errors In file included from couch_js/main.c:18:0: couch_js/sm180.c: In function ‘req_status’: couch_js/sm180.c:108:5: error: implicit declaration of function ‘INT_FITS_IN_JSVAL’ couch_js/sm180.c: In function ‘evalcx’: couch_js/sm180.c:143:5: error: implicit declaration of function ‘JS_GetStringChars’ couch_js/sm180.c:143:9: error: assignment makes pointer from integer without a cast couch_js/sm180.c: In function ‘seal’: couch_js/sm180.c:229:5: error: implicit declaration of function ‘JS_SealObject’ couch_js/sm180.c: At top level: couch_js/sm180.c:245:5: error: initialization from incompatible pointer type couch_js/sm180.c:255:5: error: initialization from incompatible pointer type couch_js/sm180.c:261:64: error: macro "JS_FS" passed 5 arguments, but takes just 4 couch_js/sm180.c:261:5: error: ‘JS_FS’ undeclared here (not in a function) couch_js/sm180.c:262:79: error: macro "JS_FS" passed 5 arguments, but takes just 4 couch_js/sm180.c:263:64: error: macro "JS_FS" passed 5 arguments, but takes just 4 couch_js/sm180.c:274:5: error: initialization from incompatible pointer type couch_js/sm180.c:284:63: error: macro "JS_FS" passed 5 arguments, but takes just 4 couch_js/sm180.c:284:5: error: missing braces around initializer couch_js/sm180.c:284:5: error: (near initialization for ‘global_functions[0]’) couch_js/sm180.c:284:5: error: initializer element is not constant couch_js/sm180.c:284:5: error: (near initialization for ‘global_functions[0].name’) couch_js/sm180.c:285:55: error: macro "JS_FS" passed 5 arguments, but takes just 4 couch_js/sm180.c:285:5: error: initializer element is not constant couch_js/sm180.c:285:5: error: (near initialization for ‘global_functions[0].call’) couch_js/sm180.c:286:61: error: macro "JS_FS" passed 5 arguments, but takes just 4 couch_js/sm180.c:286:5: error: initializer element is not constant couch_js/sm180.c:286:5: error: (near initialization for ‘global_functions[0].nargs’) couch_js/sm180.c:287:59: error: macro "JS_FS" passed 5 arguments, but takes just 4 couch_js/sm180.c:287:5: error: initializer element is not constant couch_js/sm180.c:287:5: error: (near initialization for ‘global_functions[0].flags’) couch_js/sm180.c:288:67: error: macro "JS_FS" passed 5 arguments, but takes just 4 couch_js/sm180.c:288:5: error: initializer element is not constant couch_js/sm180.c:288:5: error: (near initialization for ‘global_functions[1].name’) couch_js/sm180.c:289:59: error: macro "JS_FS" passed 5 arguments, but takes just 4 couch_js/sm180.c:289:5: error: initializer element is not constant couch_js/sm180.c:289:5: error: (near initialization for ‘global_functions[1].call’) couch_js/sm180.c:290:5: error: braces around scalar initializer couch_js/sm180.c:290:5: error: (near initialization for ‘global_functions[1].nargs’) couch_js/sm180.c:290:5: error: initialization makes integer from pointer without a cast couch_js/sm180.c:290:5: error: excess elements in scalar initializer couch_js/sm180.c:290:5: error: (near initialization for ‘global_functions[1].nargs’) couch_js/sm180.c:290:5: error: excess elements in scalar initializer couch_js/sm180.c:290:5: error: (near initialization for ‘global_functions[1].nargs’) couch_js/sm180.c:290:5: error: excess elements in scalar initializer couch_js/sm180.c:290:5: error: (near initialization for ‘global_functions[1].nargs’) couch_js/sm180.c: In function ‘main’: couch_js/sm180.c:345:9: error: passing argument 5 of ‘JS_InitClass’ from incompatible pointer type /usr/include/xulrunner-2.0/jsapi.h:2108:1: note: expected ‘JSNative’ but argument is of type ‘JSBool (*)(struct JSContext *, struct JSObject *, uintN, jsval *, jsval *)’ couch_js/sm180.c:359:12: error: assignment makes pointer from integer without a cast couch_js/sm180.c:364:5: error: implicit declaration of function ‘JS_AddRoot’ couch_js/sm180.c:379:5: error: implicit declaration of function ‘JS_RemoveRoot’ couch_js/main.c: At top level: couch_js/sm180.c:46:1: error: ‘req_open’ defined but not used couch_js/sm180.c:66:1: error: ‘req_set_hdr’ defined but not used couch_js/sm180.c:84:1: error: ‘req_send’ defined but not used couch_js/sm180.c:119:1: error: ‘evalcx’ defined but not used couch_js/sm180.c:170:1: error: ‘gc’ defined but not used couch_js/sm180.c:179:1: error: ‘print’ defined but not used couch_js/sm180.c:189:1: error: ‘quit’ defined but not used couch_js/sm180.c:199:1: error: ‘readline’ defined but not used couch_js/sm180.c:215:1: error: ‘seal’ defined but not used make[4]: *** [couchjs-main.o] Error 1 make[4]: Leaving directory `/var/tmp/portage/dev-db/couchdb-1.2.0/work/apache-couchdb-1.2.0/src/couchdb/priv' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/var/tmp/portage/dev-db/couchdb-1.2.0/work/apache-couchdb-1.2.0/src/couchdb' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/dev-db/couchdb-1.2.0/work/apache-couchdb-1.2.0/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/dev-db/couchdb-1.2.0/work/apache-couchdb-1.2.0' make: *** [all] Error 2 emake failed * ERROR: dev-db/couchdb-1.2.0 failed (compile phase): * emake failed * * Call stack: * ebuild.sh, line 85: Called src_compile * environment, line 1995: Called _eapi2_src_compile * phase-helpers.sh, line 573: Called die * The specific snippet of code: * emake || die "emake failed" * * If you need support, post the output of `emerge --info '=dev-db/couchdb-1.2.0'`, * the complete build log and the output of `emerge -pqv '=dev-db/couchdb-1.2.0'`. * The complete build log is located at '/var/tmp/portage/dev-db/couchdb-1.2.0/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-db/couchdb-1.2.0/temp/environment'. * Working directory: '/var/tmp/portage/dev-db/couchdb-1.2.0/work/apache-couchdb-1.2.0' * S: '/var/tmp/portage/dev-db/couchdb-1.2.0/work/apache-couchdb-1.2.0'