Parsing sources... 100% [12/12] lib/guestfs.rb Generating Darkfish format into /var/tmp/portage/app-emulation/libguestfs-1.36.5/work/libguestfs-1.36.5/ruby/doc/site/api... Files: 12 Classes: 2 ( 2 undocumented) Modules: 1 ( 1 undocumented) Constants: 11 (11 undocumented) Attributes: 0 ( 0 undocumented) Methods: 0 ( 0 undocumented) Total: 14 (14 undocumented) 0.00% documented Elapsed: 3.4s touch stamp-rdoc rake build top_srcdir=$(pwd)/..; top_builddir=$(pwd)/..; export ARCHFLAGS="-arch $(uname -m)"; mkdir -p ./ext/guestfs; cd ./ext/guestfs; ruby /var/tmp/portage/app-emulation/libguestfs-1.36.5/work/libguestfs-1.36.5/ruby/ext/guestfs/extconf.rb --with-_guestfs-include=$top_srcdir/common/utils:$top_srcdir/lib:$top_builddir --with-_guestfs-lib=$top_builddir/lib/.libs checking for guestfs.h... yes checking for guestfs_create() in -lguestfs... yes checking for rb_define_alloc_func()... yes checking for rb_alloc_func_t... yes creating extconf.h creating Makefile make make[3]: Entering directory '/var/tmp/portage/app-emulation/libguestfs-1.36.5/work/libguestfs-1.36.5/ruby/ext/guestfs' make[3]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. compiling actions-0.c In file included from actions-0.c:24:0: /var/tmp/portage/app-emulation/libguestfs-1.36.5/work/libguestfs-1.36.5/ruby/../config.h:92:53: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if __OPTIMIZE__ && (! defined (_FORTIFY_SOURCE) || _FORTIFY_SOURCE < 2) ^~~~~~~~~~~~~~~ /var/tmp/portage/app-emulation/libguestfs-1.36.5/work/libguestfs-1.36.5/ruby/../config.h:2955:48: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] || (defined _FORTIFY_SOURCE && 0 < _FORTIFY_SOURCE \ ^~~~~~~~~~~~~~~ compiling actions-1.c In file included from actions-1.c:24:0: /var/tmp/portage/app-emulation/libguestfs-1.36.5/work/libguestfs-1.36.5/ruby/../config.h:92:53: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if __OPTIMIZE__ && (! defined (_FORTIFY_SOURCE) || _FORTIFY_SOURCE < 2) ^~~~~~~~~~~~~~~ /var/tmp/portage/app-emulation/libguestfs-1.36.5/work/libguestfs-1.36.5/ruby/../config.h:2955:48: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] || (defined _FORTIFY_SOURCE && 0 < _FORTIFY_SOURCE \ ^~~~~~~~~~~~~~~ compiling actions-2.c In file included from actions-2.c:24:0: /var/tmp/portage/app-emulation/libguestfs-1.36.5/work/libguestfs-1.36.5/ruby/../config.h:92:53: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if __OPTIMIZE__ && (! defined (_FORTIFY_SOURCE) || _FORTIFY_SOURCE < 2) ^~~~~~~~~~~~~~~ /var/tmp/portage/app-emulation/libguestfs-1.36.5/work/libguestfs-1.36.5/ruby/../config.h:2955:48: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] || (defined _FORTIFY_SOURCE && 0 < _FORTIFY_SOURCE \ ^~~~~~~~~~~~~~~ compiling actions-3.c In file included from actions-3.c:24:0: /var/tmp/portage/app-emulation/libguestfs-1.36.5/work/libguestfs-1.36.5/ruby/../config.h:92:53: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if __OPTIMIZE__ && (! defined (_FORTIFY_SOURCE) || _FORTIFY_SOURCE < 2) ^~~~~~~~~~~~~~~ /var/tmp/portage/app-emulation/libguestfs-1.36.5/work/libguestfs-1.36.5/ruby/../config.h:2955:48: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] || (defined _FORTIFY_SOURCE && 0 < _FORTIFY_SOURCE \ ^~~~~~~~~~~~~~~ compiling actions-4.c In file included from actions-4.c:24:0: /var/tmp/portage/app-emulation/libguestfs-1.36.5/work/libguestfs-1.36.5/ruby/../config.h:92:53: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if __OPTIMIZE__ && (! defined (_FORTIFY_SOURCE) || _FORTIFY_SOURCE < 2) ^~~~~~~~~~~~~~~ /var/tmp/portage/app-emulation/libguestfs-1.36.5/work/libguestfs-1.36.5/ruby/../config.h:2955:48: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] || (defined _FORTIFY_SOURCE && 0 < _FORTIFY_SOURCE \ ^~~~~~~~~~~~~~~ compiling actions-5.c In file included from actions-5.c:24:0: /var/tmp/portage/app-emulation/libguestfs-1.36.5/work/libguestfs-1.36.5/ruby/../config.h:92:53: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if __OPTIMIZE__ && (! defined (_FORTIFY_SOURCE) || _FORTIFY_SOURCE < 2) ^~~~~~~~~~~~~~~ /var/tmp/portage/app-emulation/libguestfs-1.36.5/work/libguestfs-1.36.5/ruby/../config.h:2955:48: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] || (defined _FORTIFY_SOURCE && 0 < _FORTIFY_SOURCE \ ^~~~~~~~~~~~~~~ compiling actions-6.c In file included from actions-6.c:24:0: /var/tmp/portage/app-emulation/libguestfs-1.36.5/work/libguestfs-1.36.5/ruby/../config.h:92:53: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if __OPTIMIZE__ && (! defined (_FORTIFY_SOURCE) || _FORTIFY_SOURCE < 2) ^~~~~~~~~~~~~~~ /var/tmp/portage/app-emulation/libguestfs-1.36.5/work/libguestfs-1.36.5/ruby/../config.h:2955:48: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] || (defined _FORTIFY_SOURCE && 0 < _FORTIFY_SOURCE \ ^~~~~~~~~~~~~~~ compiling handle.c In file included from handle.c:19:0: /var/tmp/portage/app-emulation/libguestfs-1.36.5/work/libguestfs-1.36.5/ruby/../config.h:92:53: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if __OPTIMIZE__ && (! defined (_FORTIFY_SOURCE) || _FORTIFY_SOURCE < 2) ^~~~~~~~~~~~~~~ /var/tmp/portage/app-emulation/libguestfs-1.36.5/work/libguestfs-1.36.5/ruby/../config.h:2955:48: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] || (defined _FORTIFY_SOURCE && 0 < _FORTIFY_SOURCE \ ^~~~~~~~~~~~~~~ compiling module.c In file included from module.c:24:0: /var/tmp/portage/app-emulation/libguestfs-1.36.5/work/libguestfs-1.36.5/ruby/../config.h:92:53: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if __OPTIMIZE__ && (! defined (_FORTIFY_SOURCE) || _FORTIFY_SOURCE < 2) ^~~~~~~~~~~~~~~ /var/tmp/portage/app-emulation/libguestfs-1.36.5/work/libguestfs-1.36.5/ruby/../config.h:2955:48: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] || (defined _FORTIFY_SOURCE && 0 < _FORTIFY_SOURCE \ ^~~~~~~~~~~~~~~ linking shared-object _guestfs.so actions-0.o: In function `guestfs_int_ruby_aug_transform': actions-0.c:(.text+0x9c9): undefined reference to `guestfs_aug_transform_argv' actions-0.o: In function `guestfs_int_ruby_btrfs_qgroup_create': actions-0.c:(.text+0xad4): undefined reference to `guestfs_btrfs_qgroup_create' actions-0.o: In function `guestfs_int_ruby_btrfs_rescue_super_recover': actions-0.c:(.text+0xb61): undefined reference to `guestfs_btrfs_rescue_super_recover' actions-0.o: In function `guestfs_int_ruby_btrfstune_enable_extended_inode_refs': actions-0.c:(.text+0xbf1): undefined reference to `guestfs_btrfstune_enable_extended_inode_refs' actions-0.o: In function `guestfs_int_ruby_copy_in': actions-0.c:(.text+0x1224): undefined reference to `guestfs_copy_in' actions-0.o: In function `guestfs_int_ruby_get_sockdir': actions-0.c:(.text+0x1ad0): undefined reference to `guestfs_get_sockdir' actions-0.o: In function `guestfs_int_ruby_inspect_get_windows_software_hive': actions-0.c:(.text+0x22d2): undefined reference to `guestfs_inspect_get_windows_software_hive' actions-0.o: In function `guestfs_int_ruby_mountable_device': actions-0.c:(.text+0x42f2): undefined reference to `guestfs_mountable_device' actions-0.o: In function `guestfs_int_ruby_part_expand_gpt': actions-0.c:(.text+0x4701): undefined reference to `guestfs_part_expand_gpt' actions-1.o: In function `guestfs_int_ruby_btrfs_balance_resume': actions-1.c:(.text+0x2b1): undefined reference to `guestfs_btrfs_balance_resume' actions-1.o: In function `guestfs_int_ruby_btrfs_qgroup_show': actions-1.c:(.text+0x56c): undefined reference to `guestfs_btrfs_qgroup_show' actions-1.c:(.text+0x662): undefined reference to `guestfs_free_btrfsqgroup_list' actions-1.o: In function `guestfs_int_ruby_btrfs_rescue_chunk_recover': actions-1.c:(.text+0x6f1): undefined reference to `guestfs_btrfs_rescue_chunk_recover' actions-1.o: In function `guestfs_int_ruby_btrfs_scrub_resume': actions-1.c:(.text+0x781): undefined reference to `guestfs_btrfs_scrub_resume' actions-1.o: In function `guestfs_int_ruby_download_inode': actions-1.c:(.text+0x13d4): undefined reference to `guestfs_download_inode' actions-1.o: In function `guestfs_int_ruby_filesystem_walk': actions-1.c:(.text+0x150c): undefined reference to `guestfs_filesystem_walk' actions-1.c:(.text+0x188c): undefined reference to `guestfs_free_tsk_dirent_list' actions-1.o: In function `guestfs_int_ruby_get_identifier': actions-1.c:(.text+0x1a6b): undefined reference to `guestfs_get_identifier' actions-1.o: In function `guestfs_int_ruby_inspect_get_windows_system_hive': actions-1.c:(.text+0x2982): undefined reference to `guestfs_inspect_get_windows_system_hive' actions-1.o: In function `guestfs_int_ruby_mountable_subvolume': actions-1.c:(.text+0x4fa2): undefined reference to `guestfs_mountable_subvolume' actions-1.o: In function `guestfs_int_ruby_part_set_disk_guid': actions-1.c:(.text+0x5574): undefined reference to `guestfs_part_set_disk_guid' actions-1.o: In function `guestfs_int_ruby_part_set_disk_guid_random': actions-1.c:(.text+0x5601): undefined reference to `guestfs_part_set_disk_guid_random' actions-1.o: In function `guestfs_int_ruby_selinux_relabel': actions-1.c:(.text+0x5939): undefined reference to `guestfs_selinux_relabel_argv' actions-1.o: In function `guestfs_int_ruby_set_identifier': actions-1.c:(.text+0x5b61): undefined reference to `guestfs_set_identifier' actions-2.o: In function `guestfs_int_ruby_btrfs_balance_cancel': actions-2.c:(.text+0xc31): undefined reference to `guestfs_btrfs_balance_cancel' actions-2.o: In function `guestfs_int_ruby_btrfs_qgroup_limit': actions-2.c:(.text+0xcd0): undefined reference to `guestfs_btrfs_qgroup_limit' actions-2.o: In function `guestfs_int_ruby_btrfs_quota_rescan': actions-2.c:(.text+0xd71): undefined reference to `guestfs_btrfs_quota_rescan' actions-2.o: In function `guestfs_int_ruby_btrfs_subvolume_show': actions-2.c:(.text+0xea8): undefined reference to `guestfs_btrfs_subvolume_show' actions-2.o: In function `guestfs_int_ruby_glob_expand': actions-2.c:(.text+0x1c9e): undefined reference to `guestfs_glob_expand_opts_argv' actions-2.o: In function `guestfs_int_ruby_mksquashfs': actions-2.c:(.text+0x30ab): undefined reference to `guestfs_mksquashfs_argv' actions-2.o: In function `guestfs_int_ruby_ntfscat_i': actions-2.c:(.text+0x3314): undefined reference to `guestfs_ntfscat_i' actions-2.o: In function `guestfs_int_ruby_part_get_disk_guid': actions-2.c:(.text+0x3422): undefined reference to `guestfs_part_get_disk_guid' actions-2.o: In function `guestfs_int_ruby_part_set_gpt_guid': actions-2.c:(.text+0x378d): undefined reference to `guestfs_part_set_gpt_guid' actions-3.o: In function `guestfs_int_ruby_btrfs_balance_status': actions-3.c:(.text+0x776): undefined reference to `guestfs_btrfs_balance_status' actions-3.c:(.text+0x874): undefined reference to `guestfs_free_btrfsbalance' actions-3.o: In function `guestfs_int_ruby_btrfs_filesystem_defragment': actions-3.c:(.text+0xb4d): undefined reference to `guestfs_btrfs_filesystem_defragment_argv' actions-3.o: In function `guestfs_int_ruby_btrfs_image': actions-3.c:(.text+0xfbe): undefined reference to `guestfs_btrfs_image_argv' actions-3.o: In function `guestfs_int_ruby_btrfs_qgroup_destroy': actions-3.c:(.text+0x1114): undefined reference to `guestfs_btrfs_qgroup_destroy' actions-3.o: In function `guestfs_int_ruby_btrfstune_enable_skinny_metadata_extent_refs': actions-3.c:(.text+0x13c1): undefined reference to `guestfs_btrfstune_enable_skinny_metadata_extent_refs' actions-3.o: In function `guestfs_int_ruby_copy_out': actions-3.c:(.text+0x1684): undefined reference to `guestfs_copy_out' actions-3.o: In function `guestfs_int_ruby_download_blocks': actions-3.c:(.text+0x1c58): undefined reference to `guestfs_download_blocks_argv' actions-3.o: In function `guestfs_int_ruby_vfs_minimum_size': actions-3.c:(.text+0x7971): undefined reference to `guestfs_vfs_minimum_size' actions-4.o: In function `guestfs_int_ruby_add_libvirt_dom': actions-4.c:(.text+0x354): undefined reference to `guestfs_add_libvirt_dom_argv' actions-4.o: In function `guestfs_int_ruby_blockdev_setra': actions-4.c:(.text+0x929): undefined reference to `guestfs_blockdev_setra' actions-4.o: In function `guestfs_int_ruby_btrfs_scrub_start': actions-4.c:(.text+0x9c1): undefined reference to `guestfs_btrfs_scrub_start' actions-4.o: In function `guestfs_int_ruby_btrfs_scrub_status': actions-4.c:(.text+0xa56): undefined reference to `guestfs_btrfs_scrub_status' actions-4.c:(.text+0xd16): undefined reference to `guestfs_free_btrfsscrub' actions-4.o: In function `guestfs_int_ruby_btrfs_subvolume_create': actions-4.c:(.text+0xe47): undefined reference to `guestfs_btrfs_subvolume_create_opts_argv' actions-4.o: In function `guestfs_int_ruby_btrfs_subvolume_snapshot': actions-4.c:(.text+0x1105): undefined reference to `guestfs_btrfs_subvolume_snapshot_opts_argv' actions-4.o: In function `guestfs_int_ruby_find_inode': actions-4.c:(.text+0x161e): undefined reference to `guestfs_find_inode' actions-4.c:(.text+0x199c): undefined reference to `guestfs_free_tsk_dirent_list' actions-4.o: In function `guestfs_int_ruby_part_get_gpt_guid': actions-4.c:(.text+0x379a): undefined reference to `guestfs_part_get_gpt_guid' actions-4.o: In function `guestfs_int_ruby_part_get_mbr_part_type': actions-4.c:(.text+0x392a): undefined reference to `guestfs_part_get_mbr_part_type' actions-5.o: In function `guestfs_int_ruby_btrfs_balance_pause': actions-5.c:(.text+0x2b1): undefined reference to `guestfs_btrfs_balance_pause' actions-5.o: In function `guestfs_int_ruby_btrfs_filesystem_show': actions-5.c:(.text+0x526): undefined reference to `guestfs_btrfs_filesystem_show' actions-5.o: In function `guestfs_int_ruby_btrfs_qgroup_assign': actions-5.c:(.text+0x64e): undefined reference to `guestfs_btrfs_qgroup_assign' actions-5.o: In function `guestfs_int_ruby_btrfs_replace': actions-5.c:(.text+0x70e): undefined reference to `guestfs_btrfs_replace' actions-5.o: In function `guestfs_int_ruby_btrfs_scrub_cancel': actions-5.c:(.text+0x7a1): undefined reference to `guestfs_btrfs_scrub_cancel' actions-5.o: In function `guestfs_int_ruby_btrfs_subvolume_get_default': actions-5.c:(.text+0x831): undefined reference to `guestfs_btrfs_subvolume_get_default' actions-5.o: In function `guestfs_int_ruby_btrfstune_seeding': actions-5.c:(.text+0x8d1): undefined reference to `guestfs_btrfstune_seeding' actions-5.o: In function `guestfs_int_ruby_set_uuid_random': actions-5.c:(.text+0x7411): undefined reference to `guestfs_set_uuid_random' actions-6.o: In function `guestfs_int_ruby_btrfs_qgroup_remove': actions-6.c:(.text+0x3be): undefined reference to `guestfs_btrfs_qgroup_remove' actions-6.o: In function `guestfs_int_ruby_btrfs_quota_enable': actions-6.c:(.text+0x461): undefined reference to `guestfs_btrfs_quota_enable' collect2: error: ld returned 1 exit status make[3]: *** [Makefile:259: _guestfs.so] Error 1 make[3]: Leaving directory '/var/tmp/portage/app-emulation/libguestfs-1.36.5/work/libguestfs-1.36.5/ruby/ext/guestfs' rake aborted! Command failed with status (2): [make...] /var/tmp/portage/app-emulation/libguestfs-1.36.5/work/libguestfs-1.36.5/ruby/Rakefile:75:in `block (2 levels) in ' /var/tmp/portage/app-emulation/libguestfs-1.36.5/work/libguestfs-1.36.5/ruby/Rakefile:74:in `chdir' /var/tmp/portage/app-emulation/libguestfs-1.36.5/work/libguestfs-1.36.5/ruby/Rakefile:74:in `block in ' Tasks: TOP => build => ./ext/guestfs/_guestfs.so (See full trace by running task with --trace) make[2]: *** [Makefile:2246: all] Error 1 make[2]: Leaving directory '/var/tmp/portage/app-emulation/libguestfs-1.36.5/work/libguestfs-1.36.5/ruby' make[1]: *** [Makefile:1955: all-recursive] Error 1 make[1]: Leaving directory '/var/tmp/portage/app-emulation/libguestfs-1.36.5/work/libguestfs-1.36.5' make: *** [Makefile:1864: all] Error 2 ERROR: app-emulation/libguestfs-1.36.5::gentoo failed (compile phase): emake failed