Bug 1377799 - Unable to link against libostree, undefined references
Summary: Unable to link against libostree, undefined references
Keywords:
Status: CLOSED DUPLICATE of bug 1377803
Alias: None
Product: Fedora
Classification: Fedora
Component: ostree
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Colin Walters
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-09-20 15:42 UTC by Patrick Uiterwijk
Modified: 2016-10-01 21:47 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-10-01 21:47:11 UTC


Attachments (Terms of Use)

Description Patrick Uiterwijk 2016-09-20 15:42:04 UTC
Description of problem:
I am unable to link against libostree due to lots of undefined references.

Version-Release number of selected component (if applicable):
DEBUG util.py:421:   ostree                        x86_64    2016.10-6.fc26          build    391 k
DEBUG util.py:421:   ostree-devel                  x86_64    2016.10-6.fc26          build    114 k

How reproducible:
Consistent (koji build)

Steps to Reproduce:
1. Build sigul

Actual results:
gcc -DPACKAGE_NAME=\"sigul\" -DPACKAGE_TARNAME=\"sigul\" -DPACKAGE_VERSION=\"0.201\" -DPACKAGE_STRING=\"sigul\ 0.201\" -DPACKAGE_BUGREPORT=\"puiterwijk@redhat.com\" -DPACKAGE_URL=\"https://pagure.io/sigul/\" -I.    -pthread -I/usr/include/ostree-1 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -c -o src/src_sigul_ostree_helper-sigul-ostree-helper.o `test -f 'src/sigul-ostree-helper.c' || echo './'`src/sigul-ostree-helper.c
sed -e 's|@''configdir''@|/etc/sigul|g' \
	< ./doc/sigul_server_create_db.8.in > doc/sigul_server_create_db.8
gcc -pthread -I/usr/include/ostree-1 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -lostree-1 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o src/sigul-ostree-helper src/src_sigul_ostree_helper-sigul-ostree-helper.o  
/usr/bin/ld: warning: libgpgme-pthread.so.11, needed by /usr/lib/gcc/x86_64-redhat-linux/6.2.1/../../../../lib64/libostree-1.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: liblzma.so.5, needed by /usr/lib/gcc/x86_64-redhat-linux/6.2.1/../../../../lib64/libostree-1.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libz.so.1, needed by /usr/lib/gcc/x86_64-redhat-linux/6.2.1/../../../../lib64/libostree-1.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libarchive.so.13, needed by /usr/lib/gcc/x86_64-redhat-linux/6.2.1/../../../../lib64/libostree-1.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libsystemd.so.0, needed by /usr/lib/gcc/x86_64-redhat-linux/6.2.1/../../../../lib64/libostree-1.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libsoup-2.4.so.1, needed by /usr/lib/gcc/x86_64-redhat-linux/6.2.1/../../../../lib64/libostree-1.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libselinux.so.1, needed by /usr/lib/gcc/x86_64-redhat-linux/6.2.1/../../../../lib64/libostree-1.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libffi.so.6, needed by /usr/lib/gcc/x86_64-redhat-linux/6.2.1/../../../../lib64/libgio-2.0.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libgmodule-2.0.so.0, needed by /usr/lib/gcc/x86_64-redhat-linux/6.2.1/../../../../lib64/libgio-2.0.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libdl.so.2, needed by /usr/lib/gcc/x86_64-redhat-linux/6.2.1/../../../../lib64/libgio-2.0.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libpcre.so.1, needed by /usr/lib/gcc/x86_64-redhat-linux/6.2.1/../../../../lib64/libgio-2.0.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libresolv.so.2, needed by /usr/lib/gcc/x86_64-redhat-linux/6.2.1/../../../../lib64/libgio-2.0.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libmount.so.1, needed by /usr/lib/gcc/x86_64-redhat-linux/6.2.1/../../../../lib64/libgio-2.0.so, not found (try using -rpath or -rpath-link)
/usr/lib/gcc/x86_64-redhat-linux/6.2.1/../../../../lib64/libgio-2.0.so: undefined reference to `mnt_new_context@MOUNT_2.19'
/usr/lib/gcc/x86_64-redhat-linux/6.2.1/../../../../lib64/libglib-2.0.so: undefined reference to `pcre_dfa_exec'
/usr/lib/gcc/x86_64-redhat-linux/6.2.1/../../../../lib64/libostree-1.so: undefined reference to `gpgme_op_keylist_next@GPGME_1.0'
/usr/lib/gcc/x86_64-redhat-linux/6.2.1/../../../../lib64/libgio-2.0.so: undefined reference to `mnt_get_fstab_path@MOUNT_2.19'
/usr/lib/gcc/x86_64-redhat-linux/6.2.1/../../../../lib64/libostree-1.so: undefined reference to `soup_uri_set_path'
/usr/lib/gcc/x86_64-redhat-linux/6.2.1/../../../../lib64/libostree-1.so: undefined reference to `archive_entry_hardlink'
/usr/lib/gcc/x86_64-redhat-linux/6.2.1/../../../../lib64/libostree-1.so: undefined reference to `soup_logger_new'
/usr/lib/gcc/x86_64-redhat-linux/6.2.1/../../../../lib64/libgio-2.0.so: undefined reference to `inflateReset'
/usr/lib/gcc/x86_64-redhat-linux/6.2.1/../../../../lib64/libostree-1.so: undefined reference to `lzma_code@XZ_5.0'
/usr/lib/gcc/x86_64-redhat-linux/6.2.1/../../../../lib64/libostree-1.so: undefined reference to `archive_read_next_header'
/usr/lib/gcc/x86_64-redhat-linux/6.2.1/../../../../lib64/libostree-1.so: undefined reference to `archive_write_finish_entry'
/usr/lib/gcc/x86_64-redhat-linux/6.2.1/../../../../lib64/libostree-1.so: undefined reference to `soup_uri_new'
/usr/lib/gcc/x86_64-redhat-linux/6.2.1/../../../../lib64/libgobject-2.0.so: undefined reference to `ffi_type_pointer'
/usr/lib/gcc/x86_64-redhat-linux/6.2.1/../../../../lib64/libostree-1.so: undefined reference to `lzma_stream_decoder@XZ_5.0'
/usr/lib/gcc/x86_64-redhat-linux/6.2.1/../../../../lib64/libostree-1.so: undefined reference to `archive_entry_update_pathname_utf8'
/usr/lib/gcc/x86_64-redhat-linux/6.2.1/../../../../lib64/libostree-1.so: undefined reference to `gpgme_set_protocol@GPGME_1.0'
/usr/lib/gcc/x86_64-redhat-linux/6.2.1/../../../../lib64/libgio-2.0.so: undefined reference to `getfilecon_raw'
/usr/lib/gcc/x86_64-redhat-linux/6.2.1/../../../../lib64/libgio-2.0.so: undefined reference to `inflateEnd'
/usr/lib/gcc/x86_64-redhat-linux/6.2.1/../../../../lib64/libostree-1.so: undefined reference to `selabel_close'
/usr/lib/gcc/x86_64-redhat-linux/6.2.1/../../../../lib64/libglib-2.0.so: undefined reference to `pcre_free'
/usr/lib/gcc/x86_64-redhat-linux/6.2.1/../../../../lib64/libostree-1.so: undefined reference to `lsetfilecon'
/usr/lib/gcc/x86_64-redhat-linux/6.2.1/../../../../lib64/libostree-1.so: undefined reference to `soup_session_async_new_with_options'
/usr/lib/gcc/x86_64-redhat-linux/6.2.1/../../../../lib64/libglib-2.0.so: undefined reference to `pcre_get_stringnumber'
/usr/lib/gcc/x86_64-redhat-linux/6.2.1/../../../../lib64/libostree-1.so: undefined reference to `archive_entry_set_symlink'
/usr/lib/gcc/x86_64-redhat-linux/6.2.1/../../../../lib64/libostree-1.so: undefined reference to `archive_entry_pathname'
/usr/lib/gcc/x86_64-redhat-linux/6.2.1/../../../../lib64/libostree-1.so: undefined reference to `selabel_lookup_raw'
/usr/lib/gcc/x86_64-redhat-linux/6.2.1/../../../../lib64/libgio-2.0.so: undefined reference to `g_module_close'
/usr/lib/gcc/x86_64-redhat-linux/6.2.1/../../../../lib64/libostree-1.so: undefined reference to `archive_write_header'
/usr/lib/gcc/x86_64-redhat-linux/6.2.1/../../../../lib64/libostree-1.so: undefined reference to `gpgme_set_locale@GPGME_1.0'
/usr/lib/gcc/x86_64-redhat-linux/6.2.1/../../../../lib64/libostree-1.so: undefined reference to `gpgme_op_verify@GPGME_1.0'
/usr/lib/gcc/x86_64-redhat-linux/6.2.1/../../../../lib64/libgio-2.0.so: undefined reference to `deflate'
/usr/lib/gcc/x86_64-redhat-linux/6.2.1/../../../../lib64/libostree-1.so: undefined reference to `freecon'
/usr/lib/gcc/x86_64-redhat-linux/6.2.1/../../../../lib64/libgio-2.0.so: undefined reference to `deflateInit_'
/usr/lib/gcc/x86_64-redhat-linux/6.2.1/../../../../lib64/libgio-2.0.so: undefined reference to `mnt_fs_strdup_options@MOUNT_2.19'
/usr/lib/gcc/x86_64-redhat-linux/6.2.1/../../../../lib64/libostree-1.so: undefined reference to `gpgme_op_export_keys@GPGME_1.1'
/usr/lib/gcc/x86_64-redhat-linux/6.2.1/../../../../lib64/libgio-2.0.so: undefined reference to `mnt_fs_get_fstype@MOUNT_2.19'
/usr/lib/gcc/x86_64-redhat-linux/6.2.1/../../../../lib64/libostree-1.so: undefined reference to `archive_entry_xattr_add_entry'
/usr/lib/gcc/x86_64-redhat-linux/6.2.1/../../../../lib64/libgobject-2.0.so: undefined reference to `ffi_type_float'
/usr/lib/gcc/x86_64-redhat-linux/6.2.1/../../../../lib64/libostree-1.so: undefined reference to `gpgme_key_unref@GPGME_1.0'
/usr/lib/gcc/x86_64-redhat-linux/6.2.1/../../../../lib64/libostree-1.so: undefined reference to `gpgme_result_unref@GPGME_1.1'
/usr/lib/gcc/x86_64-redhat-linux/6.2.1/../../../../lib64/libostree-1.so: undefined reference to `archive_entry_set_mtime'
/usr/lib/gcc/x86_64-redhat-linux/6.2.1/../../../../lib64/libostree-1.so: undefined reference to `archive_entry_gid'
/usr/lib/gcc/x86_64-redhat-linux/6.2.1/../../../../lib64/libostree-1.so: undefined reference to `soup_request_send_async'
/usr/lib/gcc/x86_64-redhat-linux/6.2.1/../../../../lib64/libostree-1.so: undefined reference to `gpgme_op_import_result@GPGME_1.0'
/usr/lib/gcc/x86_64-redhat-linux/6.2.1/../../../../lib64/libgio-2.0.so: undefined reference to `mnt_context_get_fstab@MOUNT_2.19'
/usr/lib/gcc/x86_64-redhat-linux/6.2.1/../../../../lib64/libgio-2.0.so: undefined reference to `mnt_new_iter@MOUNT_2.19'
/usr/lib/gcc/x86_64-redhat-linux/6.2.1/../../../../lib64/libostree-1.so: undefined reference to `gpgme_pubkey_algo_name@GPGME_1.0'
/usr/lib/gcc/x86_64-redhat-linux/6.2.1/../../../../lib64/libgio-2.0.so: undefined reference to `setfilecon_raw'
/usr/lib/gcc/x86_64-redhat-linux/6.2.1/../../../../lib64/libgio-2.0.so: undefined reference to `inflateInit2_'
/usr/lib/gcc/x86_64-redhat-linux/6.2.1/../../../../lib64/libostree-1.so: undefined reference to `archive_entry_new2'
/usr/lib/gcc/x86_64-redhat-linux/6.2.1/../../../../lib64/libgio-2.0.so: undefined reference to `deflateSetHeader@ZLIB_1.2.2'
/usr/lib/gcc/x86_64-redhat-linux/6.2.1/../../../../lib64/libgio-2.0.so: undefined reference to `fgetfilecon_raw'
/usr/lib/gcc/x86_64-redhat-linux/6.2.1/../../../../lib64/libgio-2.0.so: undefined reference to `inflate'
/usr/lib/gcc/x86_64-redhat-linux/6.2.1/../../../../lib64/libglib-2.0.so: undefined reference to `pcre_exec'
/usr/lib/gcc/x86_64-redhat-linux/6.2.1/../../../../lib64/libostree-1.so: undefined reference to `gpgme_signers_add@GPGME_1.0'
/usr/lib/gcc/x86_64-redhat-linux/6.2.1/../../../../lib64/libglib-2.0.so: undefined reference to `pcre_config'
/usr/lib/gcc/x86_64-redhat-linux/6.2.1/../../../../lib64/libostree-1.so: undefined reference to `soup_session_request_uri'
/usr/lib/gcc/x86_64-redhat-linux/6.2.1/../../../../lib64/libgobject-2.0.so: undefined reference to `ffi_type_void'
/usr/lib/gcc/x86_64-redhat-linux/6.2.1/../../../../lib64/libostree-1.so: undefined reference to `soup_request_http_get_message'
/usr/lib/gcc/x86_64-redhat-linux/6.2.1/../../../../lib64/libostree-1.so: undefined reference to `soup_request_get_uri'
/usr/lib/gcc/x86_64-redhat-linux/6.2.1/../../../../lib64/libostree-1.so: undefined reference to `archive_entry_set_ctime'
/usr/lib/gcc/x86_64-redhat-linux/6.2.1/../../../../lib64/libgobject-2.0.so: undefined reference to `ffi_type_sint64'
/usr/lib/gcc/x86_64-redhat-linux/6.2.1/../../../../lib64/libostree-1.so: undefined reference to `crc32'
/usr/lib/gcc/x86_64-redhat-linux/6.2.1/../../../../lib64/libgio-2.0.so: undefined reference to `mnt_free_iter@MOUNT_2.19'
/usr/lib/gcc/x86_64-redhat-linux/6.2.1/../../../../lib64/libgio-2.0.so: undefined reference to `deflateEnd'
/usr/lib/gcc/x86_64-redhat-linux/6.2.1/../../../../lib64/libostree-1.so: undefined reference to `gpgme_hash_algo_name@GPGME_1.0'
/usr/lib/gcc/x86_64-redhat-linux/6.2.1/../../../../lib64/libostree-1.so: undefined reference to `setfscreatecon_raw'
/usr/lib/gcc/x86_64-redhat-linux/6.2.1/../../../../lib64/libostree-1.so: undefined reference to `gpgme_op_import@GPGME_1.0'
/usr/lib/gcc/x86_64-redhat-linux/6.2.1/../../../../lib64/libgio-2.0.so: undefined reference to `deflateReset'
/usr/lib/gcc/x86_64-redhat-linux/6.2.1/../../../../lib64/libostree-1.so: undefined reference to `gpgme_data_new_from_cbs@GPGME_1.0'
/usr/lib/gcc/x86_64-redhat-linux/6.2.1/../../../../lib64/libostree-1.so: undefined reference to `gpgme_data_release@GPGME_1.0'
/usr/lib/gcc/x86_64-redhat-linux/6.2.1/../../../../lib64/libostree-1.so: undefined reference to `gpgme_result_ref@GPGME_1.1'
/usr/lib/gcc/x86_64-redhat-linux/6.2.1/../../../../lib64/libostree-1.so: undefined reference to `gpgme_op_sign@GPGME_1.0'
/usr/lib/gcc/x86_64-redhat-linux/6.2.1/../../../../lib64/libostree-1.so: undefined reference to `archive_read_data'
/usr/lib/gcc/x86_64-redhat-linux/6.2.1/../../../../lib64/libostree-1.so: undefined reference to `gpgme_data_seek@GPGME_1.0'
/usr/lib/gcc/x86_64-redhat-linux/6.2.1/../../../../lib64/libostree-1.so: undefined reference to `gpgme_op_keylist_start@GPGME_1.0'
/usr/lib/gcc/x86_64-redhat-linux/6.2.1/../../../../lib64/libgio-2.0.so: undefined reference to `mnt_get_builtin_optmap@MOUNT_2.19'
/usr/lib/gcc/x86_64-redhat-linux/6.2.1/../../../../lib64/libostree-1.so: undefined reference to `soup_uri_get_path'
/usr/lib/gcc/x86_64-redhat-linux/6.2.1/../../../../lib64/libostree-1.so: undefined reference to `gpgme_release@GPGME_1.0'
/usr/lib/gcc/x86_64-redhat-linux/6.2.1/../../../../lib64/libgobject-2.0.so: undefined reference to `ffi_prep_cif'
/usr/lib/gcc/x86_64-redhat-linux/6.2.1/../../../../lib64/libostree-1.so: undefined reference to `archive_read_close'
/usr/lib/gcc/x86_64-redhat-linux/6.2.1/../../../../lib64/libostree-1.so: undefined reference to `soup_status_get_phrase'
/usr/lib/gcc/x86_64-redhat-linux/6.2.1/../../../../lib64/libostree-1.so: undefined reference to `archive_read_open_filename'
/usr/lib/gcc/x86_64-redhat-linux/6.2.1/../../../../lib64/libgobject-2.0.so: undefined reference to `ffi_type_uint32'
/usr/lib/gcc/x86_64-redhat-linux/6.2.1/../../../../lib64/libgio-2.0.so: undefined reference to `__dn_expand@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-redhat-linux/6.2.1/../../../../lib64/libostree-1.so: undefined reference to `archive_read_support_format_all'
/usr/lib/gcc/x86_64-redhat-linux/6.2.1/../../../../lib64/libostree-1.so: undefined reference to `is_selinux_enabled'
/usr/lib/gcc/x86_64-redhat-linux/6.2.1/../../../../lib64/libgobject-2.0.so: undefined reference to `ffi_type_double'
/usr/lib/gcc/x86_64-redhat-linux/6.2.1/../../../../lib64/libgio-2.0.so: undefined reference to `mnt_free_context@MOUNT_2.19'
/usr/lib/gcc/x86_64-redhat-linux/6.2.1/../../../../lib64/libglib-2.0.so: undefined reference to `pcre_fullinfo'
/usr/lib/gcc/x86_64-redhat-linux/6.2.1/../../../../lib64/libostree-1.so: undefined reference to `gpgme_get_key@GPGME_1.0'
/usr/lib/gcc/x86_64-redhat-linux/6.2.1/../../../../lib64/libostree-1.so: undefined reference to `gpgme_ctx_get_engine_info@GPGME_1.1'
/usr/lib/gcc/x86_64-redhat-linux/6.2.1/../../../../lib64/libgobject-2.0.so: undefined reference to `ffi_call'
/usr/lib/gcc/x86_64-redhat-linux/6.2.1/../../../../lib64/libostree-1.so: undefined reference to `gpgme_check_version_internal@GPGME_1.1'
/usr/lib/gcc/x86_64-redhat-linux/6.2.1/../../../../lib64/libostree-1.so: undefined reference to `soup_request_send_finish'
/usr/lib/gcc/x86_64-redhat-linux/6.2.1/../../../../lib64/libgio-2.0.so: undefined reference to `g_module_symbol'
/usr/lib/gcc/x86_64-redhat-linux/6.2.1/../../../../lib64/libglib-2.0.so: undefined reference to `pcre_get_stringtable_entries'
/usr/lib/gcc/x86_64-redhat-linux/6.2.1/../../../../lib64/libostree-1.so: undefined reference to `gpg_strerror_r'
/usr/lib/gcc/x86_64-redhat-linux/6.2.1/../../../../lib64/libostree-1.so: undefined reference to `soup_uri_to_string'
/usr/lib/gcc/x86_64-redhat-linux/6.2.1/../../../../lib64/libostree-1.so: undefined reference to `archive_entry_free'
/usr/lib/gcc/x86_64-redhat-linux/6.2.1/../../../../lib64/libostree-1.so: undefined reference to `gpgme_strsource@GPGME_1.0'
/usr/lib/gcc/x86_64-redhat-linux/6.2.1/../../../../lib64/libostree-1.so: undefined reference to `soup_requester_get_type'
/usr/lib/gcc/x86_64-redhat-linux/6.2.1/../../../../lib64/libostree-1.so: undefined reference to `selabel_open'
/usr/lib/gcc/x86_64-redhat-linux/6.2.1/../../../../lib64/libostree-1.so: undefined reference to `soup_uri_copy'
/usr/lib/gcc/x86_64-redhat-linux/6.2.1/../../../../lib64/libglib-2.0.so: undefined reference to `pcre_compile2'
/usr/lib/gcc/x86_64-redhat-linux/6.2.1/../../../../lib64/libgio-2.0.so: undefined reference to `mnt_fs_get_source@MOUNT_2.19'
/usr/lib/gcc/x86_64-redhat-linux/6.2.1/../../../../lib64/libgio-2.0.so: undefined reference to `inflateGetHeader@ZLIB_1.2.2'
/usr/lib/gcc/x86_64-redhat-linux/6.2.1/../../../../lib64/libostree-1.so: undefined reference to `archive_entry_symlink'
/usr/lib/gcc/x86_64-redhat-linux/6.2.1/../../../../lib64/libostree-1.so: undefined reference to `gpgme_data_new@GPGME_1.0'
/usr/lib/gcc/x86_64-redhat-linux/6.2.1/../../../../lib64/libostree-1.so: undefined reference to `archive_read_support_filter_all'
/usr/lib/gcc/x86_64-redhat-linux/6.2.1/../../../../lib64/libostree-1.so: undefined reference to `gpgme_key_release@GPGME_1.0'
/usr/lib/gcc/x86_64-redhat-linux/6.2.1/../../../../lib64/libgio-2.0.so: undefined reference to `mnt_fs_get_target@MOUNT_2.19'
/usr/lib/gcc/x86_64-redhat-linux/6.2.1/../../../../lib64/libostree-1.so: undefined reference to `lzma_end@XZ_5.0'
/usr/lib/gcc/x86_64-redhat-linux/6.2.1/../../../../lib64/libostree-1.so: undefined reference to `setfscreatecon'
/usr/lib/gcc/x86_64-redhat-linux/6.2.1/../../../../lib64/libgio-2.0.so: undefined reference to `mnt_optstr_get_flags@MOUNT_2.19'
/usr/lib/gcc/x86_64-redhat-linux/6.2.1/../../../../lib64/libostree-1.so: undefined reference to `archive_entry_uid'
/usr/lib/gcc/x86_64-redhat-linux/6.2.1/../../../../lib64/libgio-2.0.so: undefined reference to `inflateInit_'
/usr/lib/gcc/x86_64-redhat-linux/6.2.1/../../../../lib64/libgio-2.0.so: undefined reference to `g_module_supported'
/usr/lib/gcc/x86_64-redhat-linux/6.2.1/../../../../lib64/libostree-1.so: undefined reference to `archive_entry_stat'
/usr/lib/gcc/x86_64-redhat-linux/6.2.1/../../../../lib64/libgio-2.0.so: undefined reference to `deflateInit2_'
/usr/lib/gcc/x86_64-redhat-linux/6.2.1/../../../../lib64/libostree-1.so: undefined reference to `soup_request_http_get_type'
/usr/lib/gcc/x86_64-redhat-linux/6.2.1/../../../../lib64/libgio-2.0.so: undefined reference to `mnt_context_get_mtab@MOUNT_2.19'
/usr/lib/gcc/x86_64-redhat-linux/6.2.1/../../../../lib64/libostree-1.so: undefined reference to `gpgme_data_new_from_mem@GPGME_1.0'
/usr/lib/gcc/x86_64-redhat-linux/6.2.1/../../../../lib64/libgio-2.0.so: undefined reference to `g_module_open'
/usr/lib/gcc/x86_64-redhat-linux/6.2.1/../../../../lib64/libgobject-2.0.so: undefined reference to `ffi_type_sint32'
/usr/lib/gcc/x86_64-redhat-linux/6.2.1/../../../../lib64/libostree-1.so: undefined reference to `lgetfilecon_raw'
/usr/lib/gcc/x86_64-redhat-linux/6.2.1/../../../../lib64/libostree-1.so: undefined reference to `archive_entry_set_uid'
/usr/lib/gcc/x86_64-redhat-linux/6.2.1/../../../../lib64/libostree-1.so: undefined reference to `archive_entry_set_size'
/usr/lib/gcc/x86_64-redhat-linux/6.2.1/../../../../lib64/libostree-1.so: undefined reference to `selinux_binary_policy_path'
/usr/lib/gcc/x86_64-redhat-linux/6.2.1/../../../../lib64/libgio-2.0.so: undefined reference to `g_module_error'
/usr/lib/gcc/x86_64-redhat-linux/6.2.1/../../../../lib64/libostree-1.so: undefined reference to `lzma_easy_encoder@XZ_5.0'
/usr/lib/gcc/x86_64-redhat-linux/6.2.1/../../../../lib64/libostree-1.so: undefined reference to `soup_uri_free'
/usr/lib/gcc/x86_64-redhat-linux/6.2.1/../../../../lib64/libostree-1.so: undefined reference to `soup_request_get_content_length'
/usr/lib/gcc/x86_64-redhat-linux/6.2.1/../../../../lib64/libostree-1.so: undefined reference to `archive_entry_set_gid'
/usr/lib/gcc/x86_64-redhat-linux/6.2.1/../../../../lib64/libostree-1.so: undefined reference to `archive_write_data'
/usr/lib/gcc/x86_64-redhat-linux/6.2.1/../../../../lib64/libostree-1.so: undefined reference to `gpgme_new@GPGME_1.0'
/usr/lib/gcc/x86_64-redhat-linux/6.2.1/../../../../lib64/libostree-1.so: undefined reference to `selinux_set_policy_root'
/usr/lib/gcc/x86_64-redhat-linux/6.2.1/../../../../lib64/libostree-1.so: undefined reference to `sd_journal_sendv@LIBSYSTEMD_209'
/usr/lib/gcc/x86_64-redhat-linux/6.2.1/../../../../lib64/libostree-1.so: undefined reference to `soup_session_feature_get_type'
/usr/lib/gcc/x86_64-redhat-linux/6.2.1/../../../../lib64/libostree-1.so: undefined reference to `soup_uri_get_scheme'
/usr/lib/gcc/x86_64-redhat-linux/6.2.1/../../../../lib64/libgobject-2.0.so: undefined reference to `ffi_type_uint64'
/usr/lib/gcc/x86_64-redhat-linux/6.2.1/../../../../lib64/libostree-1.so: undefined reference to `archive_read_new'
/usr/lib/gcc/x86_64-redhat-linux/6.2.1/../../../../lib64/libgio-2.0.so: undefined reference to `mnt_table_is_fs_mounted@MOUNT_2.20'
/usr/lib/gcc/x86_64-redhat-linux/6.2.1/../../../../lib64/libostree-1.so: undefined reference to `gpgme_op_verify_result@GPGME_1.0'
/usr/lib/gcc/x86_64-redhat-linux/6.2.1/../../../../lib64/libgio-2.0.so: undefined reference to `__res_query@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-redhat-linux/6.2.1/../../../../lib64/libostree-1.so: undefined reference to `gpgme_ctx_set_engine_info@GPGME_1.1'
/usr/lib/gcc/x86_64-redhat-linux/6.2.1/../../../../lib64/libostree-1.so: undefined reference to `archive_error_string'
/usr/lib/gcc/x86_64-redhat-linux/6.2.1/../../../../lib64/libostree-1.so: undefined reference to `archive_entry_set_atime'
/usr/lib/gcc/x86_64-redhat-linux/6.2.1/../../../../lib64/libglib-2.0.so: undefined reference to `pcre_study'
/usr/lib/gcc/x86_64-redhat-linux/6.2.1/../../../../lib64/libostree-1.so: undefined reference to `archive_entry_set_mode'
/usr/lib/gcc/x86_64-redhat-linux/6.2.1/../../../../lib64/libostree-1.so: undefined reference to `soup_session_add_feature'
/usr/lib/gcc/x86_64-redhat-linux/6.2.1/../../../../lib64/libostree-1.so: undefined reference to `soup_message_headers_set_range'
/usr/lib/gcc/x86_64-redhat-linux/6.2.1/../../../../lib64/libgio-2.0.so: undefined reference to `mnt_table_next_fs@MOUNT_2.19'
collect2: error: ld returned 1 exit status
Makefile:486: recipe for target 'src/sigul-ostree-helper' failed

Expected results:
Compiled build

Additional info:
http://koji.fedoraproject.org/koji/buildinfo?buildID=801711

Comment 1 Colin Walters 2016-09-20 21:12:05 UTC
I'm not really sure what's going wrong here; I can't reproduce this in a quick test (f25 docker container) but I did file
https://pagure.io/sigul/pull-request/1

Can you reproduce this on any other releases (is it just rawhide?) and/or outside of mock?

Comment 2 Patrick Uiterwijk 2016-09-20 21:20:24 UTC
Thanks for the PR.

After filing, someone pointed me at 1377803, which might have been the root cause here.
As soon as that binutils release is untagged, I'll retry another build.

Comment 3 Patrick Uiterwijk 2016-10-01 21:47:11 UTC
Thanks once again, turned out that that was the issue.

I have merged your PR.

*** This bug has been marked as a duplicate of bug 1377803 ***


Note You need to log in before you can comment on or make changes to this bug.