On 20-May-14, at 10:09 PM, John David Anglin wrote:

It seems $(PTHREAD_CFLAGS) needs to be added to a lot of *_LDADD statements in Makefile.in. This causes -lpthread to be added to link command in the correct location.

With this, the build completes. Attached last bit of log showing symbol warnings.

Regards,
Dave
--
John David Anglin       [email protected]


dpkg-gensymbols: warning: some new symbols appeared in the symbols file: see 
diff output below
dpkg-gensymbols: warning: debian/librados2/DEBIAN/symbols doesn't match 
completely debian/librados2.symbols
--- debian/librados2.symbols (librados2_0.80.1-1_hppa)
+++ dpkg-gensymbolsMRdP02       2014-05-21 01:39:59.979380501 -0400
@@ -1,4 +1,10 @@
 librados.so.2 librados2 #MINVER#
+ AO_compare_double_and_swap_double_emulation@Base 0.80.1-1
+ AO_fetch_compare_and_swap_emulation@Base 0.80.1-1
+ AO_locks@Base 0.80.1-1
+ AO_pause@Base 0.80.1-1
+ AO_pt_lock@Base 0.80.1-1
+ AO_store_full_emulation@Base 0.80.1-1
  CEPH_CONF_FILE_DEFAULT@Base 0.72.2
  (regex|c++)"^_.*" 0.80
  (regex)"^ceph_ver__[0-9a-f]{40}@Base$" 0.80
dpkg-gensymbols: warning: some new symbols appeared in the symbols file: see 
diff output below
dpkg-gensymbols: warning: debian/libcephfs1/DEBIAN/symbols doesn't match 
completely debian/libcephfs1.symbols
--- debian/libcephfs1.symbols (libcephfs1_0.80.1-1_hppa)
+++ dpkg-gensymbolswaqgIS       2014-05-21 01:40:38.879824500 -0400
@@ -1,4 +1,10 @@
 libcephfs.so.1 libcephfs1 #MINVER#
+ AO_compare_double_and_swap_double_emulation@Base 0.80.1-1
+ AO_fetch_compare_and_swap_emulation@Base 0.80.1-1
+ AO_locks@Base 0.80.1-1
+ AO_pause@Base 0.80.1-1
+ AO_pt_lock@Base 0.80.1-1
+ AO_store_full_emulation@Base 0.80.1-1
  CEPH_CONF_FILE_DEFAULT@Base 0.72.2
  (regex|c++)"^_.*" 0.80
  (regex)"^ceph_ver__[0-9a-f]{40}@Base$" 0.80
make[1]: Leaving directory '/home/dave/debian/ceph/ceph-0.80.1'
   dh_shlibdeps -a -O--parallel
dpkg-shlibdeps: warning: 
debian/ceph/usr/lib/hppa-linux-gnu/rados-classes/libcls_kvs.so contains an 
unresolvable reference to symbol _ZN4ceph6buffer4list6appendERKS1_: it's 
probably a plugin
dpkg-shlibdeps: warning: 20 other similar warnings have been skipped (use -v to 
see them all)
dpkg-shlibdeps: warning: 
debian/ceph/usr/lib/hppa-linux-gnu/ceph/erasure-code/libec_jerasure_sse3.so 
contains an unresolvable reference to symbol 
_ZN4ceph18__ceph_assert_failEPKcS1_iS1_: it's probably a plugin
dpkg-shlibdeps: warning: 26 other similar warnings have been skipped (use -v to 
see them all)
dpkg-shlibdeps: warning: 
debian/ceph/usr/lib/hppa-linux-gnu/rados-classes/libcls_rgw.so contains an 
unresolvable reference to symbol _ZN4ceph6buffer4list7copy_inEjjPKc: it's 
probably a plugin
dpkg-shlibdeps: warning: 26 other similar warnings have been skipped (use -v to 
see them all)
dpkg-shlibdeps: warning: 
debian/ceph/usr/lib/hppa-linux-gnu/rados-classes/libcls_version.so contains an 
unresolvable reference to symbol _ZN4ceph6buffer4list6appendEPKcj: it's 
probably a plugin
dpkg-shlibdeps: warning: 11 other similar warnings have been skipped (use -v to 
see them all)
dpkg-shlibdeps: warning: 
debian/ceph/usr/lib/hppa-linux-gnu/rados-classes/libcls_user.so contains an 
unresolvable reference to symbol _Z22cls_cxx_map_remove_keyPvRKSs: it's 
probably a plugin
dpkg-shlibdeps: warning: 16 other similar warnings have been skipped (use -v to 
see them all)
dpkg-shlibdeps: warning: 
debian/ceph/usr/lib/hppa-linux-gnu/rados-classes/libcls_replica_log.so contains 
an unresolvable reference to symbol _ZN4ceph6buffer4list8iterator7advanceEi: 
it's probably a plugin
dpkg-shlibdeps: warning: 11 other similar warnings have been skipped (use -v to 
see them all)
dpkg-shlibdeps: warning: 
debian/ceph/usr/lib/hppa-linux-gnu/rados-classes/libcls_refcount.so contains an 
unresolvable reference to symbol cls_register: it's probably a plugin
dpkg-shlibdeps: warning: 17 other similar warnings have been skipped (use -v to 
see them all)
dpkg-shlibdeps: warning: 
debian/ceph/usr/lib/hppa-linux-gnu/rados-classes/libcls_rbd.so contains an 
unresolvable reference to symbol _Z22cls_cxx_map_remove_keyPvRKSs: it's 
probably a plugin
dpkg-shlibdeps: warning: 26 other similar warnings have been skipped (use -v to 
see them all)
dpkg-shlibdeps: warning: 
debian/ceph/usr/lib/hppa-linux-gnu/ceph/erasure-code/libec_jerasure_generic.so 
contains an unresolvable reference to symbol _ZN4ceph6buffer4list6appendEPKcj: 
it's probably a plugin
dpkg-shlibdeps: warning: 26 other similar warnings have been skipped (use -v to 
see them all)
dpkg-shlibdeps: warning: 
debian/ceph/usr/lib/hppa-linux-gnu/rados-classes/libcls_statelog.so contains an 
unresolvable reference to symbol _ZN4ceph6buffer3ptrC1ERKS1_: it's probably a 
plugin
dpkg-shlibdeps: warning: 16 other similar warnings have been skipped (use -v to 
see them all)
dpkg-shlibdeps: warning: 
debian/ceph/usr/lib/hppa-linux-gnu/ceph/erasure-code/libec_jerasure.so contains 
an unresolvable reference to symbol _ZN4ceph6buffer4list6appendEPKcj: it's 
probably a plugin
dpkg-shlibdeps: warning: 22 other similar warnings have been skipped (use -v to 
see them all)
dpkg-shlibdeps: warning: 
debian/ceph/usr/lib/hppa-linux-gnu/rados-classes/libcls_lock.so contains an 
unresolvable reference to symbol _ZN4ceph6buffer4list8iterator7copy_inEjPKc: 
it's probably a plugin
dpkg-shlibdeps: warning: 16 other similar warnings have been skipped (use -v to 
see them all)
dpkg-shlibdeps: warning: 
debian/ceph/usr/lib/hppa-linux-gnu/ceph/erasure-code/libec_jerasure_sse4.so 
contains an unresolvable reference to symbol g_ceph_context: it's probably a 
plugin
dpkg-shlibdeps: warning: 26 other similar warnings have been skipped (use -v to 
see them all)
dpkg-shlibdeps: warning: 
debian/ceph/usr/lib/hppa-linux-gnu/rados-classes/libcls_log.so contains an 
unresolvable reference to symbol cls_register: it's probably a plugin
dpkg-shlibdeps: warning: 18 other similar warnings have been skipped (use -v to 
see them all)
dpkg-shlibdeps: warning: 
debian/ceph/usr/lib/hppa-linux-gnu/rados-classes/libcls_hello.so contains an 
unresolvable reference to symbol _Z12cls_cxx_statPvPyPl: it's probably a plugin
dpkg-shlibdeps: warning: 14 other similar warnings have been skipped (use -v to 
see them all)
dpkg-shlibdeps: warning: package could avoid a useless dependency if 
debian/ceph/usr/bin/monmaptool debian/ceph/usr/bin/ceph-osd 
debian/ceph/usr/bin/crushtool debian/ceph/usr/bin/ceph_mon_store_converter 
debian/ceph/usr/bin/osdmaptool debian/ceph/usr/bin/ceph-mon were not linked 
against libplds4.so (they use none of the library's symbols)
dpkg-shlibdeps: warning: package could avoid a useless dependency if 
debian/ceph-common/usr/bin/ceph-authtool debian/ceph-common/usr/bin/ceph-conf 
debian/ceph-common/usr/bin/ceph-dencoder were not linked against libplds4.so 
(they use none of the library's symbols)
dpkg-shlibdeps: warning: package could avoid a useless dependency if 
debian/ceph-common/usr/bin/ceph-syn was not linked against libedit.so.2 (it 
uses none of the library's symbols)
dpkg-shlibdeps: warning: package could avoid a useless dependency if 
debian/ceph-mds/usr/bin/ceph-mds was not linked against libplds4.so (it uses 
none of the library's symbols)
dpkg-shlibdeps: warning: package could avoid a useless dependency if 
debian/ceph-fs-common/usr/bin/cephfs was not linked against 
libboost_thread.so.1.54.0 (it uses none of the library's symbols)
dpkg-shlibdeps: warning: symbol pthread_create used by 
debian/librados2/usr/lib/hppa-linux-gnu/librados.so.2.0.0 found in none of the 
libraries
dpkg-shlibdeps: warning: symbol pthread_mutex_trylock used by 
debian/librados2/usr/lib/hppa-linux-gnu/librados.so.2.0.0 found in none of the 
libraries
dpkg-shlibdeps: warning: symbol pthread_rwlock_unlock used by 
debian/librados2/usr/lib/hppa-linux-gnu/librados.so.2.0.0 found in none of the 
libraries
dpkg-shlibdeps: warning: symbol pthread_mutexattr_settype used by 
debian/librados2/usr/lib/hppa-linux-gnu/librados.so.2.0.0 found in none of the 
libraries
dpkg-shlibdeps: warning: symbol pthread_rwlock_destroy used by 
debian/librados2/usr/lib/hppa-linux-gnu/librados.so.2.0.0 found in none of the 
libraries
dpkg-shlibdeps: warning: symbol pthread_spin_lock used by 
debian/librados2/usr/lib/hppa-linux-gnu/librados.so.2.0.0 found in none of the 
libraries
dpkg-shlibdeps: warning: symbol pthread_rwlock_wrlock used by 
debian/librados2/usr/lib/hppa-linux-gnu/librados.so.2.0.0 found in none of the 
libraries
dpkg-shlibdeps: warning: symbol pthread_rwlock_init used by 
debian/librados2/usr/lib/hppa-linux-gnu/librados.so.2.0.0 found in none of the 
libraries
dpkg-shlibdeps: warning: symbol pthread_rwlock_rdlock used by 
debian/librados2/usr/lib/hppa-linux-gnu/librados.so.2.0.0 found in none of the 
libraries
dpkg-shlibdeps: warning: symbol pthread_mutexattr_init used by 
debian/librados2/usr/lib/hppa-linux-gnu/librados.so.2.0.0 found in none of the 
libraries
dpkg-shlibdeps: warning: 9 other similar warnings have been skipped (use -v to 
see them all)
dpkg-shlibdeps: warning: package could avoid a useless dependency if 
debian/librados2/usr/lib/hppa-linux-gnu/librados.so.2.0.0 was not linked 
against libplds4.so (it uses none of the library's symbols)
dpkg-shlibdeps: warning: symbol pthread_rwlock_unlock used by 
debian/librbd1/usr/lib/hppa-linux-gnu/librbd.so.1.0.0 found in none of the 
libraries
dpkg-shlibdeps: warning: symbol pthread_rwlock_rdlock used by 
debian/librbd1/usr/lib/hppa-linux-gnu/librbd.so.1.0.0 found in none of the 
libraries
dpkg-shlibdeps: warning: symbol pthread_rwlock_init used by 
debian/librbd1/usr/lib/hppa-linux-gnu/librbd.so.1.0.0 found in none of the 
libraries
dpkg-shlibdeps: warning: symbol pthread_rwlock_wrlock used by 
debian/librbd1/usr/lib/hppa-linux-gnu/librbd.so.1.0.0 found in none of the 
libraries
dpkg-shlibdeps: warning: symbol pthread_rwlock_destroy used by 
debian/librbd1/usr/lib/hppa-linux-gnu/librbd.so.1.0.0 found in none of the 
libraries
dpkg-shlibdeps: warning: symbol pthread_rwlock_wrlock used by 
debian/libcephfs1/usr/lib/hppa-linux-gnu/libcephfs.so.1.0.0 found in none of 
the libraries
dpkg-shlibdeps: warning: symbol pthread_mutexattr_init used by 
debian/libcephfs1/usr/lib/hppa-linux-gnu/libcephfs.so.1.0.0 found in none of 
the libraries
dpkg-shlibdeps: warning: symbol pthread_spin_destroy used by 
debian/libcephfs1/usr/lib/hppa-linux-gnu/libcephfs.so.1.0.0 found in none of 
the libraries
dpkg-shlibdeps: warning: symbol pthread_mutex_trylock used by 
debian/libcephfs1/usr/lib/hppa-linux-gnu/libcephfs.so.1.0.0 found in none of 
the libraries
dpkg-shlibdeps: warning: symbol pthread_mutexattr_destroy used by 
debian/libcephfs1/usr/lib/hppa-linux-gnu/libcephfs.so.1.0.0 found in none of 
the libraries
dpkg-shlibdeps: warning: symbol pthread_kill used by 
debian/libcephfs1/usr/lib/hppa-linux-gnu/libcephfs.so.1.0.0 found in none of 
the libraries
dpkg-shlibdeps: warning: symbol pthread_spin_init used by 
debian/libcephfs1/usr/lib/hppa-linux-gnu/libcephfs.so.1.0.0 found in none of 
the libraries
dpkg-shlibdeps: warning: symbol pthread_sigmask used by 
debian/libcephfs1/usr/lib/hppa-linux-gnu/libcephfs.so.1.0.0 found in none of 
the libraries
dpkg-shlibdeps: warning: symbol pthread_attr_setstacksize used by 
debian/libcephfs1/usr/lib/hppa-linux-gnu/libcephfs.so.1.0.0 found in none of 
the libraries
dpkg-shlibdeps: warning: symbol pthread_spin_unlock used by 
debian/libcephfs1/usr/lib/hppa-linux-gnu/libcephfs.so.1.0.0 found in none of 
the libraries
dpkg-shlibdeps: warning: 9 other similar warnings have been skipped (use -v to 
see them all)
dpkg-shlibdeps: warning: package could avoid a useless dependency if 
debian/libcephfs1/usr/lib/hppa-linux-gnu/libcephfs.so.1.0.0 was not linked 
against libedit.so.2 (it uses none of the library's symbols)
dpkg-shlibdeps: warning: package could avoid a useless dependency if 
debian/rest-bench/usr/bin/rest-bench was not linked against libplds4.so (it 
uses none of the library's symbols)
dpkg-shlibdeps: warning: package could avoid a useless dependency if 
debian/ceph-test/usr/lib/ceph/bin/ceph-monstore-tool 
debian/ceph-test/usr/lib/ceph/bin/ceph_test_rewrite_latency 
debian/ceph-test/usr/lib/ceph/bin/ceph_bench_log 
debian/ceph-test/usr/lib/ceph/bin/ceph_test_keys 
debian/ceph-test/usr/lib/ceph/bin/ceph_test_objectstore 
debian/ceph-test/usr/lib/ceph/bin/ceph_streamtest 
debian/ceph-test/usr/lib/ceph/bin/ceph_test_msgr 
debian/ceph-test/usr/lib/ceph/bin/ceph_test_keyvaluedb_iterators 
debian/ceph-test/usr/lib/ceph/bin/ceph_filestore_tool 
debian/ceph-test/usr/lib/ceph/bin/ceph_test_trans 
debian/ceph-test/usr/lib/ceph/bin/ceph-kvstore-tool 
debian/ceph-test/usr/lib/ceph/bin/ceph_test_crypto 
debian/ceph-test/usr/lib/ceph/bin/ceph_filestore_dump 
debian/ceph-test/usr/lib/ceph/bin/ceph_test_filejournal 
debian/ceph-test/usr/lib/ceph/bin/ceph_test_keyvaluedb_atomicity 
debian/ceph-test/usr/lib/ceph/bin/ceph_test_snap_mapper 
debian/ceph-test/usr/lib/ceph/bin/ceph_test_filestore_idempotent 
debian/ceph-test/usr/lib/ceph/bin/ceph_dupstore 
debian/ceph-test/usr/lib/ceph/bin/ceph_test_signal_handlers 
debian/ceph-test/usr/lib/ceph/bin/ceph_test_object_map 
debian/ceph-test/usr/lib/ceph/bin/ceph_psim 
debian/ceph-test/usr/lib/ceph/bin/ceph-osdomap-tool 
debian/ceph-test/usr/lib/ceph/bin/ceph_test_filestore_idempotent_sequence 
debian/ceph-test/usr/lib/ceph/bin/ceph_xattr_bench 
debian/ceph-test/usr/lib/ceph/bin/ceph_test_objectstore_workloadgen 
debian/ceph-test/usr/lib/ceph/bin/ceph_test_mon_workloadgen 
debian/ceph-test/usr/lib/ceph/bin/ceph_test_objectcacher_stress 
debian/ceph-test/usr/lib/ceph/bin/ceph_test_timers were not linked against 
libplds4.so (they use none of the library's symbols)
   dh_installdeb -a -O--parallel
   dh_gencontrol -a -O--parallel
dpkg-gencontrol: warning: package ceph-dbg: unused substitution variable 
${misc:Pre-Depends}
dpkg-gencontrol: warning: package librados2-dbg: unused substitution variable 
${misc:Pre-Depends}
dpkg-gencontrol: warning: package librbd1-dbg: unused substitution variable 
${misc:Pre-Depends}
dpkg-gencontrol: warning: package libcephfs1-dbg: unused substitution variable 
${misc:Pre-Depends}
dpkg-gencontrol: warning: package python-ceph: unused substitution variable 
${python:Versions}
   dh_md5sums -a -O--parallel
   dh_builddeb -a -O--parallel
dpkg-deb: building package `ceph' in `../ceph_0.80.1-1_hppa.deb'.
dpkg-deb: building package `ceph-dbg' in `../ceph-dbg_0.80.1-1_hppa.deb'.
dpkg-deb: building package `ceph-common' in `../ceph-common_0.80.1-1_hppa.deb'.
dpkg-deb: building package `ceph-common-dbg' in 
`../ceph-common-dbg_0.80.1-1_hppa.deb'.
dpkg-deb: building package `ceph-mds' in `../ceph-mds_0.80.1-1_hppa.deb'.
dpkg-deb: building package `ceph-mds-dbg' in 
`../ceph-mds-dbg_0.80.1-1_hppa.deb'.
dpkg-deb: building package `rbd-fuse' in `../rbd-fuse_0.80.1-1_hppa.deb'.
dpkg-deb: building package `rbd-fuse-dbg' in 
`../rbd-fuse-dbg_0.80.1-1_hppa.deb'.
dpkg-deb: building package `ceph-fs-common' in 
`../ceph-fs-common_0.80.1-1_hppa.deb'.
dpkg-deb: building package `ceph-fs-common-dbg' in 
`../ceph-fs-common-dbg_0.80.1-1_hppa.deb'.
dpkg-deb: building package `librados2' in `../librados2_0.80.1-1_hppa.deb'.
dpkg-deb: building package `librados2-dbg' in 
`../librados2-dbg_0.80.1-1_hppa.deb'.
dpkg-deb: building package `librados-dev' in 
`../librados-dev_0.80.1-1_hppa.deb'.
dpkg-deb: building package `librbd1' in `../librbd1_0.80.1-1_hppa.deb'.
dpkg-deb: building package `librbd1-dbg' in `../librbd1-dbg_0.80.1-1_hppa.deb'.
dpkg-deb: building package `librbd-dev' in `../librbd-dev_0.80.1-1_hppa.deb'.
dpkg-deb: building package `libcephfs1' in `../libcephfs1_0.80.1-1_hppa.deb'.
dpkg-deb: building package `libcephfs1-dbg' in 
`../libcephfs1-dbg_0.80.1-1_hppa.deb'.
dpkg-deb: building package `libcephfs-dev' in 
`../libcephfs-dev_0.80.1-1_hppa.deb'.
dpkg-deb: building package `radosgw' in `../radosgw_0.80.1-1_hppa.deb'.
dpkg-deb: building package `radosgw-dbg' in `../radosgw-dbg_0.80.1-1_hppa.deb'.
dpkg-deb: building package `rest-bench' in `../rest-bench_0.80.1-1_hppa.deb'.
dpkg-deb: building package `rest-bench-dbg' in 
`../rest-bench-dbg_0.80.1-1_hppa.deb'.
dpkg-deb: building package `ceph-test' in `../ceph-test_0.80.1-1_hppa.deb'.
dpkg-deb: building package `ceph-test-dbg' in 
`../ceph-test-dbg_0.80.1-1_hppa.deb'.
dpkg-deb: building package `python-ceph' in `../python-ceph_0.80.1-1_hppa.deb'.
dpkg-deb: building package `libcephfs-jni' in 
`../libcephfs-jni_0.80.1-1_hppa.deb'.
dpkg-deb: building package `libcephfs-jni-dbg' in 
`../libcephfs-jni-dbg_0.80.1-1_hppa.deb'.
 dpkg-genchanges -B [email protected] >../ceph_0.80.1-1_hppa.changes
dpkg-genchanges: arch-specific upload - not including arch-independent packages
dpkg-genchanges: binary-only upload - not including any source code
 dpkg-source --after-build ceph-0.80.1
 signfile ceph_0.80.1-1_hppa.changes
dpkg-buildpackage: binary-only upload (no source included)
gpg: cannot open `/dev/tty': No such device or address
dpkg-buildpackage: error: failed to sign .changes file

Reply via email to