Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 848615 Details for
Bug 890989
sys-fs/genimage-16 fails tests (DASH-SYSTEM)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
1-test-suite.log
1-test-suite.log (text/plain), 453.35 KB, created by
Agostino Sarubbo
on 2023-01-15 21:11:29 UTC
(
hide
)
Description:
1-test-suite.log
Filename:
MIME Type:
Creator:
Agostino Sarubbo
Created:
2023-01-15 21:11:29 UTC
Size:
453.35 KB
patch
obsolete
>=================================== > genimage 16: ./test-suite.log >=================================== > ># TOTAL: 46 ># PASS: 22 ># SKIP: 19 ># XFAIL: 0 ># FAIL: 4 ># XPASS: 0 ># ERROR: 1 > >.. contents:: :depth: 2 > >PASS: test/genimage >=================== > >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >+ test_description='Genimage Basic Functionality Tests' >++ dirname ./test/genimage.test >+ . ./test/test-setup.sh >++++ dirname ./test/genimage.test >+++ readlink -f ./test >++ testdir=/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test >+++ pwd >++ genimage=/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/genimage >++ PATH=/usr/lib/portage/python3.11/ebuild-helpers/xattr:/usr/lib/portage/python3.11/ebuild-helpers:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/lib/llvm/15/bin:/sbin:/usr/sbin >++ set -- -v >++ . /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/sharness.sh >+++ SHARNESS_VERSION=1.0.0 >+++ export SHARNESS_VERSION >+++ : t >+++ export SHARNESS_TEST_EXTENSION >+++ '[' x = x ']' >+++ SHARNESS_ORIG_TERM=tmux-256color >+++ export SHARNESS_ORIG_TERM >+++ : /bin/bash >+++ export SHELL_PATH >+++ LANG=C >+++ LC_ALL=C >+++ PAGER=cat >+++ TZ=UTC >+++ EDITOR=: >+++ export LANG LC_ALL PAGER TZ EDITOR >+++ unset VISUAL CDPATH GREP_OPTIONS >+++ LF=' >' >+++ '[' xtmux-256color '!=' xdumb ']' >+++ '[' -t 1 ']' >+++ test 1 -ne 0 >+++ case "$1" in >+++ verbose=t >+++ shift >+++ test 0 -ne 0 >+++ test -n '' >+++ TERM=dumb >+++ export TERM >+++ test -n 'Genimage Basic Functionality Tests' >+++ test '' = t >+++ exec >+++ exec >+++ test t = t >+++ exec >+++ test_failure=0 >+++ test_count=0 >+++ test_fixed=0 >+++ test_broken=0 >+++ test_success=0 >+++ EXIT_OK= >+++ trap die EXIT >+++ satisfied_prereq=' ' >+++ final_cleanup= >++++ pwd >+++ : /var/tmp/portage/sys-fs/genimage-16/work/genimage-16 >+++ export SHARNESS_TEST_DIRECTORY >+++++ dirname ./test/genimage.test >++++ cd ./test >++++ pwd >+++ : /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test >+++ export SHARNESS_TEST_SRCDIR >+++ : /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/.. >+++ PATH=/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/..:/usr/lib/portage/python3.11/ebuild-helpers/xattr:/usr/lib/portage/python3.11/ebuild-helpers:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/lib/llvm/15/bin:/sbin:/usr/sbin >+++ export PATH SHARNESS_BUILD_DIRECTORY >+++ SHARNESS_TEST_FILE=./test/genimage.test >+++ export SHARNESS_TEST_FILE >++++ basename ./test/genimage.test .t >+++ SHARNESS_TRASH_DIRECTORY='trash directory.genimage.test' >+++ test -n '' >+++ case "$SHARNESS_TRASH_DIRECTORY" in >+++ SHARNESS_TRASH_DIRECTORY='/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.genimage.test' >+++ test '' = t >+++ remove_trash='/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.genimage.test' >+++ rm -rf '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.genimage.test' >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >+++ test -d /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/sharness.d >+++ export SHARNESS_TRASH_DIRECTORY >+++ HOME='/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.genimage.test' >+++ export HOME >+++ mkdir -p '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.genimage.test' >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >+++ cd -P '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.genimage.test' >+++ this_test=genimage.test >+++ this_test=genimage.test >+++ test -n '' >+++ test -n '' >+++ : >+++ pwd >++ filelist_orig='/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.genimage.test/file-list.orig' >+++ pwd >++ filelist_test='/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.genimage.test/file-list.test' >+++ pwd >++ root_orig='/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.genimage.test/root.orig' >+++ pwd >++ root_test='/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.genimage.test/root.test' >++ set -o pipefail >++ setup_data >++ umask 0022 >++ mkdir -p '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.genimage.test/root.orig/foo/1' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.genimage.test/root.orig/foo/2' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.genimage.test/root.orig/foo/3' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.genimage.test/root.orig/bar/1' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.genimage.test/root.orig/bar/2' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.genimage.test/root.orig/bar/3' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.genimage.test/root.orig/baz/1' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.genimage.test/root.orig/baz/2' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.genimage.test/root.orig/baz/3' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.genimage.test/root.orig/with spaces/1' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.genimage.test/root.orig/with spaces/2' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.genimage.test/root.orig/with spaces/3' >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ touch '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.genimage.test/root.orig/foo/1/one' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.genimage.test/root.orig/foo/1/two' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.genimage.test/root.orig/foo/2/one' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.genimage.test/root.orig/foo/2/two' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.genimage.test/root.orig/foo/3/one' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.genimage.test/root.orig/foo/3/two' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.genimage.test/root.orig/bar/1/one' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.genimage.test/root.orig/bar/1/two' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.genimage.test/root.orig/bar/2/one' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.genimage.test/root.orig/bar/2/two' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.genimage.test/root.orig/bar/3/one' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.genimage.test/root.orig/bar/3/two' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.genimage.test/root.orig/baz/1/one' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.genimage.test/root.orig/baz/1/two' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.genimage.test/root.orig/baz/2/one' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.genimage.test/root.orig/baz/2/two' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.genimage.test/root.orig/baz/3/one' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.genimage.test/root.orig/baz/3/two' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.genimage.test/root.orig/with spaces/1/one' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.genimage.test/root.orig/with spaces/1/two' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.genimage.test/root.orig/with spaces/2/one' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.genimage.test/root.orig/with spaces/2/two' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.genimage.test/root.orig/with spaces/3/one' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.genimage.test/root.orig/with spaces/3/two' >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ find '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.genimage.test/root.orig' -print0 >++ xargs -0 touch -c -d '2011-11-11 UTC' >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ find '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.genimage.test/root.orig/' -mindepth 1 -printf '%P\n' >++ sort >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ cp /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/cpio.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/cramfs.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/exec-fail.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/exec.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/ext2.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/ext2percent.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/ext3.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/ext4.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/f2fs.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/fip.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/fit.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/flash-types.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/flash.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/gpt-overlap1.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/gpt-overlap2.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/gpt-overlap3.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hdimage-fail1.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hdimage-fail2.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hdimage-fail3.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hdimage-fail4.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hdimage-fail5.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hdimage-fail6.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hdimage-fail7.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hdimage-hybrid.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hdimage-nopart.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hdimage.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hdimage2.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hdimage4.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hdimage5.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hdimage6.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hdimage7.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hole.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/include-test.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/include.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/iso.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/jffs2.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/mke2fs.conf /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/mke2fs.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/qemu.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/rauc.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/sparse.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/squashfs.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/tar.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/ubi.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/ubifs.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/vfat.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/exec-check.sh /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/sharness.sh /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/test-setup.sh . >++ sfdisk -h >++ grep -q gpt >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ test_set_prereq sfdisk-gpt >++ satisfied_prereq=' sfdisk-gpt ' >++ fdisk -h >++ grep -q gpt >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ test_set_prereq fdisk-gpt >++ satisfied_prereq=' sfdisk-gpt fdisk-gpt ' >+ test_expect_success exec ' > setup_exec_files && > run_genimage_root exec.config' >+ test 2 = 3 >+ test_prereq= >+ test 2 = 2 >+ export test_prereq >+ test_skip_ exec ' > setup_exec_files && > run_genimage_root exec.config' >+ test_count=1 >+ to_skip= >+ test -z '' >+ test -n '' >+ case "$to_skip" in >+ false >+ say 'expecting success: > setup_exec_files && > run_genimage_root exec.config' >+ say_color info 'expecting success: > setup_exec_files && > run_genimage_root exec.config' >+ test -z info >+ shift >+ printf '%s\n' 'expecting success: > setup_exec_files && > run_genimage_root exec.config' >+ test_run_ ' > setup_exec_files && > run_genimage_root exec.config' >+ test_cleanup=: >+ expecting_failure= >+ test_eval_ ' > setup_exec_files && > run_genimage_root exec.config' >+ case ",$test_prereq," in >+ eval ' > setup_exec_files && > run_genimage_root exec.config' >++ setup_exec_files >++ rm -rf input >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ mkdir input >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >expecting success: > setup_exec_files && >++ dd if=/dev/zero of=input/file1.img bs=512 count=7 >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >7+0 records in >7+0 records out >3584 bytes (3.6 kB, 3.5 KiB) copied, 1.8245e-05 s, 196 MB/s >++ dd if=/dev/zero of=input/file2.img bs=512 count=7 >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >7+0 records in >7+0 records out >3584 bytes (3.6 kB, 3.5 KiB) copied, 1.4468e-05 s, 248 MB/s >++ dd if=/dev/zero of=input/file3.img bs=512 count=7 >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >7+0 records in >7+0 records out >3584 bytes (3.6 kB, 3.5 KiB) copied, 1.3686e-05 s, 262 MB/s >++ dd if=/dev/zero of=input/file4.img bs=512 count=7 >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >7+0 records in >7+0 records out >3584 bytes (3.6 kB, 3.5 KiB) copied, 1.5109e-05 s, 237 MB/s >++ run_genimage_root exec.config >++ root=root.orig >++ run_genimage_impl exec.config >++ '[' t = t ']' >++ vargs=--loglevel=3 >++ rm -rf tmp images '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.genimage.test/root.test' >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ mkdir '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.genimage.test/root.test' images >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ '[' -n '' ']' >++ /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/genimage --loglevel=3 --outputpath=images --inputpath=input --rootpath=root.orig --tmppath=tmp --config exec.config >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >INFO: cmd: "mkdir -p "/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.genimage.test/tmp"" (stderr+stdout): >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >INFO: cmd: "rm -rf "/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.genimage.test/tmp"/*" (stderr+stdout): >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >INFO: cmd: "mkdir -p "/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.genimage.test/tmp"" (stderr+stdout): >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >INFO: cmd: "cp -a "/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.genimage.test/root.orig" "/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.genimage.test/tmp/root"" (stderr+stdout): >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >INFO: cmd: "mkdir -p "/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.genimage.test/images"" (stderr+stdout): >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >INFO: file(file1.img): cmd: "./exec-check.sh file1.img" (stderr+stdout): >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >+ : OUTPUTPATH >+ test '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.genimage.test/images' = '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.genimage.test/images' >+ : INPUTPATH >+ test '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.genimage.test/input' = '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.genimage.test/input' >+ : ROOTPATH >+ test '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.genimage.test/root.orig' = '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.genimage.test/root.orig' >+ : TMPPATH >+ test '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.genimage.test/tmp' = '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.genimage.test/tmp' >+ : IMAGE >+ test file1.img = file1.img >+ : IMAGEOUTFILE >+ test '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.genimage.test/images/file1.img' = '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.genimage.test/images/file1.img' >+ : IMAGENAME >+ test exec-test = exec-test >+ : IMAGESIZE >+ test 3584 = 3584 >+ : IMAGEMOUNTPOINT >+ test '' = '' >+ : IMAGEMOUNTPATH >+ '[' '' = empty ']' >+ test '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.genimage.test/tmp/root' = '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.genimage.test/tmp/root' >INFO: file(file1.img): cmd: "cp '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.genimage.test/input/file1.img' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.genimage.test/images/file1.img'" (stderr+stdout): >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >INFO: file(file2.img): cmd: "cp '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.genimage.test/input/file2.img' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.genimage.test/images/file2.img'" (stderr+stdout): >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >INFO: file(file2.img): cmd: "./exec-check.sh file2.img" (stderr+stdout): >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >+ : OUTPUTPATH >+ test '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.genimage.test/images' = '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.genimage.test/images' >+ : INPUTPATH >+ test '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.genimage.test/input' = '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.genimage.test/input' >+ : ROOTPATH >+ test '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.genimage.test/root.orig' = '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.genimage.test/root.orig' >+ : TMPPATH >+ test '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.genimage.test/tmp' = '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.genimage.test/tmp' >+ : IMAGE >+ test file2.img = file2.img >+ : IMAGEOUTFILE >+ test '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.genimage.test/images/file2.img' = '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.genimage.test/images/file2.img' >+ : IMAGENAME >+ test exec-test = exec-test >+ : IMAGESIZE >+ test 3584 = 3584 >+ : IMAGEMOUNTPOINT >+ test '' = '' >+ : IMAGEMOUNTPATH >+ '[' '' = empty ']' >+ test '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.genimage.test/tmp/root' = '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.genimage.test/tmp/root' >INFO: file(file3.img): cmd: "./exec-check.sh file3.img empty" (stderr+stdout): >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >+ : OUTPUTPATH >+ test '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.genimage.test/images' = '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.genimage.test/images' >+ : INPUTPATH >+ test '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.genimage.test/input' = '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.genimage.test/input' >+ : ROOTPATH >+ test '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.genimage.test/root.orig' = '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.genimage.test/root.orig' >+ : TMPPATH >+ test '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.genimage.test/tmp' = '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.genimage.test/tmp' >+ : IMAGE >+ test file3.img = file3.img >+ : IMAGEOUTFILE >+ test '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.genimage.test/images/file3.img' = '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.genimage.test/images/file3.img' >+ : IMAGENAME >+ test exec-test = exec-test >+ : IMAGESIZE >+ test 3584 = 3584 >+ : IMAGEMOUNTPOINT >+ test '' = '' >+ : IMAGEMOUNTPATH >+ '[' empty = empty ']' >+ test '' = '' >INFO: file(file3.img): cmd: "cp '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.genimage.test/input/file3.img' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.genimage.test/images/file3.img'" (stderr+stdout): >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >INFO: file(file4.img): cmd: "cp '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.genimage.test/input/file4.img' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.genimage.test/images/file4.img'" (stderr+stdout): >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >INFO: file(file4.img): cmd: "./exec-check.sh file4.img empty" (stderr+stdout): >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >+ : OUTPUTPATH >+ test '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.genimage.test/images' = '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.genimage.test/images' >+ : INPUTPATH >+ test '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.genimage.test/input' = '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.genimage.test/input' >+ : ROOTPATH >+ test '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.genimage.test/root.orig' = '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.genimage.test/root.orig' >+ : TMPPATH >+ test '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.genimage.test/tmp' = '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.genimage.test/tmp' >+ : IMAGE >+ test file4.img = file4.img >+ : IMAGEOUTFILE >+ test '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.genimage.test/images/file4.img' = '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.genimage.test/images/file4.img' >+ : IMAGENAME >+ test exec-test = exec-test >+ : IMAGESIZE >+ test 3584 = 3584 >+ : IMAGEMOUNTPOINT >+ test '' = '' >+ : IMAGEMOUNTPATH >+ '[' empty = empty ']' >+ test '' = '' >+ eval_ret=0 >+ test '' = t >+ test -z '' >+ test_eval_ : >+ case ",$test_prereq," in >+ eval : >++ : >+ test t = t >+ test -n '' >+ return 0 >+ test_ok_ exec >+ test_success=1 >+ say_color '' 'ok 1 - exec' >+ test -z '' >+ test -n '' >+ shift >+ printf '%s\n' 'ok 1 - exec' >+ echo '' > run_genimage_root exec.config >ok 1 - exec >+ test_expect_success exec-fail ' > setup_exec_files && > test_must_fail run_genimage_root exec-fail.config' >+ test 2 = 3 >+ test_prereq= >+ test 2 = 2 >+ export test_prereq >+ test_skip_ exec-fail ' > setup_exec_files && > test_must_fail run_genimage_root exec-fail.config' >+ test_count=2 >+ to_skip= >+ test -z '' >+ test -n '' >+ case "$to_skip" in >+ false >+ say 'expecting success: > setup_exec_files && > test_must_fail run_genimage_root exec-fail.config' >+ say_color info 'expecting success: > setup_exec_files && > test_must_fail run_genimage_root exec-fail.config' >+ test -z info >+ shift >+ printf '%s\n' 'expecting success: > setup_exec_files && > test_must_fail run_genimage_root exec-fail.config' >+ test_run_ ' > setup_exec_files && > test_must_fail run_genimage_root exec-fail.config' >+ test_cleanup=: >+ expecting_failure= >+ test_eval_ ' > setup_exec_files && > test_must_fail run_genimage_root exec-fail.config' >+ case ",$test_prereq," in >+ eval ' > setup_exec_files && > test_must_fail run_genimage_root exec-fail.config' >++ setup_exec_files >PASS: test/genimage.test 1 - exec > >expecting success: > setup_exec_files && >++ rm -rf input >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ mkdir input >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ dd if=/dev/zero of=input/file1.img bs=512 count=7 >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >7+0 records in >7+0 records out >3584 bytes (3.6 kB, 3.5 KiB) copied, 2.1031e-05 s, 170 MB/s >++ dd if=/dev/zero of=input/file2.img bs=512 count=7 >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >7+0 records in >7+0 records out >3584 bytes (3.6 kB, 3.5 KiB) copied, 1.2674e-05 s, 283 MB/s >++ dd if=/dev/zero of=input/file3.img bs=512 count=7 >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >7+0 records in >7+0 records out >3584 bytes (3.6 kB, 3.5 KiB) copied, 1.3325e-05 s, 269 MB/s >++ dd if=/dev/zero of=input/file4.img bs=512 count=7 >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >7+0 records in >7+0 records out >3584 bytes (3.6 kB, 3.5 KiB) copied, 1.3596e-05 s, 264 MB/s >++ test_must_fail run_genimage_root exec-fail.config >++ run_genimage_root exec-fail.config >++ root=root.orig >++ run_genimage_impl exec-fail.config >++ '[' t = t ']' >++ vargs=--loglevel=3 >++ rm -rf tmp images '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.genimage.test/root.test' >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ mkdir '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.genimage.test/root.test' images >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ '[' -n '' ']' >++ /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/genimage --loglevel=3 --outputpath=images --inputpath=input --rootpath=root.orig --tmppath=tmp --config exec-fail.config >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >INFO: cmd: "mkdir -p "/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.genimage.test/tmp"" (stderr+stdout): >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >INFO: cmd: "rm -rf "/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.genimage.test/tmp"/*" (stderr+stdout): >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >INFO: cmd: "mkdir -p "/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.genimage.test/tmp"" (stderr+stdout): >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >INFO: cmd: "cp -a "/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.genimage.test/root.orig" "/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.genimage.test/tmp/root"" (stderr+stdout): >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >INFO: cmd: "mkdir -p "/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.genimage.test/images"" (stderr+stdout): >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >INFO: file(file1.img): cmd: "false" (stderr+stdout): >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >ERROR: file(file1.img): failed to generate file1.img >++ exit_code=1 >++ test 1 = 0 >++ test 1 -gt 129 -a 1 -le 192 >++ test 1 = 127 >++ return 0 >+ eval_ret=0 >+ test '' = t >+ test -z '' >+ test_eval_ : >+ case ",$test_prereq," in >+ eval : >++ : >+ test t = t >+ test -n '' >+ return 0 >+ test_ok_ exec-fail >+ test_success=2 >+ say_color '' 'ok 2 - exec-fail' >+ test -z '' >+ test -n '' >+ shift >+ printf '%s\n' 'ok 2 - exec-fail' >+ echo '' > test_must_fail run_genimage_root exec-fail.config >ok 2 - exec-fail >PASS: test/genimage.test 2 - exec-fail >+ /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/genimage --help >+ grep -q GENIMAGE_INCLUDEPATH >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >+ test_set_prereq includepath >+ satisfied_prereq=' sfdisk-gpt fdisk-gpt includepath ' >+ test_expect_success fdisk-gpt,sfdisk-gpt includepath1 ' > run_genimage include.config && > sanitized_fdisk_sfdisk images/include.hdimage > include.fdisk && > test_cmp '\''/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/include-ccc.fdisk'\'' include.fdisk >' >+ test 3 = 3 >+ test_prereq=fdisk-gpt,sfdisk-gpt >+ shift >+ test 2 = 2 >+ export test_prereq >+ test_skip_ includepath1 ' > run_genimage include.config && > sanitized_fdisk_sfdisk images/include.hdimage > include.fdisk && > test_cmp '\''/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/include-ccc.fdisk'\'' include.fdisk >' >+ test_count=3 >+ to_skip= >+ test -z '' >+ test -n fdisk-gpt,sfdisk-gpt >+ test_have_prereq fdisk-gpt,sfdisk-gpt >+ save_IFS=' >' >+ IFS=, >+ set -- fdisk-gpt sfdisk-gpt >+ IFS=' >' >+ total_prereq=0 >+ ok_prereq=0 >+ missing_prereq= >+ for prerequisite in "$@" >+ case "$prerequisite" in >+ negative_prereq= >+ total_prereq=1 >+ case "$satisfied_prereq" in >+ satisfied_this_prereq=t >+ case "$satisfied_this_prereq,$negative_prereq" in >+ ok_prereq=1 >+ for prerequisite in "$@" >+ case "$prerequisite" in >+ negative_prereq= >+ total_prereq=2 >+ case "$satisfied_prereq" in >+ satisfied_this_prereq=t >+ case "$satisfied_this_prereq,$negative_prereq" in >+ ok_prereq=2 >+ test 2 = 2 >+ case "$to_skip" in >+ false >+ say 'expecting success: > run_genimage include.config && > sanitized_fdisk_sfdisk images/include.hdimage > include.fdisk && > test_cmp '\''/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/include-ccc.fdisk'\'' include.fdisk >' >+ say_color info 'expecting success: > run_genimage include.config && > sanitized_fdisk_sfdisk images/include.hdimage > include.fdisk && > test_cmp '\''/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/include-ccc.fdisk'\'' include.fdisk >' >+ test -z info >+ shift >+ printf '%s\n' 'expecting success: > run_genimage include.config && > sanitized_fdisk_sfdisk images/include.hdimage > include.fdisk && > test_cmp '\''/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/include-ccc.fdisk'\'' include.fdisk >' > >expecting success: >+ test_run_ ' > run_genimage include.config && > sanitized_fdisk_sfdisk images/include.hdimage > include.fdisk && > test_cmp '\''/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/include-ccc.fdisk'\'' include.fdisk >' > run_genimage include.config && > sanitized_fdisk_sfdisk images/include.hdimage > include.fdisk && > test_cmp '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/include-ccc.fdisk' include.fdisk >+ test_cleanup=: >+ expecting_failure= >+ test_eval_ ' > run_genimage include.config && > sanitized_fdisk_sfdisk images/include.hdimage > include.fdisk && > test_cmp '\''/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/include-ccc.fdisk'\'' include.fdisk >' >+ case ",$test_prereq," in >+ eval ' > run_genimage include.config && > sanitized_fdisk_sfdisk images/include.hdimage > include.fdisk && > test_cmp '\''/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/include-ccc.fdisk'\'' include.fdisk >' >++ run_genimage include.config >++ root=/this/directory/does/not/exist >++ run_genimage_impl include.config >++ '[' t = t ']' >++ vargs=--loglevel=3 >++ rm -rf tmp images '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.genimage.test/root.test' >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ mkdir '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.genimage.test/root.test' images >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ '[' -n '' ']' >++ /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/genimage --loglevel=3 --outputpath=images --inputpath=input --rootpath=/this/directory/does/not/exist --tmppath=tmp --config include.config >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >INFO: cmd: "mkdir -p "/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.genimage.test/tmp"" (stderr+stdout): >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >INFO: cmd: "rm -rf "/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.genimage.test/tmp"/*" (stderr+stdout): >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >INFO: cmd: "mkdir -p "/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.genimage.test/images"" (stderr+stdout): >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >INFO: hdimage(include.hdimage): adding partition 'ccc' (in MBR) ... >INFO: hdimage(include.hdimage): adding partition '[MBR]' ... >INFO: hdimage(include.hdimage): adding partition '[GPT header]' ... >INFO: hdimage(include.hdimage): adding partition '[GPT array]' ... >INFO: hdimage(include.hdimage): adding partition '[GPT backup]' ... >INFO: hdimage(include.hdimage): writing GPT >INFO: hdimage(include.hdimage): writing protective MBR >INFO: hdimage(include.hdimage): writing MBR >++ sanitized_fdisk_sfdisk images/include.hdimage >++ fdisk -l images/include.hdimage >++ grep identifier: >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ sfdisk -d images/include.hdimage >++ grep '^images/' >++ sed -e 's/ *//g' -e 's;Id=;type=;' >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ test_cmp /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/include-ccc.fdisk include.fdisk >++ diff -u /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/include-ccc.fdisk include.fdisk >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >+ eval_ret=0 >+ test '' = t >+ test -z '' >+ test_eval_ : >+ case ",$test_prereq," in >+ eval : >++ : >+ test t = t >+ test -n '' >+ return 0 >+ test_ok_ includepath1 >+ test_success=3 >+ say_color '' 'ok 3 - includepath1' >+ test -z '' >+ test -n '' >+ shift >+ printf '%s\n' 'ok 3 - includepath1' >+ echo '' > >ok 3 - includepath1 >PASS: test/genimage.test 3 - includepath1 >+ test_expect_success fdisk-gpt,sfdisk-gpt,includepath includepath2 ' > extra_opts='\''--includepath=/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/include/aaa'\'' run_genimage include.config && > sanitized_fdisk_sfdisk images/include.hdimage > include.fdisk && > test_cmp '\''/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/include-aaa.fdisk'\'' include.fdisk >' >+ test 3 = 3 >+ test_prereq=fdisk-gpt,sfdisk-gpt,includepath >+ shift >+ test 2 = 2 >+ export test_prereq >+ test_skip_ includepath2 ' > extra_opts='\''--includepath=/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/include/aaa'\'' run_genimage include.config && > sanitized_fdisk_sfdisk images/include.hdimage > include.fdisk && > test_cmp '\''/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/include-aaa.fdisk'\'' include.fdisk >' >+ test_count=4 >+ to_skip= >+ test -z '' >+ test -n fdisk-gpt,sfdisk-gpt,includepath >+ test_have_prereq fdisk-gpt,sfdisk-gpt,includepath >+ save_IFS=' >' >+ IFS=, >+ set -- fdisk-gpt sfdisk-gpt includepath >+ IFS=' >' >+ total_prereq=0 >+ ok_prereq=0 >+ missing_prereq= >+ for prerequisite in "$@" >+ case "$prerequisite" in >+ negative_prereq= >+ total_prereq=1 >+ case "$satisfied_prereq" in >+ satisfied_this_prereq=t >+ case "$satisfied_this_prereq,$negative_prereq" in >+ ok_prereq=1 >+ for prerequisite in "$@" >+ case "$prerequisite" in >+ negative_prereq= >+ total_prereq=2 >+ case "$satisfied_prereq" in >+ satisfied_this_prereq=t >+ case "$satisfied_this_prereq,$negative_prereq" in >+ ok_prereq=2 >+ for prerequisite in "$@" >+ case "$prerequisite" in >+ negative_prereq= >+ total_prereq=3 >+ case "$satisfied_prereq" in >+ satisfied_this_prereq=t >+ case "$satisfied_this_prereq,$negative_prereq" in >+ ok_prereq=3 >+ test 3 = 3 >+ case "$to_skip" in >+ false >+ say 'expecting success: > extra_opts='\''--includepath=/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/include/aaa'\'' run_genimage include.config && > sanitized_fdisk_sfdisk images/include.hdimage > include.fdisk && > test_cmp '\''/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/include-aaa.fdisk'\'' include.fdisk >' >+ say_color info 'expecting success: > extra_opts='\''--includepath=/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/include/aaa'\'' run_genimage include.config && > sanitized_fdisk_sfdisk images/include.hdimage > include.fdisk && > test_cmp '\''/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/include-aaa.fdisk'\'' include.fdisk >' >+ test -z info >+ shift >+ printf '%s\n' 'expecting success: > extra_opts='\''--includepath=/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/include/aaa'\'' run_genimage include.config && > sanitized_fdisk_sfdisk images/include.hdimage > include.fdisk && > test_cmp '\''/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/include-aaa.fdisk'\'' include.fdisk >' > >expecting success: >+ test_run_ ' > extra_opts='\''--includepath=/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/include/aaa'\'' run_genimage include.config && > sanitized_fdisk_sfdisk images/include.hdimage > include.fdisk && > test_cmp '\''/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/include-aaa.fdisk'\'' include.fdisk >' > extra_opts='--includepath=/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/include/aaa' run_genimage include.config && > sanitized_fdisk_sfdisk images/include.hdimage > include.fdisk && > test_cmp '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/include-aaa.fdisk' include.fdisk >+ test_cleanup=: >+ expecting_failure= >+ test_eval_ ' > extra_opts='\''--includepath=/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/include/aaa'\'' run_genimage include.config && > sanitized_fdisk_sfdisk images/include.hdimage > include.fdisk && > test_cmp '\''/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/include-aaa.fdisk'\'' include.fdisk >' >+ case ",$test_prereq," in >+ eval ' > extra_opts='\''--includepath=/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/include/aaa'\'' run_genimage include.config && > sanitized_fdisk_sfdisk images/include.hdimage > include.fdisk && > test_cmp '\''/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/include-aaa.fdisk'\'' include.fdisk >' >++ extra_opts=--includepath=/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/include/aaa >++ run_genimage include.config >++ root=/this/directory/does/not/exist >++ run_genimage_impl include.config >++ '[' t = t ']' >++ vargs=--loglevel=3 >++ rm -rf tmp images '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.genimage.test/root.test' >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ mkdir '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.genimage.test/root.test' images >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ '[' -n '' ']' >++ /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/genimage --loglevel=3 --outputpath=images --inputpath=input --rootpath=/this/directory/does/not/exist --tmppath=tmp --includepath=/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/include/aaa --config include.config >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >INFO: cmd: "mkdir -p "/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.genimage.test/tmp"" (stderr+stdout): >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >INFO: cmd: "rm -rf "/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.genimage.test/tmp"/*" (stderr+stdout): >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >INFO: cmd: "mkdir -p "/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.genimage.test/images"" (stderr+stdout): >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >INFO: hdimage(include.hdimage): adding partition 'aaa' (in MBR) ... >INFO: hdimage(include.hdimage): adding partition '[MBR]' ... >INFO: hdimage(include.hdimage): adding partition '[GPT header]' ... >INFO: hdimage(include.hdimage): adding partition '[GPT array]' ... >INFO: hdimage(include.hdimage): adding partition '[GPT backup]' ... >INFO: hdimage(include.hdimage): writing GPT >INFO: hdimage(include.hdimage): writing protective MBR >INFO: hdimage(include.hdimage): writing MBR >++ sanitized_fdisk_sfdisk images/include.hdimage >++ fdisk -l images/include.hdimage >++ grep identifier: >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ sfdisk -d images/include.hdimage >++ grep '^images/' >++ sed -e 's/ *//g' -e 's;Id=;type=;' >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ test_cmp /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/include-aaa.fdisk include.fdisk >++ diff -u /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/include-aaa.fdisk include.fdisk >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >+ eval_ret=0 >+ test '' = t >+ test -z '' >+ test_eval_ : >+ case ",$test_prereq," in >+ eval : >++ : >+ test t = t >+ test -n '' >+ return 0 >+ test_ok_ includepath2 >+ test_success=4 >+ say_color '' 'ok 4 - includepath2' >+ test -z '' >+ test -n '' >+ shift >+ printf '%s\n' 'ok 4 - includepath2' >+ echo '' > >ok 4 - includepath2 >PASS: test/genimage.test 4 - includepath2 >+ test_expect_success fdisk-gpt,sfdisk-gpt,includepath includepath3 ' > extra_opts='\''--includepath=/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/include/bbb:/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/include/aaa'\'' run_genimage include.config && > sanitized_fdisk_sfdisk images/include.hdimage > include.fdisk && > test_cmp '\''/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/include-bbb.fdisk'\'' include.fdisk >' >+ test 3 = 3 >+ test_prereq=fdisk-gpt,sfdisk-gpt,includepath >+ shift >+ test 2 = 2 >+ export test_prereq >+ test_skip_ includepath3 ' > extra_opts='\''--includepath=/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/include/bbb:/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/include/aaa'\'' run_genimage include.config && > sanitized_fdisk_sfdisk images/include.hdimage > include.fdisk && > test_cmp '\''/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/include-bbb.fdisk'\'' include.fdisk >' >+ test_count=5 >+ to_skip= >+ test -z '' >+ test -n fdisk-gpt,sfdisk-gpt,includepath >+ test_have_prereq fdisk-gpt,sfdisk-gpt,includepath >+ save_IFS=' >' >+ IFS=, >+ set -- fdisk-gpt sfdisk-gpt includepath >+ IFS=' >' >+ total_prereq=0 >+ ok_prereq=0 >+ missing_prereq= >+ for prerequisite in "$@" >+ case "$prerequisite" in >+ negative_prereq= >+ total_prereq=1 >+ case "$satisfied_prereq" in >+ satisfied_this_prereq=t >+ case "$satisfied_this_prereq,$negative_prereq" in >+ ok_prereq=1 >+ for prerequisite in "$@" >+ case "$prerequisite" in >+ negative_prereq= >+ total_prereq=2 >+ case "$satisfied_prereq" in >+ satisfied_this_prereq=t >+ case "$satisfied_this_prereq,$negative_prereq" in >+ ok_prereq=2 >+ for prerequisite in "$@" >+ case "$prerequisite" in >+ negative_prereq= >+ total_prereq=3 >+ case "$satisfied_prereq" in >+ satisfied_this_prereq=t >+ case "$satisfied_this_prereq,$negative_prereq" in >+ ok_prereq=3 >+ test 3 = 3 >+ case "$to_skip" in >+ false >+ say 'expecting success: > extra_opts='\''--includepath=/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/include/bbb:/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/include/aaa'\'' run_genimage include.config && > sanitized_fdisk_sfdisk images/include.hdimage > include.fdisk && > test_cmp '\''/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/include-bbb.fdisk'\'' include.fdisk >' >+ say_color info 'expecting success: > extra_opts='\''--includepath=/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/include/bbb:/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/include/aaa'\'' run_genimage include.config && > sanitized_fdisk_sfdisk images/include.hdimage > include.fdisk && > test_cmp '\''/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/include-bbb.fdisk'\'' include.fdisk >' >+ test -z info >+ shift >+ printf '%s\n' 'expecting success: > extra_opts='\''--includepath=/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/include/bbb:/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/include/aaa'\'' run_genimage include.config && > sanitized_fdisk_sfdisk images/include.hdimage > include.fdisk && > test_cmp '\''/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/include-bbb.fdisk'\'' include.fdisk >' > >expecting success: >+ test_run_ ' > extra_opts='\''--includepath=/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/include/bbb:/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/include/aaa'\'' run_genimage include.config && > sanitized_fdisk_sfdisk images/include.hdimage > include.fdisk && > test_cmp '\''/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/include-bbb.fdisk'\'' include.fdisk > extra_opts='--includepath=/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/include/bbb:/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/include/aaa' run_genimage include.config && >' > sanitized_fdisk_sfdisk images/include.hdimage > include.fdisk && > test_cmp '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/include-bbb.fdisk' include.fdisk >+ test_cleanup=: >+ expecting_failure= >+ test_eval_ ' > extra_opts='\''--includepath=/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/include/bbb:/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/include/aaa'\'' run_genimage include.config && > sanitized_fdisk_sfdisk images/include.hdimage > include.fdisk && > test_cmp '\''/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/include-bbb.fdisk'\'' include.fdisk >' >+ case ",$test_prereq," in >+ eval ' > extra_opts='\''--includepath=/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/include/bbb:/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/include/aaa'\'' run_genimage include.config && > sanitized_fdisk_sfdisk images/include.hdimage > include.fdisk && > test_cmp '\''/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/include-bbb.fdisk'\'' include.fdisk >' >++ extra_opts=--includepath=/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/include/bbb:/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/include/aaa >++ run_genimage include.config >++ root=/this/directory/does/not/exist >++ run_genimage_impl include.config >++ '[' t = t ']' >++ vargs=--loglevel=3 >++ rm -rf tmp images '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.genimage.test/root.test' >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ mkdir '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.genimage.test/root.test' images >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ '[' -n '' ']' >++ /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/genimage --loglevel=3 --outputpath=images --inputpath=input --rootpath=/this/directory/does/not/exist --tmppath=tmp --includepath=/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/include/bbb:/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/include/aaa --config include.config >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >INFO: cmd: "mkdir -p "/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.genimage.test/tmp"" (stderr+stdout): >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >INFO: cmd: "rm -rf "/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.genimage.test/tmp"/*" (stderr+stdout): >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >INFO: cmd: "mkdir -p "/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.genimage.test/images"" (stderr+stdout): >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >INFO: hdimage(include.hdimage): adding partition 'bbb' (in MBR) ... >INFO: hdimage(include.hdimage): adding partition '[MBR]' ... >INFO: hdimage(include.hdimage): adding partition '[GPT header]' ... >INFO: hdimage(include.hdimage): adding partition '[GPT array]' ... >INFO: hdimage(include.hdimage): adding partition '[GPT backup]' ... >INFO: hdimage(include.hdimage): writing GPT >INFO: hdimage(include.hdimage): writing protective MBR >INFO: hdimage(include.hdimage): writing MBR >++ sanitized_fdisk_sfdisk images/include.hdimage >++ fdisk -l images/include.hdimage >++ grep identifier: >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ sfdisk -d images/include.hdimage >++ grep '^images/' >++ sed -e 's/ *//g' -e 's;Id=;type=;' >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ test_cmp /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/include-bbb.fdisk include.fdisk >++ diff -u /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/include-bbb.fdisk include.fdisk >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >+ eval_ret=0 >+ test '' = t >+ test -z '' >+ test_eval_ : >+ case ",$test_prereq," in >+ eval : >++ : >+ test t = t >+ test -n '' >+ return 0 >+ test_ok_ includepath3 >+ test_success=5 >+ say_color '' 'ok 5 - includepath3' >+ test -z '' >+ test -n '' >+ shift >+ printf '%s\n' 'ok 5 - includepath3' >+ echo '' > >ok 5 - includepath3 >PASS: test/genimage.test 5 - includepath3 >+ test_expect_success fdisk-gpt,sfdisk-gpt,includepath includepath4 ' > extra_opts='\''--includepath=.:/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/include/bbb'\'' run_genimage include.config && > sanitized_fdisk_sfdisk images/include.hdimage > include.fdisk && > test_cmp '\''/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/include-ccc.fdisk'\'' include.fdisk >' >+ test 3 = 3 >+ test_prereq=fdisk-gpt,sfdisk-gpt,includepath >+ shift >+ test 2 = 2 >+ export test_prereq >+ test_skip_ includepath4 ' > extra_opts='\''--includepath=.:/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/include/bbb'\'' run_genimage include.config && > sanitized_fdisk_sfdisk images/include.hdimage > include.fdisk && > test_cmp '\''/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/include-ccc.fdisk'\'' include.fdisk >' >+ test_count=6 >+ to_skip= >+ test -z '' >+ test -n fdisk-gpt,sfdisk-gpt,includepath >+ test_have_prereq fdisk-gpt,sfdisk-gpt,includepath >+ save_IFS=' >' >+ IFS=, >+ set -- fdisk-gpt sfdisk-gpt includepath >+ IFS=' >' >+ total_prereq=0 >+ ok_prereq=0 >+ missing_prereq= >+ for prerequisite in "$@" >+ case "$prerequisite" in >+ negative_prereq= >+ total_prereq=1 >+ case "$satisfied_prereq" in >+ satisfied_this_prereq=t >+ case "$satisfied_this_prereq,$negative_prereq" in >+ ok_prereq=1 >+ for prerequisite in "$@" >+ case "$prerequisite" in >+ negative_prereq= >+ total_prereq=2 >+ case "$satisfied_prereq" in >+ satisfied_this_prereq=t >+ case "$satisfied_this_prereq,$negative_prereq" in >+ ok_prereq=2 >+ for prerequisite in "$@" >+ case "$prerequisite" in >+ negative_prereq= >+ total_prereq=3 >+ case "$satisfied_prereq" in >+ satisfied_this_prereq=t >+ case "$satisfied_this_prereq,$negative_prereq" in >+ ok_prereq=3 >+ test 3 = 3 >+ case "$to_skip" in >+ false >+ say 'expecting success: > extra_opts='\''--includepath=.:/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/include/bbb'\'' run_genimage include.config && > sanitized_fdisk_sfdisk images/include.hdimage > include.fdisk && > test_cmp '\''/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/include-ccc.fdisk'\'' include.fdisk >' >+ say_color info 'expecting success: > extra_opts='\''--includepath=.:/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/include/bbb'\'' run_genimage include.config && > sanitized_fdisk_sfdisk images/include.hdimage > include.fdisk && > test_cmp '\''/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/include-ccc.fdisk'\'' include.fdisk >' >+ test -z info >+ shift >+ printf '%s\n' 'expecting success: > extra_opts='\''--includepath=.:/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/include/bbb'\'' run_genimage include.config && > sanitized_fdisk_sfdisk images/include.hdimage > include.fdisk && > test_cmp '\''/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/include-ccc.fdisk'\'' include.fdisk >' > >expecting success: > extra_opts='--includepath=.:/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/include/bbb' run_genimage include.config && >+ test_run_ ' > extra_opts='\''--includepath=.:/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/include/bbb'\'' run_genimage include.config && > sanitized_fdisk_sfdisk images/include.hdimage > include.fdisk && > test_cmp '\''/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/include-ccc.fdisk'\'' include.fdisk >' > sanitized_fdisk_sfdisk images/include.hdimage > include.fdisk && > test_cmp '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/include-ccc.fdisk' include.fdisk >+ test_cleanup=: >+ expecting_failure= >+ test_eval_ ' > extra_opts='\''--includepath=.:/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/include/bbb'\'' run_genimage include.config && > sanitized_fdisk_sfdisk images/include.hdimage > include.fdisk && > test_cmp '\''/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/include-ccc.fdisk'\'' include.fdisk >' >+ case ",$test_prereq," in >+ eval ' > extra_opts='\''--includepath=.:/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/include/bbb'\'' run_genimage include.config && > sanitized_fdisk_sfdisk images/include.hdimage > include.fdisk && > test_cmp '\''/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/include-ccc.fdisk'\'' include.fdisk >' >++ extra_opts=--includepath=.:/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/include/bbb >++ run_genimage include.config >++ root=/this/directory/does/not/exist >++ run_genimage_impl include.config >++ '[' t = t ']' >++ vargs=--loglevel=3 >++ rm -rf tmp images '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.genimage.test/root.test' >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ mkdir '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.genimage.test/root.test' images >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ '[' -n '' ']' >++ /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/genimage --loglevel=3 --outputpath=images --inputpath=input --rootpath=/this/directory/does/not/exist --tmppath=tmp --includepath=.:/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/include/bbb --config include.config >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >INFO: cmd: "mkdir -p "/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.genimage.test/tmp"" (stderr+stdout): >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >INFO: cmd: "rm -rf "/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.genimage.test/tmp"/*" (stderr+stdout): >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >INFO: cmd: "mkdir -p "/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.genimage.test/images"" (stderr+stdout): >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >INFO: hdimage(include.hdimage): adding partition 'ccc' (in MBR) ... >INFO: hdimage(include.hdimage): adding partition '[MBR]' ... >INFO: hdimage(include.hdimage): adding partition '[GPT header]' ... >INFO: hdimage(include.hdimage): adding partition '[GPT array]' ... >INFO: hdimage(include.hdimage): adding partition '[GPT backup]' ... >INFO: hdimage(include.hdimage): writing GPT >INFO: hdimage(include.hdimage): writing protective MBR >INFO: hdimage(include.hdimage): writing MBR >++ sanitized_fdisk_sfdisk images/include.hdimage >++ fdisk -l images/include.hdimage >++ grep identifier: >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ sfdisk -d images/include.hdimage >++ grep '^images/' >++ sed -e 's/ *//g' -e 's;Id=;type=;' >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ test_cmp /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/include-ccc.fdisk include.fdisk >++ diff -u /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/include-ccc.fdisk include.fdisk >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >+ eval_ret=0 >+ test '' = t >+ test -z '' >+ test_eval_ : >+ case ",$test_prereq," in >+ eval : >++ : >+ test t = t >+ test -n '' >+ return 0 >+ test_ok_ includepath4 >+ test_success=6 >+ say_color '' 'ok 6 - includepath4' >+ test -z '' >+ test -n '' >+ shift >+ printf '%s\n' 'ok 6 - includepath4' >+ echo '' > >ok 6 - includepath4 >PASS: test/genimage.test 6 - includepath4 >+ test_expect_success '!includepath' includepath5 ' > extra_opts='\''--includepath=/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/include/aaa'\'' test_must_fail run_genimage include.config >' >+ test 3 = 3 >+ test_prereq='!includepath' >+ shift >+ test 2 = 2 >+ export test_prereq >+ test_skip_ includepath5 ' > extra_opts='\''--includepath=/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/include/aaa'\'' test_must_fail run_genimage include.config >' >+ test_count=7 >+ to_skip= >+ test -z '' >+ test -n '!includepath' >+ test_have_prereq '!includepath' >+ save_IFS=' >' >+ IFS=, >+ set -- '!includepath' >+ IFS=' >' >+ total_prereq=0 >+ ok_prereq=0 >+ missing_prereq= >+ for prerequisite in "$@" >+ case "$prerequisite" in >+ negative_prereq=t >+ prerequisite=includepath >+ total_prereq=1 >+ case "$satisfied_prereq" in >+ satisfied_this_prereq=t >+ case "$satisfied_this_prereq,$negative_prereq" in >+ prerequisite='!includepath' >+ test -z '' >+ missing_prereq='!includepath' >+ test 1 = 0 >+ to_skip=t >+ case "$to_skip" in >+ of_prereq= >+ test '!includepath' '!=' '!includepath' >+ say_color skip 'skipping test: includepath5' ' > extra_opts='\''--includepath=/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/include/aaa'\'' test_must_fail run_genimage include.config >' >+ test -z skip >+ shift >+ printf '%s\n' 'skipping test: includepath5 > extra_opts='\''--includepath=/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/include/aaa'\'' test_must_fail run_genimage include.config >' > >skipping test: includepath5 > extra_opts='--includepath=/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/include/aaa' test_must_fail run_genimage include.config >+ say_color skip 'ok 7 # skip includepath5 (missing !includepath)' >+ test -z skip >+ shift >+ printf '%s\n' 'ok 7 # skip includepath5 (missing !includepath)' >+ : true > >+ echo '' >ok 7 # skip includepath5 (missing !includepath) >+ test_done >+ EXIT_OK=t >+ test -z '' >+ test_results_dir=/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test-results >+ mkdir -p /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test-results >SKIP: test/genimage.test 7 # SKIP includepath5 (missing !includepath) >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >+ test_results_path=/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test-results/genimage.test.208.counts >+ cat >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >+ test 0 '!=' 0 >+ test 0 '!=' 0 >+ test 0 '!=' 0 >+ test 0 '!=' 0 >+ test_remaining=7 >+ msg='7 test(s)' >+ case "$test_failure" in >+ test -n '' >+ '[' -z '' ']' >+ test 7 -gt 0 >+ say_color pass '# passed all 7 test(s)' >+ test -z pass >+ shift >+ printf '%s\n' '# passed all 7 test(s)' >+ say 1..7 > >+ say_color info 1..7 >+ test -z info >+ shift >+ printf '%s\n' 1..7 ># passed all 7 test(s) >+ test_eval_ '' >+ case ",$test_prereq," in >+ eval '' >+ test -d '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.genimage.test' >++ dirname '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.genimage.test' >+ cd /var/tmp/portage/sys-fs/genimage-16/work/genimage-16 >++ basename '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.genimage.test' >+ rm -rf 'trash directory.genimage.test' >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >+ exit 0 >+ die >+ code=0 >+ test -n t >+ exit 0 >1..7 > >PASS: test/ext >============== > >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >+ test_description='extX Image Tests' >++ dirname ./test/ext.test >+ . ./test/test-setup.sh >++++ dirname ./test/ext.test >+++ readlink -f ./test >++ testdir=/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test >+++ pwd >++ genimage=/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/genimage >++ PATH=/usr/lib/portage/python3.11/ebuild-helpers/xattr:/usr/lib/portage/python3.11/ebuild-helpers:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/lib/llvm/15/bin:/sbin:/usr/sbin >++ set -- -v >++ . /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/sharness.sh >+++ SHARNESS_VERSION=1.0.0 >+++ export SHARNESS_VERSION >+++ : t >+++ export SHARNESS_TEST_EXTENSION >+++ '[' x = x ']' >+++ SHARNESS_ORIG_TERM=tmux-256color >+++ export SHARNESS_ORIG_TERM >+++ : /bin/bash >+++ export SHELL_PATH >+++ LANG=C >+++ LC_ALL=C >+++ PAGER=cat >+++ TZ=UTC >+++ EDITOR=: >+++ export LANG LC_ALL PAGER TZ EDITOR >+++ unset VISUAL CDPATH GREP_OPTIONS >+++ LF=' >' >+++ '[' xtmux-256color '!=' xdumb ']' >+++ '[' -t 1 ']' >+++ test 1 -ne 0 >+++ case "$1" in >+++ verbose=t >+++ shift >+++ test 0 -ne 0 >+++ test -n '' >+++ TERM=dumb >+++ export TERM >+++ test -n 'extX Image Tests' >+++ test '' = t >+++ exec >+++ exec >+++ test t = t >+++ exec >+++ test_failure=0 >+++ test_count=0 >+++ test_fixed=0 >+++ test_broken=0 >+++ test_success=0 >+++ EXIT_OK= >+++ trap die EXIT >+++ satisfied_prereq=' ' >+++ final_cleanup= >++++ pwd >+++ : /var/tmp/portage/sys-fs/genimage-16/work/genimage-16 >+++ export SHARNESS_TEST_DIRECTORY >+++++ dirname ./test/ext.test >++++ cd ./test >++++ pwd >+++ : /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test >+++ export SHARNESS_TEST_SRCDIR >+++ : /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/.. >+++ PATH=/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/..:/usr/lib/portage/python3.11/ebuild-helpers/xattr:/usr/lib/portage/python3.11/ebuild-helpers:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/lib/llvm/15/bin:/sbin:/usr/sbin >+++ export PATH SHARNESS_BUILD_DIRECTORY >+++ SHARNESS_TEST_FILE=./test/ext.test >+++ export SHARNESS_TEST_FILE >++++ basename ./test/ext.test .t >+++ SHARNESS_TRASH_DIRECTORY='trash directory.ext.test' >+++ test -n '' >+++ case "$SHARNESS_TRASH_DIRECTORY" in >+++ SHARNESS_TRASH_DIRECTORY='/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.ext.test' >+++ test '' = t >+++ remove_trash='/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.ext.test' >+++ rm -rf '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.ext.test' >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >+++ test -d /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/sharness.d >+++ export SHARNESS_TRASH_DIRECTORY >+++ HOME='/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.ext.test' >+++ export HOME >+++ mkdir -p '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.ext.test' >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >+++ cd -P '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.ext.test' >+++ this_test=ext.test >+++ this_test=ext.test >+++ test -n '' >+++ test -n '' >+++ : >+++ pwd >++ filelist_orig='/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.ext.test/file-list.orig' >+++ pwd >++ filelist_test='/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.ext.test/file-list.test' >+++ pwd >++ root_orig='/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.ext.test/root.orig' >+++ pwd >++ root_test='/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.ext.test/root.test' >++ set -o pipefail >++ setup_data >++ umask 0022 >++ mkdir -p '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.ext.test/root.orig/foo/1' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.ext.test/root.orig/foo/2' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.ext.test/root.orig/foo/3' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.ext.test/root.orig/bar/1' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.ext.test/root.orig/bar/2' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.ext.test/root.orig/bar/3' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.ext.test/root.orig/baz/1' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.ext.test/root.orig/baz/2' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.ext.test/root.orig/baz/3' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.ext.test/root.orig/with spaces/1' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.ext.test/root.orig/with spaces/2' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.ext.test/root.orig/with spaces/3' >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ touch '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.ext.test/root.orig/foo/1/one' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.ext.test/root.orig/foo/1/two' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.ext.test/root.orig/foo/2/one' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.ext.test/root.orig/foo/2/two' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.ext.test/root.orig/foo/3/one' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.ext.test/root.orig/foo/3/two' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.ext.test/root.orig/bar/1/one' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.ext.test/root.orig/bar/1/two' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.ext.test/root.orig/bar/2/one' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.ext.test/root.orig/bar/2/two' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.ext.test/root.orig/bar/3/one' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.ext.test/root.orig/bar/3/two' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.ext.test/root.orig/baz/1/one' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.ext.test/root.orig/baz/1/two' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.ext.test/root.orig/baz/2/one' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.ext.test/root.orig/baz/2/two' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.ext.test/root.orig/baz/3/one' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.ext.test/root.orig/baz/3/two' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.ext.test/root.orig/with spaces/1/one' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.ext.test/root.orig/with spaces/1/two' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.ext.test/root.orig/with spaces/2/one' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.ext.test/root.orig/with spaces/2/two' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.ext.test/root.orig/with spaces/3/one' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.ext.test/root.orig/with spaces/3/two' >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ find '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.ext.test/root.orig' -print0 >++ xargs -0 touch -c -d '2011-11-11 UTC' >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ find '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.ext.test/root.orig/' -mindepth 1 -printf '%P\n' >++ sort >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ cp /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/cpio.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/cramfs.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/exec-fail.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/exec.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/ext2.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/ext2percent.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/ext3.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/ext4.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/f2fs.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/fip.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/fit.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/flash-types.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/flash.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/gpt-overlap1.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/gpt-overlap2.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/gpt-overlap3.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hdimage-fail1.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hdimage-fail2.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hdimage-fail3.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hdimage-fail4.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hdimage-fail5.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hdimage-fail6.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hdimage-fail7.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hdimage-hybrid.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hdimage-nopart.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hdimage.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hdimage2.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hdimage4.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hdimage5.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hdimage6.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hdimage7.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hole.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/include-test.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/include.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/iso.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/jffs2.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/mke2fs.conf /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/mke2fs.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/qemu.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/rauc.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/sparse.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/squashfs.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/tar.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/ubi.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/ubifs.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/vfat.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/exec-check.sh /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/sharness.sh /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/test-setup.sh . >++ sfdisk -h >++ grep -q gpt >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ test_set_prereq sfdisk-gpt >++ satisfied_prereq=' sfdisk-gpt ' >++ fdisk -h >++ grep -q gpt >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ test_set_prereq fdisk-gpt >++ satisfied_prereq=' sfdisk-gpt fdisk-gpt ' >+ exec_test_set_prereq genext2fs >+ command -v genext2fs >+ exec_test_set_prereq e2fsck >+ command -v e2fsck >+ test_set_prereq e2fsck >+ satisfied_prereq=' sfdisk-gpt fdisk-gpt e2fsck ' >+ test_expect_success genext2fs,e2fsck ext2 ' > run_genimage_root ext2.config test.ext2 && > check_ext images/test.ext2 ext2test 4194304 genext2fs >' >+ test 3 = 3 >+ test_prereq=genext2fs,e2fsck >+ shift >+ test 2 = 2 >+ export test_prereq >+ test_skip_ ext2 ' > run_genimage_root ext2.config test.ext2 && > check_ext images/test.ext2 ext2test 4194304 genext2fs >' >+ test_count=1 >+ to_skip= >+ test -z '' >+ test -n genext2fs,e2fsck >+ test_have_prereq genext2fs,e2fsck >+ save_IFS=' >' >+ IFS=, >+ set -- genext2fs e2fsck >+ IFS=' >' >+ total_prereq=0 >+ ok_prereq=0 >+ missing_prereq= >+ for prerequisite in "$@" >+ case "$prerequisite" in >+ negative_prereq= >+ total_prereq=1 >+ case "$satisfied_prereq" in >+ satisfied_this_prereq= >+ case "$satisfied_this_prereq,$negative_prereq" in >+ prerequisite=genext2fs >+ test -z '' >+ missing_prereq=genext2fs >+ for prerequisite in "$@" >+ case "$prerequisite" in >+ negative_prereq= >+ total_prereq=2 >+ case "$satisfied_prereq" in >+ satisfied_this_prereq=t >+ case "$satisfied_this_prereq,$negative_prereq" in >+ ok_prereq=1 >+ test 2 = 1 >+ to_skip=t >+ case "$to_skip" in >+ of_prereq= >+ test genext2fs '!=' genext2fs,e2fsck >+ of_prereq=' of genext2fs,e2fsck' >+ say_color skip 'skipping test: ext2' ' > run_genimage_root ext2.config test.ext2 && > check_ext images/test.ext2 ext2test 4194304 genext2fs >' >+ test -z skip >+ shift >+ printf '%s\n' 'skipping test: ext2 > run_genimage_root ext2.config test.ext2 && > check_ext images/test.ext2 ext2test 4194304 genext2fs >' >+ say_color skip 'ok 1 # skip ext2 (missing genext2fs of genext2fs,e2fsck)' >+ test -z skip >+ shift >+ printf '%s\n' 'ok 1 # skip ext2 (missing genext2fs of genext2fs,e2fsck)' >+ : true >+ echo '' >+ test_expect_success genext2fs,e2fsck ext2percent ' > run_genimage_root ext2percent.config test.ext2 && > check_ext images/test.ext2 ext2test-percent 69632 genext2fs >' >+ test 3 = 3 >+ test_prereq=genext2fs,e2fsck >+ shift >+ test 2 = 2 >+ export test_prereq >+ test_skip_ ext2percent ' > run_genimage_root ext2percent.config test.ext2 && > check_ext images/test.ext2 ext2test-percent 69632 genext2fs >' >+ test_count=2 >+ to_skip= >+ test -z '' >+ test -n genext2fs,e2fsck >+ test_have_prereq genext2fs,e2fsck >+ save_IFS=' >' >+ IFS=, >+ set -- genext2fs e2fsck >+ IFS=' >' >+ total_prereq=0 >+ ok_prereq=0 >+ missing_prereq= >+ for prerequisite in "$@" >+ case "$prerequisite" in >+ negative_prereq= >+ total_prereq=1 >+ case "$satisfied_prereq" in >+ satisfied_this_prereq= >+ case "$satisfied_this_prereq,$negative_prereq" in >+ prerequisite=genext2fs >+ test -z '' >+ missing_prereq=genext2fs >+ for prerequisite in "$@" >+ case "$prerequisite" in >+ negative_prereq= >+ total_prereq=2 >+ case "$satisfied_prereq" in >+ satisfied_this_prereq=t >+ case "$satisfied_this_prereq,$negative_prereq" in >+ ok_prereq=1 >+ test 2 = 1 >+ to_skip=t >+ case "$to_skip" in >+ of_prereq= >+ test genext2fs '!=' genext2fs,e2fsck >+ of_prereq=' of genext2fs,e2fsck' >+ say_color skip 'skipping test: ext2percent' ' > run_genimage_root ext2percent.config test.ext2 && > check_ext images/test.ext2 ext2test-percent 69632 genext2fs >' >+ test -z skip >+ shift >+ printf '%s\n' 'skipping test: ext2percent > run_genimage_root ext2percent.config test.ext2 && > check_ext images/test.ext2 ext2test-percent 69632 genext2fs >' >+ say_color skip 'ok 2 # skip ext2percent (missing genext2fs of genext2fs,e2fsck)' >+ test -z skip >+ shift >+ printf '%s\n' 'ok 2 # skip ext2percent (missing genext2fs of genext2fs,e2fsck)' >+ : true >+ echo '' >+ test_expect_success genext2fs,e2fsck ext3 ' > run_genimage_root ext3.config test.ext3 && > check_ext images/test.ext3 ext3test 4194304 genext2fs >' >+ test 3 = 3 >+ test_prereq=genext2fs,e2fsck >+ shift >+ test 2 = 2 >+ export test_prereq >+ test_skip_ ext3 ' > run_genimage_root ext3.config test.ext3 && > check_ext images/test.ext3 ext3test 4194304 genext2fs >' >+ test_count=3 >+ to_skip= >+ test -z '' >+ test -n genext2fs,e2fsck >+ test_have_prereq genext2fs,e2fsck >+ save_IFS=' >' >+ IFS=, >+ set -- genext2fs e2fsck >+ IFS=' >' >+ total_prereq=0 >+ ok_prereq=0 >+ missing_prereq= >+ for prerequisite in "$@" >+ case "$prerequisite" in >+ negative_prereq= >+ total_prereq=1 >+ case "$satisfied_prereq" in >+ satisfied_this_prereq= >+ case "$satisfied_this_prereq,$negative_prereq" in >+ prerequisite=genext2fs >+ test -z '' >+ missing_prereq=genext2fs >+ for prerequisite in "$@" >+ case "$prerequisite" in >+ negative_prereq= >+ total_prereq=2 >+ case "$satisfied_prereq" in >+ satisfied_this_prereq=t >+ case "$satisfied_this_prereq,$negative_prereq" in >+ ok_prereq=1 >+ test 2 = 1 >+ to_skip=t >+ case "$to_skip" in >+ of_prereq= >+ test genext2fs '!=' genext2fs,e2fsck >+ of_prereq=' of genext2fs,e2fsck' >+ say_color skip 'skipping test: ext3' ' > run_genimage_root ext3.config test.ext3 && > check_ext images/test.ext3 ext3test 4194304 genext2fs >' >+ test -z skip >+ shift >+ printf '%s\n' 'skipping test: ext3 > run_genimage_root ext3.config test.ext3 && > check_ext images/test.ext3 ext3test 4194304 genext2fs >' >+ say_color skip 'ok 3 # skip ext3 (missing genext2fs of genext2fs,e2fsck)' >+ test -z skip >+ shift >+ printf '%s\n' 'ok 3 # skip ext3 (missing genext2fs of genext2fs,e2fsck)' >+ : true >+ echo '' >+ test_expect_success genext2fs,e2fsck ext4 ' > run_genimage ext4.config test.ext4 && > check_ext images/test.ext4 ext4test 4194304 genext2fs >' >+ test 3 = 3 >+ test_prereq=genext2fs,e2fsck >+ shift >+ test 2 = 2 >+ export test_prereq >+ test_skip_ ext4 ' > run_genimage ext4.config test.ext4 && > check_ext images/test.ext4 ext4test 4194304 genext2fs >' >+ test_count=4 >+ to_skip= >+ test -z '' >+ test -n genext2fs,e2fsck >+ test_have_prereq genext2fs,e2fsck >+ save_IFS=' >' >+ IFS=, >+ set -- genext2fs e2fsck >+ IFS=' >' >+ total_prereq=0 >+ ok_prereq=0 >+ missing_prereq= >+ for prerequisite in "$@" >+ case "$prerequisite" in >+ negative_prereq= >+ total_prereq=1 >+ case "$satisfied_prereq" in >+ satisfied_this_prereq= >+ case "$satisfied_this_prereq,$negative_prereq" in >+ prerequisite=genext2fs >+ test -z '' >+ missing_prereq=genext2fs >+ for prerequisite in "$@" >+ case "$prerequisite" in >+ negative_prereq= >+ total_prereq=2 >+ case "$satisfied_prereq" in >+ satisfied_this_prereq=t >+ case "$satisfied_this_prereq,$negative_prereq" in >+ ok_prereq=1 >+ test 2 = 1 >+ to_skip=t >+ case "$to_skip" in >+ of_prereq= >+ test genext2fs '!=' genext2fs,e2fsck >+ of_prereq=' of genext2fs,e2fsck' >+ say_color skip 'skipping test: ext4' ' > run_genimage ext4.config test.ext4 && > check_ext images/test.ext4 ext4test 4194304 genext2fs >' >+ test -z skip >+ shift >+ printf '%s\n' 'skipping test: ext4 > run_genimage ext4.config test.ext4 && > check_ext images/test.ext4 ext4test 4194304 genext2fs >' >+ say_color skip 'ok 4 # skip ext4 (missing genext2fs of genext2fs,e2fsck)' >+ test -z skip >+ shift >+ printf '%s\n' 'ok 4 # skip ext4 (missing genext2fs of genext2fs,e2fsck)' >+ : true >+ echo '' >++ mke2fs >++ sed -n 's/.*\(-d \).*/\1/p' >skipping test: ext2 > run_genimage_root ext2.config test.ext2 && > check_ext images/test.ext2 ext2test 4194304 genext2fs > >ok 1 # skip ext2 (missing genext2fs of genext2fs,e2fsck) >SKIP: test/ext.test 1 # SKIP ext2 (missing genext2fs of genext2fs,e2fsck) > >skipping test: ext2percent > run_genimage_root ext2percent.config test.ext2 && > check_ext images/test.ext2 ext2test-percent 69632 genext2fs > >ok 2 # skip ext2percent (missing genext2fs of genext2fs,e2fsck) >SKIP: test/ext.test 2 # SKIP ext2percent (missing genext2fs of genext2fs,e2fsck) > >skipping test: ext3 > run_genimage_root ext3.config test.ext3 && > check_ext images/test.ext3 ext3test 4194304 genext2fs > >ok 3 # skip ext3 (missing genext2fs of genext2fs,e2fsck) >SKIP: test/ext.test 3 # SKIP ext3 (missing genext2fs of genext2fs,e2fsck) > >skipping test: ext4 > run_genimage ext4.config test.ext4 && > check_ext images/test.ext4 ext4test 4194304 genext2fs > >ok 4 # skip ext4 (missing genext2fs of genext2fs,e2fsck) >SKIP: test/ext.test 4 # SKIP ext4 (missing genext2fs of genext2fs,e2fsck) >+ '[' '-d ' = '-d ' ']' >+ test_set_prereq mke2fs >+ satisfied_prereq=' sfdisk-gpt fdisk-gpt e2fsck mke2fs ' >+ test_expect_success mke2fs,e2fsck mke2fs ' > run_genimage_root mke2fs.config mke2fs.ext4 && > check_ext images/mke2fs.ext4 mke2fs 33554432 mke2fs >' >+ test 3 = 3 >+ test_prereq=mke2fs,e2fsck >+ shift >+ test 2 = 2 >+ export test_prereq >+ test_skip_ mke2fs ' > run_genimage_root mke2fs.config mke2fs.ext4 && > check_ext images/mke2fs.ext4 mke2fs 33554432 mke2fs >' >+ test_count=5 >+ to_skip= >+ test -z '' >+ test -n mke2fs,e2fsck >+ test_have_prereq mke2fs,e2fsck >+ save_IFS=' >' >+ IFS=, >+ set -- mke2fs e2fsck >+ IFS=' >' >+ total_prereq=0 >+ ok_prereq=0 >+ missing_prereq= >+ for prerequisite in "$@" >+ case "$prerequisite" in >+ negative_prereq= >+ total_prereq=1 >+ case "$satisfied_prereq" in >+ satisfied_this_prereq=t >+ case "$satisfied_this_prereq,$negative_prereq" in >+ ok_prereq=1 >+ for prerequisite in "$@" >+ case "$prerequisite" in >+ negative_prereq= >+ total_prereq=2 >+ case "$satisfied_prereq" in >+ satisfied_this_prereq=t >+ case "$satisfied_this_prereq,$negative_prereq" in >+ ok_prereq=2 >+ test 2 = 2 >+ case "$to_skip" in >+ false >+ say 'expecting success: > run_genimage_root mke2fs.config mke2fs.ext4 && > check_ext images/mke2fs.ext4 mke2fs 33554432 mke2fs >' >+ say_color info 'expecting success: > run_genimage_root mke2fs.config mke2fs.ext4 && > check_ext images/mke2fs.ext4 mke2fs 33554432 mke2fs >' >+ test -z info >+ shift >+ printf '%s\n' 'expecting success: > run_genimage_root mke2fs.config mke2fs.ext4 && > check_ext images/mke2fs.ext4 mke2fs 33554432 mke2fs >' >+ test_run_ ' > run_genimage_root mke2fs.config mke2fs.ext4 && > check_ext images/mke2fs.ext4 mke2fs 33554432 mke2fs >' > >expecting success: > run_genimage_root mke2fs.config mke2fs.ext4 && > check_ext images/mke2fs.ext4 mke2fs 33554432 mke2fs >+ test_cleanup=: >+ expecting_failure= >+ test_eval_ ' > run_genimage_root mke2fs.config mke2fs.ext4 && > check_ext images/mke2fs.ext4 mke2fs 33554432 mke2fs >' >+ case ",$test_prereq," in >+ eval ' > run_genimage_root mke2fs.config mke2fs.ext4 && > check_ext images/mke2fs.ext4 mke2fs 33554432 mke2fs >' >++ run_genimage_root mke2fs.config mke2fs.ext4 >++ root=root.orig >++ run_genimage_impl mke2fs.config mke2fs.ext4 >++ '[' t = t ']' >++ vargs=--loglevel=3 >++ rm -rf tmp images '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.ext.test/root.test' >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ mkdir '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.ext.test/root.test' images >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ '[' -n mke2fs.ext4 ']' >++ dd if=/dev/zero of=images/mke2fs.ext4 bs=1M seek=30 count=1 >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >1+0 records in >1+0 records out >1048576 bytes (1.0 MB, 1.0 MiB) copied, 0.000486321 s, 2.2 GB/s >++ /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/genimage --loglevel=3 --outputpath=images --inputpath=input --rootpath=root.orig --tmppath=tmp --config mke2fs.config >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >INFO: cmd: "mkdir -p "/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.ext.test/tmp"" (stderr+stdout): >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >INFO: cmd: "rm -rf "/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.ext.test/tmp"/*" (stderr+stdout): >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >INFO: cmd: "mkdir -p "/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.ext.test/tmp"" (stderr+stdout): >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >INFO: cmd: "cp -a "/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.ext.test/root.orig" "/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.ext.test/tmp/root"" (stderr+stdout): >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >INFO: cmd: "mkdir -p "/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.ext.test/images"" (stderr+stdout): >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >INFO: ext4(mke2fs.ext4): cmd: "MKE2FS_CONFIG="mke2fs.conf" mke2fs -t ext4 -I 256 -E 'root_owner=0:0,lazy_itable_init=0,lazy_journal_init=0' -O '^large_file' -O '^huge_file' -d '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.ext.test/tmp/root' -U 12345678-1234-1234-1234-1234567890ab -L mke2fs -O '^resize_inode,quota' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.ext.test/images/mke2fs.ext4' 32768k" (stderr+stdout): >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >mke2fs 1.46.5 (30-Dec-2021) >Discarding device blocks: 0/32768 done >Creating filesystem with 32768 1k blocks and 8192 inodes >Filesystem UUID: 12345678-1234-1234-1234-1234567890ab >Superblock backups stored on blocks: > 8193, 24577 > >Allocating group tables: 0/4 done >Writing inode tables: 0/4 done >Creating journal (4096 blocks): done >Copying files into the device: done >Writing superblocks and filesystem accounting information: 0/4 done > >INFO: ext4(mke2fs.ext4): cmd: "e2fsck -pvfD '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.ext.test/images/mke2fs.ext4'" (stderr+stdout): >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >[QUOTA WARNING] Usage inconsistent for ID 0:actual (29696, 42) != expected (13312, 2) >mke2fs: Update quota info for quota type 0. >[QUOTA WARNING] Usage inconsistent for ID 0:actual (29696, 42) != expected (13312, 2) >mke2fs: Update quota info for quota type 1. > > 51 inodes used (0.62%, out of 8192) > 2 non-contiguous files (3.9%) > 0 non-contiguous directories (0.0%) > # of inodes with ind/dind/tind blocks: 0/0/0 > Extent depth histogram: 45 > 6200 blocks used (18.92%, out of 32768) > 0 bad blocks > 0 large files > > 24 regular files > 18 directories > 0 character device files > 0 block device files > 0 fifos > 0 links > 0 symbolic links (0 fast symbolic links) > 0 sockets >------------ > 42 files >INFO: ext4(mke2fs.ext4): cmd: "echo 'set_current_time 20000101000000 >set_super_value mkfs_time 20000101000000 >set_super_value lastcheck 20000101000000 >set_super_value mtime 00000000' | debugfs -w '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.ext.test/images/mke2fs.ext4'" (stderr+stdout): >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >debugfs 1.46.5 (30-Dec-2021) >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >debugfs: set_current_time 20000101000000 >Setting current time to Sat Jan 1 00:00:00 2000 > >debugfs: set_super_value mkfs_time 20000101000000 >debugfs: set_super_value lastcheck 20000101000000 >debugfs: set_super_value mtime 00000000 >debugfs: ++ check_ext images/mke2fs.ext4 mke2fs 33554432 mke2fs >++ '[' t = t ']' >++ set -x >++ uuid='Filesystem UUID' >++ seed='Directory Hash Seed:' >++ csum1='Checksum: \|Group 0: (Blocks 1-4095) csum' >++ csum2='Group 0: (Blocks 1-4095) \[ITABLE_ZEROED\]\| Checksum .*, unused inodes 205' >++ dumpe2fs images/mke2fs.ext4 >++ grep -v '^\(Filesystem UUID\|Directory Hash Seed:\|Checksum: \|Group 0: (Blocks 1-4095) csum\|Group 0: (Blocks 1-4095) \[ITABLE_ZEROED\]\| Checksum .*, unused inodes 205\)' >dumpe2fs 1.46.5 (30-Dec-2021) >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ sed -i 's/un\(signed_directory_hash\)/\1/' dump >++ sed -i 's/^\(Journal size: \)1029k$/\11024k/' dump >++ sed -i 's/^\( Block bitmap at .*\),\( Inode bitmap.*\)$/\1\n \2/' dump >++ sed -i -e 's/^J\(ournal size:\) /Total j\1/' -e 's/^Journal length: \( *\)\(.*\)$/Total journal blocks:\1\2\nMax transaction length: \2\nFast commit length: 0/' -e '/^Overhead clusters:/d' dump >++ '[' mke2fs = genext2fs ']' >++ version=0 >++ test_cmp /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/mke2fs.0.dump dump >++ diff -u /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/mke2fs.0.dump dump >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ e2fsck -nf images/mke2fs.ext4 >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >e2fsck 1.46.5 (30-Dec-2021) > >Pass 1: Checking inodes, blocks, and sizes >Pass 2: Checking directory structure >Pass 3: Checking directory connectivity >Pass 4: Checking reference counts >Pass 5: Checking group summary information >++ debugfs -R 'ls -p' images/mke2fs.ext4 >++ IFS=/ >++ read a b c d e x f >debugfs 1.46.5 (30-Dec-2021) >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ case "${x}" in >++ continue >++ read a b c d e x f >++ case "${x}" in >++ continue >++ read a b c d e x f >++ case "${x}" in >++ continue >++ read a b c d e x f >++ case "${x}" in >++ debugfs -R 'rdump "bar" "/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.ext.test/root.test"' images/mke2fs.ext4 >debugfs 1.46.5 (30-Dec-2021) >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ read a b c d e x f >++ case "${x}" in >++ debugfs -R 'rdump "baz" "/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.ext.test/root.test"' images/mke2fs.ext4 >debugfs 1.46.5 (30-Dec-2021) >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ read a b c d e x f >++ case "${x}" in >++ debugfs -R 'rdump "foo" "/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.ext.test/root.test"' images/mke2fs.ext4 >debugfs 1.46.5 (30-Dec-2021) >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ read a b c d e x f >++ case "${x}" in >++ debugfs -R 'rdump "with spaces" "/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.ext.test/root.test"' images/mke2fs.ext4 >debugfs 1.46.5 (30-Dec-2021) >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ read a b c d e x f >++ case "${x}" in >++ continue >++ read a b c d e x f >++ check_size images/mke2fs.ext4 33554432 >++ local size >++ get_size images/mke2fs.ext4 >++ local file=images/mke2fs.ext4 >++ '[' '!' -f images/mke2fs.ext4 ']' >+++ du -b images/mke2fs.ext4 >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ set -- 33554432 images/mke2fs.ext4 >++ size=33554432 >++ '[' 33554432 -ne 33554432 ']' >++ check_root >++ diff -ru '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.ext.test/root.orig' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.ext.test/root.test' >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ func_check >++ local ret=0 >++ set +x >mke2fs: 51/8192 files (3.9% non-contiguous), 6200/32768 blocks >ok 5 - mke2fs >PASS: test/ext.test 5 - mke2fs >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file > ># passed all 5 test(s) >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >1..5 > >PASS: test/filesystem >===================== > >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >+ test_description='Filesystem Image Tests' >++ dirname ./test/filesystem.test >+ . ./test/test-setup.sh >++++ dirname ./test/filesystem.test >+++ readlink -f ./test >++ testdir=/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test >+++ pwd >++ genimage=/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/genimage >++ PATH=/usr/lib/portage/python3.11/ebuild-helpers/xattr:/usr/lib/portage/python3.11/ebuild-helpers:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/lib/llvm/15/bin:/sbin:/usr/sbin >++ set -- -v >++ . /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/sharness.sh >+++ SHARNESS_VERSION=1.0.0 >+++ export SHARNESS_VERSION >+++ : t >+++ export SHARNESS_TEST_EXTENSION >+++ '[' x = x ']' >+++ SHARNESS_ORIG_TERM=tmux-256color >+++ export SHARNESS_ORIG_TERM >+++ : /bin/bash >+++ export SHELL_PATH >+++ LANG=C >+++ LC_ALL=C >+++ PAGER=cat >+++ TZ=UTC >+++ EDITOR=: >+++ export LANG LC_ALL PAGER TZ EDITOR >+++ unset VISUAL CDPATH GREP_OPTIONS >+++ LF=' >' >+++ '[' xtmux-256color '!=' xdumb ']' >+++ '[' -t 1 ']' >+++ test 1 -ne 0 >+++ case "$1" in >+++ verbose=t >+++ shift >+++ test 0 -ne 0 >+++ test -n '' >+++ TERM=dumb >+++ export TERM >+++ test -n 'Filesystem Image Tests' >+++ test '' = t >+++ exec >+++ exec >+++ test t = t >+++ exec >+++ test_failure=0 >+++ test_count=0 >+++ test_fixed=0 >+++ test_broken=0 >+++ test_success=0 >+++ EXIT_OK= >+++ trap die EXIT >+++ satisfied_prereq=' ' >+++ final_cleanup= >++++ pwd >+++ : /var/tmp/portage/sys-fs/genimage-16/work/genimage-16 >+++ export SHARNESS_TEST_DIRECTORY >+++++ dirname ./test/filesystem.test >++++ cd ./test >++++ pwd >+++ : /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test >+++ export SHARNESS_TEST_SRCDIR >+++ : /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/.. >+++ PATH=/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/..:/usr/lib/portage/python3.11/ebuild-helpers/xattr:/usr/lib/portage/python3.11/ebuild-helpers:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/lib/llvm/15/bin:/sbin:/usr/sbin >+++ export PATH SHARNESS_BUILD_DIRECTORY >+++ SHARNESS_TEST_FILE=./test/filesystem.test >+++ export SHARNESS_TEST_FILE >++++ basename ./test/filesystem.test .t >+++ SHARNESS_TRASH_DIRECTORY='trash directory.filesystem.test' >+++ test -n '' >+++ case "$SHARNESS_TRASH_DIRECTORY" in >+++ SHARNESS_TRASH_DIRECTORY='/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.filesystem.test' >+++ test '' = t >+++ remove_trash='/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.filesystem.test' >+++ rm -rf '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.filesystem.test' >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >+++ test -d /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/sharness.d >+++ export SHARNESS_TRASH_DIRECTORY >+++ HOME='/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.filesystem.test' >+++ export HOME >+++ mkdir -p '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.filesystem.test' >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >+++ cd -P '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.filesystem.test' >+++ this_test=filesystem.test >+++ this_test=filesystem.test >+++ test -n '' >+++ test -n '' >+++ : >+++ pwd >++ filelist_orig='/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.filesystem.test/file-list.orig' >+++ pwd >++ filelist_test='/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.filesystem.test/file-list.test' >+++ pwd >++ root_orig='/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.filesystem.test/root.orig' >+++ pwd >++ root_test='/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.filesystem.test/root.test' >++ set -o pipefail >++ setup_data >++ umask 0022 >++ mkdir -p '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.filesystem.test/root.orig/foo/1' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.filesystem.test/root.orig/foo/2' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.filesystem.test/root.orig/foo/3' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.filesystem.test/root.orig/bar/1' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.filesystem.test/root.orig/bar/2' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.filesystem.test/root.orig/bar/3' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.filesystem.test/root.orig/baz/1' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.filesystem.test/root.orig/baz/2' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.filesystem.test/root.orig/baz/3' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.filesystem.test/root.orig/with spaces/1' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.filesystem.test/root.orig/with spaces/2' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.filesystem.test/root.orig/with spaces/3' >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ touch '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.filesystem.test/root.orig/foo/1/one' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.filesystem.test/root.orig/foo/1/two' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.filesystem.test/root.orig/foo/2/one' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.filesystem.test/root.orig/foo/2/two' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.filesystem.test/root.orig/foo/3/one' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.filesystem.test/root.orig/foo/3/two' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.filesystem.test/root.orig/bar/1/one' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.filesystem.test/root.orig/bar/1/two' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.filesystem.test/root.orig/bar/2/one' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.filesystem.test/root.orig/bar/2/two' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.filesystem.test/root.orig/bar/3/one' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.filesystem.test/root.orig/bar/3/two' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.filesystem.test/root.orig/baz/1/one' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.filesystem.test/root.orig/baz/1/two' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.filesystem.test/root.orig/baz/2/one' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.filesystem.test/root.orig/baz/2/two' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.filesystem.test/root.orig/baz/3/one' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.filesystem.test/root.orig/baz/3/two' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.filesystem.test/root.orig/with spaces/1/one' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.filesystem.test/root.orig/with spaces/1/two' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.filesystem.test/root.orig/with spaces/2/one' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.filesystem.test/root.orig/with spaces/2/two' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.filesystem.test/root.orig/with spaces/3/one' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.filesystem.test/root.orig/with spaces/3/two' >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ find '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.filesystem.test/root.orig' -print0 >++ xargs -0 touch -c -d '2011-11-11 UTC' >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ find '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.filesystem.test/root.orig/' -mindepth 1 -printf '%P\n' >++ sort >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ cp /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/cpio.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/cramfs.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/exec-fail.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/exec.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/ext2.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/ext2percent.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/ext3.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/ext4.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/f2fs.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/fip.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/fit.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/flash-types.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/flash.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/gpt-overlap1.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/gpt-overlap2.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/gpt-overlap3.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hdimage-fail1.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hdimage-fail2.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hdimage-fail3.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hdimage-fail4.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hdimage-fail5.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hdimage-fail6.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hdimage-fail7.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hdimage-hybrid.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hdimage-nopart.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hdimage.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hdimage2.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hdimage4.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hdimage5.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hdimage6.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hdimage7.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hole.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/include-test.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/include.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/iso.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/jffs2.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/mke2fs.conf /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/mke2fs.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/qemu.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/rauc.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/sparse.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/squashfs.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/tar.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/ubi.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/ubifs.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/vfat.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/exec-check.sh /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/sharness.sh /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/test-setup.sh . >++ sfdisk -h >++ grep -q gpt >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ test_set_prereq sfdisk-gpt >++ satisfied_prereq=' sfdisk-gpt ' >++ fdisk -h >++ grep -q gpt >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ test_set_prereq fdisk-gpt >++ satisfied_prereq=' sfdisk-gpt fdisk-gpt ' >+ exec_test_set_prereq cpio >+ command -v cpio >+ test_expect_success cpio cpio ' > run_genimage_root cpio.config test.cpio && > zcat images/test.cpio | cpio --extract -t | grep -v '\''^\.$'\'' | sort > '\''/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.filesystem.test/file-list.test'\'' && > check_size_range images/test.cpio 400 550 && > check_filelist >' >+ test 3 = 3 >+ test_prereq=cpio >+ shift >+ test 2 = 2 >+ export test_prereq >+ test_skip_ cpio ' > run_genimage_root cpio.config test.cpio && > zcat images/test.cpio | cpio --extract -t | grep -v '\''^\.$'\'' | sort > '\''/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.filesystem.test/file-list.test'\'' && > check_size_range images/test.cpio 400 550 && > check_filelist >' >+ test_count=1 >+ to_skip= >+ test -z '' >+ test -n cpio >+ test_have_prereq cpio >+ save_IFS=' >' >+ IFS=, >+ set -- cpio >+ IFS=' >' >+ total_prereq=0 >+ ok_prereq=0 >+ missing_prereq= >+ for prerequisite in "$@" >+ case "$prerequisite" in >+ negative_prereq= >+ total_prereq=1 >+ case "$satisfied_prereq" in >+ satisfied_this_prereq= >+ case "$satisfied_this_prereq,$negative_prereq" in >+ prerequisite=cpio >+ test -z '' >+ missing_prereq=cpio >+ test 1 = 0 >+ to_skip=t >+ case "$to_skip" in >+ of_prereq= >+ test cpio '!=' cpio >+ say_color skip 'skipping test: cpio' ' > run_genimage_root cpio.config test.cpio && > zcat images/test.cpio | cpio --extract -t | grep -v '\''^\.$'\'' | sort > '\''/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.filesystem.test/file-list.test'\'' && > check_size_range images/test.cpio 400 550 && > check_filelist >' >+ test -z skip >+ shift >+ printf '%s\n' 'skipping test: cpio > run_genimage_root cpio.config test.cpio && > zcat images/test.cpio | cpio --extract -t | grep -v '\''^\.$'\'' | sort > '\''/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.filesystem.test/file-list.test'\'' && > check_size_range images/test.cpio 400 550 && > check_filelist >' >+ say_color skip 'ok 1 # skip cpio (missing cpio)' >+ test -z skip >+ shift >+ printf '%s\n' 'ok 1 # skip cpio (missing cpio)' >+ : true >+ echo '' >+ exec_test_set_prereq mkcramfs >+ command -v mkcramfs >+ test_expect_success mkcramfs cramfs ' > run_genimage_root cramfs.config test.cramfs && > check_size images/test.cramfs 4096 >' >+ test 3 = 3 >+ test_prereq=mkcramfs >+ shift >+ test 2 = 2 >+ export test_prereq >+ test_skip_ cramfs ' > run_genimage_root cramfs.config test.cramfs && > check_size images/test.cramfs 4096 >' >+ test_count=2 >+ to_skip= >+ test -z '' >+ test -n mkcramfs >+ test_have_prereq mkcramfs >+ save_IFS=' >' >+ IFS=, >+ set -- mkcramfs >+ IFS=' >' >+ total_prereq=0 >+ ok_prereq=0 >+ missing_prereq= >+ for prerequisite in "$@" >+ case "$prerequisite" in >+ negative_prereq= >+ total_prereq=1 >+ case "$satisfied_prereq" in >+ satisfied_this_prereq= >+ case "$satisfied_this_prereq,$negative_prereq" in >+ prerequisite=mkcramfs >+ test -z '' >+ missing_prereq=mkcramfs >+ test 1 = 0 >+ to_skip=t >+ case "$to_skip" in >+ of_prereq= >+ test mkcramfs '!=' mkcramfs >+ say_color skip 'skipping test: cramfs' ' > run_genimage_root cramfs.config test.cramfs && > check_size images/test.cramfs 4096 >' >+ test -z skip >+ shift >+ printf '%s\n' 'skipping test: cramfs > run_genimage_root cramfs.config test.cramfs && > check_size images/test.cramfs 4096 >' >+ say_color skip 'ok 2 # skip cramfs (missing mkcramfs)' >+ test -z skip >+ shift >+ printf '%s\n' 'ok 2 # skip cramfs (missing mkcramfs)' >+ : true >+ echo '' >+ exec_test_set_prereq genisoimage >+ command -v genisoimage >+ test_expect_success genisoimage iso ' > run_genimage_root iso.config test.iso && > check_size_range images/test.iso 300000 400000 >' >+ test 3 = 3 >+ test_prereq=genisoimage >+ shift >+ test 2 = 2 >+ export test_prereq >+ test_skip_ iso ' > run_genimage_root iso.config test.iso && > check_size_range images/test.iso 300000 400000 >' >+ test_count=3 >+ to_skip= >+ test -z '' >+ test -n genisoimage >+ test_have_prereq genisoimage >+ save_IFS=' >' >+ IFS=, >+ set -- genisoimage >+ IFS=' >' >+ total_prereq=0 >+ ok_prereq=0 >+ missing_prereq= >+ for prerequisite in "$@" >+ case "$prerequisite" in >+ negative_prereq= >+ total_prereq=1 >+ case "$satisfied_prereq" in >+ satisfied_this_prereq= >+ case "$satisfied_this_prereq,$negative_prereq" in >+ prerequisite=genisoimage >+ test -z '' >+ missing_prereq=genisoimage >+ test 1 = 0 >+ to_skip=t >+ case "$to_skip" in >+ of_prereq= >+ test genisoimage '!=' genisoimage >+ say_color skip 'skipping test: iso' ' > run_genimage_root iso.config test.iso && > check_size_range images/test.iso 300000 400000 >' >+ test -z skip >+ shift >+ printf '%s\n' 'skipping test: iso > run_genimage_root iso.config test.iso && > check_size_range images/test.iso 300000 400000 >' >+ say_color skip 'ok 3 # skip iso (missing genisoimage)' >+ test -z skip >+ shift >+ printf '%s\n' 'ok 3 # skip iso (missing genisoimage)' >+ : true >+ echo '' >+ exec_test_set_prereq mkfs.f2fs >+ command -v mkfs.f2fs >+ exec_test_set_prereq sload.f2fs >+ command -v sload.f2fs >+ exec_test_set_prereq fsck.f2fs >+ command -v fsck.f2fs >+ test_expect_success mkfs_f2fs,sload_f2fs,fsck_f2fs f2fs ' > run_genimage_root f2fs.config test.f2fs && > fsck.f2fs images/test.f2fs >' >+ test 3 = 3 >+ test_prereq=mkfs_f2fs,sload_f2fs,fsck_f2fs >+ shift >+ test 2 = 2 >+ export test_prereq >+ test_skip_ f2fs ' > run_genimage_root f2fs.config test.f2fs && > fsck.f2fs images/test.f2fs >' >+ test_count=4 >+ to_skip= >+ test -z '' >+ test -n mkfs_f2fs,sload_f2fs,fsck_f2fs >+ test_have_prereq mkfs_f2fs,sload_f2fs,fsck_f2fs >+ save_IFS=' >' >+ IFS=, >+ set -- mkfs_f2fs sload_f2fs fsck_f2fs >+ IFS=' >' >+ total_prereq=0 >+ ok_prereq=0 >+ missing_prereq= >+ for prerequisite in "$@" >+ case "$prerequisite" in >+ negative_prereq= >+ total_prereq=1 >+ case "$satisfied_prereq" in >+ satisfied_this_prereq= >+ case "$satisfied_this_prereq,$negative_prereq" in >+ prerequisite=mkfs_f2fs >+ test -z '' >+ missing_prereq=mkfs_f2fs >+ for prerequisite in "$@" >+ case "$prerequisite" in >+ negative_prereq= >+ total_prereq=2 >+ case "$satisfied_prereq" in >+ satisfied_this_prereq= >+ case "$satisfied_this_prereq,$negative_prereq" in >+ prerequisite=sload_f2fs >+ test -z mkfs_f2fs >+ missing_prereq=sload_f2fs,mkfs_f2fs >+ for prerequisite in "$@" >+ case "$prerequisite" in >+ negative_prereq= >+ total_prereq=3 >+ case "$satisfied_prereq" in >+ satisfied_this_prereq= >+ case "$satisfied_this_prereq,$negative_prereq" in >+ prerequisite=fsck_f2fs >+ test -z sload_f2fs,mkfs_f2fs >+ missing_prereq=fsck_f2fs,sload_f2fs,mkfs_f2fs >+ test 3 = 0 >+ to_skip=t >+ case "$to_skip" in >+ of_prereq= >+ test fsck_f2fs,sload_f2fs,mkfs_f2fs '!=' mkfs_f2fs,sload_f2fs,fsck_f2fs >+ of_prereq=' of mkfs_f2fs,sload_f2fs,fsck_f2fs' >+ say_color skip 'skipping test: f2fs' ' > run_genimage_root f2fs.config test.f2fs && > fsck.f2fs images/test.f2fs >' >+ test -z skip >+ shift >+ printf '%s\n' 'skipping test: f2fs > run_genimage_root f2fs.config test.f2fs && > fsck.f2fs images/test.f2fs >' >+ say_color skip 'ok 4 # skip f2fs (missing fsck_f2fs,sload_f2fs,mkfs_f2fs of mkfs_f2fs,sload_f2fs,fsck_f2fs)' >+ test -z skip >+ shift >+ printf '%s\n' 'ok 4 # skip f2fs (missing fsck_f2fs,sload_f2fs,mkfs_f2fs of mkfs_f2fs,sload_f2fs,fsck_f2fs)' >+ : true >+ echo '' >+ exec_test_set_prereq mksquashfs >+ command -v mksquashfs >+ test_expect_success mksquashfs squashfs ' > run_genimage_root squashfs.config test.squashfs && > check_size_range images/test.squashfs 4000 4100 && > unsquashfs -ls images/test.squashfs | sed -n '\''/squashfs-root/s;squashfs-root/;;p'\'' | sort > '\''/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.filesystem.test/file-list.test'\'' && > check_filelist >' >+ test 3 = 3 >+ test_prereq=mksquashfs >+ shift >+ test 2 = 2 >+ export test_prereq >+ test_skip_ squashfs ' > run_genimage_root squashfs.config test.squashfs && > check_size_range images/test.squashfs 4000 4100 && > unsquashfs -ls images/test.squashfs | sed -n '\''/squashfs-root/s;squashfs-root/;;p'\'' | sort > '\''/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.filesystem.test/file-list.test'\'' && > check_filelist >' >+ test_count=5 >+ to_skip= >+ test -z '' >+ test -n mksquashfs >+ test_have_prereq mksquashfs >+ save_IFS=' >' >+ IFS=, >+ set -- mksquashfs >+ IFS=' >' >+ total_prereq=0 >+ ok_prereq=0 >+ missing_prereq= >+ for prerequisite in "$@" >+ case "$prerequisite" in >+ negative_prereq= >+ total_prereq=1 >+ case "$satisfied_prereq" in >+ satisfied_this_prereq= >+ case "$satisfied_this_prereq,$negative_prereq" in >+ prerequisite=mksquashfs >+ test -z '' >+ missing_prereq=mksquashfs >+ test 1 = 0 >+ to_skip=t >+ case "$to_skip" in >+ of_prereq= >+ test mksquashfs '!=' mksquashfs >+ say_color skip 'skipping test: squashfs' ' > run_genimage_root squashfs.config test.squashfs && > check_size_range images/test.squashfs 4000 4100 && > unsquashfs -ls images/test.squashfs | sed -n '\''/squashfs-root/s;squashfs-root/;;p'\'' | sort > '\''/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.filesystem.test/file-list.test'\'' && > check_filelist >' >+ test -z skip >+ shift >+ printf '%s\n' 'skipping test: squashfs > run_genimage_root squashfs.config test.squashfs && > check_size_range images/test.squashfs 4000 4100 && > unsquashfs -ls images/test.squashfs | sed -n '\''/squashfs-root/s;squashfs-root/;;p'\'' | sort > '\''/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.filesystem.test/file-list.test'\'' && > check_filelist >' >+ say_color skip 'ok 5 # skip squashfs (missing mksquashfs)' >+ test -z skip >+ shift >+ printf '%s\n' 'ok 5 # skip squashfs (missing mksquashfs)' >+ : true >+ echo '' >+ exec_test_set_prereq tar >+ command -v tar >+ test_set_prereq tar >+ satisfied_prereq=' sfdisk-gpt fdisk-gpt tar ' >+ test_expect_success tar tar ' > run_genimage_root tar.config test.tar.gz && > check_size_range images/test.tar.gz 500 600 && > zcat images/test.tar.gz | tar -t | sed -n -e '\''s;/$;;'\'' -e '\''s;^\./\(..*\)$;\1;p'\'' | sort > '\''/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.filesystem.test/file-list.test'\'' && > check_filelist >' >+ test 3 = 3 >+ test_prereq=tar >+ shift >+ test 2 = 2 >+ export test_prereq >+ test_skip_ tar ' > run_genimage_root tar.config test.tar.gz && > check_size_range images/test.tar.gz 500 600 && > zcat images/test.tar.gz | tar -t | sed -n -e '\''s;/$;;'\'' -e '\''s;^\./\(..*\)$;\1;p'\'' | sort > '\''/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.filesystem.test/file-list.test'\'' && > check_filelist >' >+ test_count=6 >+ to_skip= >+ test -z '' >+ test -n tar >+ test_have_prereq tar >+ save_IFS=' >' >+ IFS=, >+ set -- tar >+ IFS=' >' >+ total_prereq=0 >+ ok_prereq=0 >+ missing_prereq= >+ for prerequisite in "$@" >+ case "$prerequisite" in >+ negative_prereq= >+ total_prereq=1 >+ case "$satisfied_prereq" in >+ satisfied_this_prereq=t >+ case "$satisfied_this_prereq,$negative_prereq" in >+ ok_prereq=1 >+ test 1 = 1 >+ case "$to_skip" in >+ false >+ say 'expecting success: > run_genimage_root tar.config test.tar.gz && > check_size_range images/test.tar.gz 500 600 && > zcat images/test.tar.gz | tar -t | sed -n -e '\''s;/$;;'\'' -e '\''s;^\./\(..*\)$;\1;p'\'' | sort > '\''/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.filesystem.test/file-list.test'\'' && > check_filelist >' >+ say_color info 'expecting success: > run_genimage_root tar.config test.tar.gz && > check_size_range images/test.tar.gz 500 600 && > zcat images/test.tar.gz | tar -t | sed -n -e '\''s;/$;;'\'' -e '\''s;^\./\(..*\)$;\1;p'\'' | sort > '\''/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.filesystem.test/file-list.test'\'' && > check_filelist >' >+ test -z info >+ shift >+ printf '%s\n' 'expecting success: > run_genimage_root tar.config test.tar.gz && > check_size_range images/test.tar.gz 500 600 && > zcat images/test.tar.gz | tar -t | sed -n -e '\''s;/$;;'\'' -e '\''s;^\./\(..*\)$;\1;p'\'' | sort > '\''/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.filesystem.test/file-list.test'\'' && > check_filelist >' >+ test_run_ ' > run_genimage_root tar.config test.tar.gz && > check_size_range images/test.tar.gz 500 600 && > zcat images/test.tar.gz | tar -t | sed -n -e '\''s;/$;;'\'' -e '\''s;^\./\(..*\)$;\1;p'\'' | sort > '\''/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.filesystem.test/file-list.test'\'' && > check_filelist >' >+ test_cleanup=: >+ expecting_failure= >+ test_eval_ ' > run_genimage_root tar.config test.tar.gz && > check_size_range images/test.tar.gz 500 600 && > zcat images/test.tar.gz | tar -t | sed -n -e '\''s;/$;;'\'' -e '\''s;^\./\(..*\)$;\1;p'\'' | sort > '\''/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.filesystem.test/file-list.test'\'' && > check_filelist >' >+ case ",$test_prereq," in >+ eval ' > run_genimage_root tar.config test.tar.gz && > check_size_range images/test.tar.gz 500 600 && > zcat images/test.tar.gz | tar -t | sed -n -e '\''s;/$;;'\'' -e '\''s;^\./\(..*\)$;\1;p'\'' | sort > '\''/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.filesystem.test/file-list.test'\'' && > check_filelist >' >++ run_genimage_root tar.config test.tar.gz >++ root=root.orig >++ run_genimage_impl tar.config test.tar.gz >++ '[' t = t ']' >++ vargs=--loglevel=3 >++ rm -rf tmp images '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.filesystem.test/root.test' >skipping test: cpio > run_genimage_root cpio.config test.cpio && > zcat images/test.cpio | cpio --extract -t | grep -v '^\.$' | sort > '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.filesystem.test/file-list.test' && > check_size_range images/test.cpio 400 550 && > check_filelist > >ok 1 # skip cpio (missing cpio) >SKIP: test/filesystem.test 1 # SKIP cpio (missing cpio) > >skipping test: cramfs > run_genimage_root cramfs.config test.cramfs && > check_size images/test.cramfs 4096 > >ok 2 # skip cramfs (missing mkcramfs) >SKIP: test/filesystem.test 2 # SKIP cramfs (missing mkcramfs) > >skipping test: iso > run_genimage_root iso.config test.iso && > check_size_range images/test.iso 300000 400000 > >ok 3 # skip iso (missing genisoimage) >SKIP: test/filesystem.test 3 # SKIP iso (missing genisoimage) > >skipping test: f2fs > run_genimage_root f2fs.config test.f2fs && > fsck.f2fs images/test.f2fs > >ok 4 # skip f2fs (missing fsck_f2fs,sload_f2fs,mkfs_f2fs of mkfs_f2fs,sload_f2fs,fsck_f2fs) >SKIP: test/filesystem.test 4 # SKIP f2fs (missing fsck_f2fs,sload_f2fs,mkfs_f2fs of mkfs_f2fs,sload_f2fs,fsck_f2fs) > >skipping test: squashfs > run_genimage_root squashfs.config test.squashfs && > check_size_range images/test.squashfs 4000 4100 && > unsquashfs -ls images/test.squashfs | sed -n '/squashfs-root/s;squashfs-root/;;p' | sort > '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.filesystem.test/file-list.test' && > check_filelist > >ok 5 # skip squashfs (missing mksquashfs) >SKIP: test/filesystem.test 5 # SKIP squashfs (missing mksquashfs) > >expecting success: > run_genimage_root tar.config test.tar.gz && > check_size_range images/test.tar.gz 500 600 && > zcat images/test.tar.gz | tar -t | sed -n -e 's;/$;;' -e 's;^\./\(..*\)$;\1;p' | sort > '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.filesystem.test/file-list.test' && > check_filelist >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ mkdir '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.filesystem.test/root.test' images >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ '[' -n test.tar.gz ']' >++ dd if=/dev/zero of=images/test.tar.gz bs=1M seek=30 count=1 >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >1+0 records in >1+0 records out >1048576 bytes (1.0 MB, 1.0 MiB) copied, 0.000484908 s, 2.2 GB/s >++ /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/genimage --loglevel=3 --outputpath=images --inputpath=input --rootpath=root.orig --tmppath=tmp --config tar.config >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >INFO: cmd: "mkdir -p "/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.filesystem.test/tmp"" (stderr+stdout): >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >INFO: cmd: "rm -rf "/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.filesystem.test/tmp"/*" (stderr+stdout): >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >INFO: cmd: "mkdir -p "/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.filesystem.test/tmp"" (stderr+stdout): >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >INFO: cmd: "cp -a "/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.filesystem.test/root.orig" "/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.filesystem.test/tmp/root"" (stderr+stdout): >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >INFO: cmd: "mkdir -p "/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.filesystem.test/images"" (stderr+stdout): >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >INFO: tar(test.tar.gz): cmd: "tar cz -f '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.filesystem.test/images/test.tar.gz' -C '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.filesystem.test/tmp/root' ." (stderr+stdout): >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ check_size_range images/test.tar.gz 500 600 >++ local size >++ get_size images/test.tar.gz >++ local file=images/test.tar.gz >++ '[' '!' -f images/test.tar.gz ']' >+++ du -b images/test.tar.gz >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ set -- 521 images/test.tar.gz >++ size=521 >++ '[' 521 -lt 500 -o 521 -gt 600 ']' >++ zcat images/test.tar.gz >++ tar -t >++ sed -n -e 's;/$;;' -e 's;^\./\(..*\)$;\1;p' >++ sort >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ check_filelist >++ test_cmp '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.filesystem.test/file-list.orig' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.filesystem.test/file-list.test' >++ diff -u '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.filesystem.test/file-list.orig' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.filesystem.test/file-list.test' >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >+ eval_ret=0 >+ test '' = t >+ test -z '' >+ test_eval_ : >+ case ",$test_prereq," in >+ eval : >++ : >+ test t = t >+ test -n '' >+ return 0 >+ test_ok_ tar >+ test_success=1 >+ say_color '' 'ok 6 - tar' >+ test -z '' >+ test -n '' >+ shift >+ printf '%s\n' 'ok 6 - tar' >+ echo '' > >ok 6 - tar >+ exec_test_set_prereq dd >+ command -v dd >+ test_set_prereq dd >PASS: test/filesystem.test 6 - tar >+ satisfied_prereq=' sfdisk-gpt fdisk-gpt tar dd ' >+ exec_test_set_prereq mkdosfs >+ command -v mkdosfs >+ exec_test_set_prereq mcopy >+ command -v mcopy >+ test_expect_success dd,mkdosfs,mcopy vfat ' > run_genimage_root vfat.config test.vfat && > fsck.fat -p images/test.vfat | tee fsck.log && > test_must_fail grep -q '\''Filesystem was changed'\'' fsck.log && > check_size images/test.vfat 4193280 && > MTOOLS_SKIP_CHECK=1 mdir -/ -f -b -i images/test.vfat / | sed -e '\''s;^::/;;'\'' -e '\''s;/$;;'\'' | sort > '\''/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.filesystem.test/file-list.test'\'' && > check_filelist >' >+ test 3 = 3 >+ test_prereq=dd,mkdosfs,mcopy >+ shift >+ test 2 = 2 >+ export test_prereq >+ test_skip_ vfat ' > run_genimage_root vfat.config test.vfat && > fsck.fat -p images/test.vfat | tee fsck.log && > test_must_fail grep -q '\''Filesystem was changed'\'' fsck.log && > check_size images/test.vfat 4193280 && > MTOOLS_SKIP_CHECK=1 mdir -/ -f -b -i images/test.vfat / | sed -e '\''s;^::/;;'\'' -e '\''s;/$;;'\'' | sort > '\''/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.filesystem.test/file-list.test'\'' && > check_filelist >' >+ test_count=7 >+ to_skip= >+ test -z '' >+ test -n dd,mkdosfs,mcopy >+ test_have_prereq dd,mkdosfs,mcopy >+ save_IFS=' >' >+ IFS=, >+ set -- dd mkdosfs mcopy >+ IFS=' >' >+ total_prereq=0 >+ ok_prereq=0 >+ missing_prereq= >+ for prerequisite in "$@" >+ case "$prerequisite" in >+ negative_prereq= >+ total_prereq=1 >+ case "$satisfied_prereq" in >+ satisfied_this_prereq=t >+ case "$satisfied_this_prereq,$negative_prereq" in >+ ok_prereq=1 >+ for prerequisite in "$@" >+ case "$prerequisite" in >+ negative_prereq= >+ total_prereq=2 >+ case "$satisfied_prereq" in >+ satisfied_this_prereq= >+ case "$satisfied_this_prereq,$negative_prereq" in >+ prerequisite=mkdosfs >+ test -z '' >+ missing_prereq=mkdosfs >+ for prerequisite in "$@" >+ case "$prerequisite" in >+ negative_prereq= >+ total_prereq=3 >+ case "$satisfied_prereq" in >+ satisfied_this_prereq= >+ case "$satisfied_this_prereq,$negative_prereq" in >+ prerequisite=mcopy >+ test -z mkdosfs >+ missing_prereq=mcopy,mkdosfs >+ test 3 = 1 >+ to_skip=t >+ case "$to_skip" in >+ of_prereq= >+ test mcopy,mkdosfs '!=' dd,mkdosfs,mcopy >+ of_prereq=' of dd,mkdosfs,mcopy' >+ say_color skip 'skipping test: vfat' ' > run_genimage_root vfat.config test.vfat && > fsck.fat -p images/test.vfat | tee fsck.log && > test_must_fail grep -q '\''Filesystem was changed'\'' fsck.log && > check_size images/test.vfat 4193280 && > MTOOLS_SKIP_CHECK=1 mdir -/ -f -b -i images/test.vfat / | sed -e '\''s;^::/;;'\'' -e '\''s;/$;;'\'' | sort > '\''/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.filesystem.test/file-list.test'\'' && > check_filelist >' >+ test -z skip >+ shift >+ printf '%s\n' 'skipping test: vfat > run_genimage_root vfat.config test.vfat && > fsck.fat -p images/test.vfat | tee fsck.log && > test_must_fail grep -q '\''Filesystem was changed'\'' fsck.log && > check_size images/test.vfat 4193280 && > MTOOLS_SKIP_CHECK=1 mdir -/ -f -b -i images/test.vfat / | sed -e '\''s;^::/;;'\'' -e '\''s;/$;;'\'' | sort > '\''/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.filesystem.test/file-list.test'\'' && > check_filelist >' >+ say_color skip 'ok 7 # skip vfat (missing mcopy,mkdosfs of dd,mkdosfs,mcopy)' > >skipping test: vfat > run_genimage_root vfat.config test.vfat && > fsck.fat -p images/test.vfat | tee fsck.log && >+ test -z skip > test_must_fail grep -q 'Filesystem was changed' fsck.log && >+ shift > check_size images/test.vfat 4193280 && > MTOOLS_SKIP_CHECK=1 mdir -/ -f -b -i images/test.vfat / | sed -e 's;^::/;;' -e 's;/$;;' | sort > '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.filesystem.test/file-list.test' && >+ printf '%s\n' 'ok 7 # skip vfat (missing mcopy,mkdosfs of dd,mkdosfs,mcopy)' > check_filelist >+ : true >+ echo '' >+ test_done > >ok 7 # skip vfat (missing mcopy,mkdosfs of dd,mkdosfs,mcopy) >+ EXIT_OK=t >+ test -z '' >+ test_results_dir=/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test-results >+ mkdir -p /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test-results >SKIP: test/filesystem.test 7 # SKIP vfat (missing mcopy,mkdosfs of dd,mkdosfs,mcopy) >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >+ test_results_path=/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test-results/filesystem.test.210.counts >+ cat >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >+ test 0 '!=' 0 >+ test 0 '!=' 0 >+ test 0 '!=' 0 >+ test 0 '!=' 0 >+ test_remaining=7 >+ msg='7 test(s)' >+ case "$test_failure" in >+ test -n '' >+ '[' -z '' ']' >+ test 7 -gt 0 >+ say_color pass '# passed all 7 test(s)' >+ test -z pass >+ shift >+ printf '%s\n' '# passed all 7 test(s)' >+ say 1..7 >+ say_color info 1..7 > >+ test -z info >+ shift >+ printf '%s\n' 1..7 >+ test_eval_ '' ># passed all 7 test(s) >+ case ",$test_prereq," in >+ eval '' >+ test -d '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.filesystem.test' >++ dirname '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.filesystem.test' >+ cd /var/tmp/portage/sys-fs/genimage-16/work/genimage-16 >++ basename '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.filesystem.test' >+ rm -rf 'trash directory.filesystem.test' >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >+ exit 0 >+ die >+ code=0 >+ test -n t >+ exit 0 >1..7 > >PASS: test/flash >================ > >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >+ test_description='Flash Image Tests' >++ dirname ./test/flash.test >+ . ./test/test-setup.sh >++++ dirname ./test/flash.test >+++ readlink -f ./test >++ testdir=/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test >+++ pwd >++ genimage=/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/genimage >++ PATH=/usr/lib/portage/python3.11/ebuild-helpers/xattr:/usr/lib/portage/python3.11/ebuild-helpers:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/lib/llvm/15/bin:/sbin:/usr/sbin >++ set -- -v >++ . /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/sharness.sh >+++ SHARNESS_VERSION=1.0.0 >+++ export SHARNESS_VERSION >+++ : t >+++ export SHARNESS_TEST_EXTENSION >+++ '[' x = x ']' >+++ SHARNESS_ORIG_TERM=tmux-256color >+++ export SHARNESS_ORIG_TERM >+++ : /bin/bash >+++ export SHELL_PATH >+++ LANG=C >+++ LC_ALL=C >+++ PAGER=cat >+++ TZ=UTC >+++ EDITOR=: >+++ export LANG LC_ALL PAGER TZ EDITOR >+++ unset VISUAL CDPATH GREP_OPTIONS >+++ LF=' >' >+++ '[' xtmux-256color '!=' xdumb ']' >+++ '[' -t 1 ']' >+++ test 1 -ne 0 >+++ case "$1" in >+++ verbose=t >+++ shift >+++ test 0 -ne 0 >+++ test -n '' >+++ TERM=dumb >+++ export TERM >+++ test -n 'Flash Image Tests' >+++ test '' = t >+++ exec >+++ exec >+++ test t = t >+++ exec >+++ test_failure=0 >+++ test_count=0 >+++ test_fixed=0 >+++ test_broken=0 >+++ test_success=0 >+++ EXIT_OK= >+++ trap die EXIT >+++ satisfied_prereq=' ' >+++ final_cleanup= >++++ pwd >+++ : /var/tmp/portage/sys-fs/genimage-16/work/genimage-16 >+++ export SHARNESS_TEST_DIRECTORY >+++++ dirname ./test/flash.test >++++ cd ./test >++++ pwd >+++ : /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test >+++ export SHARNESS_TEST_SRCDIR >+++ : /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/.. >+++ PATH=/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/..:/usr/lib/portage/python3.11/ebuild-helpers/xattr:/usr/lib/portage/python3.11/ebuild-helpers:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/lib/llvm/15/bin:/sbin:/usr/sbin >+++ export PATH SHARNESS_BUILD_DIRECTORY >+++ SHARNESS_TEST_FILE=./test/flash.test >+++ export SHARNESS_TEST_FILE >++++ basename ./test/flash.test .t >+++ SHARNESS_TRASH_DIRECTORY='trash directory.flash.test' >+++ test -n '' >+++ case "$SHARNESS_TRASH_DIRECTORY" in >+++ SHARNESS_TRASH_DIRECTORY='/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.flash.test' >+++ test '' = t >+++ remove_trash='/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.flash.test' >+++ rm -rf '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.flash.test' >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >+++ test -d /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/sharness.d >+++ export SHARNESS_TRASH_DIRECTORY >+++ HOME='/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.flash.test' >+++ export HOME >+++ mkdir -p '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.flash.test' >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >+++ cd -P '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.flash.test' >+++ this_test=flash.test >+++ this_test=flash.test >+++ test -n '' >+++ test -n '' >+++ : >+++ pwd >++ filelist_orig='/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.flash.test/file-list.orig' >+++ pwd >++ filelist_test='/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.flash.test/file-list.test' >+++ pwd >++ root_orig='/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.flash.test/root.orig' >+++ pwd >++ root_test='/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.flash.test/root.test' >++ set -o pipefail >++ setup_data >++ umask 0022 >++ mkdir -p '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.flash.test/root.orig/foo/1' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.flash.test/root.orig/foo/2' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.flash.test/root.orig/foo/3' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.flash.test/root.orig/bar/1' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.flash.test/root.orig/bar/2' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.flash.test/root.orig/bar/3' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.flash.test/root.orig/baz/1' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.flash.test/root.orig/baz/2' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.flash.test/root.orig/baz/3' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.flash.test/root.orig/with spaces/1' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.flash.test/root.orig/with spaces/2' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.flash.test/root.orig/with spaces/3' >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ touch '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.flash.test/root.orig/foo/1/one' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.flash.test/root.orig/foo/1/two' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.flash.test/root.orig/foo/2/one' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.flash.test/root.orig/foo/2/two' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.flash.test/root.orig/foo/3/one' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.flash.test/root.orig/foo/3/two' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.flash.test/root.orig/bar/1/one' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.flash.test/root.orig/bar/1/two' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.flash.test/root.orig/bar/2/one' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.flash.test/root.orig/bar/2/two' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.flash.test/root.orig/bar/3/one' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.flash.test/root.orig/bar/3/two' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.flash.test/root.orig/baz/1/one' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.flash.test/root.orig/baz/1/two' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.flash.test/root.orig/baz/2/one' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.flash.test/root.orig/baz/2/two' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.flash.test/root.orig/baz/3/one' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.flash.test/root.orig/baz/3/two' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.flash.test/root.orig/with spaces/1/one' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.flash.test/root.orig/with spaces/1/two' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.flash.test/root.orig/with spaces/2/one' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.flash.test/root.orig/with spaces/2/two' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.flash.test/root.orig/with spaces/3/one' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.flash.test/root.orig/with spaces/3/two' >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ find '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.flash.test/root.orig' -print0 >++ xargs -0 touch -c -d '2011-11-11 UTC' >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ find '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.flash.test/root.orig/' -mindepth 1 -printf '%P\n' >++ sort >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ cp /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/cpio.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/cramfs.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/exec-fail.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/exec.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/ext2.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/ext2percent.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/ext3.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/ext4.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/f2fs.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/fip.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/fit.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/flash-types.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/flash.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/gpt-overlap1.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/gpt-overlap2.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/gpt-overlap3.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hdimage-fail1.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hdimage-fail2.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hdimage-fail3.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hdimage-fail4.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hdimage-fail5.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hdimage-fail6.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hdimage-fail7.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hdimage-hybrid.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hdimage-nopart.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hdimage.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hdimage2.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hdimage4.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hdimage5.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hdimage6.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hdimage7.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hole.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/include-test.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/include.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/iso.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/jffs2.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/mke2fs.conf /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/mke2fs.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/qemu.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/rauc.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/sparse.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/squashfs.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/tar.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/ubi.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/ubifs.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/vfat.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/exec-check.sh /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/sharness.sh /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/test-setup.sh . >++ sfdisk -h >++ grep -q gpt >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ test_set_prereq sfdisk-gpt >++ satisfied_prereq=' sfdisk-gpt ' >++ fdisk -h >++ grep -q gpt >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ test_set_prereq fdisk-gpt >++ satisfied_prereq=' sfdisk-gpt fdisk-gpt ' >+ exec_test_set_prereq dd >+ command -v dd >+ test_set_prereq dd >+ satisfied_prereq=' sfdisk-gpt fdisk-gpt dd ' >+ test_expect_success flash ' > setup_test_images && > run_genimage flash.config test.flash && > md5sum -c '\''/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/flash.md5'\'' >' >+ test 2 = 3 >+ test_prereq= >+ test 2 = 2 >+ export test_prereq >+ test_skip_ flash ' > setup_test_images && > run_genimage flash.config test.flash && > md5sum -c '\''/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/flash.md5'\'' >' >+ test_count=1 >+ to_skip= >+ test -z '' >+ test -n '' >+ case "$to_skip" in >+ false >+ say 'expecting success: > setup_test_images && > run_genimage flash.config test.flash && > md5sum -c '\''/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/flash.md5'\'' >' >+ say_color info 'expecting success: > setup_test_images && > run_genimage flash.config test.flash && > md5sum -c '\''/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/flash.md5'\'' >' >+ test -z info >+ shift >+ printf '%s\n' 'expecting success: > setup_test_images && > run_genimage flash.config test.flash && > md5sum -c '\''/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/flash.md5'\'' >' >+ test_run_ ' > setup_test_images && > run_genimage flash.config test.flash && > md5sum -c '\''/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/flash.md5'\'' >' >+ test_cleanup=: >+ expecting_failure= >+ test_eval_ ' > setup_test_images && > run_genimage flash.config test.flash && > md5sum -c '\''/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/flash.md5'\'' >' >+ case ",$test_prereq," in >+ eval ' > setup_test_images && > run_genimage flash.config test.flash && > md5sum -c '\''/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/flash.md5'\'' >' >++ setup_test_images >++ rm -rf input >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ mkdir input >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ dd if=/dev/zero of=input/part1.img bs=512 count=7 >expecting success: > setup_test_images && > run_genimage flash.config test.flash && > md5sum -c '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/flash.md5' >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >7+0 records in >7+0 records out >3584 bytes (3.6 kB, 3.5 KiB) copied, 1.5088e-05 s, 238 MB/s >++ dd if=/dev/zero of=input/part2.img bs=512 count=11 >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >11+0 records in >11+0 records out >5632 bytes (5.6 kB, 5.5 KiB) copied, 1.6742e-05 s, 336 MB/s >++ touch input/part3.img >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ run_genimage flash.config test.flash >++ root=/this/directory/does/not/exist >++ run_genimage_impl flash.config test.flash >++ '[' t = t ']' >++ vargs=--loglevel=3 >++ rm -rf tmp images '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.flash.test/root.test' >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ mkdir '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.flash.test/root.test' images >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ '[' -n test.flash ']' >++ dd if=/dev/zero of=images/test.flash bs=1M seek=30 count=1 >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >1+0 records in >1+0 records out >1048576 bytes (1.0 MB, 1.0 MiB) copied, 0.000555483 s, 1.9 GB/s >++ /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/genimage --loglevel=3 --outputpath=images --inputpath=input --rootpath=/this/directory/does/not/exist --tmppath=tmp --config flash.config >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >INFO: cmd: "mkdir -p "/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.flash.test/tmp"" (stderr+stdout): >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >INFO: cmd: "rm -rf "/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.flash.test/tmp"/*" (stderr+stdout): >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >DEBUG: flash(test.flash): adding implicit file rule for 'part1.img' >DEBUG: flash(test.flash): adding implicit file rule for 'part2.img' >INFO: cmd: "mkdir -p "/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.flash.test/images"" (stderr+stdout): >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >INFO: flash(test.flash): writing image partition 'part1' (0x100000@0x0) >DEBUG: flash(test.flash): copying 1048576 bytes from /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.flash.test/input/part1.img at offset 0 >DEBUG: flash(test.flash): adding 1044992 0xff bytes at offset 3584 >INFO: flash(test.flash): writing image partition 'part2' (0x100000@0x100000) >DEBUG: flash(test.flash): copying 1048576 bytes from /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.flash.test/input/part2.img at offset 1048576 >DEBUG: flash(test.flash): adding 1042944 0xff bytes at offset 1054208 >++ md5sum -c /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/flash.md5 >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file > >+ eval_ret=0 >+ test '' = t >+ test -z '' >+ test_eval_ : >+ case ",$test_prereq," in >+ eval : >++ : >+ test t = t >+ test -n '' >+ return 0 >+ test_ok_ flash >+ test_success=1 >+ say_color '' 'ok 1 - flash' >+ test -z '' >+ test -n '' >+ shift >+ printf '%s\n' 'ok 1 - flash' >+ echo '' >images/test.flash: OK >ok 1 - flash >+ exec_test_set_prereq mkfs.jffs2 >+ command -v mkfs.jffs2 >+ test_expect_success mkfs_jffs2 jffs2 ' > run_genimage_root jffs2.config test.jffs2 && > md5sum -c '\''/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/jffs2.md5'\'' >' >+ test 3 = 3 >+ test_prereq=mkfs_jffs2 >+ shift >+ test 2 = 2 >+ export test_prereq >+ test_skip_ jffs2 ' > run_genimage_root jffs2.config test.jffs2 && > md5sum -c '\''/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/jffs2.md5'\'' >' >+ test_count=2 >+ to_skip= >+ test -z '' >PASS: test/flash.test 1 - flash >+ test -n mkfs_jffs2 >+ test_have_prereq mkfs_jffs2 >+ save_IFS=' >' >+ IFS=, >+ set -- mkfs_jffs2 >+ IFS=' >' >+ total_prereq=0 >+ ok_prereq=0 >+ missing_prereq= >+ for prerequisite in "$@" >+ case "$prerequisite" in >+ negative_prereq= >+ total_prereq=1 >+ case "$satisfied_prereq" in >+ satisfied_this_prereq= >+ case "$satisfied_this_prereq,$negative_prereq" in >+ prerequisite=mkfs_jffs2 >+ test -z '' >+ missing_prereq=mkfs_jffs2 >+ test 1 = 0 >+ to_skip=t >+ case "$to_skip" in >+ of_prereq= >+ test mkfs_jffs2 '!=' mkfs_jffs2 >+ say_color skip 'skipping test: jffs2' ' > run_genimage_root jffs2.config test.jffs2 && > md5sum -c '\''/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/jffs2.md5'\'' >' >+ test -z skip >+ shift >+ printf '%s\n' 'skipping test: jffs2 > run_genimage_root jffs2.config test.jffs2 && > md5sum -c '\''/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/jffs2.md5'\'' >' >+ say_color skip 'ok 2 # skip jffs2 (missing mkfs_jffs2)' > >skipping test: jffs2 > run_genimage_root jffs2.config test.jffs2 && >+ test -z skip >+ shift > md5sum -c '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/jffs2.md5' >+ printf '%s\n' 'ok 2 # skip jffs2 (missing mkfs_jffs2)' >+ : true > >+ echo '' >ok 2 # skip jffs2 (missing mkfs_jffs2) >+ exec_test_set_prereq mkfs.ubifs >+ command -v mkfs.ubifs >+ test_expect_success mkfs_ubifs ubifs ' > run_genimage_root ubifs.config test.ubifs && > check_size_range images/test.ubifs 200000 300000 >' >+ test 3 = 3 >+ test_prereq=mkfs_ubifs >+ shift >+ test 2 = 2 >+ export test_prereq >+ test_skip_ ubifs ' > run_genimage_root ubifs.config test.ubifs && > check_size_range images/test.ubifs 200000 300000 >' >+ test_count=3 >+ to_skip= >+ test -z '' >+ test -n mkfs_ubifs >+ test_have_prereq mkfs_ubifs >+ save_IFS=' >' >+ IFS=, >+ set -- mkfs_ubifs >+ IFS=' >' >+ total_prereq=0 >+ ok_prereq=0 >+ missing_prereq= >+ for prerequisite in "$@" >+ case "$prerequisite" in >+ negative_prereq= >SKIP: test/flash.test 2 # SKIP jffs2 (missing mkfs_jffs2) >+ total_prereq=1 >+ case "$satisfied_prereq" in >+ satisfied_this_prereq= >+ case "$satisfied_this_prereq,$negative_prereq" in >+ prerequisite=mkfs_ubifs >+ test -z '' >+ missing_prereq=mkfs_ubifs >+ test 1 = 0 >+ to_skip=t >+ case "$to_skip" in >+ of_prereq= >+ test mkfs_ubifs '!=' mkfs_ubifs >+ say_color skip 'skipping test: ubifs' ' > run_genimage_root ubifs.config test.ubifs && > check_size_range images/test.ubifs 200000 300000 >' >+ test -z skip >+ shift >+ printf '%s\n' 'skipping test: ubifs > run_genimage_root ubifs.config test.ubifs && > check_size_range images/test.ubifs 200000 300000 >' >+ say_color skip 'ok 3 # skip ubifs (missing mkfs_ubifs)' > >skipping test: ubifs >+ test -z skip > run_genimage_root ubifs.config test.ubifs && > check_size_range images/test.ubifs 200000 300000 >+ shift >+ printf '%s\n' 'ok 3 # skip ubifs (missing mkfs_ubifs)' >+ : true > >+ echo '' >ok 3 # skip ubifs (missing mkfs_ubifs) >+ exec_test_set_prereq ubinize >+ command -v ubinize >SKIP: test/flash.test 3 # SKIP ubifs (missing mkfs_ubifs) >+ test_expect_success ubinize ubi ' > setup_ubi_images && > run_genimage ubi.config test.ubi && > check_size_range images/test.ubi 550000 600000 >' >+ test 3 = 3 >+ test_prereq=ubinize >+ shift >+ test 2 = 2 >+ export test_prereq >+ test_skip_ ubi ' > setup_ubi_images && > run_genimage ubi.config test.ubi && > check_size_range images/test.ubi 550000 600000 >' >+ test_count=4 >+ to_skip= >+ test -z '' >+ test -n ubinize >+ test_have_prereq ubinize >+ save_IFS=' >' >+ IFS=, >+ set -- ubinize >+ IFS=' >' >+ total_prereq=0 >+ ok_prereq=0 >+ missing_prereq= >+ for prerequisite in "$@" >+ case "$prerequisite" in >+ negative_prereq= >+ total_prereq=1 >+ case "$satisfied_prereq" in >+ satisfied_this_prereq= >+ case "$satisfied_this_prereq,$negative_prereq" in >+ prerequisite=ubinize >+ test -z '' >+ missing_prereq=ubinize >+ test 1 = 0 >+ to_skip=t >+ case "$to_skip" in >+ of_prereq= >+ test ubinize '!=' ubinize >+ say_color skip 'skipping test: ubi' ' > setup_ubi_images && > run_genimage ubi.config test.ubi && > check_size_range images/test.ubi 550000 600000 >' >+ test -z skip >+ shift >+ printf '%s\n' 'skipping test: ubi > setup_ubi_images && > run_genimage ubi.config test.ubi && > check_size_range images/test.ubi 550000 600000 >' > >+ say_color skip 'ok 4 # skip ubi (missing ubinize)' >skipping test: ubi > setup_ubi_images && >+ test -z skip >+ shift > run_genimage ubi.config test.ubi && > check_size_range images/test.ubi 550000 600000 >+ printf '%s\n' 'ok 4 # skip ubi (missing ubinize)' >+ : true > >+ echo '' >ok 4 # skip ubi (missing ubinize) >+ test_done >+ EXIT_OK=t >+ test -z '' >+ test_results_dir=/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test-results >+ mkdir -p /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test-results >SKIP: test/flash.test 4 # SKIP ubi (missing ubinize) >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >+ test_results_path=/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test-results/flash.test.211.counts >+ cat >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >+ test 0 '!=' 0 >+ test 0 '!=' 0 >+ test 0 '!=' 0 >+ test 0 '!=' 0 >+ test_remaining=4 >+ msg='4 test(s)' >+ case "$test_failure" in >+ test -n '' >+ '[' -z '' ']' >+ test 4 -gt 0 >+ say_color pass '# passed all 4 test(s)' >+ test -z pass >+ shift >+ printf '%s\n' '# passed all 4 test(s)' >+ say 1..4 >+ say_color info 1..4 > >+ test -z info >+ shift >+ printf '%s\n' 1..4 >+ test_eval_ '' ># passed all 4 test(s) >+ case ",$test_prereq," in >+ eval '' >+ test -d '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.flash.test' >++ dirname '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.flash.test' >+ cd /var/tmp/portage/sys-fs/genimage-16/work/genimage-16 >++ basename '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.flash.test' >+ rm -rf 'trash directory.flash.test' >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >+ exit 0 >+ die >+ code=0 >+ test -n t >+ exit 0 >1..4 > >ERROR: test/hdimage >=================== > >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >+ test_description='hdimage Image Tests' >++ dirname ./test/hdimage.test >+ . ./test/test-setup.sh >++++ dirname ./test/hdimage.test >+++ readlink -f ./test >++ testdir=/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test >+++ pwd >++ genimage=/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/genimage >++ PATH=/usr/lib/portage/python3.11/ebuild-helpers/xattr:/usr/lib/portage/python3.11/ebuild-helpers:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/lib/llvm/15/bin:/sbin:/usr/sbin >++ set -- -v >++ . /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/sharness.sh >+++ SHARNESS_VERSION=1.0.0 >+++ export SHARNESS_VERSION >+++ : t >+++ export SHARNESS_TEST_EXTENSION >+++ '[' x = x ']' >+++ SHARNESS_ORIG_TERM=tmux-256color >+++ export SHARNESS_ORIG_TERM >+++ : /bin/bash >+++ export SHELL_PATH >+++ LANG=C >+++ LC_ALL=C >+++ PAGER=cat >+++ TZ=UTC >+++ EDITOR=: >+++ export LANG LC_ALL PAGER TZ EDITOR >+++ unset VISUAL CDPATH GREP_OPTIONS >+++ LF=' >' >+++ '[' xtmux-256color '!=' xdumb ']' >+++ '[' -t 1 ']' >+++ test 1 -ne 0 >+++ case "$1" in >+++ verbose=t >+++ shift >+++ test 0 -ne 0 >+++ test -n '' >+++ TERM=dumb >+++ export TERM >+++ test -n 'hdimage Image Tests' >+++ test '' = t >+++ exec >+++ exec >+++ test t = t >+++ exec >+++ test_failure=0 >+++ test_count=0 >+++ test_fixed=0 >+++ test_broken=0 >+++ test_success=0 >+++ EXIT_OK= >+++ trap die EXIT >+++ satisfied_prereq=' ' >+++ final_cleanup= >++++ pwd >+++ : /var/tmp/portage/sys-fs/genimage-16/work/genimage-16 >+++ export SHARNESS_TEST_DIRECTORY >+++++ dirname ./test/hdimage.test >++++ cd ./test >++++ pwd >+++ : /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test >+++ export SHARNESS_TEST_SRCDIR >+++ : /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/.. >+++ PATH=/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/..:/usr/lib/portage/python3.11/ebuild-helpers/xattr:/usr/lib/portage/python3.11/ebuild-helpers:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/lib/llvm/15/bin:/sbin:/usr/sbin >+++ export PATH SHARNESS_BUILD_DIRECTORY >+++ SHARNESS_TEST_FILE=./test/hdimage.test >+++ export SHARNESS_TEST_FILE >++++ basename ./test/hdimage.test .t >+++ SHARNESS_TRASH_DIRECTORY='trash directory.hdimage.test' >+++ test -n '' >+++ case "$SHARNESS_TRASH_DIRECTORY" in >+++ SHARNESS_TRASH_DIRECTORY='/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test' >+++ test '' = t >+++ remove_trash='/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test' >+++ rm -rf '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test' >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >+++ test -d /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/sharness.d >+++ export SHARNESS_TRASH_DIRECTORY >+++ HOME='/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test' >+++ export HOME >+++ mkdir -p '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test' >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >+++ cd -P '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test' >+++ this_test=hdimage.test >+++ this_test=hdimage.test >+++ test -n '' >+++ test -n '' >+++ : >+++ pwd >++ filelist_orig='/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/file-list.orig' >+++ pwd >++ filelist_test='/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/file-list.test' >+++ pwd >++ root_orig='/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/root.orig' >+++ pwd >++ root_test='/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/root.test' >++ set -o pipefail >++ setup_data >++ umask 0022 >++ mkdir -p '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/root.orig/foo/1' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/root.orig/foo/2' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/root.orig/foo/3' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/root.orig/bar/1' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/root.orig/bar/2' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/root.orig/bar/3' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/root.orig/baz/1' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/root.orig/baz/2' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/root.orig/baz/3' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/root.orig/with spaces/1' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/root.orig/with spaces/2' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/root.orig/with spaces/3' >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ touch '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/root.orig/foo/1/one' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/root.orig/foo/1/two' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/root.orig/foo/2/one' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/root.orig/foo/2/two' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/root.orig/foo/3/one' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/root.orig/foo/3/two' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/root.orig/bar/1/one' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/root.orig/bar/1/two' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/root.orig/bar/2/one' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/root.orig/bar/2/two' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/root.orig/bar/3/one' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/root.orig/bar/3/two' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/root.orig/baz/1/one' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/root.orig/baz/1/two' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/root.orig/baz/2/one' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/root.orig/baz/2/two' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/root.orig/baz/3/one' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/root.orig/baz/3/two' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/root.orig/with spaces/1/one' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/root.orig/with spaces/1/two' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/root.orig/with spaces/2/one' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/root.orig/with spaces/2/two' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/root.orig/with spaces/3/one' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/root.orig/with spaces/3/two' >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ find '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/root.orig' -print0 >++ xargs -0 touch -c -d '2011-11-11 UTC' >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ find '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/root.orig/' -mindepth 1 -printf '%P\n' >++ sort >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ cp /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/cpio.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/cramfs.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/exec-fail.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/exec.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/ext2.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/ext2percent.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/ext3.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/ext4.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/f2fs.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/fip.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/fit.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/flash-types.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/flash.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/gpt-overlap1.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/gpt-overlap2.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/gpt-overlap3.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hdimage-fail1.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hdimage-fail2.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hdimage-fail3.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hdimage-fail4.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hdimage-fail5.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hdimage-fail6.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hdimage-fail7.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hdimage-hybrid.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hdimage-nopart.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hdimage.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hdimage2.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hdimage4.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hdimage5.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hdimage6.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hdimage7.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hole.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/include-test.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/include.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/iso.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/jffs2.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/mke2fs.conf /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/mke2fs.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/qemu.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/rauc.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/sparse.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/squashfs.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/tar.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/ubi.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/ubifs.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/vfat.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/exec-check.sh /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/sharness.sh /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/test-setup.sh . >++ sfdisk -h >++ grep -q gpt >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ test_set_prereq sfdisk-gpt >++ satisfied_prereq=' sfdisk-gpt ' >++ fdisk -h >++ grep -q gpt >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ test_set_prereq fdisk-gpt >++ satisfied_prereq=' sfdisk-gpt fdisk-gpt ' >+ exec_test_set_prereq fdisk >+ command -v fdisk >+ test_set_prereq fdisk >+ satisfied_prereq=' sfdisk-gpt fdisk-gpt fdisk ' >+ exec_test_set_prereq sfdisk >+ command -v sfdisk >+ test_set_prereq sfdisk >+ satisfied_prereq=' sfdisk-gpt fdisk-gpt fdisk sfdisk ' >+ test_expect_success fdisk,sfdisk hdimage ' > setup_test_images && > run_genimage hdimage.config test.hdimage && > check_size images/test.hdimage 10485760 && > sfdisk_validate images/test.hdimage && > check_disk_usage_range images/test.hdimage 40960 57344 && > sanitized_fdisk_sfdisk images/test.hdimage > hdimage.fdisk && > test_cmp '\''/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hdimage.fdisk'\'' hdimage.fdisk && > check_size images/test.hdimage-2 11539968 && > sfdisk_validate images/test.hdimage-2 && > check_disk_usage_range images/test.hdimage-2 61290 65376 && > sanitized_fdisk_sfdisk images/test.hdimage-2 > hdimage.fdisk-2 && > test_cmp '\''/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hdimage.fdisk-2'\'' hdimage.fdisk-2 >' >+ test 3 = 3 >+ test_prereq=fdisk,sfdisk >+ shift >+ test 2 = 2 >+ export test_prereq >+ test_skip_ hdimage ' > setup_test_images && > run_genimage hdimage.config test.hdimage && > check_size images/test.hdimage 10485760 && > sfdisk_validate images/test.hdimage && > check_disk_usage_range images/test.hdimage 40960 57344 && > sanitized_fdisk_sfdisk images/test.hdimage > hdimage.fdisk && > test_cmp '\''/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hdimage.fdisk'\'' hdimage.fdisk && > check_size images/test.hdimage-2 11539968 && > sfdisk_validate images/test.hdimage-2 && > check_disk_usage_range images/test.hdimage-2 61290 65376 && > sanitized_fdisk_sfdisk images/test.hdimage-2 > hdimage.fdisk-2 && > test_cmp '\''/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hdimage.fdisk-2'\'' hdimage.fdisk-2 >' >+ test_count=1 >+ to_skip= >+ test -z '' >+ test -n fdisk,sfdisk >+ test_have_prereq fdisk,sfdisk >+ save_IFS=' >' >+ IFS=, >+ set -- fdisk sfdisk >+ IFS=' >' >+ total_prereq=0 >+ ok_prereq=0 >+ missing_prereq= >+ for prerequisite in "$@" >+ case "$prerequisite" in >+ negative_prereq= >+ total_prereq=1 >+ case "$satisfied_prereq" in >+ satisfied_this_prereq=t >+ case "$satisfied_this_prereq,$negative_prereq" in >+ ok_prereq=1 >+ for prerequisite in "$@" >+ case "$prerequisite" in >+ negative_prereq= >+ total_prereq=2 >+ case "$satisfied_prereq" in >+ satisfied_this_prereq=t >+ case "$satisfied_this_prereq,$negative_prereq" in >+ ok_prereq=2 >+ test 2 = 2 >+ case "$to_skip" in >+ false >+ say 'expecting success: > setup_test_images && > run_genimage hdimage.config test.hdimage && > check_size images/test.hdimage 10485760 && > sfdisk_validate images/test.hdimage && > check_disk_usage_range images/test.hdimage 40960 57344 && > sanitized_fdisk_sfdisk images/test.hdimage > hdimage.fdisk && > test_cmp '\''/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hdimage.fdisk'\'' hdimage.fdisk && > check_size images/test.hdimage-2 11539968 && > sfdisk_validate images/test.hdimage-2 && > check_disk_usage_range images/test.hdimage-2 61290 65376 && > sanitized_fdisk_sfdisk images/test.hdimage-2 > hdimage.fdisk-2 && > test_cmp '\''/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hdimage.fdisk-2'\'' hdimage.fdisk-2 >' >+ say_color info 'expecting success: > setup_test_images && > run_genimage hdimage.config test.hdimage && > check_size images/test.hdimage 10485760 && > sfdisk_validate images/test.hdimage && > check_disk_usage_range images/test.hdimage 40960 57344 && > sanitized_fdisk_sfdisk images/test.hdimage > hdimage.fdisk && > test_cmp '\''/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hdimage.fdisk'\'' hdimage.fdisk && > check_size images/test.hdimage-2 11539968 && > sfdisk_validate images/test.hdimage-2 && > check_disk_usage_range images/test.hdimage-2 61290 65376 && > sanitized_fdisk_sfdisk images/test.hdimage-2 > hdimage.fdisk-2 && > test_cmp '\''/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hdimage.fdisk-2'\'' hdimage.fdisk-2 >' >+ test -z info >+ shift >+ printf '%s\n' 'expecting success: > setup_test_images && > run_genimage hdimage.config test.hdimage && > check_size images/test.hdimage 10485760 && > sfdisk_validate images/test.hdimage && > check_disk_usage_range images/test.hdimage 40960 57344 && > sanitized_fdisk_sfdisk images/test.hdimage > hdimage.fdisk && > test_cmp '\''/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hdimage.fdisk'\'' hdimage.fdisk && > check_size images/test.hdimage-2 11539968 && > sfdisk_validate images/test.hdimage-2 && > check_disk_usage_range images/test.hdimage-2 61290 65376 && > sanitized_fdisk_sfdisk images/test.hdimage-2 > hdimage.fdisk-2 && > test_cmp '\''/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hdimage.fdisk-2'\'' hdimage.fdisk-2 >' >+ test_run_ ' > setup_test_images && > run_genimage hdimage.config test.hdimage && > check_size images/test.hdimage 10485760 && > sfdisk_validate images/test.hdimage && > check_disk_usage_range images/test.hdimage 40960 57344 && > sanitized_fdisk_sfdisk images/test.hdimage > hdimage.fdisk && > test_cmp '\''/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hdimage.fdisk'\'' hdimage.fdisk && > check_size images/test.hdimage-2 11539968 && > sfdisk_validate images/test.hdimage-2 && > check_disk_usage_range images/test.hdimage-2 61290 65376 && > sanitized_fdisk_sfdisk images/test.hdimage-2 > hdimage.fdisk-2 && > test_cmp '\''/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hdimage.fdisk-2'\'' hdimage.fdisk-2 >' >+ test_cleanup=: >+ expecting_failure= >+ test_eval_ ' > setup_test_images && > run_genimage hdimage.config test.hdimage && > check_size images/test.hdimage 10485760 && > sfdisk_validate images/test.hdimage && > check_disk_usage_range images/test.hdimage 40960 57344 && > sanitized_fdisk_sfdisk images/test.hdimage > hdimage.fdisk && > test_cmp '\''/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hdimage.fdisk'\'' hdimage.fdisk && > check_size images/test.hdimage-2 11539968 && > sfdisk_validate images/test.hdimage-2 && > check_disk_usage_range images/test.hdimage-2 61290 65376 && > sanitized_fdisk_sfdisk images/test.hdimage-2 > hdimage.fdisk-2 && > test_cmp '\''/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hdimage.fdisk-2'\'' hdimage.fdisk-2 >' >+ case ",$test_prereq," in >+ eval ' > setup_test_images && > run_genimage hdimage.config test.hdimage && > check_size images/test.hdimage 10485760 && > sfdisk_validate images/test.hdimage && > check_disk_usage_range images/test.hdimage 40960 57344 && > sanitized_fdisk_sfdisk images/test.hdimage > hdimage.fdisk && > test_cmp '\''/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hdimage.fdisk'\'' hdimage.fdisk && > check_size images/test.hdimage-2 11539968 && > sfdisk_validate images/test.hdimage-2 && > check_disk_usage_range images/test.hdimage-2 61290 65376 && > sanitized_fdisk_sfdisk images/test.hdimage-2 > hdimage.fdisk-2 && > test_cmp '\''/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hdimage.fdisk-2'\'' hdimage.fdisk-2 >' >++ setup_test_images >++ rm -rf input >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ mkdir input >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ dd if=/dev/zero of=input/part1.img bs=512 count=7 >expecting success: > setup_test_images && > run_genimage hdimage.config test.hdimage && > check_size images/test.hdimage 10485760 && > sfdisk_validate images/test.hdimage && > check_disk_usage_range images/test.hdimage 40960 57344 && > sanitized_fdisk_sfdisk images/test.hdimage > hdimage.fdisk && > test_cmp '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hdimage.fdisk' hdimage.fdisk && > check_size images/test.hdimage-2 11539968 && > sfdisk_validate images/test.hdimage-2 && > check_disk_usage_range images/test.hdimage-2 61290 65376 && > sanitized_fdisk_sfdisk images/test.hdimage-2 > hdimage.fdisk-2 && > test_cmp '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hdimage.fdisk-2' hdimage.fdisk-2 >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >7+0 records in >7+0 records out >3584 bytes (3.6 kB, 3.5 KiB) copied, 1.4487e-05 s, 247 MB/s >++ dd if=/dev/zero of=input/part2.img bs=512 count=11 >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >11+0 records in >11+0 records out >5632 bytes (5.6 kB, 5.5 KiB) copied, 1.6291e-05 s, 346 MB/s >++ touch input/part3.img >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ run_genimage hdimage.config test.hdimage >++ root=/this/directory/does/not/exist >++ run_genimage_impl hdimage.config test.hdimage >++ '[' t = t ']' >++ vargs=--loglevel=3 >++ rm -rf tmp images '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/root.test' >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ mkdir '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/root.test' images >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ '[' -n test.hdimage ']' >++ dd if=/dev/zero of=images/test.hdimage bs=1M seek=30 count=1 >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >1+0 records in >1+0 records out >1048576 bytes (1.0 MB, 1.0 MiB) copied, 0.000492433 s, 2.1 GB/s >++ /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/genimage --loglevel=3 --outputpath=images --inputpath=input --rootpath=/this/directory/does/not/exist --tmppath=tmp --config hdimage.config >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >INFO: cmd: "mkdir -p "/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/tmp"" (stderr+stdout): >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >INFO: cmd: "rm -rf "/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/tmp"/*" (stderr+stdout): >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >DEBUG: hdimage(test.hdimage): adding implicit file rule for 'part1.img' >DEBUG: hdimage(test.hdimage): adding implicit file rule for 'part3.img' >DEBUG: hdimage(test.hdimage): adding implicit file rule for 'part2.img' >INFO: cmd: "mkdir -p "/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/images"" (stderr+stdout): >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >INFO: hdimage(test.hdimage): adding partition 'part1' (in MBR) from 'part1.img' ... >DEBUG: hdimage(test.hdimage): copying 3584 bytes from /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/input/part1.img at offset 1048576 >DEBUG: hdimage(test.hdimage): adding 0 0 bytes at offset 1052160 >INFO: hdimage(test.hdimage): adding partition 'part2' (in MBR) from 'part3.img' ... >INFO: hdimage(test.hdimage): adding partition 'part3' (in MBR) from 'part1.img' ... >DEBUG: hdimage(test.hdimage): copying 3584 bytes from /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/input/part1.img at offset 3145728 >DEBUG: hdimage(test.hdimage): adding 0 0 bytes at offset 3149312 >INFO: hdimage(test.hdimage): adding partition 'part4' (in MBR) from 'part2.img' ... >INFO: hdimage(test.hdimage): writing EBR >DEBUG: hdimage(test.hdimage): copying 5632 bytes from /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/input/part2.img at offset 5242880 >DEBUG: hdimage(test.hdimage): adding 0 0 bytes at offset 5248512 >INFO: hdimage(test.hdimage): adding partition 'part5' (in MBR) from 'part1.img' ... >INFO: hdimage(test.hdimage): writing EBR >DEBUG: hdimage(test.hdimage): copying 3584 bytes from /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/input/part1.img at offset 7340032 >DEBUG: hdimage(test.hdimage): adding 0 0 bytes at offset 7343616 >INFO: hdimage(test.hdimage): adding partition 'part6' (in MBR) from 'part2.img' ... >INFO: hdimage(test.hdimage): writing EBR >DEBUG: hdimage(test.hdimage): copying 5632 bytes from /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/input/part2.img at offset 9437184 >DEBUG: hdimage(test.hdimage): adding 0 0 bytes at offset 9442816 >INFO: hdimage(test.hdimage): adding partition '[MBR]' ... >INFO: hdimage(test.hdimage): writing MBR >INFO: hdimage(test.hdimage-2): adding partition 'part1' (in MBR) from 'part1.img' ... >DEBUG: hdimage(test.hdimage-2): copying 3584 bytes from /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/input/part1.img at offset 1048576 >DEBUG: hdimage(test.hdimage-2): adding 0 0 bytes at offset 1052160 >INFO: hdimage(test.hdimage-2): adding partition 'part2' (in MBR) from 'part2.img' ... >INFO: hdimage(test.hdimage-2): writing EBR >DEBUG: hdimage(test.hdimage-2): copying 5632 bytes from /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/input/part2.img at offset 3145728 >DEBUG: hdimage(test.hdimage-2): adding 0 0 bytes at offset 3151360 >INFO: hdimage(test.hdimage-2): adding partition 'part3' (in MBR) from 'part1.img' ... >INFO: hdimage(test.hdimage-2): writing EBR >DEBUG: hdimage(test.hdimage-2): copying 3584 bytes from /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/input/part1.img at offset 5242880 >DEBUG: hdimage(test.hdimage-2): adding 0 0 bytes at offset 5246464 >INFO: hdimage(test.hdimage-2): adding partition 'part4' (in MBR) from 'part2.img' ... >INFO: hdimage(test.hdimage-2): writing EBR >DEBUG: hdimage(test.hdimage-2): copying 5632 bytes from /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/input/part2.img at offset 7340032 >DEBUG: hdimage(test.hdimage-2): adding 0 0 bytes at offset 7345664 >INFO: hdimage(test.hdimage-2): adding partition 'part5' (in MBR) from 'part1.img' ... >INFO: hdimage(test.hdimage-2): writing EBR >DEBUG: hdimage(test.hdimage-2): copying 3584 bytes from /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/input/part1.img at offset 9437184 >DEBUG: hdimage(test.hdimage-2): adding 0 0 bytes at offset 9440768 >INFO: hdimage(test.hdimage-2): adding partition 'part6' (in MBR) from 'part2.img' ... >INFO: hdimage(test.hdimage-2): writing EBR >DEBUG: hdimage(test.hdimage-2): copying 5632 bytes from /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/input/part2.img at offset 11534336 >DEBUG: hdimage(test.hdimage-2): adding 0 0 bytes at offset 11539968 >INFO: hdimage(test.hdimage-2): adding partition '[MBR]' ... >INFO: hdimage(test.hdimage-2): writing MBR >++ check_size images/test.hdimage 10485760 >++ local size >++ get_size images/test.hdimage >++ local file=images/test.hdimage >++ '[' '!' -f images/test.hdimage ']' >+++ du -b images/test.hdimage >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ set -- 10485760 images/test.hdimage >++ size=10485760 >++ '[' 10485760 -ne 10485760 ']' >++ sfdisk_validate images/test.hdimage >+++ sfdisk -q -V images/test.hdimage >+++ grep -v unallocated >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ '[' -n 'dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file' ']' >++ echo ''\''sfdisk -V'\'' failed with:' >++ sfdisk -V images/test.hdimage > >'sfdisk -V' failed with: >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >images/test.hdimage: >No errors detected. >++ return 1 >+ eval_ret=1 >+ test '' = t >+ test -z '' >+ test_eval_ : >+ case ",$test_prereq," in >+ eval : >++ : >+ test t = t >+ test -n '' >+ return 1 >+ test_failure_ hdimage ' > setup_test_images && > run_genimage hdimage.config test.hdimage && > check_size images/test.hdimage 10485760 && > sfdisk_validate images/test.hdimage && > check_disk_usage_range images/test.hdimage 40960 57344 && > sanitized_fdisk_sfdisk images/test.hdimage > hdimage.fdisk && > test_cmp '\''/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hdimage.fdisk'\'' hdimage.fdisk && > check_size images/test.hdimage-2 11539968 && > sfdisk_validate images/test.hdimage-2 && > check_disk_usage_range images/test.hdimage-2 61290 65376 && > sanitized_fdisk_sfdisk images/test.hdimage-2 > hdimage.fdisk-2 && > test_cmp '\''/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hdimage.fdisk-2'\'' hdimage.fdisk-2 >' >+ test_failure=1 >+ say_color error 'not ok 1 - hdimage' >+ test -z error >+ shift >+ printf '%s\n' 'not ok 1 - hdimage' >+ shift >Remaining 6141 unallocated 512-byte sectors. >+ sed -e 's/^/# /' >+ echo ' > setup_test_images && > run_genimage hdimage.config test.hdimage && > check_size images/test.hdimage 10485760 && > sfdisk_validate images/test.hdimage && > check_disk_usage_range images/test.hdimage 40960 57344 && > sanitized_fdisk_sfdisk images/test.hdimage > hdimage.fdisk && > test_cmp '\''/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hdimage.fdisk'\'' hdimage.fdisk && > check_size images/test.hdimage-2 11539968 && > sfdisk_validate images/test.hdimage-2 && > check_disk_usage_range images/test.hdimage-2 61290 65376 && > sanitized_fdisk_sfdisk images/test.hdimage-2 > hdimage.fdisk-2 && > test_cmp '\''/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hdimage.fdisk-2'\'' hdimage.fdisk-2 >' >not ok 1 - hdimage >+ test '' = '' >FAIL: test/hdimage.test 1 - hdimage ># >+ echo '' ># setup_test_images && ># run_genimage hdimage.config test.hdimage && ># check_size images/test.hdimage 10485760 && ># sfdisk_validate images/test.hdimage && ># check_disk_usage_range images/test.hdimage 40960 57344 && ># sanitized_fdisk_sfdisk images/test.hdimage > hdimage.fdisk && ># test_cmp '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hdimage.fdisk' hdimage.fdisk && ># check_size images/test.hdimage-2 11539968 && ># sfdisk_validate images/test.hdimage-2 && ># check_disk_usage_range images/test.hdimage-2 61290 65376 && ># sanitized_fdisk_sfdisk images/test.hdimage-2 > hdimage.fdisk-2 && ># test_cmp '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hdimage.fdisk-2' hdimage.fdisk-2 ># >+ test_expect_success hdimage2 ' > setup_test_images && > test_must_fail run_genimage hdimage2.config test.hdimage >' >+ test 2 = 3 >+ test_prereq= >+ test 2 = 2 >+ export test_prereq >+ test_skip_ hdimage2 ' > setup_test_images && > test_must_fail run_genimage hdimage2.config test.hdimage >' >+ test_count=2 >+ to_skip= >+ test -z '' >+ test -n '' >+ case "$to_skip" in >+ false >+ say 'expecting success: > setup_test_images && > test_must_fail run_genimage hdimage2.config test.hdimage >' >+ say_color info 'expecting success: > setup_test_images && > test_must_fail run_genimage hdimage2.config test.hdimage >' >+ test -z info >+ shift >+ printf '%s\n' 'expecting success: > setup_test_images && > test_must_fail run_genimage hdimage2.config test.hdimage >' >+ test_run_ ' > setup_test_images && > test_must_fail run_genimage hdimage2.config test.hdimage > >expecting success: >' > setup_test_images && > test_must_fail run_genimage hdimage2.config test.hdimage >+ test_cleanup=: >+ expecting_failure= >+ test_eval_ ' > setup_test_images && > test_must_fail run_genimage hdimage2.config test.hdimage >' >+ case ",$test_prereq," in >+ eval ' > setup_test_images && > test_must_fail run_genimage hdimage2.config test.hdimage >' >++ setup_test_images >++ rm -rf input >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ mkdir input >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ dd if=/dev/zero of=input/part1.img bs=512 count=7 >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >7+0 records in >7+0 records out >3584 bytes (3.6 kB, 3.5 KiB) copied, 1.3907e-05 s, 258 MB/s >++ dd if=/dev/zero of=input/part2.img bs=512 count=11 >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >11+0 records in >11+0 records out >5632 bytes (5.6 kB, 5.5 KiB) copied, 1.8535e-05 s, 304 MB/s >++ touch input/part3.img >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ test_must_fail run_genimage hdimage2.config test.hdimage >++ run_genimage hdimage2.config test.hdimage >++ root=/this/directory/does/not/exist >++ run_genimage_impl hdimage2.config test.hdimage >++ '[' t = t ']' >++ vargs=--loglevel=3 >++ rm -rf tmp images '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/root.test' >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ mkdir '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/root.test' images >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ '[' -n test.hdimage ']' >++ dd if=/dev/zero of=images/test.hdimage bs=1M seek=30 count=1 >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >1+0 records in >1+0 records out >1048576 bytes (1.0 MB, 1.0 MiB) copied, 0.000510657 s, 2.1 GB/s >++ /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/genimage --loglevel=3 --outputpath=images --inputpath=input --rootpath=/this/directory/does/not/exist --tmppath=tmp --config hdimage2.config >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >INFO: cmd: "mkdir -p "/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/tmp"" (stderr+stdout): >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >INFO: cmd: "rm -rf "/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/tmp"/*" (stderr+stdout): >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >DEBUG: hdimage(test.hdimage): adding implicit file rule for 'part2.img' >ERROR: hdimage(test.hdimage): part part1 size (5120) too small for part2.img (5632) >++ exit_code=1 >++ test 1 = 0 >++ test 1 -gt 129 -a 1 -le 192 >++ test 1 = 127 >++ return 0 >+ eval_ret=0 >+ test '' = t >+ test -z '' >+ test_eval_ : >+ case ",$test_prereq," in >+ eval : >++ : >+ test t = t >+ test -n '' >+ return 0 >+ test_ok_ hdimage2 >+ test_success=1 >+ say_color '' 'ok 2 - hdimage2' >+ test -z '' >+ test -n '' >+ shift >+ printf '%s\n' 'ok 2 - hdimage2' >+ echo '' > >ok 2 - hdimage2 >+ test_expect_success fdisk-gpt,sfdisk-gpt hdimage4 ' > setup_test_images && > run_genimage hdimage4.config test.hdimage && > check_size images/test.hdimage 7360512 && > sfdisk_validate images/test.hdimage && > sanitized_fdisk_sfdisk images/test.hdimage > hdimage4.fdisk && > test_cmp '\''/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hdimage4.fdisk'\'' hdimage4.fdisk >' >+ test 3 = 3 >+ test_prereq=fdisk-gpt,sfdisk-gpt >+ shift >PASS: test/hdimage.test 2 - hdimage2 >+ test 2 = 2 >+ export test_prereq >+ test_skip_ hdimage4 ' > setup_test_images && > run_genimage hdimage4.config test.hdimage && > check_size images/test.hdimage 7360512 && > sfdisk_validate images/test.hdimage && > sanitized_fdisk_sfdisk images/test.hdimage > hdimage4.fdisk && > test_cmp '\''/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hdimage4.fdisk'\'' hdimage4.fdisk >' >+ test_count=3 >+ to_skip= >+ test -z '' >+ test -n fdisk-gpt,sfdisk-gpt >+ test_have_prereq fdisk-gpt,sfdisk-gpt >+ save_IFS=' >' >+ IFS=, >+ set -- fdisk-gpt sfdisk-gpt >+ IFS=' >' >+ total_prereq=0 >+ ok_prereq=0 >+ missing_prereq= >+ for prerequisite in "$@" >+ case "$prerequisite" in >+ negative_prereq= >+ total_prereq=1 >+ case "$satisfied_prereq" in >+ satisfied_this_prereq=t >+ case "$satisfied_this_prereq,$negative_prereq" in >+ ok_prereq=1 >+ for prerequisite in "$@" >+ case "$prerequisite" in >+ negative_prereq= >+ total_prereq=2 >+ case "$satisfied_prereq" in >+ satisfied_this_prereq=t >+ case "$satisfied_this_prereq,$negative_prereq" in >+ ok_prereq=2 >+ test 2 = 2 >+ case "$to_skip" in >+ false >+ say 'expecting success: > setup_test_images && > run_genimage hdimage4.config test.hdimage && > check_size images/test.hdimage 7360512 && > sfdisk_validate images/test.hdimage && > sanitized_fdisk_sfdisk images/test.hdimage > hdimage4.fdisk && > test_cmp '\''/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hdimage4.fdisk'\'' hdimage4.fdisk >' >+ say_color info 'expecting success: > setup_test_images && > run_genimage hdimage4.config test.hdimage && > check_size images/test.hdimage 7360512 && > sfdisk_validate images/test.hdimage && > sanitized_fdisk_sfdisk images/test.hdimage > hdimage4.fdisk && > test_cmp '\''/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hdimage4.fdisk'\'' hdimage4.fdisk >' >+ test -z info >+ shift >+ printf '%s\n' 'expecting success: > setup_test_images && > run_genimage hdimage4.config test.hdimage && > check_size images/test.hdimage 7360512 && > sfdisk_validate images/test.hdimage && > sanitized_fdisk_sfdisk images/test.hdimage > hdimage4.fdisk && > test_cmp '\''/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hdimage4.fdisk'\'' hdimage4.fdisk >' > >expecting success: > setup_test_images && > run_genimage hdimage4.config test.hdimage && >+ test_run_ ' > setup_test_images && > run_genimage hdimage4.config test.hdimage && > check_size images/test.hdimage 7360512 && > sfdisk_validate images/test.hdimage && > sanitized_fdisk_sfdisk images/test.hdimage > hdimage4.fdisk && > test_cmp '\''/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hdimage4.fdisk'\'' hdimage4.fdisk >' > check_size images/test.hdimage 7360512 && > sfdisk_validate images/test.hdimage && > sanitized_fdisk_sfdisk images/test.hdimage > hdimage4.fdisk && >+ test_cleanup=: >+ expecting_failure= >+ test_eval_ ' > setup_test_images && > run_genimage hdimage4.config test.hdimage && > check_size images/test.hdimage 7360512 && > sfdisk_validate images/test.hdimage && > sanitized_fdisk_sfdisk images/test.hdimage > hdimage4.fdisk && > test_cmp '\''/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hdimage4.fdisk'\'' hdimage4.fdisk >' >+ case ",$test_prereq," in > test_cmp '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hdimage4.fdisk' hdimage4.fdisk >+ eval ' > setup_test_images && > run_genimage hdimage4.config test.hdimage && > check_size images/test.hdimage 7360512 && > sfdisk_validate images/test.hdimage && > sanitized_fdisk_sfdisk images/test.hdimage > hdimage4.fdisk && > test_cmp '\''/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hdimage4.fdisk'\'' hdimage4.fdisk >' >++ setup_test_images >++ rm -rf input >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ mkdir input >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ dd if=/dev/zero of=input/part1.img bs=512 count=7 >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >7+0 records in >7+0 records out >3584 bytes (3.6 kB, 3.5 KiB) copied, 1.3536e-05 s, 265 MB/s >++ dd if=/dev/zero of=input/part2.img bs=512 count=11 >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >11+0 records in >11+0 records out >5632 bytes (5.6 kB, 5.5 KiB) copied, 1.569e-05 s, 359 MB/s >++ touch input/part3.img >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ run_genimage hdimage4.config test.hdimage >++ root=/this/directory/does/not/exist >++ run_genimage_impl hdimage4.config test.hdimage >++ '[' t = t ']' >++ vargs=--loglevel=3 >++ rm -rf tmp images '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/root.test' >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ mkdir '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/root.test' images >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ '[' -n test.hdimage ']' >++ dd if=/dev/zero of=images/test.hdimage bs=1M seek=30 count=1 >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >1+0 records in >1+0 records out >1048576 bytes (1.0 MB, 1.0 MiB) copied, 0.00050694 s, 2.1 GB/s >++ /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/genimage --loglevel=3 --outputpath=images --inputpath=input --rootpath=/this/directory/does/not/exist --tmppath=tmp --config hdimage4.config >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >INFO: cmd: "mkdir -p "/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/tmp"" (stderr+stdout): >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >INFO: cmd: "rm -rf "/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/tmp"/*" (stderr+stdout): >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >DEBUG: hdimage(test.hdimage): adding implicit file rule for 'part1.img' >DEBUG: hdimage(test.hdimage): adding implicit file rule for 'part2.img' >INFO: cmd: "mkdir -p "/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/images"" (stderr+stdout): >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >INFO: hdimage(test.hdimage): adding partition 'part1' (in MBR) from 'part1.img' ... >DEBUG: hdimage(test.hdimage): copying 3584 bytes from /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/input/part1.img at offset 1048576 >DEBUG: hdimage(test.hdimage): adding 0 0 bytes at offset 1052160 >INFO: hdimage(test.hdimage): adding partition 'part2' (in MBR) from 'part2.img' ... >DEBUG: hdimage(test.hdimage): copying 5632 bytes from /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/input/part2.img at offset 2097152 >DEBUG: hdimage(test.hdimage): adding 0 0 bytes at offset 2102784 >INFO: hdimage(test.hdimage): adding partition 'part3' (in MBR) from 'part1.img' ... >DEBUG: hdimage(test.hdimage): copying 3584 bytes from /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/input/part1.img at offset 3145728 >DEBUG: hdimage(test.hdimage): adding 0 0 bytes at offset 3149312 >INFO: hdimage(test.hdimage): adding partition 'part4' (in MBR) from 'part2.img' ... >DEBUG: hdimage(test.hdimage): copying 5632 bytes from /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/input/part2.img at offset 4194304 >DEBUG: hdimage(test.hdimage): adding 0 0 bytes at offset 4199936 >INFO: hdimage(test.hdimage): adding partition 'part5' (in MBR) from 'part1.img' ... >DEBUG: hdimage(test.hdimage): copying 3584 bytes from /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/input/part1.img at offset 5242880 >DEBUG: hdimage(test.hdimage): adding 0 0 bytes at offset 5246464 >INFO: hdimage(test.hdimage): adding partition 'part6' (in MBR) from 'part2.img' ... >DEBUG: hdimage(test.hdimage): copying 5632 bytes from /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/input/part2.img at offset 6291456 >DEBUG: hdimage(test.hdimage): adding 0 0 bytes at offset 6297088 >INFO: hdimage(test.hdimage): adding partition '[MBR]' ... >INFO: hdimage(test.hdimage): adding partition '[GPT header]' ... >INFO: hdimage(test.hdimage): adding partition '[GPT array]' ... >INFO: hdimage(test.hdimage): adding partition '[GPT backup]' ... >INFO: hdimage(test.hdimage): writing GPT >INFO: hdimage(test.hdimage): writing protective MBR >INFO: hdimage(test.hdimage): writing MBR >++ check_size images/test.hdimage 7360512 >++ local size >++ get_size images/test.hdimage >++ local file=images/test.hdimage >++ '[' '!' -f images/test.hdimage ']' >+++ du -b images/test.hdimage >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ set -- 7360512 images/test.hdimage >++ size=7360512 >++ '[' 7360512 -ne 7360512 ']' >++ sfdisk_validate images/test.hdimage >+++ sfdisk -q -V images/test.hdimage >+++ grep -v unallocated >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ '[' -n 'dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file' ']' >++ echo ''\''sfdisk -V'\'' failed with:' >++ sfdisk -V images/test.hdimage > >'sfdisk -V' failed with: >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >images/test.hdimage: >No errors detected. >Header version: 1.0 >Using 6 out of 128 partitions. >++ return 1 >+ eval_ret=1 >+ test '' = t >+ test -z '' >+ test_eval_ : >+ case ",$test_prereq," in >+ eval : >++ : >+ test t = t >+ test -n '' >+ return 1 >+ test_failure_ hdimage4 ' > setup_test_images && > run_genimage hdimage4.config test.hdimage && > check_size images/test.hdimage 7360512 && > sfdisk_validate images/test.hdimage && > sanitized_fdisk_sfdisk images/test.hdimage > hdimage4.fdisk && > test_cmp '\''/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hdimage4.fdisk'\'' hdimage4.fdisk >' >+ test_failure=2 >+ say_color error 'not ok 3 - hdimage4' >+ test -z error >+ shift >+ printf '%s\n' 'not ok 3 - hdimage4' >+ shift >A total of 7 free sectors is available in 1 segment. >+ echo ' > setup_test_images && > run_genimage hdimage4.config test.hdimage && > check_size images/test.hdimage 7360512 && > sfdisk_validate images/test.hdimage && > sanitized_fdisk_sfdisk images/test.hdimage > hdimage4.fdisk && > test_cmp '\''/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hdimage4.fdisk'\'' hdimage4.fdisk >' >+ sed -e 's/^/# /' >not ok 3 - hdimage4 >FAIL: test/hdimage.test 3 - hdimage4 ># ># setup_test_images && ># run_genimage hdimage4.config test.hdimage && ># check_size images/test.hdimage 7360512 && ># sfdisk_validate images/test.hdimage && ># sanitized_fdisk_sfdisk images/test.hdimage > hdimage4.fdisk && ># test_cmp '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hdimage4.fdisk' hdimage4.fdisk >+ test '' = '' >+ echo '' ># >+ test_expect_success fdisk-gpt,sfdisk-gpt hdimage5 ' > setup_test_images && > run_genimage hdimage5.config test.hdimage && > check_size images/test.hdimage 7360512 && > sanitized_fdisk_sfdisk images/test.hdimage > hdimage5.fdisk && > test_cmp '\''/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hdimage5.fdisk'\'' hdimage5.fdisk >' >+ test 3 = 3 >+ test_prereq=fdisk-gpt,sfdisk-gpt >+ shift >+ test 2 = 2 >+ export test_prereq >+ test_skip_ hdimage5 ' > setup_test_images && > run_genimage hdimage5.config test.hdimage && > check_size images/test.hdimage 7360512 && > sanitized_fdisk_sfdisk images/test.hdimage > hdimage5.fdisk && > test_cmp '\''/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hdimage5.fdisk'\'' hdimage5.fdisk >' >+ test_count=4 >+ to_skip= >+ test -z '' >+ test -n fdisk-gpt,sfdisk-gpt >+ test_have_prereq fdisk-gpt,sfdisk-gpt >+ save_IFS=' >' >+ IFS=, >+ set -- fdisk-gpt sfdisk-gpt >+ IFS=' >' >+ total_prereq=0 >+ ok_prereq=0 >+ missing_prereq= >+ for prerequisite in "$@" >+ case "$prerequisite" in >+ negative_prereq= >+ total_prereq=1 >+ case "$satisfied_prereq" in >+ satisfied_this_prereq=t >+ case "$satisfied_this_prereq,$negative_prereq" in >+ ok_prereq=1 >+ for prerequisite in "$@" >+ case "$prerequisite" in >+ negative_prereq= >+ total_prereq=2 >+ case "$satisfied_prereq" in >+ satisfied_this_prereq=t >+ case "$satisfied_this_prereq,$negative_prereq" in >+ ok_prereq=2 >+ test 2 = 2 >+ case "$to_skip" in >+ false >+ say 'expecting success: > setup_test_images && > run_genimage hdimage5.config test.hdimage && > check_size images/test.hdimage 7360512 && > sanitized_fdisk_sfdisk images/test.hdimage > hdimage5.fdisk && > test_cmp '\''/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hdimage5.fdisk'\'' hdimage5.fdisk >' >+ say_color info 'expecting success: > setup_test_images && > run_genimage hdimage5.config test.hdimage && > check_size images/test.hdimage 7360512 && > sanitized_fdisk_sfdisk images/test.hdimage > hdimage5.fdisk && > test_cmp '\''/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hdimage5.fdisk'\'' hdimage5.fdisk >' >+ test -z info >+ shift >+ printf '%s\n' 'expecting success: > setup_test_images && > run_genimage hdimage5.config test.hdimage && > check_size images/test.hdimage 7360512 && > sanitized_fdisk_sfdisk images/test.hdimage > hdimage5.fdisk && > test_cmp '\''/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hdimage5.fdisk'\'' hdimage5.fdisk >' > >expecting success: > setup_test_images && > run_genimage hdimage5.config test.hdimage && >+ test_run_ ' > setup_test_images && > run_genimage hdimage5.config test.hdimage && > check_size images/test.hdimage 7360512 && > sanitized_fdisk_sfdisk images/test.hdimage > hdimage5.fdisk && > test_cmp '\''/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hdimage5.fdisk'\'' hdimage5.fdisk > check_size images/test.hdimage 7360512 && >' > sanitized_fdisk_sfdisk images/test.hdimage > hdimage5.fdisk && > test_cmp '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hdimage5.fdisk' hdimage5.fdisk >+ test_cleanup=: >+ expecting_failure= >+ test_eval_ ' > setup_test_images && > run_genimage hdimage5.config test.hdimage && > check_size images/test.hdimage 7360512 && > sanitized_fdisk_sfdisk images/test.hdimage > hdimage5.fdisk && > test_cmp '\''/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hdimage5.fdisk'\'' hdimage5.fdisk >' >+ case ",$test_prereq," in >+ eval ' > setup_test_images && > run_genimage hdimage5.config test.hdimage && > check_size images/test.hdimage 7360512 && > sanitized_fdisk_sfdisk images/test.hdimage > hdimage5.fdisk && > test_cmp '\''/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hdimage5.fdisk'\'' hdimage5.fdisk >' >++ setup_test_images >++ rm -rf input >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ mkdir input >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ dd if=/dev/zero of=input/part1.img bs=512 count=7 >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >7+0 records in >7+0 records out >3584 bytes (3.6 kB, 3.5 KiB) copied, 1.4258e-05 s, 251 MB/s >++ dd if=/dev/zero of=input/part2.img bs=512 count=11 >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >11+0 records in >11+0 records out >5632 bytes (5.6 kB, 5.5 KiB) copied, 1.564e-05 s, 360 MB/s >++ touch input/part3.img >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ run_genimage hdimage5.config test.hdimage >++ root=/this/directory/does/not/exist >++ run_genimage_impl hdimage5.config test.hdimage >++ '[' t = t ']' >++ vargs=--loglevel=3 >++ rm -rf tmp images '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/root.test' >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ mkdir '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/root.test' images >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ '[' -n test.hdimage ']' >++ dd if=/dev/zero of=images/test.hdimage bs=1M seek=30 count=1 >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >1+0 records in >1+0 records out >1048576 bytes (1.0 MB, 1.0 MiB) copied, 0.000455702 s, 2.3 GB/s >++ /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/genimage --loglevel=3 --outputpath=images --inputpath=input --rootpath=/this/directory/does/not/exist --tmppath=tmp --config hdimage5.config >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >INFO: cmd: "mkdir -p "/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/tmp"" (stderr+stdout): >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >INFO: cmd: "rm -rf "/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/tmp"/*" (stderr+stdout): >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >DEBUG: hdimage(test.hdimage): adding implicit file rule for 'part1.img' >DEBUG: hdimage(test.hdimage): adding implicit file rule for 'part2.img' >INFO: cmd: "mkdir -p "/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/images"" (stderr+stdout): >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >INFO: hdimage(test.hdimage): adding partition 'part1' (in MBR) from 'part1.img' ... >DEBUG: hdimage(test.hdimage): copying 3584 bytes from /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/input/part1.img at offset 1048576 >DEBUG: hdimage(test.hdimage): adding 0 0 bytes at offset 1052160 >INFO: hdimage(test.hdimage): adding partition 'part2' (in MBR) from 'part2.img' ... >DEBUG: hdimage(test.hdimage): copying 5632 bytes from /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/input/part2.img at offset 2097152 >DEBUG: hdimage(test.hdimage): adding 0 0 bytes at offset 2102784 >INFO: hdimage(test.hdimage): adding partition 'part3' (in MBR) from 'part1.img' ... >DEBUG: hdimage(test.hdimage): copying 3584 bytes from /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/input/part1.img at offset 3145728 >DEBUG: hdimage(test.hdimage): adding 0 0 bytes at offset 3149312 >INFO: hdimage(test.hdimage): adding partition 'part4' (in MBR) from 'part2.img' ... >DEBUG: hdimage(test.hdimage): copying 5632 bytes from /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/input/part2.img at offset 4194304 >DEBUG: hdimage(test.hdimage): adding 0 0 bytes at offset 4199936 >INFO: hdimage(test.hdimage): adding partition 'part5' (in MBR) from 'part1.img' ... >DEBUG: hdimage(test.hdimage): copying 3584 bytes from /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/input/part1.img at offset 5242880 >DEBUG: hdimage(test.hdimage): adding 0 0 bytes at offset 5246464 >INFO: hdimage(test.hdimage): adding partition 'part6' (in MBR) from 'part2.img' ... >DEBUG: hdimage(test.hdimage): copying 5632 bytes from /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/input/part2.img at offset 6291456 >DEBUG: hdimage(test.hdimage): adding 0 0 bytes at offset 6297088 >INFO: hdimage(test.hdimage): adding partition '[MBR]' ... >INFO: hdimage(test.hdimage): adding partition '[GPT header]' ... >INFO: hdimage(test.hdimage): adding partition '[GPT array]' ... >INFO: hdimage(test.hdimage): adding partition '[GPT backup]' ... >INFO: hdimage(test.hdimage): writing GPT >INFO: hdimage(test.hdimage): writing protective MBR >INFO: hdimage(test.hdimage): writing MBR >++ check_size images/test.hdimage 7360512 >++ local size >++ get_size images/test.hdimage >++ local file=images/test.hdimage >++ '[' '!' -f images/test.hdimage ']' >+++ du -b images/test.hdimage >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ set -- 7360512 images/test.hdimage >++ size=7360512 >++ '[' 7360512 -ne 7360512 ']' >++ sanitized_fdisk_sfdisk images/test.hdimage >++ fdisk -l images/test.hdimage >++ grep identifier: >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >The backup GPT table is not on the end of the device. >++ sfdisk -d images/test.hdimage >++ grep '^images/' >++ sed -e 's/ *//g' -e 's;Id=;type=;' >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ test_cmp /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hdimage5.fdisk hdimage5.fdisk >++ diff -u /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hdimage5.fdisk hdimage5.fdisk >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >+ eval_ret=0 >+ test '' = t >+ test -z '' >+ test_eval_ : >+ case ",$test_prereq," in >+ eval : >++ : >+ test t = t >+ test -n '' >+ return 0 >+ test_ok_ hdimage5 >+ test_success=2 >+ say_color '' 'ok 4 - hdimage5' >+ test -z '' >+ test -n '' >+ shift >+ printf '%s\n' 'ok 4 - hdimage5' >+ echo '' > >ok 4 - hdimage5 >+ test_expect_success fdisk,sfdisk hdimage6 ' > setup_test_images && > run_genimage hdimage6.config test.hdimage && > check_size images/test.hdimage 28082176 && > sanitized_fdisk_sfdisk images/test.hdimage > hdimage6.fdisk && > test_cmp '\''/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hdimage6.fdisk'\'' hdimage6.fdisk >' >+ test 3 = 3 >PASS: test/hdimage.test 4 - hdimage5 >+ test_prereq=fdisk,sfdisk >+ shift >+ test 2 = 2 >+ export test_prereq >+ test_skip_ hdimage6 ' > setup_test_images && > run_genimage hdimage6.config test.hdimage && > check_size images/test.hdimage 28082176 && > sanitized_fdisk_sfdisk images/test.hdimage > hdimage6.fdisk && > test_cmp '\''/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hdimage6.fdisk'\'' hdimage6.fdisk >' >+ test_count=5 >+ to_skip= >+ test -z '' >+ test -n fdisk,sfdisk >+ test_have_prereq fdisk,sfdisk >+ save_IFS=' >' >+ IFS=, >+ set -- fdisk sfdisk >+ IFS=' >' >+ total_prereq=0 >+ ok_prereq=0 >+ missing_prereq= >+ for prerequisite in "$@" >+ case "$prerequisite" in >+ negative_prereq= >+ total_prereq=1 >+ case "$satisfied_prereq" in >+ satisfied_this_prereq=t >+ case "$satisfied_this_prereq,$negative_prereq" in >+ ok_prereq=1 >+ for prerequisite in "$@" >+ case "$prerequisite" in >+ negative_prereq= >+ total_prereq=2 >+ case "$satisfied_prereq" in >+ satisfied_this_prereq=t >+ case "$satisfied_this_prereq,$negative_prereq" in >+ ok_prereq=2 >+ test 2 = 2 >+ case "$to_skip" in >+ false >+ say 'expecting success: > setup_test_images && > run_genimage hdimage6.config test.hdimage && > check_size images/test.hdimage 28082176 && > sanitized_fdisk_sfdisk images/test.hdimage > hdimage6.fdisk && > test_cmp '\''/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hdimage6.fdisk'\'' hdimage6.fdisk >' >+ say_color info 'expecting success: > setup_test_images && > run_genimage hdimage6.config test.hdimage && > check_size images/test.hdimage 28082176 && > sanitized_fdisk_sfdisk images/test.hdimage > hdimage6.fdisk && > test_cmp '\''/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hdimage6.fdisk'\'' hdimage6.fdisk >' >+ test -z info >+ shift >+ printf '%s\n' 'expecting success: > setup_test_images && > run_genimage hdimage6.config test.hdimage && > check_size images/test.hdimage 28082176 && > sanitized_fdisk_sfdisk images/test.hdimage > hdimage6.fdisk && > test_cmp '\''/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hdimage6.fdisk'\'' hdimage6.fdisk >' > >expecting success: >+ test_run_ ' > setup_test_images && > run_genimage hdimage6.config test.hdimage && > check_size images/test.hdimage 28082176 && > sanitized_fdisk_sfdisk images/test.hdimage > hdimage6.fdisk && > test_cmp '\''/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hdimage6.fdisk'\'' hdimage6.fdisk >' > setup_test_images && > run_genimage hdimage6.config test.hdimage && > check_size images/test.hdimage 28082176 && > sanitized_fdisk_sfdisk images/test.hdimage > hdimage6.fdisk && > test_cmp '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hdimage6.fdisk' hdimage6.fdisk >+ test_cleanup=: >+ expecting_failure= >+ test_eval_ ' > setup_test_images && > run_genimage hdimage6.config test.hdimage && > check_size images/test.hdimage 28082176 && > sanitized_fdisk_sfdisk images/test.hdimage > hdimage6.fdisk && > test_cmp '\''/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hdimage6.fdisk'\'' hdimage6.fdisk >' >+ case ",$test_prereq," in >+ eval ' > setup_test_images && > run_genimage hdimage6.config test.hdimage && > check_size images/test.hdimage 28082176 && > sanitized_fdisk_sfdisk images/test.hdimage > hdimage6.fdisk && > test_cmp '\''/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hdimage6.fdisk'\'' hdimage6.fdisk >' >++ setup_test_images >++ rm -rf input >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ mkdir input >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ dd if=/dev/zero of=input/part1.img bs=512 count=7 >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >7+0 records in >7+0 records out >3584 bytes (3.6 kB, 3.5 KiB) copied, 1.3485e-05 s, 266 MB/s >++ dd if=/dev/zero of=input/part2.img bs=512 count=11 >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >11+0 records in >11+0 records out >5632 bytes (5.6 kB, 5.5 KiB) copied, 1.6151e-05 s, 349 MB/s >++ touch input/part3.img >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ run_genimage hdimage6.config test.hdimage >++ root=/this/directory/does/not/exist >++ run_genimage_impl hdimage6.config test.hdimage >++ '[' t = t ']' >++ vargs=--loglevel=3 >++ rm -rf tmp images '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/root.test' >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ mkdir '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/root.test' images >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ '[' -n test.hdimage ']' >++ dd if=/dev/zero of=images/test.hdimage bs=1M seek=30 count=1 >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >1+0 records in >1+0 records out >1048576 bytes (1.0 MB, 1.0 MiB) copied, 0.000406418 s, 2.6 GB/s >++ /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/genimage --loglevel=3 --outputpath=images --inputpath=input --rootpath=/this/directory/does/not/exist --tmppath=tmp --config hdimage6.config >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >INFO: cmd: "mkdir -p "/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/tmp"" (stderr+stdout): >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >INFO: cmd: "rm -rf "/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/tmp"/*" (stderr+stdout): >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >INFO: cmd: "mkdir -p "/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/images"" (stderr+stdout): >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >INFO: hdimage(test.hdimage): adding partition 'part1' (in MBR) ... >INFO: hdimage(test.hdimage): adding partition 'part2' (in MBR) ... >INFO: hdimage(test.hdimage): adding partition 'part3' (in MBR) ... >INFO: hdimage(test.hdimage): writing EBR >INFO: hdimage(test.hdimage): adding partition 'part4' (in MBR) ... >INFO: hdimage(test.hdimage): writing EBR >INFO: hdimage(test.hdimage): adding partition 'part5' (in MBR) ... >INFO: hdimage(test.hdimage): writing EBR >INFO: hdimage(test.hdimage): adding partition '[MBR]' ... >INFO: hdimage(test.hdimage): writing MBR >++ check_size images/test.hdimage 28082176 >++ local size >++ get_size images/test.hdimage >++ local file=images/test.hdimage >++ '[' '!' -f images/test.hdimage ']' >+++ du -b images/test.hdimage >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ set -- 28082176 images/test.hdimage >++ size=28082176 >++ '[' 28082176 -ne 28082176 ']' >++ sanitized_fdisk_sfdisk images/test.hdimage >++ fdisk -l images/test.hdimage >++ grep identifier: >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ sfdisk -d images/test.hdimage >++ grep '^images/' >++ sed -e 's/ *//g' -e 's;Id=;type=;' >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ test_cmp /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hdimage6.fdisk hdimage6.fdisk >++ diff -u /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hdimage6.fdisk hdimage6.fdisk >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >+ eval_ret=0 >+ test '' = t >+ test -z '' >+ test_eval_ : >+ case ",$test_prereq," in >+ eval : >++ : >+ test t = t >+ test -n '' >+ return 0 >+ test_ok_ hdimage6 >+ test_success=3 >+ say_color '' 'ok 5 - hdimage6' >+ test -z '' >+ test -n '' >+ shift >+ printf '%s\n' 'ok 5 - hdimage6' >+ echo '' > >ok 5 - hdimage6 >+ test_expect_success fdisk-gpt,sfdisk-gpt hdimage7 ' > setup_test_images && > run_genimage hdimage7.config && > sfdisk_validate images/test.hdimage && > sanitized_fdisk_sfdisk images/test.hdimage > hdimage7.fdisk && > test_cmp '\''/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hdimage7.fdisk'\'' hdimage7.fdisk >' >PASS: test/hdimage.test 5 - hdimage6 >+ test 3 = 3 >+ test_prereq=fdisk-gpt,sfdisk-gpt >+ shift >+ test 2 = 2 >+ export test_prereq >+ test_skip_ hdimage7 ' > setup_test_images && > run_genimage hdimage7.config && > sfdisk_validate images/test.hdimage && > sanitized_fdisk_sfdisk images/test.hdimage > hdimage7.fdisk && > test_cmp '\''/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hdimage7.fdisk'\'' hdimage7.fdisk >' >+ test_count=6 >+ to_skip= >+ test -z '' >+ test -n fdisk-gpt,sfdisk-gpt >+ test_have_prereq fdisk-gpt,sfdisk-gpt >+ save_IFS=' >' >+ IFS=, >+ set -- fdisk-gpt sfdisk-gpt >+ IFS=' >' >+ total_prereq=0 >+ ok_prereq=0 >+ missing_prereq= >+ for prerequisite in "$@" >+ case "$prerequisite" in >+ negative_prereq= >+ total_prereq=1 >+ case "$satisfied_prereq" in >+ satisfied_this_prereq=t >+ case "$satisfied_this_prereq,$negative_prereq" in >+ ok_prereq=1 >+ for prerequisite in "$@" >+ case "$prerequisite" in >+ negative_prereq= >+ total_prereq=2 >+ case "$satisfied_prereq" in >+ satisfied_this_prereq=t >+ case "$satisfied_this_prereq,$negative_prereq" in >+ ok_prereq=2 >+ test 2 = 2 >+ case "$to_skip" in >+ false >+ say 'expecting success: > setup_test_images && > run_genimage hdimage7.config && > sfdisk_validate images/test.hdimage && > sanitized_fdisk_sfdisk images/test.hdimage > hdimage7.fdisk && > test_cmp '\''/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hdimage7.fdisk'\'' hdimage7.fdisk >' >+ say_color info 'expecting success: > setup_test_images && > run_genimage hdimage7.config && > sfdisk_validate images/test.hdimage && > sanitized_fdisk_sfdisk images/test.hdimage > hdimage7.fdisk && > test_cmp '\''/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hdimage7.fdisk'\'' hdimage7.fdisk >' >+ test -z info >+ shift >+ printf '%s\n' 'expecting success: > setup_test_images && > run_genimage hdimage7.config && > sfdisk_validate images/test.hdimage && > sanitized_fdisk_sfdisk images/test.hdimage > hdimage7.fdisk && > test_cmp '\''/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hdimage7.fdisk'\'' hdimage7.fdisk >' > >expecting success: >+ test_run_ ' > setup_test_images && > run_genimage hdimage7.config && > sfdisk_validate images/test.hdimage && > sanitized_fdisk_sfdisk images/test.hdimage > hdimage7.fdisk && > test_cmp '\''/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hdimage7.fdisk'\'' hdimage7.fdisk >' > setup_test_images && > run_genimage hdimage7.config && > sfdisk_validate images/test.hdimage && > sanitized_fdisk_sfdisk images/test.hdimage > hdimage7.fdisk && >+ test_cleanup=: > test_cmp '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hdimage7.fdisk' hdimage7.fdisk >+ expecting_failure= >+ test_eval_ ' > setup_test_images && > run_genimage hdimage7.config && > sfdisk_validate images/test.hdimage && > sanitized_fdisk_sfdisk images/test.hdimage > hdimage7.fdisk && > test_cmp '\''/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hdimage7.fdisk'\'' hdimage7.fdisk >' >+ case ",$test_prereq," in >+ eval ' > setup_test_images && > run_genimage hdimage7.config && > sfdisk_validate images/test.hdimage && > sanitized_fdisk_sfdisk images/test.hdimage > hdimage7.fdisk && > test_cmp '\''/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hdimage7.fdisk'\'' hdimage7.fdisk >' >++ setup_test_images >++ rm -rf input >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ mkdir input >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ dd if=/dev/zero of=input/part1.img bs=512 count=7 >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >7+0 records in >7+0 records out >3584 bytes (3.6 kB, 3.5 KiB) copied, 1.4447e-05 s, 248 MB/s >++ dd if=/dev/zero of=input/part2.img bs=512 count=11 >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >11+0 records in >11+0 records out >5632 bytes (5.6 kB, 5.5 KiB) copied, 2.1e-05 s, 268 MB/s >++ touch input/part3.img >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ run_genimage hdimage7.config >++ root=/this/directory/does/not/exist >++ run_genimage_impl hdimage7.config >++ '[' t = t ']' >++ vargs=--loglevel=3 >++ rm -rf tmp images '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/root.test' >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ mkdir '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/root.test' images >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ '[' -n '' ']' >++ /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/genimage --loglevel=3 --outputpath=images --inputpath=input --rootpath=/this/directory/does/not/exist --tmppath=tmp --config hdimage7.config >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >INFO: cmd: "mkdir -p "/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/tmp"" (stderr+stdout): >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >INFO: cmd: "rm -rf "/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/tmp"/*" (stderr+stdout): >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >DEBUG: hdimage(test.hdimage): adding implicit file rule for 'part1.img' >DEBUG: hdimage(test.hdimage): adding implicit file rule for 'part2.img' >INFO: cmd: "mkdir -p "/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/images"" (stderr+stdout): >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >INFO: hdimage(test.hdimage): adding partition 'rescue' (in MBR) from 'part1.img' ... >DEBUG: hdimage(test.hdimage): copying 3584 bytes from /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/input/part1.img at offset 2097152 >DEBUG: hdimage(test.hdimage): adding 0 0 bytes at offset 2100736 >INFO: hdimage(test.hdimage): adding partition 'rootfs-A' (in MBR) from 'part2.img' ... >DEBUG: hdimage(test.hdimage): copying 5632 bytes from /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/input/part2.img at offset 4194304 >DEBUG: hdimage(test.hdimage): adding 0 0 bytes at offset 4199936 >INFO: hdimage(test.hdimage): adding partition 'rootfs-B' (in MBR) from 'part2.img' ... >DEBUG: hdimage(test.hdimage): copying 5632 bytes from /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/input/part2.img at offset 12582912 >DEBUG: hdimage(test.hdimage): adding 0 0 bytes at offset 12588544 >INFO: hdimage(test.hdimage): adding partition 'reserved' (in MBR) from 'part1.img' ... >DEBUG: hdimage(test.hdimage): copying 3584 bytes from /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/input/part1.img at offset 20971520 >DEBUG: hdimage(test.hdimage): adding 0 0 bytes at offset 20975104 >INFO: hdimage(test.hdimage): adding partition 'sys' (in MBR) from 'part1.img' ... >DEBUG: hdimage(test.hdimage): copying 3584 bytes from /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/input/part1.img at offset 21102592 >DEBUG: hdimage(test.hdimage): adding 0 0 bytes at offset 21106176 >INFO: hdimage(test.hdimage): adding partition 'data' (in MBR) from 'part1.img' ... >DEBUG: hdimage(test.hdimage): copying 3584 bytes from /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/input/part1.img at offset 25296896 >DEBUG: hdimage(test.hdimage): adding 0 0 bytes at offset 25300480 >INFO: hdimage(test.hdimage): adding partition 'bootloader' (in MBR) from 'part2.img' ... >DEBUG: hdimage(test.hdimage): copying 5632 bytes from /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/input/part2.img at offset 1048576 >DEBUG: hdimage(test.hdimage): adding 0 0 bytes at offset 1054208 >INFO: hdimage(test.hdimage): adding partition 'env-1' (in MBR) from 'part1.img' ... >DEBUG: hdimage(test.hdimage): copying 3584 bytes from /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/input/part1.img at offset 819200 >DEBUG: hdimage(test.hdimage): adding 0 0 bytes at offset 822784 >INFO: hdimage(test.hdimage): adding partition 'env-2' (in MBR) from 'part1.img' ... >DEBUG: hdimage(test.hdimage): copying 3584 bytes from /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/input/part1.img at offset 851968 >DEBUG: hdimage(test.hdimage): adding 0 0 bytes at offset 855552 >INFO: hdimage(test.hdimage): adding partition 'ucode' (in MBR) from 'part1.img' ... >DEBUG: hdimage(test.hdimage): copying 3584 bytes from /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/input/part1.img at offset 983040 >DEBUG: hdimage(test.hdimage): adding 0 0 bytes at offset 986624 >INFO: hdimage(test.hdimage): adding partition 'SPL' from 'part1.img' ... >DEBUG: hdimage(test.hdimage): copying 3584 bytes from /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/input/part1.img at offset 1024 >DEBUG: hdimage(test.hdimage): adding 0 0 bytes at offset 4608 >INFO: hdimage(test.hdimage): adding partition '[MBR]' ... >INFO: hdimage(test.hdimage): adding partition '[GPT header]' ... >INFO: hdimage(test.hdimage): adding partition '[GPT array]' ... >INFO: hdimage(test.hdimage): adding partition '[GPT backup]' ... >INFO: hdimage(test.hdimage): writing GPT >INFO: hdimage(test.hdimage): writing protective MBR >INFO: hdimage(test.hdimage): writing MBR >++ sfdisk_validate images/test.hdimage >+++ sfdisk -q -V images/test.hdimage >+++ grep -v unallocated >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ '[' -n 'dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file' ']' >++ echo ''\''sfdisk -V'\'' failed with:' >++ sfdisk -V images/test.hdimage > >'sfdisk -V' failed with: >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >images/test.hdimage: >No errors detected. >Header version: 1.0 >Using 10 out of 128 partitions. >++ return 1 >+ eval_ret=1 >+ test '' = t >+ test -z '' >+ test_eval_ : >+ case ",$test_prereq," in >+ eval : >++ : >+ test t = t >+ test -n '' >+ return 1 >+ test_failure_ hdimage7 ' > setup_test_images && > run_genimage hdimage7.config && > sfdisk_validate images/test.hdimage && > sanitized_fdisk_sfdisk images/test.hdimage > hdimage7.fdisk && > test_cmp '\''/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hdimage7.fdisk'\'' hdimage7.fdisk >' >+ test_failure=3 >+ say_color error 'not ok 6 - hdimage7' >+ test -z error >+ shift >+ printf '%s\n' 'not ok 6 - hdimage7' >+ shift >A total of 2311 free sectors is available in 4 segments (the largest is 1 MiB). >+ echo ' > setup_test_images && > run_genimage hdimage7.config && > sfdisk_validate images/test.hdimage && > sanitized_fdisk_sfdisk images/test.hdimage > hdimage7.fdisk && > test_cmp '\''/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hdimage7.fdisk'\'' hdimage7.fdisk >' >+ sed -e 's/^/# /' >not ok 6 - hdimage7 >FAIL: test/hdimage.test 6 - hdimage7 ># ># setup_test_images && ># run_genimage hdimage7.config && ># sfdisk_validate images/test.hdimage && ># sanitized_fdisk_sfdisk images/test.hdimage > hdimage7.fdisk && ># test_cmp '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hdimage7.fdisk' hdimage7.fdisk >+ test '' = '' >+ echo '' ># >+ test_expect_success fdisk-gpt,sfdisk-gpt hdimage-hybrid ' > setup_test_images && > run_genimage hdimage-hybrid.config && > sfdisk_validate images/hybrid.hdimage && > sanitized_fdisk_sfdisk images/hybrid.hdimage > hdimage-hybrid.fdisk && > test_cmp '\''/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hdimage-hybrid.fdisk'\'' hdimage-hybrid.fdisk && > dd if=images/hybrid.hdimage count=1 | hexdump -C > hybrid.sector0 && > dd if=images/mbr.hdimage count=1 | hexdump -C > mbr.sector0 && > test_cmp hybrid.sector0 mbr.sector0 >' >+ test 3 = 3 >+ test_prereq=fdisk-gpt,sfdisk-gpt >+ shift >+ test 2 = 2 >+ export test_prereq >+ test_skip_ hdimage-hybrid ' > setup_test_images && > run_genimage hdimage-hybrid.config && > sfdisk_validate images/hybrid.hdimage && > sanitized_fdisk_sfdisk images/hybrid.hdimage > hdimage-hybrid.fdisk && > test_cmp '\''/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hdimage-hybrid.fdisk'\'' hdimage-hybrid.fdisk && > dd if=images/hybrid.hdimage count=1 | hexdump -C > hybrid.sector0 && > dd if=images/mbr.hdimage count=1 | hexdump -C > mbr.sector0 && > test_cmp hybrid.sector0 mbr.sector0 >' >+ test_count=7 >+ to_skip= >+ test -z '' >+ test -n fdisk-gpt,sfdisk-gpt >+ test_have_prereq fdisk-gpt,sfdisk-gpt >+ save_IFS=' >' >+ IFS=, >+ set -- fdisk-gpt sfdisk-gpt >+ IFS=' >' >+ total_prereq=0 >+ ok_prereq=0 >+ missing_prereq= >+ for prerequisite in "$@" >+ case "$prerequisite" in >+ negative_prereq= >+ total_prereq=1 >+ case "$satisfied_prereq" in >+ satisfied_this_prereq=t >+ case "$satisfied_this_prereq,$negative_prereq" in >+ ok_prereq=1 >+ for prerequisite in "$@" >+ case "$prerequisite" in >+ negative_prereq= >+ total_prereq=2 >+ case "$satisfied_prereq" in >+ satisfied_this_prereq=t >+ case "$satisfied_this_prereq,$negative_prereq" in >+ ok_prereq=2 >+ test 2 = 2 >+ case "$to_skip" in >+ false >+ say 'expecting success: > setup_test_images && > run_genimage hdimage-hybrid.config && > sfdisk_validate images/hybrid.hdimage && > sanitized_fdisk_sfdisk images/hybrid.hdimage > hdimage-hybrid.fdisk && > test_cmp '\''/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hdimage-hybrid.fdisk'\'' hdimage-hybrid.fdisk && > dd if=images/hybrid.hdimage count=1 | hexdump -C > hybrid.sector0 && > dd if=images/mbr.hdimage count=1 | hexdump -C > mbr.sector0 && > test_cmp hybrid.sector0 mbr.sector0 >' >+ say_color info 'expecting success: > setup_test_images && > run_genimage hdimage-hybrid.config && > sfdisk_validate images/hybrid.hdimage && > sanitized_fdisk_sfdisk images/hybrid.hdimage > hdimage-hybrid.fdisk && > test_cmp '\''/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hdimage-hybrid.fdisk'\'' hdimage-hybrid.fdisk && > dd if=images/hybrid.hdimage count=1 | hexdump -C > hybrid.sector0 && > dd if=images/mbr.hdimage count=1 | hexdump -C > mbr.sector0 && > test_cmp hybrid.sector0 mbr.sector0 >' >+ test -z info >+ shift >+ printf '%s\n' 'expecting success: > setup_test_images && > run_genimage hdimage-hybrid.config && > sfdisk_validate images/hybrid.hdimage && > sanitized_fdisk_sfdisk images/hybrid.hdimage > hdimage-hybrid.fdisk && > test_cmp '\''/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hdimage-hybrid.fdisk'\'' hdimage-hybrid.fdisk && > dd if=images/hybrid.hdimage count=1 | hexdump -C > hybrid.sector0 && > dd if=images/mbr.hdimage count=1 | hexdump -C > mbr.sector0 && > test_cmp hybrid.sector0 mbr.sector0 >' > >expecting success: > setup_test_images && > run_genimage hdimage-hybrid.config && >+ test_run_ ' > setup_test_images && > run_genimage hdimage-hybrid.config && > sfdisk_validate images/hybrid.hdimage && > sanitized_fdisk_sfdisk images/hybrid.hdimage > hdimage-hybrid.fdisk && > test_cmp '\''/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hdimage-hybrid.fdisk'\'' hdimage-hybrid.fdisk && > dd if=images/hybrid.hdimage count=1 | hexdump -C > hybrid.sector0 && > dd if=images/mbr.hdimage count=1 | hexdump -C > mbr.sector0 && > test_cmp hybrid.sector0 mbr.sector0 >' > sfdisk_validate images/hybrid.hdimage && > sanitized_fdisk_sfdisk images/hybrid.hdimage > hdimage-hybrid.fdisk && > test_cmp '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hdimage-hybrid.fdisk' hdimage-hybrid.fdisk && >+ test_cleanup=: > dd if=images/hybrid.hdimage count=1 | hexdump -C > hybrid.sector0 && > dd if=images/mbr.hdimage count=1 | hexdump -C > mbr.sector0 && > test_cmp hybrid.sector0 mbr.sector0 >+ expecting_failure= >+ test_eval_ ' > setup_test_images && > run_genimage hdimage-hybrid.config && > sfdisk_validate images/hybrid.hdimage && > sanitized_fdisk_sfdisk images/hybrid.hdimage > hdimage-hybrid.fdisk && > test_cmp '\''/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hdimage-hybrid.fdisk'\'' hdimage-hybrid.fdisk && > dd if=images/hybrid.hdimage count=1 | hexdump -C > hybrid.sector0 && > dd if=images/mbr.hdimage count=1 | hexdump -C > mbr.sector0 && > test_cmp hybrid.sector0 mbr.sector0 >' >+ case ",$test_prereq," in >+ eval ' > setup_test_images && > run_genimage hdimage-hybrid.config && > sfdisk_validate images/hybrid.hdimage && > sanitized_fdisk_sfdisk images/hybrid.hdimage > hdimage-hybrid.fdisk && > test_cmp '\''/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hdimage-hybrid.fdisk'\'' hdimage-hybrid.fdisk && > dd if=images/hybrid.hdimage count=1 | hexdump -C > hybrid.sector0 && > dd if=images/mbr.hdimage count=1 | hexdump -C > mbr.sector0 && > test_cmp hybrid.sector0 mbr.sector0 >' >++ setup_test_images >++ rm -rf input >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ mkdir input >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ dd if=/dev/zero of=input/part1.img bs=512 count=7 >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >7+0 records in >7+0 records out >3584 bytes (3.6 kB, 3.5 KiB) copied, 1.3726e-05 s, 261 MB/s >++ dd if=/dev/zero of=input/part2.img bs=512 count=11 >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >11+0 records in >11+0 records out >5632 bytes (5.6 kB, 5.5 KiB) copied, 1.5019e-05 s, 375 MB/s >++ touch input/part3.img >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ run_genimage hdimage-hybrid.config >++ root=/this/directory/does/not/exist >++ run_genimage_impl hdimage-hybrid.config >++ '[' t = t ']' >++ vargs=--loglevel=3 >++ rm -rf tmp images '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/root.test' >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ mkdir '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/root.test' images >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ '[' -n '' ']' >++ /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/genimage --loglevel=3 --outputpath=images --inputpath=input --rootpath=/this/directory/does/not/exist --tmppath=tmp --config hdimage-hybrid.config >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >INFO: cmd: "mkdir -p "/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/tmp"" (stderr+stdout): >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >INFO: cmd: "rm -rf "/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/tmp"/*" (stderr+stdout): >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >DEBUG: hdimage(hybrid.hdimage): adding implicit file rule for 'part1.img' >DEBUG: hdimage(hybrid.hdimage): adding implicit file rule for 'part2.img' >INFO: cmd: "mkdir -p "/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/images"" (stderr+stdout): >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >INFO: hdimage(hybrid.hdimage): adding partition 'part1' (in MBR) from 'part1.img' ... >DEBUG: hdimage(hybrid.hdimage): copying 3584 bytes from /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/input/part1.img at offset 1048576 >DEBUG: hdimage(hybrid.hdimage): adding 0 0 bytes at offset 1052160 >INFO: hdimage(hybrid.hdimage): adding partition 'part2' (in MBR) from 'part2.img' ... >DEBUG: hdimage(hybrid.hdimage): copying 5632 bytes from /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/input/part2.img at offset 2097152 >DEBUG: hdimage(hybrid.hdimage): adding 0 0 bytes at offset 2102784 >INFO: hdimage(hybrid.hdimage): adding partition 'part3' (in MBR) from 'part1.img' ... >DEBUG: hdimage(hybrid.hdimage): copying 3584 bytes from /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/input/part1.img at offset 3145728 >DEBUG: hdimage(hybrid.hdimage): adding 0 0 bytes at offset 3149312 >INFO: hdimage(hybrid.hdimage): adding partition 'part4' (in MBR) from 'part2.img' ... >DEBUG: hdimage(hybrid.hdimage): copying 5632 bytes from /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/input/part2.img at offset 4194304 >DEBUG: hdimage(hybrid.hdimage): adding 0 0 bytes at offset 4199936 >INFO: hdimage(hybrid.hdimage): adding partition 'part5' (in MBR) from 'part1.img' ... >DEBUG: hdimage(hybrid.hdimage): copying 3584 bytes from /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/input/part1.img at offset 5242880 >DEBUG: hdimage(hybrid.hdimage): adding 0 0 bytes at offset 5246464 >INFO: hdimage(hybrid.hdimage): adding partition 'part6' (in MBR) from 'part2.img' ... >DEBUG: hdimage(hybrid.hdimage): copying 5632 bytes from /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/input/part2.img at offset 6291456 >DEBUG: hdimage(hybrid.hdimage): adding 0 0 bytes at offset 6297088 >INFO: hdimage(hybrid.hdimage): adding partition '[MBR]' ... >INFO: hdimage(hybrid.hdimage): adding partition '[GPT header]' ... >INFO: hdimage(hybrid.hdimage): adding partition '[GPT array]' ... >INFO: hdimage(hybrid.hdimage): adding partition '[GPT backup]' ... >INFO: hdimage(hybrid.hdimage): writing GPT >INFO: hdimage(hybrid.hdimage): writing hybrid MBR >INFO: hdimage(mbr.hdimage): adding partition 'part1' (in MBR) from 'part1.img' ... >DEBUG: hdimage(mbr.hdimage): copying 3584 bytes from /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/input/part1.img at offset 1048576 >DEBUG: hdimage(mbr.hdimage): adding 0 0 bytes at offset 1052160 >INFO: hdimage(mbr.hdimage): adding partition 'part2' (in MBR) from 'part2.img' ... >DEBUG: hdimage(mbr.hdimage): copying 5632 bytes from /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/input/part2.img at offset 2097152 >DEBUG: hdimage(mbr.hdimage): adding 0 0 bytes at offset 2102784 >INFO: hdimage(mbr.hdimage): adding partition 'part3' (in MBR) from 'part1.img' ... >DEBUG: hdimage(mbr.hdimage): copying 3584 bytes from /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/input/part1.img at offset 3145728 >DEBUG: hdimage(mbr.hdimage): adding 0 0 bytes at offset 3149312 >INFO: hdimage(mbr.hdimage): adding partition 'fake-gpt' (in MBR) ... >INFO: hdimage(mbr.hdimage): adding partition '[MBR]' ... >INFO: hdimage(mbr.hdimage): writing MBR >++ sfdisk_validate images/hybrid.hdimage >+++ sfdisk -q -V images/hybrid.hdimage >+++ grep -v unallocated >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ '[' -n 'dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file' ']' >++ echo ''\''sfdisk -V'\'' failed with:' >++ sfdisk -V images/hybrid.hdimage > >'sfdisk -V' failed with: >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >images/hybrid.hdimage: >No errors detected. >Header version: 1.0 >Using 6 out of 128 partitions. >++ return 1 >+ eval_ret=1 >+ test '' = t >+ test -z '' >+ test_eval_ : >+ case ",$test_prereq," in >+ eval : >++ : >+ test t = t >+ test -n '' >+ return 1 >+ test_failure_ hdimage-hybrid ' > setup_test_images && > run_genimage hdimage-hybrid.config && > sfdisk_validate images/hybrid.hdimage && > sanitized_fdisk_sfdisk images/hybrid.hdimage > hdimage-hybrid.fdisk && > test_cmp '\''/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hdimage-hybrid.fdisk'\'' hdimage-hybrid.fdisk && > dd if=images/hybrid.hdimage count=1 | hexdump -C > hybrid.sector0 && > dd if=images/mbr.hdimage count=1 | hexdump -C > mbr.sector0 && > test_cmp hybrid.sector0 mbr.sector0 >' >+ test_failure=4 >+ say_color error 'not ok 7 - hdimage-hybrid' >+ test -z error >+ shift >+ printf '%s\n' 'not ok 7 - hdimage-hybrid' >+ shift >A total of 7 free sectors is available in 1 segment. >+ echo ' > setup_test_images && > run_genimage hdimage-hybrid.config && > sfdisk_validate images/hybrid.hdimage && > sanitized_fdisk_sfdisk images/hybrid.hdimage > hdimage-hybrid.fdisk && > test_cmp '\''/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hdimage-hybrid.fdisk'\'' hdimage-hybrid.fdisk && > dd if=images/hybrid.hdimage count=1 | hexdump -C > hybrid.sector0 && > dd if=images/mbr.hdimage count=1 | hexdump -C > mbr.sector0 && > test_cmp hybrid.sector0 mbr.sector0 >' >+ sed -e 's/^/# /' >not ok 7 - hdimage-hybrid >FAIL: test/hdimage.test 7 - hdimage-hybrid ># ># setup_test_images && ># run_genimage hdimage-hybrid.config && ># sfdisk_validate images/hybrid.hdimage && ># sanitized_fdisk_sfdisk images/hybrid.hdimage > hdimage-hybrid.fdisk && ># test_cmp '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hdimage-hybrid.fdisk' hdimage-hybrid.fdisk && ># dd if=images/hybrid.hdimage count=1 | hexdump -C > hybrid.sector0 && ># dd if=images/mbr.hdimage count=1 | hexdump -C > mbr.sector0 && ># test_cmp hybrid.sector0 mbr.sector0 >+ test '' = '' >+ echo '' ># >+ test_expect_success 'hdimage syntax' ' > setup_test_images && > test_must_fail run_genimage hdimage-fail1.config && > test_must_fail run_genimage hdimage-fail2.config && > test_must_fail run_genimage hdimage-fail3.config && > test_must_fail run_genimage hdimage-fail4.config && > test_must_fail run_genimage hdimage-fail5.config && > test_must_fail run_genimage hdimage-fail6.config && > test_must_fail run_genimage hdimage-fail7.config >' >+ test 2 = 3 >+ test_prereq= >+ test 2 = 2 >+ export test_prereq >+ test_skip_ 'hdimage syntax' ' > setup_test_images && > test_must_fail run_genimage hdimage-fail1.config && > test_must_fail run_genimage hdimage-fail2.config && > test_must_fail run_genimage hdimage-fail3.config && > test_must_fail run_genimage hdimage-fail4.config && > test_must_fail run_genimage hdimage-fail5.config && > test_must_fail run_genimage hdimage-fail6.config && > test_must_fail run_genimage hdimage-fail7.config >' >+ test_count=8 >+ to_skip= >+ test -z '' >+ test -n '' >+ case "$to_skip" in >+ false >+ say 'expecting success: > setup_test_images && > test_must_fail run_genimage hdimage-fail1.config && > test_must_fail run_genimage hdimage-fail2.config && > test_must_fail run_genimage hdimage-fail3.config && > test_must_fail run_genimage hdimage-fail4.config && > test_must_fail run_genimage hdimage-fail5.config && > test_must_fail run_genimage hdimage-fail6.config && > test_must_fail run_genimage hdimage-fail7.config >' >+ say_color info 'expecting success: > setup_test_images && > test_must_fail run_genimage hdimage-fail1.config && > test_must_fail run_genimage hdimage-fail2.config && > test_must_fail run_genimage hdimage-fail3.config && > test_must_fail run_genimage hdimage-fail4.config && > test_must_fail run_genimage hdimage-fail5.config && > test_must_fail run_genimage hdimage-fail6.config && > test_must_fail run_genimage hdimage-fail7.config >' >+ test -z info >+ shift >+ printf '%s\n' 'expecting success: > setup_test_images && > test_must_fail run_genimage hdimage-fail1.config && > test_must_fail run_genimage hdimage-fail2.config && > test_must_fail run_genimage hdimage-fail3.config && > test_must_fail run_genimage hdimage-fail4.config && > test_must_fail run_genimage hdimage-fail5.config && > test_must_fail run_genimage hdimage-fail6.config && > test_must_fail run_genimage hdimage-fail7.config >' > >expecting success: > setup_test_images && > test_must_fail run_genimage hdimage-fail1.config && > test_must_fail run_genimage hdimage-fail2.config && >+ test_run_ ' > setup_test_images && > test_must_fail run_genimage hdimage-fail1.config && > test_must_fail run_genimage hdimage-fail2.config && > test_must_fail run_genimage hdimage-fail3.config && > test_must_fail run_genimage hdimage-fail4.config && > test_must_fail run_genimage hdimage-fail5.config && > test_must_fail run_genimage hdimage-fail6.config && > test_must_fail run_genimage hdimage-fail7.config > test_must_fail run_genimage hdimage-fail3.config && >' > test_must_fail run_genimage hdimage-fail4.config && > test_must_fail run_genimage hdimage-fail5.config && > test_must_fail run_genimage hdimage-fail6.config && > test_must_fail run_genimage hdimage-fail7.config >+ test_cleanup=: >+ expecting_failure= >+ test_eval_ ' > setup_test_images && > test_must_fail run_genimage hdimage-fail1.config && > test_must_fail run_genimage hdimage-fail2.config && > test_must_fail run_genimage hdimage-fail3.config && > test_must_fail run_genimage hdimage-fail4.config && > test_must_fail run_genimage hdimage-fail5.config && > test_must_fail run_genimage hdimage-fail6.config && > test_must_fail run_genimage hdimage-fail7.config >' >+ case ",$test_prereq," in >+ eval ' > setup_test_images && > test_must_fail run_genimage hdimage-fail1.config && > test_must_fail run_genimage hdimage-fail2.config && > test_must_fail run_genimage hdimage-fail3.config && > test_must_fail run_genimage hdimage-fail4.config && > test_must_fail run_genimage hdimage-fail5.config && > test_must_fail run_genimage hdimage-fail6.config && > test_must_fail run_genimage hdimage-fail7.config >' >++ setup_test_images >++ rm -rf input >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ mkdir input >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ dd if=/dev/zero of=input/part1.img bs=512 count=7 >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >7+0 records in >7+0 records out >3584 bytes (3.6 kB, 3.5 KiB) copied, 1.3206e-05 s, 271 MB/s >++ dd if=/dev/zero of=input/part2.img bs=512 count=11 >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >11+0 records in >11+0 records out >5632 bytes (5.6 kB, 5.5 KiB) copied, 2.1241e-05 s, 265 MB/s >++ touch input/part3.img >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ test_must_fail run_genimage hdimage-fail1.config >++ run_genimage hdimage-fail1.config >++ root=/this/directory/does/not/exist >++ run_genimage_impl hdimage-fail1.config >++ '[' t = t ']' >++ vargs=--loglevel=3 >++ rm -rf tmp images '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/root.test' >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ mkdir '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/root.test' images >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ '[' -n '' ']' >++ /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/genimage --loglevel=3 --outputpath=images --inputpath=input --rootpath=/this/directory/does/not/exist --tmppath=tmp --config hdimage-fail1.config >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >INFO: cmd: "mkdir -p "/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/tmp"" (stderr+stdout): >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >INFO: cmd: "rm -rf "/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/tmp"/*" (stderr+stdout): >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >ERROR: hdimage(test.hdimage): part part1: 'partition-type-uuid' is only valid for gpt and hybrid partition-table-type >++ exit_code=1 >++ test 1 = 0 >++ test 1 -gt 129 -a 1 -le 192 >++ test 1 = 127 >++ return 0 >++ test_must_fail run_genimage hdimage-fail2.config >++ run_genimage hdimage-fail2.config >++ root=/this/directory/does/not/exist >++ run_genimage_impl hdimage-fail2.config >++ '[' t = t ']' >++ vargs=--loglevel=3 >++ rm -rf tmp images '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/root.test' >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ mkdir '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/root.test' images >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ '[' -n '' ']' >++ /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/genimage --loglevel=3 --outputpath=images --inputpath=input --rootpath=/this/directory/does/not/exist --tmppath=tmp --config hdimage-fail2.config >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >INFO: cmd: "mkdir -p "/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/tmp"" (stderr+stdout): >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >INFO: cmd: "rm -rf "/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/tmp"/*" (stderr+stdout): >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >ERROR: hdimage(test.hdimage): part part1: 'partition-type' is only valid for mbr and hybrid partition-table-type >++ exit_code=1 >++ test 1 = 0 >++ test 1 -gt 129 -a 1 -le 192 >++ test 1 = 127 >++ return 0 >++ test_must_fail run_genimage hdimage-fail3.config >++ run_genimage hdimage-fail3.config >++ root=/this/directory/does/not/exist >++ run_genimage_impl hdimage-fail3.config >++ '[' t = t ']' >++ vargs=--loglevel=3 >++ rm -rf tmp images '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/root.test' >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ mkdir '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/root.test' images >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ '[' -n '' ']' >++ /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/genimage --loglevel=3 --outputpath=images --inputpath=input --rootpath=/this/directory/does/not/exist --tmppath=tmp --config hdimage-fail3.config >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >INFO: cmd: "mkdir -p "/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/tmp"" (stderr+stdout): >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >INFO: cmd: "rm -rf "/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/tmp"/*" (stderr+stdout): >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >ERROR: hdimage(test.hdimage): part part1 size must not be zero >++ exit_code=1 >++ test 1 = 0 >++ test 1 -gt 129 -a 1 -le 192 >++ test 1 = 127 >++ return 0 >++ test_must_fail run_genimage hdimage-fail4.config >++ run_genimage hdimage-fail4.config >++ root=/this/directory/does/not/exist >++ run_genimage_impl hdimage-fail4.config >++ '[' t = t ']' >++ vargs=--loglevel=3 >++ rm -rf tmp images '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/root.test' >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ mkdir '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/root.test' images >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ '[' -n '' ']' >++ /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/genimage --loglevel=3 --outputpath=images --inputpath=input --rootpath=/this/directory/does/not/exist --tmppath=tmp --config hdimage-fail4.config >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >INFO: cmd: "mkdir -p "/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/tmp"" (stderr+stdout): >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >INFO: cmd: "rm -rf "/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/tmp"/*" (stderr+stdout): >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >ERROR: hdimage(test.hdimage): 'disk-uuid' is only valid for gpt and hybrid partition-table-type >++ exit_code=1 >++ test 1 = 0 >++ test 1 -gt 129 -a 1 -le 192 >++ test 1 = 127 >++ return 0 >++ test_must_fail run_genimage hdimage-fail5.config >++ run_genimage hdimage-fail5.config >++ root=/this/directory/does/not/exist >++ run_genimage_impl hdimage-fail5.config >++ '[' t = t ']' >++ vargs=--loglevel=3 >++ rm -rf tmp images '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/root.test' >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ mkdir '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/root.test' images >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ '[' -n '' ']' >++ /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/genimage --loglevel=3 --outputpath=images --inputpath=input --rootpath=/this/directory/does/not/exist --tmppath=tmp --config hdimage-fail5.config >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >INFO: cmd: "mkdir -p "/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/tmp"" (stderr+stdout): >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >INFO: cmd: "rm -rf "/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/tmp"/*" (stderr+stdout): >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >ERROR: hdimage(test.hdimage): 'disk-signature' is only valid for mbr and hybrid partition-table-type >++ exit_code=1 >++ test 1 = 0 >++ test 1 -gt 129 -a 1 -le 192 >++ test 1 = 127 >++ return 0 >++ test_must_fail run_genimage hdimage-fail6.config >++ run_genimage hdimage-fail6.config >++ root=/this/directory/does/not/exist >++ run_genimage_impl hdimage-fail6.config >++ '[' t = t ']' >++ vargs=--loglevel=3 >++ rm -rf tmp images '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/root.test' >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ mkdir '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/root.test' images >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ '[' -n '' ']' >++ /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/genimage --loglevel=3 --outputpath=images --inputpath=input --rootpath=/this/directory/does/not/exist --tmppath=tmp --config hdimage-fail6.config >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >INFO: cmd: "mkdir -p "/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/tmp"" (stderr+stdout): >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >INFO: cmd: "rm -rf "/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/tmp"/*" (stderr+stdout): >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >ERROR: hdimage(test.hdimage): part part4 overlaps with previous partition >++ exit_code=1 >++ test 1 = 0 >++ test 1 -gt 129 -a 1 -le 192 >++ test 1 = 127 >++ return 0 >++ test_must_fail run_genimage hdimage-fail7.config >++ run_genimage hdimage-fail7.config >++ root=/this/directory/does/not/exist >++ run_genimage_impl hdimage-fail7.config >++ '[' t = t ']' >++ vargs=--loglevel=3 >++ rm -rf tmp images '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/root.test' >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ mkdir '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/root.test' images >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ '[' -n '' ']' >++ /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/genimage --loglevel=3 --outputpath=images --inputpath=input --rootpath=/this/directory/does/not/exist --tmppath=tmp --config hdimage-fail7.config >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >INFO: cmd: "mkdir -p "/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/tmp"" (stderr+stdout): >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >INFO: cmd: "rm -rf "/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/tmp"/*" (stderr+stdout): >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >ERROR: hdimage(test.hdimage): hybrid MBR partitions (4) exceeds maximum of 3 >++ exit_code=1 >++ test 1 = 0 >++ test 1 -gt 129 -a 1 -le 192 >++ test 1 = 127 >++ return 0 >+ eval_ret=0 >+ test '' = t >+ test -z '' >+ test_eval_ : >+ case ",$test_prereq," in >+ eval : >++ : >+ test t = t >+ test -n '' >+ return 0 >+ test_ok_ 'hdimage syntax' >+ test_success=4 >+ say_color '' 'ok 8 - hdimage syntax' >+ test -z '' >+ test -n '' >+ shift >+ printf '%s\n' 'ok 8 - hdimage syntax' >+ echo '' > >ok 8 - hdimage syntax >PASS: test/hdimage.test 8 - hdimage syntax >+ test_expect_success gpt-overlap1 ' > setup_gpt_files && > test_must_fail run_genimage gpt-overlap1.config' >+ test 2 = 3 >+ test_prereq= >+ test 2 = 2 >+ export test_prereq >+ test_skip_ gpt-overlap1 ' > setup_gpt_files && > test_must_fail run_genimage gpt-overlap1.config' >+ test_count=9 >+ to_skip= >+ test -z '' >+ test -n '' >+ case "$to_skip" in >+ false >+ say 'expecting success: > setup_gpt_files && > test_must_fail run_genimage gpt-overlap1.config' >+ say_color info 'expecting success: > setup_gpt_files && > test_must_fail run_genimage gpt-overlap1.config' >+ test -z info >+ shift >+ printf '%s\n' 'expecting success: > setup_gpt_files && > test_must_fail run_genimage gpt-overlap1.config' > >expecting success: >+ test_run_ ' > setup_gpt_files && > test_must_fail run_genimage gpt-overlap1.config' > setup_gpt_files && >+ test_cleanup=: >+ expecting_failure= >+ test_eval_ ' > setup_gpt_files && > test_must_fail run_genimage gpt-overlap1.config' >+ case ",$test_prereq," in >+ eval ' > setup_gpt_files && > test_must_fail run_genimage gpt-overlap1.config' >++ setup_gpt_files >++ rm -rf input >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ mkdir input >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ truncate -s 3k input/3K.img >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ truncate -s 70k input/70K.img >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ test_must_fail run_genimage gpt-overlap1.config >++ run_genimage gpt-overlap1.config >++ root=/this/directory/does/not/exist >++ run_genimage_impl gpt-overlap1.config >++ '[' t = t ']' >++ vargs=--loglevel=3 >++ rm -rf tmp images '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/root.test' >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ mkdir '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/root.test' images >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ '[' -n '' ']' >++ /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/genimage --loglevel=3 --outputpath=images --inputpath=input --rootpath=/this/directory/does/not/exist --tmppath=tmp --config gpt-overlap1.config >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >INFO: cmd: "mkdir -p "/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/tmp"" (stderr+stdout): >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >INFO: cmd: "rm -rf "/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/tmp"/*" (stderr+stdout): >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >DEBUG: hdimage(test.gpt-overlap1): adding implicit file rule for '3K.img' >DEBUG: hdimage(test.gpt-overlap1): adding implicit file rule for '70K.img' >INFO: hdimage(test.gpt-overlap1): The option 'gpt' is deprecated. Use 'partition-table-type' instead >ERROR: hdimage(test.gpt-overlap1): partition [GPT array] (offset 0x400, size 0x4000) overlaps previous partition SPL (offset 0x400, size 0x6000) >ERROR: hdimage(test.gpt-overlap1): bootloaders, etc. that overlap with the partition table must declare the overlapping area as a hole. >++ exit_code=1 >++ test 1 = 0 >++ test 1 -gt 129 -a 1 -le 192 >++ test 1 = 127 >++ return 0 >+ eval_ret=0 >+ test '' = t >+ test -z '' >+ test_eval_ : >+ case ",$test_prereq," in >+ eval : >++ : >+ test t = t >+ test -n '' >+ return 0 >+ test_ok_ gpt-overlap1 >+ test_success=5 >+ say_color '' 'ok 9 - gpt-overlap1' >+ test -z '' >+ test -n '' >+ shift >+ printf '%s\n' 'ok 9 - gpt-overlap1' >+ echo '' > test_must_fail run_genimage gpt-overlap1.config >ok 9 - gpt-overlap1 >+ test_expect_success gpt-overlap2 ' > setup_gpt_files && > run_genimage gpt-overlap2.config' >+ test 2 = 3 >+ test_prereq= >+ test 2 = 2 >PASS: test/hdimage.test 9 - gpt-overlap1 >+ export test_prereq >+ test_skip_ gpt-overlap2 ' > setup_gpt_files && > run_genimage gpt-overlap2.config' >+ test_count=10 >+ to_skip= >+ test -z '' >+ test -n '' >+ case "$to_skip" in >+ false >+ say 'expecting success: > setup_gpt_files && > run_genimage gpt-overlap2.config' >+ say_color info 'expecting success: > setup_gpt_files && > run_genimage gpt-overlap2.config' >+ test -z info >+ shift >+ printf '%s\n' 'expecting success: > setup_gpt_files && > run_genimage gpt-overlap2.config' >+ test_run_ ' > setup_gpt_files && > >expecting success: > run_genimage gpt-overlap2.config' > setup_gpt_files && >+ test_cleanup=: >+ expecting_failure= >+ test_eval_ ' > setup_gpt_files && > run_genimage gpt-overlap2.config' >+ case ",$test_prereq," in >+ eval ' > setup_gpt_files && > run_genimage gpt-overlap2.config' >++ setup_gpt_files >++ rm -rf input >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ mkdir input >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ truncate -s 3k input/3K.img >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ truncate -s 70k input/70K.img >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ run_genimage gpt-overlap2.config >++ root=/this/directory/does/not/exist >++ run_genimage_impl gpt-overlap2.config >++ '[' t = t ']' >++ vargs=--loglevel=3 >++ rm -rf tmp images '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/root.test' >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ mkdir '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/root.test' images >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ '[' -n '' ']' >++ /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/genimage --loglevel=3 --outputpath=images --inputpath=input --rootpath=/this/directory/does/not/exist --tmppath=tmp --config gpt-overlap2.config >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >INFO: cmd: "mkdir -p "/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/tmp"" (stderr+stdout): >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >INFO: cmd: "rm -rf "/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/tmp"/*" (stderr+stdout): >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >DEBUG: hdimage(test.gpt-overlap2): adding implicit file rule for '3K.img' >DEBUG: hdimage(test.gpt-overlap2): adding implicit file rule for '70K.img' >INFO: hdimage(test.gpt-overlap2): The option 'gpt' is deprecated. Use 'partition-table-type' instead >INFO: cmd: "mkdir -p "/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/images"" (stderr+stdout): >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >INFO: hdimage(test.gpt-overlap2): adding partition 'SPL' from '3K.img' ... >DEBUG: hdimage(test.gpt-overlap2): copying 3072 bytes from /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/input/3K.img at offset 1024 >DEBUG: hdimage(test.gpt-overlap2): adding 0 0 bytes at offset 4096 >INFO: hdimage(test.gpt-overlap2): adding partition 'aaa' (in MBR) from '70K.img' ... >DEBUG: hdimage(test.gpt-overlap2): copying 71680 bytes from /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/input/70K.img at offset 1048576 >DEBUG: hdimage(test.gpt-overlap2): adding 0 0 bytes at offset 1120256 >INFO: hdimage(test.gpt-overlap2): adding partition '[MBR]' ... >INFO: hdimage(test.gpt-overlap2): adding partition '[GPT header]' ... >INFO: hdimage(test.gpt-overlap2): adding partition '[GPT array]' ... >INFO: hdimage(test.gpt-overlap2): adding partition '[GPT backup]' ... >INFO: hdimage(test.gpt-overlap2): writing GPT >INFO: hdimage(test.gpt-overlap2): writing protective MBR >INFO: hdimage(test.gpt-overlap2): writing MBR >+ eval_ret=0 >+ test '' = t >+ test -z '' >+ test_eval_ : >+ case ",$test_prereq," in >+ eval : >++ : >+ test t = t >+ test -n '' >+ return 0 >+ test_ok_ gpt-overlap2 >+ test_success=6 >+ say_color '' 'ok 10 - gpt-overlap2' >+ test -z '' >+ test -n '' >+ shift >+ printf '%s\n' 'ok 10 - gpt-overlap2' >+ echo '' > run_genimage gpt-overlap2.config >ok 10 - gpt-overlap2 >+ test_expect_success gpt-overlap3 ' > setup_gpt_files && > test_must_fail run_genimage gpt-overlap3.config' >+ test 2 = 3 >PASS: test/hdimage.test 10 - gpt-overlap2 >+ test_prereq= >+ test 2 = 2 >+ export test_prereq >+ test_skip_ gpt-overlap3 ' > setup_gpt_files && > test_must_fail run_genimage gpt-overlap3.config' >+ test_count=11 >+ to_skip= >+ test -z '' >+ test -n '' >+ case "$to_skip" in >+ false >+ say 'expecting success: > setup_gpt_files && > test_must_fail run_genimage gpt-overlap3.config' >+ say_color info 'expecting success: > setup_gpt_files && > test_must_fail run_genimage gpt-overlap3.config' >+ test -z info >+ shift >+ printf '%s\n' 'expecting success: > setup_gpt_files && > test_must_fail run_genimage gpt-overlap3.config' > >expecting success: > setup_gpt_files && >+ test_run_ ' > setup_gpt_files && > test_must_fail run_genimage gpt-overlap3.config' >+ test_cleanup=: >+ expecting_failure= >+ test_eval_ ' > setup_gpt_files && > test_must_fail run_genimage gpt-overlap3.config' >+ case ",$test_prereq," in >+ eval ' > setup_gpt_files && > test_must_fail run_genimage gpt-overlap3.config' >++ setup_gpt_files >++ rm -rf input >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ mkdir input >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ truncate -s 3k input/3K.img >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ truncate -s 70k input/70K.img >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ test_must_fail run_genimage gpt-overlap3.config >++ run_genimage gpt-overlap3.config >++ root=/this/directory/does/not/exist >++ run_genimage_impl gpt-overlap3.config >++ '[' t = t ']' >++ vargs=--loglevel=3 >++ rm -rf tmp images '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/root.test' >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ mkdir '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/root.test' images >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ '[' -n '' ']' >++ /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/genimage --loglevel=3 --outputpath=images --inputpath=input --rootpath=/this/directory/does/not/exist --tmppath=tmp --config gpt-overlap3.config >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >INFO: cmd: "mkdir -p "/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/tmp"" (stderr+stdout): >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >INFO: cmd: "rm -rf "/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/tmp"/*" (stderr+stdout): >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >DEBUG: hdimage(test.gpt-overlap3): adding implicit file rule for '3K.img' >DEBUG: hdimage(test.gpt-overlap3): adding implicit file rule for '70K.img' >INFO: hdimage(test.gpt-overlap3): The option 'gpt' is deprecated. Use 'partition-table-type' instead >ERROR: hdimage(test.gpt-overlap3): partition [GPT array] (offset 0x7800, size 0x4000) overlaps previous partition aaa (offset 0x8000, size 0x100000) >++ exit_code=1 >++ test 1 = 0 >++ test 1 -gt 129 -a 1 -le 192 >++ test 1 = 127 >++ return 0 >+ eval_ret=0 >+ test '' = t >+ test -z '' >+ test_eval_ : >+ case ",$test_prereq," in >+ eval : >++ : >+ test t = t >+ test -n '' >+ return 0 >+ test_ok_ gpt-overlap3 >+ test_success=7 >+ say_color '' 'ok 11 - gpt-overlap3' >+ test -z '' >+ test -n '' >+ shift >+ printf '%s\n' 'ok 11 - gpt-overlap3' >+ echo '' > test_must_fail run_genimage gpt-overlap3.config >ok 11 - gpt-overlap3 >PASS: test/hdimage.test 11 - gpt-overlap3 >+ test_expect_success bootloader-hole1 ' > setup_gpt_files && > run_genimage hole.config' >+ test 2 = 3 >+ test_prereq= >+ test 2 = 2 >+ export test_prereq >+ test_skip_ bootloader-hole1 ' > setup_gpt_files && > run_genimage hole.config' >+ test_count=12 >+ to_skip= >+ test -z '' >+ test -n '' >+ case "$to_skip" in >+ false >+ say 'expecting success: > setup_gpt_files && > run_genimage hole.config' >+ say_color info 'expecting success: > setup_gpt_files && > run_genimage hole.config' >+ test -z info >+ shift >+ printf '%s\n' 'expecting success: > setup_gpt_files && > run_genimage hole.config' > >expecting success: > setup_gpt_files && >+ test_run_ ' > setup_gpt_files && > run_genimage hole.config' >+ test_cleanup=: >+ expecting_failure= >+ test_eval_ ' > setup_gpt_files && > run_genimage hole.config' >+ case ",$test_prereq," in >+ eval ' > setup_gpt_files && > run_genimage hole.config' >++ setup_gpt_files >++ rm -rf input >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ mkdir input >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ truncate -s 3k input/3K.img >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ truncate -s 70k input/70K.img >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ run_genimage hole.config >++ root=/this/directory/does/not/exist >++ run_genimage_impl hole.config >++ '[' t = t ']' >++ vargs=--loglevel=3 >++ rm -rf tmp images '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/root.test' >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ mkdir '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/root.test' images >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ '[' -n '' ']' >++ /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/genimage --loglevel=3 --outputpath=images --inputpath=input --rootpath=/this/directory/does/not/exist --tmppath=tmp --config hole.config >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >INFO: cmd: "mkdir -p "/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/tmp"" (stderr+stdout): >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >INFO: cmd: "rm -rf "/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/tmp"/*" (stderr+stdout): >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >DEBUG: hdimage(test.hole): adding implicit file rule for '3K.img' >DEBUG: file(70K.img): added hole (440, 33792) >INFO: hdimage(test.hole): The option 'gpt' is deprecated. Use 'partition-table-type' instead >INFO: cmd: "mkdir -p "/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/images"" (stderr+stdout): >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >INFO: file(70K.img): cmd: "cp '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/input/70K.img' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/images/70K.img'" (stderr+stdout): >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >INFO: hdimage(test.hole): adding partition 'bootloader' from '70K.img' ... >DEBUG: hdimage(test.hole): copying 71680 bytes from /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/images/70K.img at offset 0 >DEBUG: hdimage(test.hole): adding 0 0 bytes at offset 71680 >INFO: hdimage(test.hole): adding partition 'foo' (in MBR) from '3K.img' ... >DEBUG: hdimage(test.hole): copying 3072 bytes from /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/input/3K.img at offset 132096 >DEBUG: hdimage(test.hole): adding 0 0 bytes at offset 135168 >INFO: hdimage(test.hole): adding partition '[MBR]' ... >INFO: hdimage(test.hole): adding partition '[GPT header]' ... >INFO: hdimage(test.hole): adding partition '[GPT array]' ... >INFO: hdimage(test.hole): adding partition '[GPT backup]' ... >INFO: hdimage(test.hole): writing GPT >INFO: hdimage(test.hole): writing protective MBR >INFO: hdimage(test.hole): writing MBR >+ eval_ret=0 >+ test '' = t >+ test -z '' >+ test_eval_ : >+ case ",$test_prereq," in >+ eval : >++ : >+ test t = t >+ test -n '' >+ return 0 >+ test_ok_ bootloader-hole1 >+ test_success=8 >+ say_color '' 'ok 12 - bootloader-hole1' >+ test -z '' >+ test -n '' >+ shift >+ printf '%s\n' 'ok 12 - bootloader-hole1' >+ echo '' > run_genimage hole.config >ok 12 - bootloader-hole1 >+ test_expect_success bootloader-hole2 ' > setup_gpt_files && > GPT_LOCATION=64K test_must_fail run_genimage hole.config' >+ test 2 = 3 >PASS: test/hdimage.test 12 - bootloader-hole1 >+ test_prereq= >+ test 2 = 2 >+ export test_prereq >+ test_skip_ bootloader-hole2 ' > setup_gpt_files && > GPT_LOCATION=64K test_must_fail run_genimage hole.config' >+ test_count=13 >+ to_skip= >+ test -z '' >+ test -n '' >+ case "$to_skip" in >+ false >+ say 'expecting success: > setup_gpt_files && > GPT_LOCATION=64K test_must_fail run_genimage hole.config' >+ say_color info 'expecting success: > setup_gpt_files && > GPT_LOCATION=64K test_must_fail run_genimage hole.config' >+ test -z info >+ shift >+ printf '%s\n' 'expecting success: > setup_gpt_files && > GPT_LOCATION=64K test_must_fail run_genimage hole.config' > >expecting success: > setup_gpt_files && >+ test_run_ ' > setup_gpt_files && > GPT_LOCATION=64K test_must_fail run_genimage hole.config' >+ test_cleanup=: >+ expecting_failure= >+ test_eval_ ' > setup_gpt_files && > GPT_LOCATION=64K test_must_fail run_genimage hole.config' >+ case ",$test_prereq," in >+ eval ' > setup_gpt_files && > GPT_LOCATION=64K test_must_fail run_genimage hole.config' >++ setup_gpt_files >++ rm -rf input >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ mkdir input >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ truncate -s 3k input/3K.img >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ truncate -s 70k input/70K.img >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ GPT_LOCATION=64K >++ test_must_fail run_genimage hole.config >++ run_genimage hole.config >++ root=/this/directory/does/not/exist >++ run_genimage_impl hole.config >++ '[' t = t ']' >++ vargs=--loglevel=3 >++ rm -rf tmp images '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/root.test' >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ mkdir '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/root.test' images >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ '[' -n '' ']' >++ /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/genimage --loglevel=3 --outputpath=images --inputpath=input --rootpath=/this/directory/does/not/exist --tmppath=tmp --config hole.config >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >INFO: cmd: "mkdir -p "/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/tmp"" (stderr+stdout): >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >INFO: cmd: "rm -rf "/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/tmp"/*" (stderr+stdout): >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >DEBUG: hdimage(test.hole): adding implicit file rule for '3K.img' >DEBUG: file(70K.img): added hole (440, 33792) >INFO: hdimage(test.hole): The option 'gpt' is deprecated. Use 'partition-table-type' instead >ERROR: hdimage(test.hole): partition [GPT array] (offset 0x10000, size 0x4000) overlaps previous partition bootloader (offset 0x0, size 0x11800) >ERROR: hdimage(test.hole): bootloaders, etc. that overlap with the partition table must declare the overlapping area as a hole. >++ exit_code=1 >++ test 1 = 0 >++ test 1 -gt 129 -a 1 -le 192 >++ test 1 = 127 >++ return 0 >+ eval_ret=0 >+ test '' = t >+ test -z '' >+ test_eval_ : >+ case ",$test_prereq," in >+ eval : >++ : >+ test t = t >+ test -n '' >+ return 0 >+ test_ok_ bootloader-hole2 >+ test_success=9 >+ say_color '' 'ok 13 - bootloader-hole2' >+ test -z '' >+ test -n '' >+ shift >+ printf '%s\n' 'ok 13 - bootloader-hole2' >+ echo '' > GPT_LOCATION=64K test_must_fail run_genimage hole.config >ok 13 - bootloader-hole2 >PASS: test/hdimage.test 13 - bootloader-hole2 >+ test_expect_success bootloader-hole3 ' > setup_gpt_files && > GPT_LOCATION=70K run_genimage hole.config' >+ test 2 = 3 >+ test_prereq= >+ test 2 = 2 >+ export test_prereq >+ test_skip_ bootloader-hole3 ' > setup_gpt_files && > GPT_LOCATION=70K run_genimage hole.config' >+ test_count=14 >+ to_skip= >+ test -z '' >+ test -n '' >+ case "$to_skip" in >+ false >+ say 'expecting success: > setup_gpt_files && > GPT_LOCATION=70K run_genimage hole.config' >+ say_color info 'expecting success: > setup_gpt_files && > GPT_LOCATION=70K run_genimage hole.config' >+ test -z info >+ shift >+ printf '%s\n' 'expecting success: > setup_gpt_files && > GPT_LOCATION=70K run_genimage hole.config' > >expecting success: > setup_gpt_files && >+ test_run_ ' > setup_gpt_files && > GPT_LOCATION=70K run_genimage hole.config' >+ test_cleanup=: >+ expecting_failure= >+ test_eval_ ' > setup_gpt_files && > GPT_LOCATION=70K run_genimage hole.config' >+ case ",$test_prereq," in >+ eval ' > setup_gpt_files && > GPT_LOCATION=70K run_genimage hole.config' >++ setup_gpt_files >++ rm -rf input >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ mkdir input >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ truncate -s 3k input/3K.img >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ truncate -s 70k input/70K.img >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ GPT_LOCATION=70K >++ run_genimage hole.config >++ root=/this/directory/does/not/exist >++ run_genimage_impl hole.config >++ '[' t = t ']' >++ vargs=--loglevel=3 >++ rm -rf tmp images '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/root.test' >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ mkdir '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/root.test' images >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ '[' -n '' ']' >++ /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/genimage --loglevel=3 --outputpath=images --inputpath=input --rootpath=/this/directory/does/not/exist --tmppath=tmp --config hole.config >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >INFO: cmd: "mkdir -p "/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/tmp"" (stderr+stdout): >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >INFO: cmd: "rm -rf "/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/tmp"/*" (stderr+stdout): >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >DEBUG: hdimage(test.hole): adding implicit file rule for '3K.img' >DEBUG: file(70K.img): added hole (440, 33792) >INFO: hdimage(test.hole): The option 'gpt' is deprecated. Use 'partition-table-type' instead >INFO: cmd: "mkdir -p "/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/images"" (stderr+stdout): >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >INFO: file(70K.img): cmd: "cp '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/input/70K.img' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/images/70K.img'" (stderr+stdout): >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >INFO: hdimage(test.hole): adding partition 'bootloader' from '70K.img' ... >DEBUG: hdimage(test.hole): copying 71680 bytes from /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/images/70K.img at offset 0 >DEBUG: hdimage(test.hole): adding 0 0 bytes at offset 71680 >INFO: hdimage(test.hole): adding partition 'foo' (in MBR) from '3K.img' ... >DEBUG: hdimage(test.hole): copying 3072 bytes from /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/input/3K.img at offset 132096 >DEBUG: hdimage(test.hole): adding 0 0 bytes at offset 135168 >INFO: hdimage(test.hole): adding partition '[MBR]' ... >INFO: hdimage(test.hole): adding partition '[GPT header]' ... >INFO: hdimage(test.hole): adding partition '[GPT array]' ... >INFO: hdimage(test.hole): adding partition '[GPT backup]' ... >INFO: hdimage(test.hole): writing GPT >INFO: hdimage(test.hole): writing protective MBR >INFO: hdimage(test.hole): writing MBR >+ eval_ret=0 >+ test '' = t >+ test -z '' >+ test_eval_ : >+ case ",$test_prereq," in >+ eval : >++ : >+ test t = t >+ test -n '' >+ return 0 >+ test_ok_ bootloader-hole3 >+ test_success=10 >+ say_color '' 'ok 14 - bootloader-hole3' >+ test -z '' >+ test -n '' >+ shift >+ printf '%s\n' 'ok 14 - bootloader-hole3' >+ echo '' > GPT_LOCATION=70K run_genimage hole.config >ok 14 - bootloader-hole3 >PASS: test/hdimage.test 14 - bootloader-hole3 >+ test_expect_success bootloader-hole4 ' > setup_gpt_files && > OFFSET=64K test_must_fail run_genimage hole.config' >+ test 2 = 3 >+ test_prereq= >+ test 2 = 2 >+ export test_prereq >+ test_skip_ bootloader-hole4 ' > setup_gpt_files && > OFFSET=64K test_must_fail run_genimage hole.config' >+ test_count=15 >+ to_skip= >+ test -z '' >+ test -n '' >+ case "$to_skip" in >+ false >+ say 'expecting success: > setup_gpt_files && > OFFSET=64K test_must_fail run_genimage hole.config' >+ say_color info 'expecting success: > setup_gpt_files && > OFFSET=64K test_must_fail run_genimage hole.config' >+ test -z info >+ shift >+ printf '%s\n' 'expecting success: > setup_gpt_files && > OFFSET=64K test_must_fail run_genimage hole.config' > >expecting success: > setup_gpt_files && >+ test_run_ ' > setup_gpt_files && > OFFSET=64K test_must_fail run_genimage hole.config' >+ test_cleanup=: >+ expecting_failure= >+ test_eval_ ' > setup_gpt_files && > OFFSET=64K test_must_fail run_genimage hole.config' >+ case ",$test_prereq," in >+ eval ' > setup_gpt_files && > OFFSET=64K test_must_fail run_genimage hole.config' >++ setup_gpt_files >++ rm -rf input >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ mkdir input >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ truncate -s 3k input/3K.img >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ truncate -s 70k input/70K.img >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ OFFSET=64K >++ test_must_fail run_genimage hole.config >++ run_genimage hole.config >++ root=/this/directory/does/not/exist >++ run_genimage_impl hole.config >++ '[' t = t ']' >++ vargs=--loglevel=3 >++ rm -rf tmp images '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/root.test' >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ mkdir '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/root.test' images >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ '[' -n '' ']' >++ /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/genimage --loglevel=3 --outputpath=images --inputpath=input --rootpath=/this/directory/does/not/exist --tmppath=tmp --config hole.config >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >INFO: cmd: "mkdir -p "/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/tmp"" (stderr+stdout): >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >INFO: cmd: "rm -rf "/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/tmp"/*" (stderr+stdout): >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >DEBUG: hdimage(test.hole): adding implicit file rule for '3K.img' >DEBUG: file(70K.img): added hole (440, 33792) >INFO: hdimage(test.hole): The option 'gpt' is deprecated. Use 'partition-table-type' instead >ERROR: hdimage(test.hole): partition foo (offset 0x20400, size 0xc00) overlaps previous partition bootloader (offset 0x10000, size 0x11800) >++ exit_code=1 >++ test 1 = 0 >++ test 1 -gt 129 -a 1 -le 192 >++ test 1 = 127 >++ return 0 >+ eval_ret=0 >+ test '' = t >+ test -z '' >+ test_eval_ : >+ case ",$test_prereq," in >+ eval : >++ : >+ test t = t >+ test -n '' >+ return 0 >+ test_ok_ bootloader-hole4 >+ test_success=11 >+ say_color '' 'ok 15 - bootloader-hole4' >+ test -z '' >+ test -n '' >+ shift >+ printf '%s\n' 'ok 15 - bootloader-hole4' >+ echo '' > OFFSET=64K test_must_fail run_genimage hole.config >ok 15 - bootloader-hole4 >PASS: test/hdimage.test 15 - bootloader-hole4 >+ test_expect_success bootloader-hole5 ' > setup_gpt_files && > OFFSET=128K run_genimage hole.config' >+ test 2 = 3 >+ test_prereq= >+ test 2 = 2 >+ export test_prereq >+ test_skip_ bootloader-hole5 ' > setup_gpt_files && > OFFSET=128K run_genimage hole.config' >+ test_count=16 >+ to_skip= >+ test -z '' >+ test -n '' >+ case "$to_skip" in >+ false >+ say 'expecting success: > setup_gpt_files && > OFFSET=128K run_genimage hole.config' >+ say_color info 'expecting success: > setup_gpt_files && > OFFSET=128K run_genimage hole.config' >+ test -z info >+ shift >+ printf '%s\n' 'expecting success: > setup_gpt_files && > OFFSET=128K run_genimage hole.config' > >expecting success: > setup_gpt_files && >+ test_run_ ' > setup_gpt_files && > OFFSET=128K run_genimage hole.config' >+ test_cleanup=: >+ expecting_failure= >+ test_eval_ ' > setup_gpt_files && > OFFSET=128K run_genimage hole.config' >+ case ",$test_prereq," in >+ eval ' > setup_gpt_files && > OFFSET=128K run_genimage hole.config' >++ setup_gpt_files >++ rm -rf input >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ mkdir input >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ truncate -s 3k input/3K.img >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ truncate -s 70k input/70K.img >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ OFFSET=128K >++ run_genimage hole.config >++ root=/this/directory/does/not/exist >++ run_genimage_impl hole.config >++ '[' t = t ']' >++ vargs=--loglevel=3 >++ rm -rf tmp images '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/root.test' >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ mkdir '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/root.test' images >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ '[' -n '' ']' >++ /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/genimage --loglevel=3 --outputpath=images --inputpath=input --rootpath=/this/directory/does/not/exist --tmppath=tmp --config hole.config >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >INFO: cmd: "mkdir -p "/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/tmp"" (stderr+stdout): >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >INFO: cmd: "rm -rf "/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/tmp"/*" (stderr+stdout): >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >DEBUG: hdimage(test.hole): adding implicit file rule for '3K.img' >DEBUG: file(70K.img): added hole (440, 33792) >INFO: hdimage(test.hole): The option 'gpt' is deprecated. Use 'partition-table-type' instead >INFO: cmd: "mkdir -p "/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/images"" (stderr+stdout): >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >INFO: file(70K.img): cmd: "cp '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/input/70K.img' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/images/70K.img'" (stderr+stdout): >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >INFO: hdimage(test.hole): adding partition 'bootloader' from '70K.img' ... >DEBUG: hdimage(test.hole): copying 71680 bytes from /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/images/70K.img at offset 131072 >DEBUG: hdimage(test.hole): adding 0 0 bytes at offset 202752 >INFO: hdimage(test.hole): adding partition 'foo' (in MBR) from '3K.img' ... >DEBUG: hdimage(test.hole): copying 3072 bytes from /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/input/3K.img at offset 132096 >DEBUG: hdimage(test.hole): adding 0 0 bytes at offset 135168 >INFO: hdimage(test.hole): adding partition '[MBR]' ... >INFO: hdimage(test.hole): adding partition '[GPT header]' ... >INFO: hdimage(test.hole): adding partition '[GPT array]' ... >INFO: hdimage(test.hole): adding partition '[GPT backup]' ... >INFO: hdimage(test.hole): writing GPT >INFO: hdimage(test.hole): writing protective MBR >INFO: hdimage(test.hole): writing MBR >+ eval_ret=0 >+ test '' = t >+ test -z '' >+ test_eval_ : >+ case ",$test_prereq," in >+ eval : >++ : >+ test t = t >+ test -n '' >+ return 0 >+ test_ok_ bootloader-hole5 >+ test_success=12 >+ say_color '' 'ok 16 - bootloader-hole5' >+ test -z '' >+ test -n '' >+ shift >+ printf '%s\n' 'ok 16 - bootloader-hole5' >+ echo '' > OFFSET=128K run_genimage hole.config >ok 16 - bootloader-hole5 >PASS: test/hdimage.test 16 - bootloader-hole5 >+ test_expect_success 'hdimage no-partition' ' > dd if=/dev/zero bs=1 count=100 | tr '\''\000'\'' '\''\377'\'' > input/block1.img && > dd if=/dev/zero bs=1 count=50 | tr '\''\000'\'' '\''\252'\'' > input/block2.img && > dd if=/dev/zero bs=1 count=75 | tr '\''\000'\'' '\''\167'\'' > input/block3.img && > run_genimage hdimage-nopart.config && > hexdump -C images/test.hdimage > '\''hdimage-nopart.hexdump'\'' && > test_cmp '\''hdimage-nopart.hexdump'\'' '\''/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hdimage-nopart.hexdump'\'' >' >+ test 2 = 3 >+ test_prereq= >+ test 2 = 2 >+ export test_prereq >+ test_skip_ 'hdimage no-partition' ' > dd if=/dev/zero bs=1 count=100 | tr '\''\000'\'' '\''\377'\'' > input/block1.img && > dd if=/dev/zero bs=1 count=50 | tr '\''\000'\'' '\''\252'\'' > input/block2.img && > dd if=/dev/zero bs=1 count=75 | tr '\''\000'\'' '\''\167'\'' > input/block3.img && > run_genimage hdimage-nopart.config && > hexdump -C images/test.hdimage > '\''hdimage-nopart.hexdump'\'' && > test_cmp '\''hdimage-nopart.hexdump'\'' '\''/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hdimage-nopart.hexdump'\'' >' >+ test_count=17 >+ to_skip= >+ test -z '' >+ test -n '' >+ case "$to_skip" in >+ false >+ say 'expecting success: > dd if=/dev/zero bs=1 count=100 | tr '\''\000'\'' '\''\377'\'' > input/block1.img && > dd if=/dev/zero bs=1 count=50 | tr '\''\000'\'' '\''\252'\'' > input/block2.img && > dd if=/dev/zero bs=1 count=75 | tr '\''\000'\'' '\''\167'\'' > input/block3.img && > run_genimage hdimage-nopart.config && > hexdump -C images/test.hdimage > '\''hdimage-nopart.hexdump'\'' && > test_cmp '\''hdimage-nopart.hexdump'\'' '\''/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hdimage-nopart.hexdump'\'' >' >+ say_color info 'expecting success: > dd if=/dev/zero bs=1 count=100 | tr '\''\000'\'' '\''\377'\'' > input/block1.img && > dd if=/dev/zero bs=1 count=50 | tr '\''\000'\'' '\''\252'\'' > input/block2.img && > dd if=/dev/zero bs=1 count=75 | tr '\''\000'\'' '\''\167'\'' > input/block3.img && > run_genimage hdimage-nopart.config && > hexdump -C images/test.hdimage > '\''hdimage-nopart.hexdump'\'' && > test_cmp '\''hdimage-nopart.hexdump'\'' '\''/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hdimage-nopart.hexdump'\'' >' >+ test -z info >+ shift >+ printf '%s\n' 'expecting success: > dd if=/dev/zero bs=1 count=100 | tr '\''\000'\'' '\''\377'\'' > input/block1.img && > dd if=/dev/zero bs=1 count=50 | tr '\''\000'\'' '\''\252'\'' > input/block2.img && > dd if=/dev/zero bs=1 count=75 | tr '\''\000'\'' '\''\167'\'' > input/block3.img && > run_genimage hdimage-nopart.config && > hexdump -C images/test.hdimage > '\''hdimage-nopart.hexdump'\'' && > test_cmp '\''hdimage-nopart.hexdump'\'' '\''/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hdimage-nopart.hexdump'\'' >' > >expecting success: > dd if=/dev/zero bs=1 count=100 | tr '\000' '\377' > input/block1.img && > dd if=/dev/zero bs=1 count=50 | tr '\000' '\252' > input/block2.img && > dd if=/dev/zero bs=1 count=75 | tr '\000' '\167' > input/block3.img && > run_genimage hdimage-nopart.config && > hexdump -C images/test.hdimage > 'hdimage-nopart.hexdump' && > test_cmp 'hdimage-nopart.hexdump' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hdimage-nopart.hexdump' >+ test_run_ ' > dd if=/dev/zero bs=1 count=100 | tr '\''\000'\'' '\''\377'\'' > input/block1.img && > dd if=/dev/zero bs=1 count=50 | tr '\''\000'\'' '\''\252'\'' > input/block2.img && > dd if=/dev/zero bs=1 count=75 | tr '\''\000'\'' '\''\167'\'' > input/block3.img && > run_genimage hdimage-nopart.config && > hexdump -C images/test.hdimage > '\''hdimage-nopart.hexdump'\'' && > test_cmp '\''hdimage-nopart.hexdump'\'' '\''/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hdimage-nopart.hexdump'\'' >' >+ test_cleanup=: >+ expecting_failure= >+ test_eval_ ' > dd if=/dev/zero bs=1 count=100 | tr '\''\000'\'' '\''\377'\'' > input/block1.img && > dd if=/dev/zero bs=1 count=50 | tr '\''\000'\'' '\''\252'\'' > input/block2.img && > dd if=/dev/zero bs=1 count=75 | tr '\''\000'\'' '\''\167'\'' > input/block3.img && > run_genimage hdimage-nopart.config && > hexdump -C images/test.hdimage > '\''hdimage-nopart.hexdump'\'' && > test_cmp '\''hdimage-nopart.hexdump'\'' '\''/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hdimage-nopart.hexdump'\'' >' >+ case ",$test_prereq," in >+ eval ' > dd if=/dev/zero bs=1 count=100 | tr '\''\000'\'' '\''\377'\'' > input/block1.img && > dd if=/dev/zero bs=1 count=50 | tr '\''\000'\'' '\''\252'\'' > input/block2.img && > dd if=/dev/zero bs=1 count=75 | tr '\''\000'\'' '\''\167'\'' > input/block3.img && > run_genimage hdimage-nopart.config && > hexdump -C images/test.hdimage > '\''hdimage-nopart.hexdump'\'' && > test_cmp '\''hdimage-nopart.hexdump'\'' '\''/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hdimage-nopart.hexdump'\'' >' >++ dd if=/dev/zero bs=1 count=100 >++ tr '\000' '\377' >100+0 records in >100+0 records out >100 bytes copied, 4.1249e-05 s, 2.4 MB/s >++ dd if=/dev/zero bs=1 count=50 >++ tr '\000' '\252' >50+0 records in >50+0 records out >50 bytes copied, 2.4346e-05 s, 2.1 MB/s >++ dd if=/dev/zero bs=1 count=75 >++ tr '\000' '\167' >75+0 records in >75+0 records out >75 bytes copied, 3.5478e-05 s, 2.1 MB/s >++ run_genimage hdimage-nopart.config >++ root=/this/directory/does/not/exist >++ run_genimage_impl hdimage-nopart.config >++ '[' t = t ']' >++ vargs=--loglevel=3 >++ rm -rf tmp images '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/root.test' >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ mkdir '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/root.test' images >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ '[' -n '' ']' >++ /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/genimage --loglevel=3 --outputpath=images --inputpath=input --rootpath=/this/directory/does/not/exist --tmppath=tmp --config hdimage-nopart.config >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >INFO: cmd: "mkdir -p "/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/tmp"" (stderr+stdout): >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >INFO: cmd: "rm -rf "/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/tmp"/*" (stderr+stdout): >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >DEBUG: hdimage(test.hdimage): adding implicit file rule for 'block1.img' >DEBUG: hdimage(test.hdimage): adding implicit file rule for 'block2.img' >DEBUG: hdimage(test.hdimage): adding implicit file rule for 'block3.img' >INFO: cmd: "mkdir -p "/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/images"" (stderr+stdout): >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >INFO: hdimage(test.hdimage): adding partition 'part1' from 'block1.img' ... >DEBUG: hdimage(test.hdimage): copying 100 bytes from /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/input/block1.img at offset 0 >DEBUG: hdimage(test.hdimage): adding 0 0 bytes at offset 100 >INFO: hdimage(test.hdimage): adding partition 'part2' from 'block2.img' ... >DEBUG: hdimage(test.hdimage): copying 50 bytes from /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/input/block2.img at offset 104 >DEBUG: hdimage(test.hdimage): adding 0 0 bytes at offset 154 >INFO: hdimage(test.hdimage): adding partition 'part3' from 'block3.img' ... >DEBUG: hdimage(test.hdimage): copying 75 bytes from /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.hdimage.test/input/block3.img at offset 256 >DEBUG: hdimage(test.hdimage): adding 0 0 bytes at offset 331 >++ hexdump -C images/test.hdimage >++ test_cmp hdimage-nopart.hexdump /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hdimage-nopart.hexdump >++ diff -u hdimage-nopart.hexdump /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hdimage-nopart.hexdump >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >+ eval_ret=0 >+ test '' = t >+ test -z '' >+ test_eval_ : >+ case ",$test_prereq," in >+ eval : >++ : >+ test t = t >+ test -n '' >+ return 0 >+ test_ok_ 'hdimage no-partition' >+ test_success=13 >+ say_color '' 'ok 17 - hdimage no-partition' >+ test -z '' >+ test -n '' >+ shift >+ printf '%s\n' 'ok 17 - hdimage no-partition' >+ echo '' > >ok 17 - hdimage no-partition >+ test_done >+ EXIT_OK=t >+ test -z '' >+ test_results_dir=/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test-results >+ mkdir -p /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test-results >PASS: test/hdimage.test 17 - hdimage no-partition >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >+ test_results_path=/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test-results/hdimage.test.213.counts >+ cat >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >+ test 0 '!=' 0 >+ test 0 '!=' 0 >+ test 0 '!=' 0 >+ test 0 '!=' 0 >+ test_remaining=17 >+ msg='17 test(s)' >+ case "$test_failure" in >+ say_color error '# failed 4 among 17 test(s)' >+ test -z error >+ shift >+ printf '%s\n' '# failed 4 among 17 test(s)' >+ say 1..17 > >+ say_color info 1..17 >+ test -z info >+ shift >+ printf '%s\n' 1..17 >+ exit 1 ># failed 4 among 17 test(s) >+ die >+ code=1 >+ test -n t >+ exit 1 >1..17 >ERROR: test/hdimage.test - exited with status 1 > >SKIP: test/misc >=============== > >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >+ test_description='Misc Image Tests' >++ dirname ./test/misc.test >+ . ./test/test-setup.sh >++++ dirname ./test/misc.test >+++ readlink -f ./test >++ testdir=/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test >+++ pwd >++ genimage=/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/genimage >++ PATH=/usr/lib/portage/python3.11/ebuild-helpers/xattr:/usr/lib/portage/python3.11/ebuild-helpers:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/lib/llvm/15/bin:/sbin:/usr/sbin >++ set -- -v >++ . /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/sharness.sh >+++ SHARNESS_VERSION=1.0.0 >+++ export SHARNESS_VERSION >+++ : t >+++ export SHARNESS_TEST_EXTENSION >+++ '[' x = x ']' >+++ SHARNESS_ORIG_TERM=tmux-256color >+++ export SHARNESS_ORIG_TERM >+++ : /bin/bash >+++ export SHELL_PATH >+++ LANG=C >+++ LC_ALL=C >+++ PAGER=cat >+++ TZ=UTC >+++ EDITOR=: >+++ export LANG LC_ALL PAGER TZ EDITOR >+++ unset VISUAL CDPATH GREP_OPTIONS >+++ LF=' >' >+++ '[' xtmux-256color '!=' xdumb ']' >+++ '[' -t 1 ']' >+++ test 1 -ne 0 >+++ case "$1" in >+++ verbose=t >+++ shift >+++ test 0 -ne 0 >+++ test -n '' >+++ TERM=dumb >+++ export TERM >+++ test -n 'Misc Image Tests' >+++ test '' = t >+++ exec >+++ exec >+++ test t = t >+++ exec >+++ test_failure=0 >+++ test_count=0 >+++ test_fixed=0 >+++ test_broken=0 >+++ test_success=0 >+++ EXIT_OK= >+++ trap die EXIT >+++ satisfied_prereq=' ' >+++ final_cleanup= >++++ pwd >+++ : /var/tmp/portage/sys-fs/genimage-16/work/genimage-16 >+++ export SHARNESS_TEST_DIRECTORY >+++++ dirname ./test/misc.test >++++ cd ./test >++++ pwd >+++ : /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test >+++ export SHARNESS_TEST_SRCDIR >+++ : /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/.. >+++ PATH=/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/..:/usr/lib/portage/python3.11/ebuild-helpers/xattr:/usr/lib/portage/python3.11/ebuild-helpers:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/lib/llvm/15/bin:/sbin:/usr/sbin >+++ export PATH SHARNESS_BUILD_DIRECTORY >+++ SHARNESS_TEST_FILE=./test/misc.test >+++ export SHARNESS_TEST_FILE >++++ basename ./test/misc.test .t >+++ SHARNESS_TRASH_DIRECTORY='trash directory.misc.test' >+++ test -n '' >+++ case "$SHARNESS_TRASH_DIRECTORY" in >+++ SHARNESS_TRASH_DIRECTORY='/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.misc.test' >+++ test '' = t >+++ remove_trash='/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.misc.test' >+++ rm -rf '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.misc.test' >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >+++ test -d /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/sharness.d >+++ export SHARNESS_TRASH_DIRECTORY >+++ HOME='/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.misc.test' >+++ export HOME >+++ mkdir -p '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.misc.test' >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >+++ cd -P '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.misc.test' >+++ this_test=misc.test >+++ this_test=misc.test >+++ test -n '' >+++ test -n '' >+++ : >+++ pwd >++ filelist_orig='/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.misc.test/file-list.orig' >+++ pwd >++ filelist_test='/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.misc.test/file-list.test' >+++ pwd >++ root_orig='/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.misc.test/root.orig' >+++ pwd >++ root_test='/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.misc.test/root.test' >++ set -o pipefail >++ setup_data >++ umask 0022 >++ mkdir -p '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.misc.test/root.orig/foo/1' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.misc.test/root.orig/foo/2' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.misc.test/root.orig/foo/3' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.misc.test/root.orig/bar/1' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.misc.test/root.orig/bar/2' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.misc.test/root.orig/bar/3' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.misc.test/root.orig/baz/1' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.misc.test/root.orig/baz/2' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.misc.test/root.orig/baz/3' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.misc.test/root.orig/with spaces/1' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.misc.test/root.orig/with spaces/2' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.misc.test/root.orig/with spaces/3' >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ touch '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.misc.test/root.orig/foo/1/one' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.misc.test/root.orig/foo/1/two' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.misc.test/root.orig/foo/2/one' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.misc.test/root.orig/foo/2/two' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.misc.test/root.orig/foo/3/one' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.misc.test/root.orig/foo/3/two' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.misc.test/root.orig/bar/1/one' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.misc.test/root.orig/bar/1/two' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.misc.test/root.orig/bar/2/one' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.misc.test/root.orig/bar/2/two' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.misc.test/root.orig/bar/3/one' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.misc.test/root.orig/bar/3/two' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.misc.test/root.orig/baz/1/one' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.misc.test/root.orig/baz/1/two' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.misc.test/root.orig/baz/2/one' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.misc.test/root.orig/baz/2/two' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.misc.test/root.orig/baz/3/one' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.misc.test/root.orig/baz/3/two' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.misc.test/root.orig/with spaces/1/one' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.misc.test/root.orig/with spaces/1/two' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.misc.test/root.orig/with spaces/2/one' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.misc.test/root.orig/with spaces/2/two' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.misc.test/root.orig/with spaces/3/one' '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.misc.test/root.orig/with spaces/3/two' >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ find '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.misc.test/root.orig' -print0 >++ xargs -0 touch -c -d '2011-11-11 UTC' >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ find '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.misc.test/root.orig/' -mindepth 1 -printf '%P\n' >++ sort >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ cp /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/cpio.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/cramfs.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/exec-fail.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/exec.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/ext2.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/ext2percent.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/ext3.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/ext4.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/f2fs.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/fip.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/fit.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/flash-types.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/flash.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/gpt-overlap1.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/gpt-overlap2.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/gpt-overlap3.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hdimage-fail1.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hdimage-fail2.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hdimage-fail3.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hdimage-fail4.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hdimage-fail5.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hdimage-fail6.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hdimage-fail7.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hdimage-hybrid.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hdimage-nopart.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hdimage.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hdimage2.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hdimage4.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hdimage5.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hdimage6.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hdimage7.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/hole.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/include-test.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/include.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/iso.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/jffs2.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/mke2fs.conf /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/mke2fs.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/qemu.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/rauc.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/sparse.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/squashfs.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/tar.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/ubi.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/ubifs.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/vfat.config /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/exec-check.sh /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/sharness.sh /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/test-setup.sh . >++ sfdisk -h >++ grep -q gpt >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ test_set_prereq sfdisk-gpt >++ satisfied_prereq=' sfdisk-gpt ' >++ fdisk -h >++ grep -q gpt >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >++ test_set_prereq fdisk-gpt >++ satisfied_prereq=' sfdisk-gpt fdisk-gpt ' >+ exec_test_set_prereq dd >+ command -v dd >+ test_set_prereq dd >+ satisfied_prereq=' sfdisk-gpt fdisk-gpt dd ' >+ exec_test_set_prereq diff >+ command -v diff >+ test_set_prereq diff >+ satisfied_prereq=' sfdisk-gpt fdisk-gpt dd diff ' >+ exec_test_set_prereq qemu-img >+ command -v qemu-img >+ test_expect_success dd,diff,qemu-img qemu ' > setup_test_images && > run_genimage qemu.config test.qcow && > qemu-img check images/test.qcow && > zcat '\''/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/qemu.qcow.gz'\'' > qemu.qcow && > qemu-img compare images/test.qcow qemu.qcow >' >+ test 3 = 3 >+ test_prereq=dd,diff,qemu-img >+ shift >+ test 2 = 2 >+ export test_prereq >+ test_skip_ qemu ' > setup_test_images && > run_genimage qemu.config test.qcow && > qemu-img check images/test.qcow && > zcat '\''/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/qemu.qcow.gz'\'' > qemu.qcow && > qemu-img compare images/test.qcow qemu.qcow >' >+ test_count=1 >+ to_skip= >+ test -z '' >+ test -n dd,diff,qemu-img >+ test_have_prereq dd,diff,qemu-img >+ save_IFS=' >' >+ IFS=, >+ set -- dd diff qemu-img >+ IFS=' >' >+ total_prereq=0 >+ ok_prereq=0 >+ missing_prereq= >+ for prerequisite in "$@" >+ case "$prerequisite" in >+ negative_prereq= >+ total_prereq=1 >+ case "$satisfied_prereq" in >+ satisfied_this_prereq=t >+ case "$satisfied_this_prereq,$negative_prereq" in >+ ok_prereq=1 >+ for prerequisite in "$@" >+ case "$prerequisite" in >+ negative_prereq= >+ total_prereq=2 >+ case "$satisfied_prereq" in >+ satisfied_this_prereq=t >+ case "$satisfied_this_prereq,$negative_prereq" in >+ ok_prereq=2 >+ for prerequisite in "$@" >+ case "$prerequisite" in >+ negative_prereq= >+ total_prereq=3 >+ case "$satisfied_prereq" in >+ satisfied_this_prereq= >+ case "$satisfied_this_prereq,$negative_prereq" in >+ prerequisite=qemu-img >+ test -z '' >+ missing_prereq=qemu-img >+ test 3 = 2 >+ to_skip=t >+ case "$to_skip" in >+ of_prereq= >+ test qemu-img '!=' dd,diff,qemu-img >+ of_prereq=' of dd,diff,qemu-img' >+ say_color skip 'skipping test: qemu' ' > setup_test_images && > run_genimage qemu.config test.qcow && > qemu-img check images/test.qcow && > zcat '\''/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/qemu.qcow.gz'\'' > qemu.qcow && > qemu-img compare images/test.qcow qemu.qcow >' >+ test -z skip >+ shift >+ printf '%s\n' 'skipping test: qemu > setup_test_images && > run_genimage qemu.config test.qcow && > qemu-img check images/test.qcow && > zcat '\''/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/qemu.qcow.gz'\'' > qemu.qcow && > qemu-img compare images/test.qcow qemu.qcow >' >+ say_color skip 'ok 1 # skip qemu (missing qemu-img of dd,diff,qemu-img)' >+ test -z skip >+ shift >+ printf '%s\n' 'ok 1 # skip qemu (missing qemu-img of dd,diff,qemu-img)' >+ : true >+ echo '' >+ exec_test_set_prereq mkimage >+ command -v mkimage >+ exec_test_set_prereq dtc >+ command -v dtc >+ test_expect_success mkimage,dtc fit ' > setup_fit_its && > run_genimage fit.config test.fit >' >+ test 3 = 3 >+ test_prereq=mkimage,dtc >+ shift >+ test 2 = 2 >+ export test_prereq >+ test_skip_ fit ' > setup_fit_its && > run_genimage fit.config test.fit >' >+ test_count=2 >+ to_skip= >+ test -z '' >+ test -n mkimage,dtc >+ test_have_prereq mkimage,dtc >+ save_IFS=' >' >+ IFS=, >+ set -- mkimage dtc >+ IFS=' >' >+ total_prereq=0 >+ ok_prereq=0 >+ missing_prereq= >+ for prerequisite in "$@" >+ case "$prerequisite" in >+ negative_prereq= >+ total_prereq=1 >+ case "$satisfied_prereq" in >+ satisfied_this_prereq= >+ case "$satisfied_this_prereq,$negative_prereq" in >+ prerequisite=mkimage >+ test -z '' >+ missing_prereq=mkimage >+ for prerequisite in "$@" >+ case "$prerequisite" in >+ negative_prereq= >+ total_prereq=2 >+ case "$satisfied_prereq" in >+ satisfied_this_prereq= >+ case "$satisfied_this_prereq,$negative_prereq" in >+ prerequisite=dtc >+ test -z mkimage >+ missing_prereq=dtc,mkimage >+ test 2 = 0 >+ to_skip=t >+ case "$to_skip" in >+ of_prereq= >+ test dtc,mkimage '!=' mkimage,dtc >+ of_prereq=' of mkimage,dtc' >+ say_color skip 'skipping test: fit' ' > setup_fit_its && > run_genimage fit.config test.fit >' >+ test -z skip >+ shift >+ printf '%s\n' 'skipping test: fit > setup_fit_its && > run_genimage fit.config test.fit >' >+ say_color skip 'ok 2 # skip fit (missing dtc,mkimage of mkimage,dtc)' >+ test -z skip >+ shift >+ printf '%s\n' 'ok 2 # skip fit (missing dtc,mkimage of mkimage,dtc)' >+ : true >+ echo '' >+ exec_test_set_prereq rauc >+ command -v rauc >+ test_expect_success rauc rauc ' > setup_rauc && > run_genimage rauc.config test.raucb && > rauc info --keyring input/rauc-openssl-ca/ca.cert.pem --cert input/rauc-openssl-ca/ca.cert.pem images/test.raucb | grep -v cms_get_enveloped_type | sed -e '\''s;O = Test Org, CN = ;/O=Test Org/CN=;'\'' -e '\''/Bundle Format:[ \t]*plain$/d'\'' > test.raucb.info && > if ! grep -r '\''Filename:'\'' test.raucb.info; then > test_cmp '\''/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/test.raucb.info'\'' test.raucb.info > else > test_cmp '\''/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/test.raucb.info.new'\'' test.raucb.info > fi > rauc info --keyring input/rauc-openssl-ca/ca.cert.pem --cert input/rauc-openssl-ca/ca.cert.pem images/test2.raucb | grep -v cms_get_enveloped_type | sed -e '\''s;O = Test Org, CN = ;/O=Test Org/CN=;'\'' -e '\''/Bundle Format:[ \t]*plain$/d'\'' > test2.raucb.info && > if ! grep -r '\''Filename:'\'' test2.raucb.info; then > test_cmp '\''/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/test2.raucb.info'\'' test2.raucb.info > else > test_cmp '\''/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/test2.raucb.info.new'\'' test2.raucb.info > fi >' >+ test 3 = 3 >+ test_prereq=rauc >+ shift >+ test 2 = 2 >+ export test_prereq >+ test_skip_ rauc ' > setup_rauc && > run_genimage rauc.config test.raucb && > rauc info --keyring input/rauc-openssl-ca/ca.cert.pem --cert input/rauc-openssl-ca/ca.cert.pem images/test.raucb | grep -v cms_get_enveloped_type | sed -e '\''s;O = Test Org, CN = ;/O=Test Org/CN=;'\'' -e '\''/Bundle Format:[ \t]*plain$/d'\'' > test.raucb.info && > if ! grep -r '\''Filename:'\'' test.raucb.info; then > test_cmp '\''/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/test.raucb.info'\'' test.raucb.info > else > test_cmp '\''/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/test.raucb.info.new'\'' test.raucb.info > fi > rauc info --keyring input/rauc-openssl-ca/ca.cert.pem --cert input/rauc-openssl-ca/ca.cert.pem images/test2.raucb | grep -v cms_get_enveloped_type | sed -e '\''s;O = Test Org, CN = ;/O=Test Org/CN=;'\'' -e '\''/Bundle Format:[ \t]*plain$/d'\'' > test2.raucb.info && > if ! grep -r '\''Filename:'\'' test2.raucb.info; then > test_cmp '\''/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/test2.raucb.info'\'' test2.raucb.info > else > test_cmp '\''/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/test2.raucb.info.new'\'' test2.raucb.info > fi >' >+ test_count=3 >+ to_skip= >+ test -z '' >+ test -n rauc >+ test_have_prereq rauc >+ save_IFS=' >' >+ IFS=, >+ set -- rauc >+ IFS=' >' >+ total_prereq=0 >+ ok_prereq=0 >+ missing_prereq= >+ for prerequisite in "$@" >+ case "$prerequisite" in >+ negative_prereq= >+ total_prereq=1 >+ case "$satisfied_prereq" in >+ satisfied_this_prereq= >+ case "$satisfied_this_prereq,$negative_prereq" in >+ prerequisite=rauc >+ test -z '' >+ missing_prereq=rauc >+ test 1 = 0 >+ to_skip=t >+ case "$to_skip" in >+ of_prereq= >+ test rauc '!=' rauc >+ say_color skip 'skipping test: rauc' ' > setup_rauc && > run_genimage rauc.config test.raucb && > rauc info --keyring input/rauc-openssl-ca/ca.cert.pem --cert input/rauc-openssl-ca/ca.cert.pem images/test.raucb | grep -v cms_get_enveloped_type | sed -e '\''s;O = Test Org, CN = ;/O=Test Org/CN=;'\'' -e '\''/Bundle Format:[ \t]*plain$/d'\'' > test.raucb.info && > if ! grep -r '\''Filename:'\'' test.raucb.info; then > test_cmp '\''/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/test.raucb.info'\'' test.raucb.info > else > test_cmp '\''/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/test.raucb.info.new'\'' test.raucb.info > fi > rauc info --keyring input/rauc-openssl-ca/ca.cert.pem --cert input/rauc-openssl-ca/ca.cert.pem images/test2.raucb | grep -v cms_get_enveloped_type | sed -e '\''s;O = Test Org, CN = ;/O=Test Org/CN=;'\'' -e '\''/Bundle Format:[ \t]*plain$/d'\'' > test2.raucb.info && > if ! grep -r '\''Filename:'\'' test2.raucb.info; then > test_cmp '\''/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/test2.raucb.info'\'' test2.raucb.info > else > test_cmp '\''/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/test2.raucb.info.new'\'' test2.raucb.info > fi >' >+ test -z skip >+ shift >+ printf '%s\n' 'skipping test: rauc > setup_rauc && > run_genimage rauc.config test.raucb && > rauc info --keyring input/rauc-openssl-ca/ca.cert.pem --cert input/rauc-openssl-ca/ca.cert.pem images/test.raucb | grep -v cms_get_enveloped_type | sed -e '\''s;O = Test Org, CN = ;/O=Test Org/CN=;'\'' -e '\''/Bundle Format:[ \t]*plain$/d'\'' > test.raucb.info && > if ! grep -r '\''Filename:'\'' test.raucb.info; then > test_cmp '\''/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/test.raucb.info'\'' test.raucb.info > else > test_cmp '\''/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/test.raucb.info.new'\'' test.raucb.info > fi > rauc info --keyring input/rauc-openssl-ca/ca.cert.pem --cert input/rauc-openssl-ca/ca.cert.pem images/test2.raucb | grep -v cms_get_enveloped_type | sed -e '\''s;O = Test Org, CN = ;/O=Test Org/CN=;'\'' -e '\''/Bundle Format:[ \t]*plain$/d'\'' > test2.raucb.info && > if ! grep -r '\''Filename:'\'' test2.raucb.info; then > test_cmp '\''/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/test2.raucb.info'\'' test2.raucb.info > else > test_cmp '\''/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/test2.raucb.info.new'\'' test2.raucb.info > fi >' >+ say_color skip 'ok 3 # skip rauc (missing rauc)' >+ test -z skip >+ shift >+ printf '%s\n' 'ok 3 # skip rauc (missing rauc)' >+ : true >+ echo '' >+ exec_test_set_prereq simg2img >+ command -v simg2img >+ test_expect_success simg2img android-sparse ' > setup_test_images && > for i in `seq 16`; do > dd if=/dev/urandom of=input/interleaved conv=notrunc seek=$[i*i] count=$[i] bs=$[i*i*512] || break > done && > run_genimage sparse.config && > md5sum images/test.hdimage input/interleaved > md5sum && > rm images/test.hdimage input/interleaved && > check_size_range images/interleaved.sparse 9732464 9732608 && > simg2img images/test.sparse images/test.hdimage && > simg2img images/interleaved.sparse input/interleaved && > md5sum -c md5sum >' >+ test 3 = 3 >+ test_prereq=simg2img >+ shift >+ test 2 = 2 >+ export test_prereq >+ test_skip_ android-sparse ' > setup_test_images && > for i in `seq 16`; do > dd if=/dev/urandom of=input/interleaved conv=notrunc seek=$[i*i] count=$[i] bs=$[i*i*512] || break > done && > run_genimage sparse.config && > md5sum images/test.hdimage input/interleaved > md5sum && > rm images/test.hdimage input/interleaved && > check_size_range images/interleaved.sparse 9732464 9732608 && > simg2img images/test.sparse images/test.hdimage && > simg2img images/interleaved.sparse input/interleaved && > md5sum -c md5sum >' >+ test_count=4 >+ to_skip= >+ test -z '' >+ test -n simg2img >+ test_have_prereq simg2img >+ save_IFS=' >' >+ IFS=, >+ set -- simg2img >+ IFS=' >' >+ total_prereq=0 >+ ok_prereq=0 >+ missing_prereq= >+ for prerequisite in "$@" >+ case "$prerequisite" in >+ negative_prereq= >+ total_prereq=1 >+ case "$satisfied_prereq" in >+ satisfied_this_prereq= >+ case "$satisfied_this_prereq,$negative_prereq" in >+ prerequisite=simg2img >+ test -z '' >+ missing_prereq=simg2img >+ test 1 = 0 >+ to_skip=t >+ case "$to_skip" in >+ of_prereq= >+ test simg2img '!=' simg2img >+ say_color skip 'skipping test: android-sparse' ' > setup_test_images && > for i in `seq 16`; do > dd if=/dev/urandom of=input/interleaved conv=notrunc seek=$[i*i] count=$[i] bs=$[i*i*512] || break > done && > run_genimage sparse.config && > md5sum images/test.hdimage input/interleaved > md5sum && > rm images/test.hdimage input/interleaved && > check_size_range images/interleaved.sparse 9732464 9732608 && > simg2img images/test.sparse images/test.hdimage && > simg2img images/interleaved.sparse input/interleaved && > md5sum -c md5sum >' >+ test -z skip >+ shift >+ printf '%s\n' 'skipping test: android-sparse > setup_test_images && > for i in `seq 16`; do > dd if=/dev/urandom of=input/interleaved conv=notrunc seek=$[i*i] count=$[i] bs=$[i*i*512] || break > done && > run_genimage sparse.config && > md5sum images/test.hdimage input/interleaved > md5sum && > rm images/test.hdimage input/interleaved && > check_size_range images/interleaved.sparse 9732464 9732608 && > simg2img images/test.sparse images/test.hdimage && > simg2img images/interleaved.sparse input/interleaved && > md5sum -c md5sum >' >+ say_color skip 'ok 4 # skip android-sparse (missing simg2img)' >+ test -z skip >+ shift >+ printf '%s\n' 'ok 4 # skip android-sparse (missing simg2img)' >+ : true >+ echo '' >+ exec_test_set_prereq fiptool >+ command -v fiptool >+ test_expect_success fiptool fip ' > setup_test_images && > run_genimage fip.config test.fip && > check_size_range images/test.fip 12804 13056 && > fiptool info images/test.fip >' >+ test 3 = 3 >+ test_prereq=fiptool >+ shift >+ test 2 = 2 >+ export test_prereq >+ test_skip_ fip ' > setup_test_images && > run_genimage fip.config test.fip && > check_size_range images/test.fip 12804 13056 && > fiptool info images/test.fip >' >+ test_count=5 >+ to_skip= >+ test -z '' >+ test -n fiptool >+ test_have_prereq fiptool >+ save_IFS=' >' >+ IFS=, >+ set -- fiptool >+ IFS=' >' >+ total_prereq=0 >+ ok_prereq=0 >+ missing_prereq= >+ for prerequisite in "$@" >+ case "$prerequisite" in >+ negative_prereq= >+ total_prereq=1 >+ case "$satisfied_prereq" in >+ satisfied_this_prereq= >+ case "$satisfied_this_prereq,$negative_prereq" in >+ prerequisite=fiptool >+ test -z '' >+ missing_prereq=fiptool >+ test 1 = 0 >+ to_skip=t >+ case "$to_skip" in >+ of_prereq= >+ test fiptool '!=' fiptool >+ say_color skip 'skipping test: fip' ' > setup_test_images && > run_genimage fip.config test.fip && > check_size_range images/test.fip 12804 13056 && > fiptool info images/test.fip >' >+ test -z skip >+ shift >+ printf '%s\n' 'skipping test: fip > setup_test_images && > run_genimage fip.config test.fip && > check_size_range images/test.fip 12804 13056 && > fiptool info images/test.fip >' >+ say_color skip 'ok 5 # skip fip (missing fiptool)' >+ test -z skip >+ shift >+ printf '%s\n' 'ok 5 # skip fip (missing fiptool)' >+ : true >+ echo '' >+ test_done >+ EXIT_OK=t >+ test -z '' >+ test_results_dir=/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test-results >+ mkdir -p /var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test-results >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >skipping test: qemu > setup_test_images && > run_genimage qemu.config test.qcow && > qemu-img check images/test.qcow && > zcat '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/qemu.qcow.gz' > qemu.qcow && > qemu-img compare images/test.qcow qemu.qcow > >ok 1 # skip qemu (missing qemu-img of dd,diff,qemu-img) >SKIP: test/misc.test 1 # SKIP qemu (missing qemu-img of dd,diff,qemu-img) > >skipping test: fit > setup_fit_its && > run_genimage fit.config test.fit > >ok 2 # skip fit (missing dtc,mkimage of mkimage,dtc) >SKIP: test/misc.test 2 # SKIP fit (missing dtc,mkimage of mkimage,dtc) > >skipping test: rauc > setup_rauc && > run_genimage rauc.config test.raucb && > rauc info --keyring input/rauc-openssl-ca/ca.cert.pem --cert input/rauc-openssl-ca/ca.cert.pem images/test.raucb | grep -v cms_get_enveloped_type | sed -e 's;O = Test Org, CN = ;/O=Test Org/CN=;' -e '/Bundle Format:[ \t]*plain$/d' > test.raucb.info && > if ! grep -r 'Filename:' test.raucb.info; then > test_cmp '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/test.raucb.info' test.raucb.info > else > test_cmp '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/test.raucb.info.new' test.raucb.info > fi > rauc info --keyring input/rauc-openssl-ca/ca.cert.pem --cert input/rauc-openssl-ca/ca.cert.pem images/test2.raucb | grep -v cms_get_enveloped_type | sed -e 's;O = Test Org, CN = ;/O=Test Org/CN=;' -e '/Bundle Format:[ \t]*plain$/d' > test2.raucb.info && > if ! grep -r 'Filename:' test2.raucb.info; then > test_cmp '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/test2.raucb.info' test2.raucb.info > else > test_cmp '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test/test2.raucb.info.new' test2.raucb.info > fi > >ok 3 # skip rauc (missing rauc) >SKIP: test/misc.test 3 # SKIP rauc (missing rauc) > >skipping test: android-sparse > setup_test_images && > for i in `seq 16`; do > dd if=/dev/urandom of=input/interleaved conv=notrunc seek=$[i*i] count=$[i] bs=$[i*i*512] || break > done && > run_genimage sparse.config && > md5sum images/test.hdimage input/interleaved > md5sum && > rm images/test.hdimage input/interleaved && > check_size_range images/interleaved.sparse 9732464 9732608 && > simg2img images/test.sparse images/test.hdimage && > simg2img images/interleaved.sparse input/interleaved && > md5sum -c md5sum > >ok 4 # skip android-sparse (missing simg2img) >SKIP: test/misc.test 4 # SKIP android-sparse (missing simg2img) > >skipping test: fip > setup_test_images && > run_genimage fip.config test.fip && > check_size_range images/test.fip 12804 13056 && > fiptool info images/test.fip > >ok 5 # skip fip (missing fiptool) >SKIP: test/misc.test 5 # SKIP fip (missing fiptool) >+ test_results_path=/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/test-results/misc.test.212.counts >+ cat >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >+ test 0 '!=' 0 >+ test 0 '!=' 0 >+ test 0 '!=' 0 >+ test 0 '!=' 0 >+ test_remaining=5 >+ msg='5 test(s)' >+ case "$test_failure" in >+ test -n '' >+ '[' -z '' ']' >+ test 5 -gt 0 >+ say_color pass '# passed all 5 test(s)' >+ test -z pass >+ shift >+ printf '%s\n' '# passed all 5 test(s)' >+ say 1..5 >+ say_color info 1..5 >+ test -z info > >+ shift >+ printf '%s\n' 1..5 >+ test_eval_ '' ># passed all 5 test(s) >+ case ",$test_prereq," in >+ eval '' >+ test -d '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.misc.test' >++ dirname '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.misc.test' >+ cd /var/tmp/portage/sys-fs/genimage-16/work/genimage-16 >++ basename '/var/tmp/portage/sys-fs/genimage-16/work/genimage-16/trash directory.misc.test' >+ rm -rf 'trash directory.misc.test' >dlsym(acl_get_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_fd >dlsym(acl_get_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_get_file >dlsym(acl_set_fd): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_fd >dlsym(acl_set_file): /usr/lib64/libfakeroot.so: undefined symbol: acl_set_file >+ exit 0 >+ die >+ code=0 >+ test -n t >+ exit 0 >1..5 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 890989
:
848613
| 848615