0.27 build fails on Fedora 17 (rawhide)

Bug #914495 reported by BJ Dierkes
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Gearman
Fix Released
Low
Brian Aker

Bug Description

---
Configuration summary for gearmand version 0.27
   * Installation prefix: /usr
   * System type: unknown-linux-gnu
   * Host CPU: x86_64
   * C Compiler: gcc (GCC) 4.7.0 20120106 (Red Hat 4.7.0-0.5)
   * Assertions enabled: yes
   * Debug enabled: no
   * Warnings as failure:
   * Building with libsqlite3 no
   * Building with libdrizzle no
   * Building with libmemcached yes
   * Building with libpq no
   * Building with tokyocabinet no
---
+ sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
+ sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
+ make
make all-am
make[1]: Entering directory `/builddir/build/BUILD/gearmand-0.27'
  CXX libgearman/libgearman_libgearman_la-actions.lo
/bin/sh ./libtool --silent --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -g -DBUILDING_LIBGEARMAN -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c -o libgearman/libgearman_libgearman_la-actions.lo `test -f 'libgearman/actions.cc' || echo './'`libgearman/actions.cc
  CXX libgearman/libgearman_libgearman_la-aggregator.lo
/bin/sh ./libtool --silent --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -g -DBUILDING_LIBGEARMAN -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c -o libgearman/libgearman_libgearman_la-aggregator.lo `test -f 'libgearman/aggregator.cc' || echo './'`libgearman/aggregator.cc
  CXX libgearman/libgearman_libgearman_la-allocator.lo
/bin/sh ./libtool --silent --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -g -DBUILDING_LIBGEARMAN -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c -o libgearman/libgearman_libgearman_la-allocator.lo `test -f 'libgearman/allocator.cc' || echo './'`libgearman/allocator.cc
  CXX libgearman/libgearman_libgearman_la-argument.lo
/bin/sh ./libtool --silent --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -g -DBUILDING_LIBGEARMAN -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c -o libgearman/libgearman_libgearman_la-argument.lo `test -f 'libgearman/argument.cc' || echo './'`libgearman/argument.cc
  CXX libgearman/libgearman_libgearman_la-add.lo
/bin/sh ./libtool --silent --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -g -DBUILDING_LIBGEARMAN -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c -o libgearman/libgearman_libgearman_la-add.lo `test -f 'libgearman/add.cc' || echo './'`libgearman/add.cc
  CXX libgearman/libgearman_libgearman_la-byteorder.lo
/bin/sh ./libtool --silent --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -g -DBUILDING_LIBGEARMAN -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c -o libgearman/libgearman_libgearman_la-byteorder.lo `test -f 'libgearman/byteorder.cc' || echo './'`libgearman/byteorder.cc
  CXX libgearman/libgearman_libgearman_la-client.lo
/bin/sh ./libtool --silent --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -g -DBUILDING_LIBGEARMAN -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c -o libgearman/libgearman_libgearman_la-client.lo `test -f 'libgearman/client.cc' || echo './'`libgearman/client.cc
  CXX libgearman/libgearman_libgearman_la-command.lo
/bin/sh ./libtool --silent --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -g -DBUILDING_LIBGEARMAN -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c -o libgearman/libgearman_libgearman_la-command.lo `test -f 'libgearman/command.cc' || echo './'`libgearman/command.cc
  CXX libgearman/libgearman_libgearman_la-connection.lo
/bin/sh ./libtool --silent --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -g -DBUILDING_LIBGEARMAN -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c -o libgearman/libgearman_libgearman_la-connection.lo `test -f 'libgearman/connection.cc' || echo './'`libgearman/connection.cc
  CXX libgearman/libgearman_libgearman_la-do.lo
/bin/sh ./libtool --silent --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -g -DBUILDING_LIBGEARMAN -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c -o libgearman/libgearman_libgearman_la-do.lo `test -f 'libgearman/do.cc' || echo './'`libgearman/do.cc
  CXX libgearman/libgearman_libgearman_la-error.lo
/bin/sh ./libtool --silent --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -g -DBUILDING_LIBGEARMAN -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c -o libgearman/libgearman_libgearman_la-error.lo `test -f 'libgearman/error.cc' || echo './'`libgearman/error.cc
  CXX libgearman/libgearman_libgearman_la-execute.lo
/bin/sh ./libtool --silent --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -g -DBUILDING_LIBGEARMAN -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c -o libgearman/libgearman_libgearman_la-execute.lo `test -f 'libgearman/execute.cc' || echo './'`libgearman/execute.cc
  CXX libgearman/libgearman_libgearman_la-function.lo
/bin/sh ./libtool --silent --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -g -DBUILDING_LIBGEARMAN -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c -o libgearman/libgearman_libgearman_la-function.lo `test -f 'libgearman/function.cc' || echo './'`libgearman/function.cc
  CXX libgearman/function/libgearman_libgearman_la-function_v2.lo
/bin/sh ./libtool --silent --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -g -DBUILDING_LIBGEARMAN -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c -o libgearman/function/libgearman_libgearman_la-function_v2.lo `test -f 'libgearman/function/function_v2.cc' || echo './'`libgearman/function/function_v2.cc
  CXX libgearman/function/libgearman_libgearman_la-make.lo
/bin/sh ./libtool --silent --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -g -DBUILDING_LIBGEARMAN -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c -o libgearman/function/libgearman_libgearman_la-make.lo `test -f 'libgearman/function/make.cc' || echo './'`libgearman/function/make.cc
  CXX libgearman/function/libgearman_libgearman_la-partition.lo
/bin/sh ./libtool --silent --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -g -DBUILDING_LIBGEARMAN -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c -o libgearman/function/libgearman_libgearman_la-partition.lo `test -f 'libgearman/function/partition.cc' || echo './'`libgearman/function/partition.cc
  CXX libgearman/libgearman_libgearman_la-gearman.lo
/bin/sh ./libtool --silent --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -g -DBUILDING_LIBGEARMAN -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c -o libgearman/libgearman_libgearman_la-gearman.lo `test -f 'libgearman/gearman.cc' || echo './'`libgearman/gearman.cc
  CXX libgearman/libgearman_libgearman_la-job.lo
/bin/sh ./libtool --silent --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -g -DBUILDING_LIBGEARMAN -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c -o libgearman/libgearman_libgearman_la-job.lo `test -f 'libgearman/job.cc' || echo './'`libgearman/job.cc
  CXX libgearman/libgearman_libgearman_la-kill.lo
/bin/sh ./libtool --silent --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -g -DBUILDING_LIBGEARMAN -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c -o libgearman/libgearman_libgearman_la-kill.lo `test -f 'libgearman/kill.cc' || echo './'`libgearman/kill.cc
libgearman/kill.cc: In function 'gearman_return_t gearman_kill(gearman_id_t, gearman_signal_t)':
libgearman/kill.cc:89:12: warning: unused variable 'buffer' [-Wunused-variable]
  CXX libgearman/libgearman_libgearman_la-log.lo
/bin/sh ./libtool --silent --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -g -DBUILDING_LIBGEARMAN -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c -o libgearman/libgearman_libgearman_la-log.lo `test -f 'libgearman/log.cc' || echo './'`libgearman/log.cc
  CXX libgearman/libgearman_libgearman_la-packet.lo
/bin/sh ./libtool --silent --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -g -DBUILDING_LIBGEARMAN -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c -o libgearman/libgearman_libgearman_la-packet.lo `test -f 'libgearman/packet.cc' || echo './'`libgearman/packet.cc
  CXX libgearman/libgearman_libgearman_la-parse.lo
/bin/sh ./libtool --silent --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -g -DBUILDING_LIBGEARMAN -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c -o libgearman/libgearman_libgearman_la-parse.lo `test -f 'libgearman/parse.cc' || echo './'`libgearman/parse.cc
  CXX libgearman/libgearman_libgearman_la-result.lo
/bin/sh ./libtool --silent --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -g -DBUILDING_LIBGEARMAN -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c -o libgearman/libgearman_libgearman_la-result.lo `test -f 'libgearman/result.cc' || echo './'`libgearman/result.cc
  CXX libgearman/libgearman_libgearman_la-run.lo
/bin/sh ./libtool --silent --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -g -DBUILDING_LIBGEARMAN -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c -o libgearman/libgearman_libgearman_la-run.lo `test -f 'libgearman/run.cc' || echo './'`libgearman/run.cc
  CXX libgearman/libgearman_libgearman_la-strcommand.lo
/bin/sh ./libtool --silent --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -g -DBUILDING_LIBGEARMAN -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c -o libgearman/libgearman_libgearman_la-strcommand.lo `test -f 'libgearman/strcommand.cc' || echo './'`libgearman/strcommand.cc
  CXX libgearman/libgearman_libgearman_la-strerror.lo
/bin/sh ./libtool --silent --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -g -DBUILDING_LIBGEARMAN -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c -o libgearman/libgearman_libgearman_la-strerror.lo `test -f 'libgearman/strerror.cc' || echo './'`libgearman/strerror.cc
  CXX libgearman/libgearman_libgearman_la-string.lo
/bin/sh ./libtool --silent --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -g -DBUILDING_LIBGEARMAN -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c -o libgearman/libgearman_libgearman_la-string.lo `test -f 'libgearman/string.cc' || echo './'`libgearman/string.cc
  CXX libgearman/libgearman_libgearman_la-task.lo
/bin/sh ./libtool --silent --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -g -DBUILDING_LIBGEARMAN -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c -o libgearman/libgearman_libgearman_la-task.lo `test -f 'libgearman/task.cc' || echo './'`libgearman/task.cc
  CXX libgearman/libgearman_libgearman_la-task_attr.lo
/bin/sh ./libtool --silent --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -g -DBUILDING_LIBGEARMAN -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c -o libgearman/libgearman_libgearman_la-task_attr.lo `test -f 'libgearman/task_attr.cc' || echo './'`libgearman/task_attr.cc
  CXX libgearman/libgearman_libgearman_la-unique.lo
/bin/sh ./libtool --silent --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -g -DBUILDING_LIBGEARMAN -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c -o libgearman/libgearman_libgearman_la-unique.lo `test -f 'libgearman/unique.cc' || echo './'`libgearman/unique.cc
  CXX libgearman/libgearman_libgearman_la-universal.lo
/bin/sh ./libtool --silent --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -g -DBUILDING_LIBGEARMAN -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c -o libgearman/libgearman_libgearman_la-universal.lo `test -f 'libgearman/universal.cc' || echo './'`libgearman/universal.cc
  CXX libgearman/libgearman_libgearman_la-vector.lo
/bin/sh ./libtool --silent --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -g -DBUILDING_LIBGEARMAN -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c -o libgearman/libgearman_libgearman_la-vector.lo `test -f 'libgearman/vector.cc' || echo './'`libgearman/vector.cc
  CXX libgearman/libgearman_libgearman_la-worker.lo
/bin/sh ./libtool --silent --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -g -DBUILDING_LIBGEARMAN -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c -o libgearman/libgearman_libgearman_la-worker.lo `test -f 'libgearman/worker.cc' || echo './'`libgearman/worker.cc
  CXXLD libgearman/libgearman.la
  CXX libtest/libtest_libtest_la-binaries.lo
/bin/sh ./libtool --silent --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -g -Wno-conversion -DBUILDING_LIBTEST -pthread -DLIBTEST_TEMP="\"tmp_chroot\"" -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c -o libtest/libtest_libtest_la-binaries.lo `test -f 'libtest/binaries.cc' || echo './'`libtest/binaries.cc
  CXX libtest/libtest_libtest_la-cmdline.lo
/bin/sh ./libtool --silent --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -g -Wno-conversion -DBUILDING_LIBTEST -pthread -DLIBTEST_TEMP="\"tmp_chroot\"" -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c -o libtest/libtest_libtest_la-cmdline.lo `test -f 'libtest/cmdline.cc' || echo './'`libtest/cmdline.cc
libtest/cmdline.cc: In member function 'libtest::Application::error_t libtest::Application::wait()':
libtest/cmdline.cc:172:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
libtest/cmdline.cc:199:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  CXX libtest/libtest_libtest_la-core.lo
/bin/sh ./libtool --silent --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -g -Wno-conversion -DBUILDING_LIBTEST -pthread -DLIBTEST_TEMP="\"tmp_chroot\"" -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c -o libtest/libtest_libtest_la-core.lo `test -f 'libtest/core.cc' || echo './'`libtest/core.cc
  CXX libtest/libtest_libtest_la-dream.lo
/bin/sh ./libtool --silent --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -g -Wno-conversion -DBUILDING_LIBTEST -pthread -DLIBTEST_TEMP="\"tmp_chroot\"" -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c -o libtest/libtest_libtest_la-dream.lo `test -f 'libtest/dream.cc' || echo './'`libtest/dream.cc
  CXX libtest/libtest_libtest_la-framework.lo
/bin/sh ./libtool --silent --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -g -Wno-conversion -DBUILDING_LIBTEST -pthread -DLIBTEST_TEMP="\"tmp_chroot\"" -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c -o libtest/libtest_libtest_la-framework.lo `test -f 'libtest/framework.cc' || echo './'`libtest/framework.cc
  CXX libtest/libtest_libtest_la-has.lo
/bin/sh ./libtool --silent --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -g -Wno-conversion -DBUILDING_LIBTEST -pthread -DLIBTEST_TEMP="\"tmp_chroot\"" -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c -o libtest/libtest_libtest_la-has.lo `test -f 'libtest/has.cc' || echo './'`libtest/has.cc
  CXX libtest/libtest_libtest_la-http.lo
/bin/sh ./libtool --silent --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -g -Wno-conversion -DBUILDING_LIBTEST -pthread -DLIBTEST_TEMP="\"tmp_chroot\"" -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c -o libtest/libtest_libtest_la-http.lo `test -f 'libtest/http.cc' || echo './'`libtest/http.cc
libtest/http.cc: In function 'size_t libtest::http::http_get_result_callback(void*, size_t, size_t, void*)':
libtest/http.cc:38:12: warning: unused variable 'body_size' [-Wunused-variable]
libtest/http.cc: At global scope:
libtest/http.cc:49:13: warning: 'void libtest::http::init(CURL*, const string&)' defined but not used [-Wunused-function]
  CXX libtest/libtest_libtest_la-is_local.lo
/bin/sh ./libtool --silent --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -g -Wno-conversion -DBUILDING_LIBTEST -pthread -DLIBTEST_TEMP="\"tmp_chroot\"" -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c -o libtest/libtest_libtest_la-is_local.lo `test -f 'libtest/is_local.cc' || echo './'`libtest/is_local.cc
  CXX libtest/libtest_libtest_la-killpid.lo
/bin/sh ./libtool --silent --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -g -Wno-conversion -DBUILDING_LIBTEST -pthread -DLIBTEST_TEMP="\"tmp_chroot\"" -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c -o libtest/libtest_libtest_la-killpid.lo `test -f 'libtest/killpid.cc' || echo './'`libtest/killpid.cc
  CXX libtest/libtest_libtest_la-libtool.lo
/bin/sh ./libtool --silent --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -g -Wno-conversion -DBUILDING_LIBTEST -pthread -DLIBTEST_TEMP="\"tmp_chroot\"" -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c -o libtest/libtest_libtest_la-libtool.lo `test -f 'libtest/libtool.cc' || echo './'`libtest/libtool.cc
  CXX libtest/libtest_libtest_la-port.lo
/bin/sh ./libtool --silent --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -g -Wno-conversion -DBUILDING_LIBTEST -pthread -DLIBTEST_TEMP="\"tmp_chroot\"" -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c -o libtest/libtest_libtest_la-port.lo `test -f 'libtest/port.cc' || echo './'`libtest/port.cc
  CXX libtest/libtest_libtest_la-runner.lo
/bin/sh ./libtool --silent --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -g -Wno-conversion -DBUILDING_LIBTEST -pthread -DLIBTEST_TEMP="\"tmp_chroot\"" -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c -o libtest/libtest_libtest_la-runner.lo `test -f 'libtest/runner.cc' || echo './'`libtest/runner.cc
  CXX libtest/libtest_libtest_la-server.lo
/bin/sh ./libtool --silent --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -g -Wno-conversion -DBUILDING_LIBTEST -pthread -DLIBTEST_TEMP="\"tmp_chroot\"" -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c -o libtest/libtest_libtest_la-server.lo `test -f 'libtest/server.cc' || echo './'`libtest/server.cc
  CXX libtest/libtest_libtest_la-server_container.lo
/bin/sh ./libtool --silent --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -g -Wno-conversion -DBUILDING_LIBTEST -pthread -DLIBTEST_TEMP="\"tmp_chroot\"" -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c -o libtest/libtest_libtest_la-server_container.lo `test -f 'libtest/server_container.cc' || echo './'`libtest/server_container.cc
  CXX libtest/libtest_libtest_la-signal.lo
/bin/sh ./libtool --silent --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -g -Wno-conversion -DBUILDING_LIBTEST -pthread -DLIBTEST_TEMP="\"tmp_chroot\"" -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c -o libtest/libtest_libtest_la-signal.lo `test -f 'libtest/signal.cc' || echo './'`libtest/signal.cc
  CXX libtest/libtest_libtest_la-socket.lo
/bin/sh ./libtool --silent --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -g -Wno-conversion -DBUILDING_LIBTEST -pthread -DLIBTEST_TEMP="\"tmp_chroot\"" -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c -o libtest/libtest_libtest_la-socket.lo `test -f 'libtest/socket.cc' || echo './'`libtest/socket.cc
  CXX libtest/libtest_libtest_la-strerror.lo
/bin/sh ./libtool --silent --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -g -Wno-conversion -DBUILDING_LIBTEST -pthread -DLIBTEST_TEMP="\"tmp_chroot\"" -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c -o libtest/libtest_libtest_la-strerror.lo `test -f 'libtest/strerror.cc' || echo './'`libtest/strerror.cc
  CXX libtest/libtest_libtest_la-test.lo
/bin/sh ./libtool --silent --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -g -Wno-conversion -DBUILDING_LIBTEST -pthread -DLIBTEST_TEMP="\"tmp_chroot\"" -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c -o libtest/libtest_libtest_la-test.lo `test -f 'libtest/test.cc' || echo './'`libtest/test.cc
  CXX libtest/libtest_libtest_la-vchar.lo
/bin/sh ./libtool --silent --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -g -Wno-conversion -DBUILDING_LIBTEST -pthread -DLIBTEST_TEMP="\"tmp_chroot\"" -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c -o libtest/libtest_libtest_la-vchar.lo `test -f 'libtest/vchar.cc' || echo './'`libtest/vchar.cc
  CXX libtest/libtest_libtest_la-memcached.lo
/bin/sh ./libtool --silent --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -g -Wno-conversion -DBUILDING_LIBTEST -pthread -DLIBTEST_TEMP="\"tmp_chroot\"" -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c -o libtest/libtest_libtest_la-memcached.lo `test -f 'libtest/memcached.cc' || echo './'`libtest/memcached.cc
  CXX libtest/libtest_libtest_la-blobslap_worker.lo
/bin/sh ./libtool --silent --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -g -Wno-conversion -DBUILDING_LIBTEST -pthread -DLIBTEST_TEMP="\"tmp_chroot\"" -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c -o libtest/libtest_libtest_la-blobslap_worker.lo `test -f 'libtest/blobslap_worker.cc' || echo './'`libtest/blobslap_worker.cc
  CXX libtest/libtest_libtest_la-gearmand.lo
/bin/sh ./libtool --silent --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -g -Wno-conversion -DBUILDING_LIBTEST -pthread -DLIBTEST_TEMP="\"tmp_chroot\"" -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c -o libtest/libtest_libtest_la-gearmand.lo `test -f 'libtest/gearmand.cc' || echo './'`libtest/gearmand.cc
  CXX util/libtest_libtest_la-instance.lo
/bin/sh ./libtool --silent --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -g -Wno-conversion -DBUILDING_LIBTEST -pthread -DLIBTEST_TEMP="\"tmp_chroot\"" -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c -o util/libtest_libtest_la-instance.lo `test -f 'util/instance.cc' || echo './'`util/instance.cc
util/instance.cc: In member function 'void datadifferential::util::Instance::close_socket()':
util/instance.cc:297:12: error: '::close' has not been declared
make[1]: *** [util/libtest_libtest_la-instance.lo] Error 1
make[1]: Leaving directory `/builddir/build/BUILD/gearmand-0.27'
make: *** [all] Error 2

Brian Aker (brianaker)
Changed in gearmand:
assignee: nobody → Brian Aker (brianaker)
importance: Undecided → Low
status: New → In Progress
Revision history for this message
Brian Aker (brianaker) wrote :

Got it:

#include <unistd.h>

Revision history for this message
BJ Dierkes (derks) wrote :

pidfile.cc and logfile.cc also needed the patch. Patch attached.

Revision history for this message
BJ Dierkes (derks) wrote :

I now get the following build failure on 64bit only:

  CXXLD libgearman/libgearman.la
  CCLD libhostile/libhostile.la
  CXXLD benchmark/libbenchmark.la
  CXXLD libgearman-server/libgearman-server.la
  CXXLD gearmand/hostile_gearmand
  CXXLD libtest/libtest.la
copying selected object files to avoid basename conflicts...
libtool: link: cannot find the library `libgearman-server/libgearman-server.la' or unhandled argument `libgearman-server/libgearman-server.la'
make[1]: *** [gearmand/hostile_gearmand] Error 1
make[1]: *** Waiting for unfinished jobs....
  CXXLD bin/gearman
gearmand/gearmand.cc: In member function 'void gearmand_log_info_st::init()':
gearmand/gearmand.cc:118:41: warning: ignoring return value of 'char* getcwd(char*, size_t)', declared with attribute warn_unused_result [-Wunused-result]

Revision history for this message
Lyn T Robertson (lyn-robertson) wrote :

For what it is worth, I am getting the same error when building 0.27 on 64-bit RHEL 6.2:

  CXXLD libgearman/libgearman.la
  CCLD libhostile/libhostile.la
  CXXLD benchmark/libbenchmark.la
  CXXLD gearmand/hostile_gearmand
  CXXLD bin/gearman
  CCLD libgearman-1.0/t/c_test
libtool: link: cannot find the library `libgearman-server/libgearman-server.la' or unhandled argument `libgearman-server/libgearman-server.la'
make[1]: *** [gearmand/hostile_gearmand] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/root/rpmbuild/BUILD/gearmand-0.27'
make: *** [all] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.FNGkxP (%build)

RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.FNGkxP (%build)

Revision history for this message
Brian Aker (brianaker) wrote : Re: [Bug 914495] Re: 0.27 build fails on Fedora 17 (rawhide)
Download full text (26.8 KiB)

What configure options are you passing? Build command?

- Brevity is the Soul of Wit, Grammar is the Achilles' Heel

On Jan 13, 2012, at 17:15, Lyn T Robertson <email address hidden> wrote:

> For what it is worth, I am getting the same error when building 0.27 on
> 64-bit RHEL 6.2:
>
> CXXLD libgearman/libgearman.la
> CCLD libhostile/libhostile.la
> CXXLD benchmark/libbenchmark.la
> CXXLD gearmand/hostile_gearmand
> CXXLD bin/gearman
> CCLD libgearman-1.0/t/c_test
> libtool: link: cannot find the library `libgearman-server/libgearman-server.la' or unhandled argument `libgearman-server/libgearman-server.la'
> make[1]: *** [gearmand/hostile_gearmand] Error 1
> make[1]: *** Waiting for unfinished jobs....
> make[1]: Leaving directory `/root/rpmbuild/BUILD/gearmand-0.27'
> make: *** [all] Error 2
> error: Bad exit status from /var/tmp/rpm-tmp.FNGkxP (%build)
>
>
> RPM build errors:
> Bad exit status from /var/tmp/rpm-tmp.FNGkxP (%build)
>
> --
> You received this bug notification because you are a bug assignee.
> https://bugs.launchpad.net/bugs/914495
>
> Title:
> 0.27 build fails on Fedora 17 (rawhide)
>
> Status in Gearman Server and Client Libraries:
> In Progress
>
> Bug description:
> ---
> Configuration summary for gearmand version 0.27
> * Installation prefix: /usr
> * System type: unknown-linux-gnu
> * Host CPU: x86_64
> * C Compiler: gcc (GCC) 4.7.0 20120106 (Red Hat 4.7.0-0.5)
> * Assertions enabled: yes
> * Debug enabled: no
> * Warnings as failure:
> * Building with libsqlite3 no
> * Building with libdrizzle no
> * Building with libmemcached yes
> * Building with libpq no
> * Building with tokyocabinet no
> ---
> + sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
> + sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
> + make
> make all-am
> make[1]: Entering directory `/builddir/build/BUILD/gearmand-0.27'
> CXX libgearman/libgearman_libgearman_la-actions.lo
> /bin/sh ./libtool --silent --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -g -DBUILDING_LIBGEARMAN -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c -o libgearman/libgearman_libgearman_la-actions.lo `test -f 'libgearman/actions.cc' || echo './'`libgearman/actions.cc
> CXX libgearman/libgearman_libgearman_la-aggregator.lo
> /bin/sh ./libtool --silent --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -g -DBUILDING_LIBGEARMAN -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c -o libgearman/libgearman_libgearman_la-aggregator.lo `test -f 'libgearman/aggregator.cc' || echo './'`libgearman/aggregator.cc
> CXX libgearman/libgearman_libgearman_la-allocator.lo
> /bin/sh ./libtool --silent --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -g -DBUILDING_LIBGEARMAN -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic...

Revision history for this message
BJ Dierkes (derks) wrote :

This is what RPM is generating on F17 Rawhide 64bit:

+ ./configure \
--build=x86_64-unknown-linux-gnu \
--host=x86_64-unknown-linux-gnu \
--program-prefix= \
--disable-dependency-tracking \
--prefix=/usr \
--exec-prefix=/usr \
--bindir=/usr/bin \
--sbindir=/usr/sbin \
--sysconfdir=/etc \
--datadir=/usr/share \
--includedir=/usr/include \
--libdir=/usr/lib64 \
--libexecdir=/usr/libexec \
--localstatedir=/var \
--sharedstatedir=/var/lib \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--disable-static \
--disable-rpath \
--enable-tcmalloc

Revision history for this message
Lyn T Robertson (lyn-robertson) wrote :

Here is the build command I am using:
sudo LIBRARY_PATH=/usr/lib64/boost141:/usr/lib/boost141 LD_LIBRARY_PATH=/usr/lib64/boost141:/usr/lib/boost141 CPATH=/usr/include/boost141 rpmbuild -tb gearmand-0.27.tar.gz

Revision history for this message
Lyn T Robertson (lyn-robertson) wrote :

Here is what the rpmbuild command is generating on RHEL 6.2 64-bit:
+ ./configure
--host=x86_64-unknown-linux-gnu
--build=x86_64-unknown-linux-gnu
--program-prefix=
--prefix=/usr
--exec-prefix=/usr
--bindir=/usr/bin
--sbindir=/usr/sbin
--sysconfdir=/etc
--datadir=/usr/share
--includedir=/usr/include
--libdir=/usr/lib64
--libexecdir=/usr/libexec
--localstatedir=/var
--sharedstatedir=/var/lib
--mandir=/usr/share/man
--infodir=/usr/share/info
--disable-libpq
--disable-libtokyocabinet
--disable-libdrizzle
--disable-libmemcached

Revision history for this message
Jeff Sheltren (jeffsheltren) wrote :

I can reproduce the error:
libtool: link: cannot find the library `libgearman-server/libgearman-server.la' or unhandled argument `libgearman-server/libgearman-server.la'

I'm building using the spec file under a 'mock' centos 6 environment. I went in after the build failure and see that libgearman-server/libgearman-server.la does exist.

Revision history for this message
Brian Aker (brianaker) wrote :

This is a race condition in autoconf. I have a work around that I will push.

Brian Aker (brianaker)
Changed in gearmand:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.