zfsonlinux/zfs — Issue #444: rpmlint undefined-non-weak-symbol
Author: behlendorf
Created: 2011-11-09 00:29:05+00:00
State: open

Richard Shaw reports:

I actually got around to installing the packages I've built and as a standard practice I ran 'rpmlint' on them which checks for common problems in RPM packages. I pulled a segment of the output to post here.

I'm getting a lot of undefined-non-weak-symbol errors which is usually indicative of a missing library during linking. (I think). Here's rpmlint's explanation:

undefined-non-weak-symbol:
The binary contains undefined non-weak symbols. This may indicate improper
linkage; check that the binary has been linked as expected.

The rpmlint output (at the bottom) is as follows:

where W: or E: says it's a warning or error.

zfs.x86_64: W: undefined-non-weak-symbol /lib64/libuutil.so.1.0.0 strlcpy
zfs.x86_64: W: undefined-non-weak-symbol /lib64/libuutil.so.1.0.0 getexecname
zfs.x86_64: W: undefined-non-weak-symbol /lib64/libuutil.so.1.0.0 pthread_key_create
zfs.x86_64: W: undefined-non-weak-symbol /lib64/libuutil.so.1.0.0 gethrtime
zfs.x86_64: W: undefined-non-weak-symbol /lib64/libuutil.so.1.0.0 pthread_getspecific
zfs.x86_64: W: undefined-non-weak-symbol /lib64/libuutil.so.1.0.0 pthread_atfork
zfs.x86_64: W: undefined-non-weak-symbol /lib64/libuutil.so.1.0.0 pthread_setspecific
zfs.x86_64: W: undefined-non-weak-symbol /lib64/libzpool.so.1.0.0 nv_fixed_ops
zfs.x86_64: W: undefined-non-weak-symbol /lib64/libzpool.so.1.0.0 nv_alloc_fini
zfs.x86_64: W: undefined-non-weak-symbol /lib64/libzpool.so.1.0.0 nvlist_add_uint8
zfs.x86_64: W: undefined-non-weak-symbol /lib64/libzpool.so.1.0.0 nvlist_add_int8
zfs.x86_64: W: undefined-non-weak-symbol /lib64/libzpool.so.1.0.0 nvlist_add_int16_array
zfs.x86_64: W: undefined-non-weak-symbol /lib64/libzpool.so.1.0.0 nvlist_add_boolean
zfs.x86_64: W: undefined-non-weak-symbol /lib64/libzpool.so.1.0.0 nvlist_add_byte_array
zfs.x86_64: W: undefined-non-weak-symbol /lib64/libzpool.so.1.0.0 nvlist_add_boolean
zfs.x86_64: W: undefined-non-weak-symbol /lib64/libzpool.so.1.0.0 nvlist_add_byte_array
zfs.x86_64: W: undefined-non-weak-symbol /lib64/libzpool.so.1.0.0 nvlist_lookup_nvpair
zfs.x86_64: W: undefined-non-weak-symbol /lib64/libzpool.so.1.0.0 nvlist_add_int8_array
zfs.x86_64: W: undefined-non-weak-symbol /lib64/libzpool.so.1.0.0 nvlist_add_uint8_array
zfs.x86_64: W: undefined-non-weak-symbol /lib64/libzpool.so.1.0.0 nvlist_add_uint64
zfs.x86_64: W: undefined-non-weak-symbol /lib64/libzpool.so.1.0.0 nvlist_add_byte
zfs.x86_64: W: undefined-non-weak-symbol /lib64/libzpool.so.1.0.0 nvlist_exists
zfs.x86_64: W: undefined-non-weak-symbol /lib64/libzpool.so.1.0.0 nvpair_value_nvlist
zfs.x86_64: W: undefined-non-weak-symbol /lib64/libzpool.so.1.0.0 nvlist_lookup_uint64
zfs.x86_64: W: undefined-non-weak-symbol /lib64/libzpool.so.1.0.0 nvlist_add_boolean_array
zfs.x86_64: W: undefined-non-weak-symbol /lib64/libzpool.so.1.0.0 nvlist_lookup_nvlist_array
zfs.x86_64: W: undefined-non-weak-symbol /lib64/libzpool.so.1.0.0 nvlist_add_boolean_array
zfs.x86_64: W: undefined-non-weak-symbol /lib64/libzpool.so.1.0.0 nvlist_lookup_nvlist_array
zfs.x86_64: W: undefined-non-weak-symbol /lib64/libzpool.so.1.0.0 nvlist_free
zfs.x86_64: W: undefined-non-weak-symbol /lib64/libzpool.so.1.0.0 nvlist_lookup_nv_alloc
zfs.x86_64: W: undefined-non-weak-symbol /lib64/libzpool.so.1.0.0 nvlist_alloc
zfs.x86_64: W: undefined-non-weak-symbol /lib64/libzpool.so.1.0.0 nvpair_name
zfs.x86_64: W: undefined-non-weak-symbol /lib64/libzpool.so.1.0.0 nvlist_add_uint64_array
zfs.x86_64: W: undefined-non-weak-symbol /lib64/libzpool.so.1.0.0 nvlist_next_nvpair
zfs.x86_64: W: undefined-non-weak-symbol /lib64/libzpool.so.1.0.0 nvlist_add_int16
zfs.x86_64: W: undefined-non-weak-symbol /lib64/libzpool.so.1.0.0 nvlist_add_uint32_array
zfs.x86_64: W: undefined-non-weak-symbol /lib64/libzpool.so.1.0.0 nvlist_lookup_nvlist
zfs.x86_64: W: undefined-non-weak-symbol /lib64/libzpool.so.1.0.0 nv_alloc_init
zfs.x86_64: W: undefined-non-weak-symbol /lib64/libzpool.so.1.0.0 nvlist_add_int64_array
zfs.x86_64: W: undefined-non-weak-symbol /lib64/libzpool.so.1.0.0 nv_alloc_init
zfs.x86_64: W: undefined-non-weak-symbol /lib64/libzpool.so.1.0.0 nvlist_add_int64_array
zfs.x86_64: W: undefined-non-weak-symbol /lib64/libzpool.so.1.0.0 nvlist_add_uint16
zfs.x86_64: W: undefined-non-weak-symbol /lib64/libzpool.so.1.0.0 nvlist_add_nvlist
zfs.x86_64: W: undefined-non-weak-symbol /lib64/libzpool.so.1.0.0 nvpair_type
zfs.x86_64: W: undefined-non-weak-symbol /lib64/libzpool.so.1.0.0 nvlist_add_string_array
zfs.x86_64: W: undefined-non-weak-symbol /lib64/libzpool.so.1.0.0 nvlist_unpack
zfs.x86_64: W: undefined-non-weak-symbol /lib64/libzpool.so.1.0.0 nvlist_add_uint16_array
zfs.x86_64: W: undefined-non-weak-symbol /lib64/libzpool.so.1.0.0 nvlist_pack
zfs.x86_64: W: undefined-non-weak-symbol /lib64/libzpool.so.1.0.0 nvlist_xalloc
zfs.x86_64: W: undefined-non-weak-symbol /lib64/libzpool.so.1.0.0 nvlist_add_int64
zfs.x86_64: W: undefined-non-weak-symbol /lib64/libzpool.so.1.0.0 nvpair_value_string
zfs.x86_64: W: undefined-non-weak-symbol /lib64/libzpool.so.1.0.0 nvpair_value_uint64
zfs.x86_64: W: undefined-non-weak-symbol /lib64/libzpool.so.1.0.0 nvlist_dup
zfs.x86_64: W: undefined-non-weak-symbol /lib64/libzpool.so.1.0.0 nvpair_value_uint64
zfs.x86_64: W: undefined-non-weak-symbol /lib64/libzpool.so.1.0.0 nvlist_dup
zfs.x86_64: W: undefined-non-weak-symbol /lib64/libzpool.so.1.0.0 nvlist_add_nvlist_array
zfs.x86_64: W: undefined-non-weak-symbol /lib64/libzpool.so.1.0.0 nvpair_value_uint32
zfs.x86_64: W: undefined-non-weak-symbol /lib64/libzpool.so.1.0.0 nvlist_add_int32
zfs.x86_64: W: undefined-non-weak-symbol /lib64/libzpool.so.1.0.0 nvlist_lookup_string
zfs.x86_64: W: undefined-non-weak-symbol /lib64/libzpool.so.1.0.0 nvlist_add_uint32
zfs.x86_64: W: undefined-non-weak-symbol /lib64/libzpool.so.1.0.0 nvlist_add_int32_array
zfs.x86_64: W: undefined-non-weak-symbol /lib64/libzpool.so.1.0.0 nvlist_size
zfs.x86_64: W: undefined-non-weak-symbol /lib64/libzpool.so.1.0.0 nvlist_add_string
zfs.x86_64: W: undefined-non-weak-symbol /lib64/libzpool.so.1.0.0 nvlist_remove
zfs.x86_64: W: undefined-non-weak-symbol /lib64/libzpool.so.1.0.0 nvlist_lookup_uint64_array
zfs.x86_64: W: undefined-non-weak-symbol /lib64/libzpool.so.1.0.0 nvlist_add_boolean_value
zfs.x86_64: W: undefined-non-weak-symbol /lib64/libnvpair.so.1.0.0 xdr_control
zfs.x86_64: W: undefined-non-weak-symbol /lib64/libshare.so.1.0.0 libzfs_fini
zfs.x86_64: W: undefined-non-weak-symbol /lib64/libshare.so.1.0.0 zfs_get_type
zfs.x86_64: W: undefined-non-weak-symbol /lib64/libshare.so.1.0.0 zfs_prop_get
zfs.x86_64: W: undefined-non-weak-symbol /lib64/libshare.so.1.0.0 zfs_close
zfs.x86_64: W: undefined-non-weak-symbol /lib64/libshare.so.1.0.0 zfs_iter_filesystems
zfs.x86_64: W: undefined-non-weak-symbol /lib64/libshare.so.1.0.0 zfs_get_name
zfs.x86_64: W: undefined-non-weak-symbol /lib64/libshare.so.1.0.0 zfs_iter_root
zfs.x86_64: W: undefined-non-weak-symbol /lib64/libshare.so.1.0.0 libzfs_run_process
zfs.x86_64: W: undefined-non-weak-symbol /lib64/libshare.so.1.0.0 zfs_open
zfs.x86_64: W: undefined-non-weak-symbol /lib64/libshare.so.1.0.0 libzfs_init
zfs.x86_64: W: undefined-non-weak-symbol /lib64/libshare.so.1.0.0 libzfs_print_on_error
zfs.x86_64: W: undefined-non-weak-symbol /lib64/libshare.so.1.0.0 zfs_is_mounted