FreeBSD - make install - Error

Bug #1249893 reported by Garry Hamilton-Smith
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Percona XtraBackup moved to https://jira.percona.com/projects/PXB
Incomplete
Undecided
Unassigned
2.1
New
Undecided
Unassigned
2.2
New
Undecided
Unassigned

Bug Description

Running FreeBSD 9.2 amd 64

Database is MariaDB 5.5

When I attempt to make xtrabackup, it fails after around 10 minutes at:

Tail of Output....

........databases/xtrabackup/work/percona-xtrabackup-2.1.4/mysql-5.6/storage/innobase/include/os0file.ic:350: error: 'PSI_FILE_CALL' was not declared in this scope
/usr/ports/databases/xtrabackup/work/percona-xtrabackup-2.1.4/mysql-5.6/storage/innobase/include/os0file.ic:350: error: 'start_file_wait' was not declared in this scope
/usr/ports/databases/xtrabackup/work/percona-xtrabackup-2.1.4/mysql-5.6/storage/innobase/include/os0file.ic:354: error: 'end_file_wait' was not declared in this scope
/usr/ports/databases/xtrabackup/work/percona-xtrabackup-2.1.4/mysql-5.6/storage/innobase/include/os0file.ic:354: error: 'PSI_FILE_CALL' was not declared in this scope
/usr/ports/databases/xtrabackup/work/percona-xtrabackup-2.1.4/mysql-5.6/storage/innobase/include/os0file.ic: In function 'ulint pfs_os_file_rename_func(mysql_pfs_key_t, const char*, const char*, const char*, ulint)':
/usr/ports/databases/xtrabackup/work/percona-xtrabackup-2.1.4/mysql-5.6/storage/innobase/include/os0file.ic:380: error: 'get_thread_file_name_locker' was not declared in this scope
/usr/ports/databases/xtrabackup/work/percona-xtrabackup-2.1.4/mysql-5.6/storage/innobase/include/os0file.ic:380: error: 'PSI_FILE_CALL' was not declared in this scope
/usr/ports/databases/xtrabackup/work/percona-xtrabackup-2.1.4/mysql-5.6/storage/innobase/include/os0file.ic:380: error: 'start_file_open_wait' was not declared in this scope
/usr/ports/databases/xtrabackup/work/percona-xtrabackup-2.1.4/mysql-5.6/storage/innobase/include/os0file.ic:385: error: 'end_file_open_wait_and_bind_to_descriptor' was not declared in this scope
/usr/ports/databases/xtrabackup/work/percona-xtrabackup-2.1.4/mysql-5.6/storage/innobase/include/os0file.ic:385: error: 'PSI_FILE_CALL' was not declared in this scope
/usr/ports/databases/xtrabackup/work/percona-xtrabackup-2.1.4/mysql-5.6/storage/innobase/include/os0file.ic: In function 'bool pfs_os_file_delete_func(mysql_pfs_key_t, const char*, const char*, ulint)':
/usr/ports/databases/xtrabackup/work/percona-xtrabackup-2.1.4/mysql-5.6/storage/innobase/include/os0file.ic:410: error: 'get_thread_file_name_locker' was not declared in this scope
/usr/ports/databases/xtrabackup/work/percona-xtrabackup-2.1.4/mysql-5.6/storage/innobase/include/os0file.ic:410: error: 'PSI_FILE_CALL' was not declared in this scope
/usr/ports/databases/xtrabackup/work/percona-xtrabackup-2.1.4/mysql-5.6/storage/innobase/include/os0file.ic:410: error: 'start_file_close_wait' was not declared in this scope
/usr/ports/databases/xtrabackup/work/percona-xtrabackup-2.1.4/mysql-5.6/storage/innobase/include/os0file.ic:415: error: 'end_file_close_wait' was not declared in this scope
/usr/ports/databases/xtrabackup/work/percona-xtrabackup-2.1.4/mysql-5.6/storage/innobase/include/os0file.ic:415: error: 'PSI_FILE_CALL' was not declared in this scope
/usr/ports/databases/xtrabackup/work/percona-xtrabackup-2.1.4/mysql-5.6/storage/innobase/include/os0file.ic: In function 'bool pfs_os_file_delete_if_exists_func(mysql_pfs_key_t, const char*, const char*, ulint)':
/usr/ports/databases/xtrabackup/work/percona-xtrabackup-2.1.4/mysql-5.6/storage/innobase/include/os0file.ic:440: error: 'get_thread_file_name_locker' was not declared in this scope
/usr/ports/databases/xtrabackup/work/percona-xtrabackup-2.1.4/mysql-5.6/storage/innobase/include/os0file.ic:440: error: 'PSI_FILE_CALL' was not declared in this scope
/usr/ports/databases/xtrabackup/work/percona-xtrabackup-2.1.4/mysql-5.6/storage/innobase/include/os0file.ic:440: error: 'start_file_close_wait' was not declared in this scope
/usr/ports/databases/xtrabackup/work/percona-xtrabackup-2.1.4/mysql-5.6/storage/innobase/include/os0file.ic:445: error: 'end_file_close_wait' was not declared in this scope
/usr/ports/databases/xtrabackup/work/percona-xtrabackup-2.1.4/mysql-5.6/storage/innobase/include/os0file.ic:445: error: 'PSI_FILE_CALL' was not declared in this scope
In file included from /usr/ports/databases/xtrabackup/work/percona-xtrabackup-2.1.4/mysql-5.6/storage/innobase/include/sync0rw.h:803,
                 from /usr/ports/databases/xtrabackup/work/percona-xtrabackup-2.1.4/mysql-5.6/storage/innobase/include/btr0types.h:33,
                 from /usr/ports/databases/xtrabackup/work/percona-xtrabackup-2.1.4/mysql-5.6/storage/innobase/include/dict0mem.h:36,
                 from /usr/ports/databases/xtrabackup/work/percona-xtrabackup-2.1.4/mysql-5.6/storage/innobase/include/dict0dict.h:33,
                 from /usr/ports/databases/xtrabackup/work/percona-xtrabackup-2.1.4/mysql-5.6/storage/innobase/include/btr0btr.h:32,
                 from innodb_int.h:39,
                 from compact.cc:30:
/usr/ports/databases/xtrabackup/work/percona-xtrabackup-2.1.4/mysql-5.6/storage/innobase/include/sync0rw.ic: In function 'void pfs_rw_lock_create_func(mysql_pfs_key_t, rw_lock_t*, const char*, ulint)':
/usr/ports/databases/xtrabackup/work/percona-xtrabackup-2.1.4/mysql-5.6/storage/innobase/include/sync0rw.ic:551: error: 'init_rwlock' was not declared in this scope
/usr/ports/databases/xtrabackup/work/percona-xtrabackup-2.1.4/mysql-5.6/storage/innobase/include/sync0rw.ic:551: error: 'PSI_RWLOCK_CALL' was not declared in this scope
/usr/ports/databases/xtrabackup/work/percona-xtrabackup-2.1.4/mysql-5.6/storage/innobase/include/sync0rw.ic: In function 'void pfs_rw_lock_x_lock_func(rw_lock_t*, ulint, const char*, ulint)':
/usr/ports/databases/xtrabackup/work/percona-xtrabackup-2.1.4/mysql-5.6/storage/innobase/include/sync0rw.ic:584: error: 'start_rwlock_wrwait' was not declared in this scope
/usr/ports/databases/xtrabackup/work/percona-xtrabackup-2.1.4/mysql-5.6/storage/innobase/include/sync0rw.ic:584: error: 'PSI_RWLOCK_CALL' was not declared in this scope
/usr/ports/databases/xtrabackup/work/percona-xtrabackup-2.1.4/mysql-5.6/storage/innobase/include/sync0rw.ic:590: error: 'end_rwlock_wrwait' was not declared in this scope
/usr/ports/databases/xtrabackup/work/percona-xtrabackup-2.1.4/mysql-5.6/storage/innobase/include/sync0rw.ic: In function 'ulint pfs_rw_lock_x_lock_func_nowait(rw_lock_t*, const char*, ulint)':
/usr/ports/databases/xtrabackup/work/percona-xtrabackup-2.1.4/mysql-5.6/storage/innobase/include/sync0rw.ic:620: error: 'start_rwlock_wrwait' was not declared in this scope
/usr/ports/databases/xtrabackup/work/percona-xtrabackup-2.1.4/mysql-5.6/storage/innobase/include/sync0rw.ic:620: error: 'PSI_RWLOCK_CALL' was not declared in this scope
/usr/ports/databases/xtrabackup/work/percona-xtrabackup-2.1.4/mysql-5.6/storage/innobase/include/sync0rw.ic:626: error: 'end_rwlock_wrwait' was not declared in this scope
/usr/ports/databases/xtrabackup/work/percona-xtrabackup-2.1.4/mysql-5.6/storage/innobase/include/sync0rw.ic: In function 'void pfs_rw_lock_free_func(rw_lock_t*)':
/usr/ports/databases/xtrabackup/work/percona-xtrabackup-2.1.4/mysql-5.6/storage/innobase/include/sync0rw.ic:647: error: 'destroy_rwlock' was not declared in this scope
/usr/ports/databases/xtrabackup/work/percona-xtrabackup-2.1.4/mysql-5.6/storage/innobase/include/sync0rw.ic:647: error: 'PSI_RWLOCK_CALL' was not declared in this scope
/usr/ports/databases/xtrabackup/work/percona-xtrabackup-2.1.4/mysql-5.6/storage/innobase/include/sync0rw.ic: In function 'void pfs_rw_lock_s_lock_func(rw_lock_t*, ulint, const char*, ulint)':
/usr/ports/databases/xtrabackup/work/percona-xtrabackup-2.1.4/mysql-5.6/storage/innobase/include/sync0rw.ic:675: error: 'start_rwlock_rdwait' was not declared in this scope
/usr/ports/databases/xtrabackup/work/percona-xtrabackup-2.1.4/mysql-5.6/storage/innobase/include/sync0rw.ic:675: error: 'PSI_RWLOCK_CALL' was not declared in this scope
/usr/ports/databases/xtrabackup/work/percona-xtrabackup-2.1.4/mysql-5.6/storage/innobase/include/sync0rw.ic:681: error: 'end_rwlock_rdwait' was not declared in this scope
/usr/ports/databases/xtrabackup/work/percona-xtrabackup-2.1.4/mysql-5.6/storage/innobase/include/sync0rw.ic: In function 'ulint pfs_rw_lock_s_lock_low(rw_lock_t*, ulint, const char*, ulint)':
/usr/ports/databases/xtrabackup/work/percona-xtrabackup-2.1.4/mysql-5.6/storage/innobase/include/sync0rw.ic:714: error: 'start_rwlock_rdwait' was not declared in this scope
/usr/ports/databases/xtrabackup/work/percona-xtrabackup-2.1.4/mysql-5.6/storage/innobase/include/sync0rw.ic:714: error: 'PSI_RWLOCK_CALL' was not declared in this scope
/usr/ports/databases/xtrabackup/work/percona-xtrabackup-2.1.4/mysql-5.6/storage/innobase/include/sync0rw.ic:720: error: 'end_rwlock_rdwait' was not declared in this scope
/usr/ports/databases/xtrabackup/work/percona-xtrabackup-2.1.4/mysql-5.6/storage/innobase/include/sync0rw.ic: In function 'void pfs_rw_lock_x_unlock_func(rw_lock_t*)':
/usr/ports/databases/xtrabackup/work/percona-xtrabackup-2.1.4/mysql-5.6/storage/innobase/include/sync0rw.ic:747: error: 'unlock_rwlock' was not declared in this scope
/usr/ports/databases/xtrabackup/work/percona-xtrabackup-2.1.4/mysql-5.6/storage/innobase/include/sync0rw.ic:747: error: 'PSI_RWLOCK_CALL' was not declared in this scope
/usr/ports/databases/xtrabackup/work/percona-xtrabackup-2.1.4/mysql-5.6/storage/innobase/include/sync0rw.ic: In function 'void pfs_rw_lock_s_unlock_func(rw_lock_t*)':
/usr/ports/databases/xtrabackup/work/percona-xtrabackup-2.1.4/mysql-5.6/storage/innobase/include/sync0rw.ic:773: error: 'unlock_rwlock' was not declared in this scope
/usr/ports/databases/xtrabackup/work/percona-xtrabackup-2.1.4/mysql-5.6/storage/innobase/include/sync0rw.ic:773: error: 'PSI_RWLOCK_CALL' was not declared in this scope
xtrabackup.cc: In function 'my_bool innodb_init_param()':
xtrabackup.cc:1243: warning: format '%lld' expects type 'long long int', but argument 2 has type 'ib_uint64_t' [-Wformat]
changed_page_bitmap.cc: At global scope:
changed_page_bitmap.cc:540: warning: 'cold' attribute directive ignored [-Wattributes]
xtrabackup.cc: At global scope:
xtrabackup.cc:1827: warning: 'void xb_fil_node_close_file(fil_node_t*)' defined but not used
compact.cc: In function 'void xb_rebuild_indexes_for_table(dict_table_t*, trx_t*, ulint)':
compact.cc:818: warning: ignoring return value of 'bool dict_foreign_replace_index(dict_table_t*, const char**, const dict_index_t*)', declared with attribute warn_unused_result
gmake: *** [innodb_int.o] Error 1
gmake: *** Waiting for unfinished jobs....
gmake: *** [fil_cur.o] Error 1
gmake: *** [write_filt.o] Error 1
gmake: *** [changed_page_bitmap.o] Error 1
gmake: *** [xtrabackup.o] Error 1
gmake: *** [compact.o] Error 1
*** [do-build] Error code 2

Stop in /usr/ports/databases/xtrabackup.

Can provide full output if required.

Please advise a fix, as I would like to use it.

Thanks

Garry

Revision history for this message
Garry Hamilton-Smith (garry-d) wrote :

Oh, Ports Tree is up to date.

Percona XtraBackup 2.1.4

Thought you would want this...

Revision history for this message
Nilnandan Joshi (nilnandan-joshi) wrote :

Hi,

Can you please try to check it with latest version of xtrabackup and let us know if you still getting the error?
http://www.percona.com/downloads/XtraBackup/LATEST/

Changed in percona-xtrabackup:
status: New → Incomplete
Revision history for this message
Shahriyar Rzayev (rzayev-sehriyar) wrote :

Percona now uses JIRA for bug reports so this bug report is migrated to: https://jira.percona.com/browse/PXB-1261

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.