Source: snapper Version: 0.2.4-1 Severity: serious Tags: jessie sid User: debian...@lists.debian.org Usertags: qa-ftbfs-20141108 qa-ftbfs Justification: FTBFS in jessie on amd64
Hi, During a rebuild of all packages in jessie (in a jessie chroot, not a sid chroot), your package failed to build on amd64. Relevant part (hopefully): > /bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. > -I/usr/include/libxml2 -D_FORTIFY_SOURCE=2 -DCONFDIR='"/etc/default"' > -D_FILE_OFFSET_BITS=64 -g -O2 -fstack-protector-strong -Wformat > -Werror=format-security -std=c++0x -Wall -Wextra -Wformat=2 > -Wnon-virtual-dtor -Wno-unused-parameter -c -o BtrfsUtils.lo BtrfsUtils.cc > libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 > -D_FORTIFY_SOURCE=2 -DCONFDIR=\"/etc/default\" -D_FILE_OFFSET_BITS=64 -g -O2 > -fstack-protector-strong -Wformat -Werror=format-security -std=c++0x -Wall > -Wextra -Wformat=2 -Wnon-virtual-dtor -Wno-unused-parameter -c BtrfsUtils.cc > -fPIC -DPIC -o .libs/BtrfsUtils.o > BtrfsUtils.cc: In function 'void snapper::create_snapshot(int, int, const > string&, bool, snapper::qgroup_t)': > BtrfsUtils.cc:127:27: error: 'btrfs_qgroup_inherit' was not declared in this > scope > size_t size = sizeof(btrfs_qgroup_inherit) + > sizeof(((btrfs_qgroup_inherit*) 0)->qgroups[0]); > ^ > BtrfsUtils.cc:127:81: error: expected primary-expression before ')' token > size_t size = sizeof(btrfs_qgroup_inherit) + > sizeof(((btrfs_qgroup_inherit*) 0)->qgroups[0]); > > ^ > BtrfsUtils.cc:127:83: error: expected ')' before numeric constant > size_t size = sizeof(btrfs_qgroup_inherit) + > sizeof(((btrfs_qgroup_inherit*) 0)->qgroups[0]); > > ^ > BtrfsUtils.cc:127:98: error: expected ')' before ';' token > size_t size = sizeof(btrfs_qgroup_inherit) + > sizeof(((btrfs_qgroup_inherit*) 0)->qgroups[0]); > > ^ > BtrfsUtils.cc:129:43: error: invalid type in declaration before '=' token > struct btrfs_qgroup_inherit* inherit = (btrfs_qgroup_inherit*) > &buffer[0]; > ^ > BtrfsUtils.cc:129:67: error: expected primary-expression before ')' token > struct btrfs_qgroup_inherit* inherit = (btrfs_qgroup_inherit*) > &buffer[0]; > ^ > BtrfsUtils.cc:131:15: error: request for member 'num_qgroups' in '* inherit', > which is of non-class type 'int' > inherit->num_qgroups = 1; > ^ > BtrfsUtils.cc:132:15: error: request for member 'num_ref_copies' in '* > inherit', which is of non-class type 'int' > inherit->num_ref_copies = 0; > ^ > BtrfsUtils.cc:133:15: error: request for member 'num_excl_copies' in '* > inherit', which is of non-class type 'int' > inherit->num_excl_copies = 0; > ^ > BtrfsUtils.cc:134:15: error: request for member 'qgroups' in '* inherit', > which is of non-class type 'int' > inherit->qgroups[0] = qgroup; > ^ > BtrfsUtils.cc:136:23: error: 'BTRFS_SUBVOL_QGROUP_INHERIT' was not declared > in this scope > args_v2.flags |= BTRFS_SUBVOL_QGROUP_INHERIT; > ^ > BtrfsUtils.cc:137:14: error: 'struct btrfs_ioctl_vol_args_v2' has no member > named 'size' > args_v2.size = size; > ^ > BtrfsUtils.cc:138:14: error: 'struct btrfs_ioctl_vol_args_v2' has no member > named 'qgroup_inherit' > args_v2.qgroup_inherit = inherit; > ^ > BtrfsUtils.cc: In function 'void snapper::set_default_id(int, long long > unsigned int)': > BtrfsUtils.cc:176:16: error: 'BTRFS_IOC_DEFAULT_SUBVOL' was not declared in > this scope > if (ioctl(fd, BTRFS_IOC_DEFAULT_SUBVOL, &id) != 0) > ^ > BtrfsUtils.cc: In function 'long long unsigned int > snapper::get_default_id(int)': > BtrfsUtils.cc:184:33: error: aggregate > 'snapper::get_default_id(int)::btrfs_ioctl_search_args args' has incomplete > type and cannot be defined > struct btrfs_ioctl_search_args args; > ^ > BtrfsUtils.cc:188:4: error: invalid use of incomplete type 'struct > snapper::get_default_id(int)::btrfs_ioctl_search_key' > sk->tree_id = BTRFS_ROOT_TREE_OBJECTID; > ^ > BtrfsUtils.cc:187:9: error: forward declaration of 'struct > snapper::get_default_id(int)::btrfs_ioctl_search_key' > struct btrfs_ioctl_search_key* sk = &args.key; > ^ > BtrfsUtils.cc:188:16: error: 'BTRFS_ROOT_TREE_OBJECTID' was not declared in > this scope > sk->tree_id = BTRFS_ROOT_TREE_OBJECTID; > ^ > BtrfsUtils.cc:189:4: error: invalid use of incomplete type 'struct > snapper::get_default_id(int)::btrfs_ioctl_search_key' > sk->nr_items = 1; > ^ > BtrfsUtils.cc:187:9: error: forward declaration of 'struct > snapper::get_default_id(int)::btrfs_ioctl_search_key' > struct btrfs_ioctl_search_key* sk = &args.key; > ^ > BtrfsUtils.cc:190:4: error: invalid use of incomplete type 'struct > snapper::get_default_id(int)::btrfs_ioctl_search_key' > sk->max_objectid = BTRFS_ROOT_TREE_DIR_OBJECTID; > ^ > BtrfsUtils.cc:187:9: error: forward declaration of 'struct > snapper::get_default_id(int)::btrfs_ioctl_search_key' > struct btrfs_ioctl_search_key* sk = &args.key; > ^ > BtrfsUtils.cc:190:21: error: 'BTRFS_ROOT_TREE_DIR_OBJECTID' was not declared > in this scope > sk->max_objectid = BTRFS_ROOT_TREE_DIR_OBJECTID; > ^ > BtrfsUtils.cc:191:4: error: invalid use of incomplete type 'struct > snapper::get_default_id(int)::btrfs_ioctl_search_key' > sk->min_objectid = BTRFS_ROOT_TREE_DIR_OBJECTID; > ^ > BtrfsUtils.cc:187:9: error: forward declaration of 'struct > snapper::get_default_id(int)::btrfs_ioctl_search_key' > struct btrfs_ioctl_search_key* sk = &args.key; > ^ > BtrfsUtils.cc:192:4: error: invalid use of incomplete type 'struct > snapper::get_default_id(int)::btrfs_ioctl_search_key' > sk->max_type = BTRFS_DIR_ITEM_KEY; > ^ > BtrfsUtils.cc:187:9: error: forward declaration of 'struct > snapper::get_default_id(int)::btrfs_ioctl_search_key' > struct btrfs_ioctl_search_key* sk = &args.key; > ^ > BtrfsUtils.cc:192:17: error: 'BTRFS_DIR_ITEM_KEY' was not declared in this > scope > sk->max_type = BTRFS_DIR_ITEM_KEY; > ^ > BtrfsUtils.cc:193:4: error: invalid use of incomplete type 'struct > snapper::get_default_id(int)::btrfs_ioctl_search_key' > sk->min_type = BTRFS_DIR_ITEM_KEY; > ^ > BtrfsUtils.cc:187:9: error: forward declaration of 'struct > snapper::get_default_id(int)::btrfs_ioctl_search_key' > struct btrfs_ioctl_search_key* sk = &args.key; > ^ > BtrfsUtils.cc:194:4: error: invalid use of incomplete type 'struct > snapper::get_default_id(int)::btrfs_ioctl_search_key' > sk->max_offset = (__u64) -1; > ^ > BtrfsUtils.cc:187:9: error: forward declaration of 'struct > snapper::get_default_id(int)::btrfs_ioctl_search_key' > struct btrfs_ioctl_search_key* sk = &args.key; > ^ > BtrfsUtils.cc:195:4: error: invalid use of incomplete type 'struct > snapper::get_default_id(int)::btrfs_ioctl_search_key' > sk->max_transid = (__u64) -1; > ^ > BtrfsUtils.cc:187:9: error: forward declaration of 'struct > snapper::get_default_id(int)::btrfs_ioctl_search_key' > struct btrfs_ioctl_search_key* sk = &args.key; > ^ > BtrfsUtils.cc:197:16: error: 'BTRFS_IOC_TREE_SEARCH' was not declared in this > scope > if (ioctl(fd, BTRFS_IOC_TREE_SEARCH, &args) != 0) > ^ > BtrfsUtils.cc:200:8: error: invalid use of incomplete type 'struct > snapper::get_default_id(int)::btrfs_ioctl_search_key' > if (sk->nr_items == 0) > ^ > BtrfsUtils.cc:187:9: error: forward declaration of 'struct > snapper::get_default_id(int)::btrfs_ioctl_search_key' > struct btrfs_ioctl_search_key* sk = &args.key; > ^ > BtrfsUtils.cc:204:8: error: invalid use of incomplete type 'struct > snapper::get_default_id(int)::btrfs_ioctl_search_header' > if (sh->type != BTRFS_DIR_ITEM_KEY) > ^ > BtrfsUtils.cc:203:9: error: forward declaration of 'struct > snapper::get_default_id(int)::btrfs_ioctl_search_header' > struct btrfs_ioctl_search_header* sh = (struct btrfs_ioctl_search_header*) > args.buf; > ^ > BtrfsUtils.cc:207:60: error: invalid use of incomplete type 'struct > snapper::get_default_id(int)::btrfs_ioctl_search_header' > struct btrfs_dir_item* di = (struct btrfs_dir_item*)(sh + 1); > ^ > BtrfsUtils.cc:203:9: error: forward declaration of 'struct > snapper::get_default_id(int)::btrfs_ioctl_search_header' > struct btrfs_ioctl_search_header* sh = (struct btrfs_ioctl_search_header*) > args.buf; > ^ > BtrfsUtils.cc:208:44: error: 'btrfs_stack_dir_name_len' was not declared in > this scope > int name_len = btrfs_stack_dir_name_len(di); > ^ > BtrfsUtils.cc:209:40: error: invalid use of incomplete type 'struct > snapper::get_default_id(int)::btrfs_dir_item' > const char* name = (const char*)(di + 1); > ^ > BtrfsUtils.cc:207:9: error: forward declaration of 'struct > snapper::get_default_id(int)::btrfs_dir_item' > struct btrfs_dir_item* di = (struct btrfs_dir_item*)(sh + 1); > ^ > BtrfsUtils.cc:213:36: error: invalid use of incomplete type 'struct > snapper::get_default_id(int)::btrfs_dir_item' > return btrfs_disk_key_objectid(&di->location); > ^ > BtrfsUtils.cc:207:9: error: forward declaration of 'struct > snapper::get_default_id(int)::btrfs_dir_item' > struct btrfs_dir_item* di = (struct btrfs_dir_item*)(sh + 1); > ^ > BtrfsUtils.cc:213:46: error: 'btrfs_disk_key_objectid' was not declared in > this scope > return btrfs_disk_key_objectid(&di->location); > ^ > BtrfsUtils.cc: In function 'std::string snapper::get_subvolume(int, long long > unsigned int)': > BtrfsUtils.cc:222:55: error: 'btrfs_subvolid_resolve' was not declared in > this scope > if (btrfs_subvolid_resolve(fd, path, sizeof(path), id) != 0) > ^ > BtrfsUtils.cc: In function 'long long unsigned int snapper::get_id(int)': > BtrfsUtils.cc:233:37: error: aggregate > 'snapper::get_id(int)::btrfs_ioctl_ino_lookup_args args' has incomplete type > and cannot be defined > struct btrfs_ioctl_ino_lookup_args args; > ^ > BtrfsUtils.cc:236:18: error: 'BTRFS_FIRST_FREE_OBJECTID' was not declared in > this scope > args.objectid = BTRFS_FIRST_FREE_OBJECTID; > ^ > BtrfsUtils.cc:238:16: error: 'BTRFS_IOC_INO_LOOKUP' was not declared in this > scope > if (ioctl(fd, BTRFS_IOC_INO_LOOKUP, &args) != 0) > ^ > BtrfsUtils.cc: In function 'long long unsigned int > snapper::get_default_id(int)': > BtrfsUtils.cc:214:5: warning: control reaches end of non-void function > [-Wreturn-type] > } > ^ > BtrfsUtils.cc: In function 'long long unsigned int snapper::get_id(int)': > BtrfsUtils.cc:242:5: warning: control reaches end of non-void function > [-Wreturn-type] > } > ^ > make[3]: *** [BtrfsUtils.lo] Error 1 The full build log is available from: http://aws-logs.debian.net/ftbfs-logs/2014/11/08/snapper_0.2.4-1_jessie.log A list of current common problems and possible solutions is available at http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute! About the archive rebuild: The rebuild was done on EC2 VM instances from Amazon Web Services, using a clean, minimal and up-to-date chroot. Every failed build was retried once to eliminate random failures. -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org