On Tue, Jan 29, 2013 at 09:26:30PM +0100, Martin Jansa wrote: > On Tue, Jan 29, 2013 at 03:49:00PM +0100, Martin Jansa wrote: > > When building bigger world-image I always get this error from > > populate_lic. There is debug output to show what > > copytree/Popen/execute_child > > was calling and it looks OK to me. >
Strace from both tar calls look good to me: copytree cmd 'strace tar -cf - -C /home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/work/qemuarm-oe-linux-gnueabi/world-image/1.0-r0/license-destdir -ps . 2>~/strace.tar1.log | tar -xf - -C /home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/deploy/licenses 2> ~/strace.tar2.log' strace from 1st tar: execve("/bin/tar", ["tar", "-cf", "-", "-C", "/home/jenkins/oe/shr-core-branch"..., "-ps", "."], [/* 83 vars */]) = 0 brk(0) = 0xe74000 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8010188000 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) open("/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/bin/../lib/pseudo/lib/tls/x86_64/librt.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) stat("/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/bin/../lib/pseudo/lib/tls/x86_64", 0x7fff1a9c4180) = -1 ENOENT (No such file or directory) open("/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/bin/../lib/pseudo/lib/tls/librt.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) stat("/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/bin/../lib/pseudo/lib/tls", 0x7fff1a9c4180) = -1 ENOENT (No such file or directory) open("/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/bin/../lib/pseudo/lib/x86_64/librt.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) stat("/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/bin/../lib/pseudo/lib/x86_64", 0x7fff1a9c4180) = -1 ENOENT (No such file or directory) open("/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/bin/../lib/pseudo/lib/librt.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) stat("/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/bin/../lib/pseudo/lib", 0x7fff1a9c4180) = -1 ENOENT (No such file or directory) open("/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/bin/../lib/pseudo/lib64/tls/x86_64/librt.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) stat("/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/bin/../lib/pseudo/lib64/tls/x86_64", 0x7fff1a9c4180) = -1 ENOENT (No such file or directory) open("/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/bin/../lib/pseudo/lib64/tls/librt.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) stat("/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/bin/../lib/pseudo/lib64/tls", 0x7fff1a9c4180) = -1 ENOENT (No such file or directory) open("/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/bin/../lib/pseudo/lib64/x86_64/librt.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) stat("/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/bin/../lib/pseudo/lib64/x86_64", 0x7fff1a9c4180) = -1 ENOENT (No such file or directory) open("/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/bin/../lib/pseudo/lib64/librt.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) stat("/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/bin/../lib/pseudo/lib64", {st_mode=S_IFDIR|0755, st_size=60, ...}) = 0 open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 10 fstat(10, {st_mode=S_IFREG|0644, st_size=41689, ...}) = 0 mmap(NULL, 41689, PROT_READ, MAP_PRIVATE, 10, 0) = 0x7f801017d000 close(10) = 0 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) open("/lib/x86_64-linux-gnu/librt.so.1", O_RDONLY|O_CLOEXEC) = 10 read(10, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\340!\0\0\0\0\0\0"..., 832) = 832 fstat(10, {st_mode=S_IFREG|0644, st_size=31752, ...}) = 0 mmap(NULL, 2128984, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 10, 0) = 0x7f800fd60000 mprotect(0x7f800fd67000, 2093056, PROT_NONE) = 0 mmap(0x7f800ff66000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 10, 0x6000) = 0x7f800ff66000 close(10) = 0 open("/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/bin/../lib/pseudo/lib64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) open("/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 10 read(10, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\200\30\2\0\0\0\0\0"..., 832) = 832 fstat(10, {st_mode=S_IFREG|0755, st_size=1802936, ...}) = 0 mmap(NULL, 3917016, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 10, 0) = 0x7f800f9a3000 mprotect(0x7f800fb56000, 2093056, PROT_NONE) = 0 mmap(0x7f800fd55000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 10, 0x1b2000) = 0x7f800fd55000 mmap(0x7f800fd5b000, 17624, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f800fd5b000 close(10) = 0 open("/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/bin/../lib/pseudo/lib64/libpthread.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) open("/lib/x86_64-linux-gnu/libpthread.so.0", O_RDONLY|O_CLOEXEC) = 10 read(10, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\200l\0\0\0\0\0\0"..., 832) = 832 fstat(10, {st_mode=S_IFREG|0755, st_size=135366, ...}) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f801017c000 mmap(NULL, 2212904, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 10, 0) = 0x7f800f786000 mprotect(0x7f800f79e000, 2093056, PROT_NONE) = 0 mmap(0x7f800f99d000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 10, 0x17000) = 0x7f800f99d000 mmap(0x7f800f99f000, 13352, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f800f99f000 close(10) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f801017b000 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f801017a000 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8010179000 arch_prctl(ARCH_SET_FS, 0x7f801017a700) = 0 mprotect(0x7f800fd55000, 16384, PROT_READ) = 0 mprotect(0x7f800f99d000, 4096, PROT_READ) = 0 mprotect(0x7f800ff66000, 4096, PROT_READ) = 0 mprotect(0x647000, 4096, PROT_READ) = 0 mprotect(0x7f801018a000, 4096, PROT_READ) = 0 munmap(0x7f801017d000, 41689) = 0 set_tid_address(0x7f801017a9d0) = 5075 set_robust_list(0x7f801017a9e0, 0x18) = 0 futex(0x7fff1a9c4a7c, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 1, NULL, 7f801017a700) = -1 EAGAIN (Resource temporarily unavailable) rt_sigaction(SIGRTMIN, {0x7f800f78c750, [], SA_RESTORER|SA_SIGINFO, 0x7f800f795cb0}, NULL, 8) = 0 rt_sigaction(SIGRT_1, {0x7f800f78c7e0, [], SA_RESTORER|SA_RESTART|SA_SIGINFO, 0x7f800f795cb0}, NULL, 8) = 0 rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 getrlimit(RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=RLIM_INFINITY}) = 0 brk(0) = 0xe74000 brk(0xe95000) = 0xe95000 fcntl(0, F_GETFD) = 0 fcntl(1, F_GETFD) = 0 fcntl(2, F_GETFD) = 0 rt_sigaction(SIGCHLD, {SIG_DFL, [CHLD], SA_RESTORER|SA_RESTART, 0x7f800f9d94c0}, {SIG_DFL, [], 0}, 8) = 0 fstat(1, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0 chdir("/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/meta-ide-support/1.0-r3/sysroot-destdir") = 0 newfstatat(AT_FDCWD, ".", {st_mode=S_IFDIR|0755, st_size=40, ...}, AT_SYMLINK_NOFOLLOW) = 0 openat(AT_FDCWD, ".", O_RDONLY|O_NOCTTY|O_NONBLOCK|O_NOFOLLOW|O_CLOEXEC) = 10 fstat(10, {st_mode=S_IFDIR|0755, st_size=40, ...}) = 0 fstat(10, {st_mode=S_IFDIR|0755, st_size=40, ...}) = 0 fcntl(10, F_GETFL) = 0xa8800 (flags O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_NOFOLLOW|O_CLOEXEC) getdents(10, /* 2 entries */, 32768) = 48 getdents(10, /* 0 entries */, 32768) = 0 socket(PF_FILE, SOCK_STREAM|SOCK_CLOEXEC|SOCK_NONBLOCK, 0) = 11 connect(11, {sa_family=AF_FILE, path="/var/run/nscd/socket"}, 110) = -1 ENOENT (No such file or directory) close(11) = 0 socket(PF_FILE, SOCK_STREAM|SOCK_CLOEXEC|SOCK_NONBLOCK, 0) = 11 connect(11, {sa_family=AF_FILE, path="/var/run/nscd/socket"}, 110) = -1 ENOENT (No such file or directory) close(11) = 0 open("/etc/nsswitch.conf", O_RDONLY|O_CLOEXEC) = 11 fstat(11, {st_mode=S_IFREG|0644, st_size=475, ...}) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8010187000 read(11, "# /etc/nsswitch.conf\n#\n# Example"..., 4096) = 475 read(11, "", 4096) = 0 close(11) = 0 munmap(0x7f8010187000, 4096) = 0 open("/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/bin/../lib/pseudo/lib64/libnss_compat.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 11 fstat(11, {st_mode=S_IFREG|0644, st_size=41689, ...}) = 0 mmap(NULL, 41689, PROT_READ, MAP_PRIVATE, 11, 0) = 0x7f801017d000 close(11) = 0 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) open("/lib/x86_64-linux-gnu/libnss_compat.so.2", O_RDONLY|O_CLOEXEC) = 11 read(11, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0`\22\0\0\0\0\0\0"..., 832) = 832 fstat(11, {st_mode=S_IFREG|0644, st_size=35680, ...}) = 0 mmap(NULL, 2131240, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 11, 0) = 0x7f800f57d000 mprotect(0x7f800f585000, 2093056, PROT_NONE) = 0 mmap(0x7f800f784000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 11, 0x7000) = 0x7f800f784000 close(11) = 0 open("/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/bin/../lib/pseudo/lib64/libnsl.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) open("/lib/x86_64-linux-gnu/libnsl.so.1", O_RDONLY|O_CLOEXEC) = 11 read(11, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0`@\0\0\0\0\0\0"..., 832) = 832 fstat(11, {st_mode=S_IFREG|0644, st_size=97248, ...}) = 0 mmap(NULL, 2202328, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 11, 0) = 0x7f800f363000 mprotect(0x7f800f37a000, 2093056, PROT_NONE) = 0 mmap(0x7f800f579000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 11, 0x16000) = 0x7f800f579000 mmap(0x7f800f57b000, 6872, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f800f57b000 close(11) = 0 mprotect(0x7f800f579000, 4096, PROT_READ) = 0 mprotect(0x7f800f784000, 4096, PROT_READ) = 0 munmap(0x7f801017d000, 41689) = 0 open("/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/bin/../lib/pseudo/lib64/libnss_nis.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 11 fstat(11, {st_mode=S_IFREG|0644, st_size=41689, ...}) = 0 mmap(NULL, 41689, PROT_READ, MAP_PRIVATE, 11, 0) = 0x7f801017d000 close(11) = 0 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) open("/lib/x86_64-linux-gnu/libnss_nis.so.2", O_RDONLY|O_CLOEXEC) = 11 read(11, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\260 \0\0\0\0\0\0"..., 832) = 832 fstat(11, {st_mode=S_IFREG|0644, st_size=47680, ...}) = 0 mmap(NULL, 2143552, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 11, 0) = 0x7f800f157000 mprotect(0x7f800f161000, 2097152, PROT_NONE) = 0 mmap(0x7f800f361000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 11, 0xa000) = 0x7f800f361000 close(11) = 0 open("/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/bin/../lib/pseudo/lib64/libnss_files.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) open("/lib/x86_64-linux-gnu/libnss_files.so.2", O_RDONLY|O_CLOEXEC) = 11 read(11, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0@!\0\0\0\0\0\0"..., 832) = 832 fstat(11, {st_mode=S_IFREG|0644, st_size=52120, ...}) = 0 mmap(NULL, 2148472, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 11, 0) = 0x7f800ef4a000 mprotect(0x7f800ef56000, 2093056, PROT_NONE) = 0 mmap(0x7f800f155000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 11, 0xb000) = 0x7f800f155000 close(11) = 0 mprotect(0x7f800f155000, 4096, PROT_READ) = 0 mprotect(0x7f800f361000, 4096, PROT_READ) = 0 munmap(0x7f801017d000, 41689) = 0 open("/etc/passwd", O_RDONLY|O_CLOEXEC) = 11 lseek(11, 0, SEEK_CUR) = 0 fstat(11, {st_mode=S_IFREG|0644, st_size=1972, ...}) = 0 mmap(NULL, 1972, PROT_READ, MAP_SHARED, 11, 0) = 0x7f8010187000 lseek(11, 1972, SEEK_SET) = 1972 munmap(0x7f8010187000, 1972) = 0 close(11) = 0 socket(PF_FILE, SOCK_STREAM|SOCK_CLOEXEC|SOCK_NONBLOCK, 0) = 11 connect(11, {sa_family=AF_FILE, path="/var/run/nscd/socket"}, 110) = -1 ENOENT (No such file or directory) close(11) = 0 socket(PF_FILE, SOCK_STREAM|SOCK_CLOEXEC|SOCK_NONBLOCK, 0) = 11 connect(11, {sa_family=AF_FILE, path="/var/run/nscd/socket"}, 110) = -1 ENOENT (No such file or directory) close(11) = 0 open("/etc/group", O_RDONLY|O_CLOEXEC) = 11 lseek(11, 0, SEEK_CUR) = 0 fstat(11, {st_mode=S_IFREG|0644, st_size=817, ...}) = 0 mmap(NULL, 817, PROT_READ, MAP_SHARED, 11, 0) = 0x7f8010187000 lseek(11, 817, SEEK_SET) = 817 munmap(0x7f8010187000, 817) = 0 close(11) = 0 fstat(10, {st_mode=S_IFDIR|0755, st_size=40, ...}) = 0 close(10) = 0 write(1, "./\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 10240) = 10240 close(1) = 0 close(2) = 0 exit_group(0) = ? strace from 2nd tar: execve("/bin/tar", ["tar", "-xf", "-", "-C", "/home/jenkins/oe/shr-core-branch"...], [/* 83 vars */]) = 0 brk(0) = 0x1525000 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f24d946c000 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) open("/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/bin/../lib/pseudo/lib/tls/x86_64/librt.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) stat("/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/bin/../lib/pseudo/lib/tls/x86_64", 0x7fffd3e27ac0) = -1 ENOENT (No such file or directory) open("/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/bin/../lib/pseudo/lib/tls/librt.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) stat("/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/bin/../lib/pseudo/lib/tls", 0x7fffd3e27ac0) = -1 ENOENT (No such file or directory) open("/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/bin/../lib/pseudo/lib/x86_64/librt.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) stat("/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/bin/../lib/pseudo/lib/x86_64", 0x7fffd3e27ac0) = -1 ENOENT (No such file or directory) open("/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/bin/../lib/pseudo/lib/librt.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) stat("/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/bin/../lib/pseudo/lib", 0x7fffd3e27ac0) = -1 ENOENT (No such file or directory) open("/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/bin/../lib/pseudo/lib64/tls/x86_64/librt.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) stat("/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/bin/../lib/pseudo/lib64/tls/x86_64", 0x7fffd3e27ac0) = -1 ENOENT (No such file or directory) open("/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/bin/../lib/pseudo/lib64/tls/librt.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) stat("/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/bin/../lib/pseudo/lib64/tls", 0x7fffd3e27ac0) = -1 ENOENT (No such file or directory) open("/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/bin/../lib/pseudo/lib64/x86_64/librt.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) stat("/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/bin/../lib/pseudo/lib64/x86_64", 0x7fffd3e27ac0) = -1 ENOENT (No such file or directory) open("/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/bin/../lib/pseudo/lib64/librt.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) stat("/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/bin/../lib/pseudo/lib64", {st_mode=S_IFDIR|0755, st_size=60, ...}) = 0 open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 10 fstat(10, {st_mode=S_IFREG|0644, st_size=41689, ...}) = 0 mmap(NULL, 41689, PROT_READ, MAP_PRIVATE, 10, 0) = 0x7f24d9461000 close(10) = 0 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) open("/lib/x86_64-linux-gnu/librt.so.1", O_RDONLY|O_CLOEXEC) = 10 read(10, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\340!\0\0\0\0\0\0"..., 832) = 832 fstat(10, {st_mode=S_IFREG|0644, st_size=31752, ...}) = 0 mmap(NULL, 2128984, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 10, 0) = 0x7f24d9044000 mprotect(0x7f24d904b000, 2093056, PROT_NONE) = 0 mmap(0x7f24d924a000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 10, 0x6000) = 0x7f24d924a000 close(10) = 0 open("/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/bin/../lib/pseudo/lib64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) open("/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 10 read(10, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\200\30\2\0\0\0\0\0"..., 832) = 832 fstat(10, {st_mode=S_IFREG|0755, st_size=1802936, ...}) = 0 mmap(NULL, 3917016, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 10, 0) = 0x7f24d8c87000 mprotect(0x7f24d8e3a000, 2093056, PROT_NONE) = 0 mmap(0x7f24d9039000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 10, 0x1b2000) = 0x7f24d9039000 mmap(0x7f24d903f000, 17624, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f24d903f000 close(10) = 0 open("/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/bin/../lib/pseudo/lib64/libpthread.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) open("/lib/x86_64-linux-gnu/libpthread.so.0", O_RDONLY|O_CLOEXEC) = 10 read(10, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\200l\0\0\0\0\0\0"..., 832) = 832 fstat(10, {st_mode=S_IFREG|0755, st_size=135366, ...}) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f24d9460000 mmap(NULL, 2212904, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 10, 0) = 0x7f24d8a6a000 mprotect(0x7f24d8a82000, 2093056, PROT_NONE) = 0 mmap(0x7f24d8c81000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 10, 0x17000) = 0x7f24d8c81000 mmap(0x7f24d8c83000, 13352, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f24d8c83000 close(10) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f24d945f000 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f24d945e000 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f24d945d000 arch_prctl(ARCH_SET_FS, 0x7f24d945e700) = 0 mprotect(0x7f24d9039000, 16384, PROT_READ) = 0 mprotect(0x7f24d8c81000, 4096, PROT_READ) = 0 mprotect(0x7f24d924a000, 4096, PROT_READ) = 0 mprotect(0x647000, 4096, PROT_READ) = 0 mprotect(0x7f24d946e000, 4096, PROT_READ) = 0 munmap(0x7f24d9461000, 41689) = 0 set_tid_address(0x7f24d945e9d0) = 5076 set_robust_list(0x7f24d945e9e0, 0x18) = 0 futex(0x7fffd3e283bc, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 1, NULL, 7f24d945e700) = -1 EAGAIN (Resource temporarily unavailable) rt_sigaction(SIGRTMIN, {0x7f24d8a70750, [], SA_RESTORER|SA_SIGINFO, 0x7f24d8a79cb0}, NULL, 8) = 0 rt_sigaction(SIGRT_1, {0x7f24d8a707e0, [], SA_RESTORER|SA_RESTART|SA_SIGINFO, 0x7f24d8a79cb0}, NULL, 8) = 0 rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 getrlimit(RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=RLIM_INFINITY}) = 0 brk(0) = 0x1525000 brk(0x1546000) = 0x1546000 fcntl(0, F_GETFD) = 0 fcntl(1, F_GETFD) = 0 fcntl(2, F_GETFD) = 0 rt_sigaction(SIGCHLD, {SIG_DFL, [CHLD], SA_RESTORER|SA_RESTART, 0x7f24d8cbd4c0}, {SIG_DFL, [], 0}, 8) = 0 geteuid() = 3004 umask(0) = 022 umask(022) = 0 read(0, "./\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 10240) = 10240 fstat(0, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0 socket(PF_FILE, SOCK_STREAM|SOCK_CLOEXEC|SOCK_NONBLOCK, 0) = 10 connect(10, {sa_family=AF_FILE, path="/var/run/nscd/socket"}, 110) = -1 ENOENT (No such file or directory) close(10) = 0 socket(PF_FILE, SOCK_STREAM|SOCK_CLOEXEC|SOCK_NONBLOCK, 0) = 10 connect(10, {sa_family=AF_FILE, path="/var/run/nscd/socket"}, 110) = -1 ENOENT (No such file or directory) close(10) = 0 open("/etc/nsswitch.conf", O_RDONLY|O_CLOEXEC) = 10 fstat(10, {st_mode=S_IFREG|0644, st_size=475, ...}) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f24d946b000 read(10, "# /etc/nsswitch.conf\n#\n# Example"..., 4096) = 475 read(10, "", 4096) = 0 close(10) = 0 munmap(0x7f24d946b000, 4096) = 0 open("/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/bin/../lib/pseudo/lib64/libnss_compat.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 10 fstat(10, {st_mode=S_IFREG|0644, st_size=41689, ...}) = 0 mmap(NULL, 41689, PROT_READ, MAP_PRIVATE, 10, 0) = 0x7f24d9461000 close(10) = 0 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) open("/lib/x86_64-linux-gnu/libnss_compat.so.2", O_RDONLY|O_CLOEXEC) = 10 read(10, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0`\22\0\0\0\0\0\0"..., 832) = 832 fstat(10, {st_mode=S_IFREG|0644, st_size=35680, ...}) = 0 mmap(NULL, 2131240, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 10, 0) = 0x7f24d8861000 mprotect(0x7f24d8869000, 2093056, PROT_NONE) = 0 mmap(0x7f24d8a68000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 10, 0x7000) = 0x7f24d8a68000 close(10) = 0 open("/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/bin/../lib/pseudo/lib64/libnsl.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) open("/lib/x86_64-linux-gnu/libnsl.so.1", O_RDONLY|O_CLOEXEC) = 10 read(10, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0`@\0\0\0\0\0\0"..., 832) = 832 fstat(10, {st_mode=S_IFREG|0644, st_size=97248, ...}) = 0 mmap(NULL, 2202328, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 10, 0) = 0x7f24d8647000 mprotect(0x7f24d865e000, 2093056, PROT_NONE) = 0 mmap(0x7f24d885d000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 10, 0x16000) = 0x7f24d885d000 mmap(0x7f24d885f000, 6872, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f24d885f000 close(10) = 0 mprotect(0x7f24d885d000, 4096, PROT_READ) = 0 mprotect(0x7f24d8a68000, 4096, PROT_READ) = 0 munmap(0x7f24d9461000, 41689) = 0 open("/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/bin/../lib/pseudo/lib64/libnss_nis.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 10 fstat(10, {st_mode=S_IFREG|0644, st_size=41689, ...}) = 0 mmap(NULL, 41689, PROT_READ, MAP_PRIVATE, 10, 0) = 0x7f24d9461000 close(10) = 0 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) open("/lib/x86_64-linux-gnu/libnss_nis.so.2", O_RDONLY|O_CLOEXEC) = 10 read(10, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\260 \0\0\0\0\0\0"..., 832) = 832 fstat(10, {st_mode=S_IFREG|0644, st_size=47680, ...}) = 0 mmap(NULL, 2143552, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 10, 0) = 0x7f24d843b000 mprotect(0x7f24d8445000, 2097152, PROT_NONE) = 0 mmap(0x7f24d8645000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 10, 0xa000) = 0x7f24d8645000 close(10) = 0 open("/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/bin/../lib/pseudo/lib64/libnss_files.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) open("/lib/x86_64-linux-gnu/libnss_files.so.2", O_RDONLY|O_CLOEXEC) = 10 read(10, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0@!\0\0\0\0\0\0"..., 832) = 832 fstat(10, {st_mode=S_IFREG|0644, st_size=52120, ...}) = 0 mmap(NULL, 2148472, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 10, 0) = 0x7f24d822e000 mprotect(0x7f24d823a000, 2093056, PROT_NONE) = 0 mmap(0x7f24d8439000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 10, 0xb000) = 0x7f24d8439000 close(10) = 0 mprotect(0x7f24d8439000, 4096, PROT_READ) = 0 mprotect(0x7f24d8645000, 4096, PROT_READ) = 0 munmap(0x7f24d9461000, 41689) = 0 open("/etc/passwd", O_RDONLY|O_CLOEXEC) = 10 lseek(10, 0, SEEK_CUR) = 0 fstat(10, {st_mode=S_IFREG|0644, st_size=1972, ...}) = 0 mmap(NULL, 1972, PROT_READ, MAP_SHARED, 10, 0) = 0x7f24d946b000 lseek(10, 1972, SEEK_SET) = 1972 munmap(0x7f24d946b000, 1972) = 0 close(10) = 0 socket(PF_FILE, SOCK_STREAM|SOCK_CLOEXEC|SOCK_NONBLOCK, 0) = 10 connect(10, {sa_family=AF_FILE, path="/var/run/nscd/socket"}, 110) = -1 ENOENT (No such file or directory) close(10) = 0 socket(PF_FILE, SOCK_STREAM|SOCK_CLOEXEC|SOCK_NONBLOCK, 0) = 10 connect(10, {sa_family=AF_FILE, path="/var/run/nscd/socket"}, 110) = -1 ENOENT (No such file or directory) close(10) = 0 open("/etc/group", O_RDONLY|O_CLOEXEC) = 10 lseek(10, 0, SEEK_CUR) = 0 fstat(10, {st_mode=S_IFREG|0644, st_size=817, ...}) = 0 mmap(NULL, 817, PROT_READ, MAP_SHARED, 10, 0) = 0x7f24d946b000 lseek(10, 817, SEEK_SET) = 817 munmap(0x7f24d946b000, 817) = 0 close(10) = 0 openat(AT_FDCWD, "/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/meta-ide-support/1.0-r3/sstate-build-populate-sysroot/sysroot-destdir", O_RDONLY|O_NOCTTY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 10 mkdirat(10, ".", 0755) = -1 EEXIST (File exists) newfstatat(10, ".", {st_mode=S_IFDIR|0755, st_size=40, ...}, AT_SYMLINK_NOFOLLOW) = 0 newfstatat(10, ".", {st_mode=S_IFDIR|0755, st_size=40, ...}, AT_SYMLINK_NOFOLLOW) = 0 close(0) = 0 newfstatat(10, ".", {st_mode=S_IFDIR|0755, st_size=40, ...}, 0) = 0 newfstatat(10, ".", {st_mode=S_IFDIR|0755, st_size=40, ...}, 0) = 0 utimensat(10, ".", {{1359500812, 342476089}, {1359500811, 0}}, 0) = 0 close(1) = 0 close(2) = 0 exit_group(0) = ? > and here is strace from that shell, no idea where that close(4294967295) came > from > > Process 2553 attached - interrupt to quit > wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 2554 > --- SIGCHLD (Child exited) @ 0 (0) --- > rt_sigreturn(0x11) = 2554 > stat("/home/jenkins/oe/shr-core-branches/shr-core/openembedded-core/scripts/tar", > 0x7fffc9269bf0) = -1 ENOENT (No such file or directory) > stat("/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/bin/armv5te-oe-linux-gnueabi/tar", > 0x7fffc9269bf0) = -1 ENOENT (No such file or directory) > stat("/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/sysroots/qemuarm/usr/bin/crossscripts/tar", > 0x7fffc9269bf0) = -1 ENOENT (No such file or directory) > stat("/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/sbin/tar", > 0x7fffc9269bf0) = -1 ENOENT (No such file or directory) > stat("/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/bin/tar", > 0x7fffc9269bf0) = -1 ENOENT (No such file or directory) > stat("/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/sysroots/x86_64-linux/sbin/tar", > 0x7fffc9269bf0) = -1 ENOENT (No such file or directory) > stat("/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/sysroots/x86_64-linux//bin/tar", > 0x7fffc9269bf0) = -1 ENOENT (No such file or directory) > stat("/home/jenkins/oe/shr-core-branches/shr-core/openembedded-core/scripts/tar", > 0x7fffc9269bf0) = -1 ENOENT (No such file or directory) > stat("/home/jenkins/oe/shr-core-branches/shr-core/bitbake/bin/tar", > 0x7fffc9269bf0) = -1 ENOENT (No such file or directory) > stat("/usr/local/bin/tar", 0x7fffc9269bf0) = -1 ENOENT (No such file or > directory) > stat("/usr/bin/tar", 0x7fffc9269bf0) = -1 ENOENT (No such file or > directory) > stat("/bin/tar", {st_mode=S_IFREG|0755, st_size=307760, ...}) = 0 > pipe([10, 11]) = 0 > clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, > child_tidptr=0x7f46963919d0) = 3068 > close(11) = 0 > clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, > child_tidptr=0x7f46963919d0) = 3069 > close(10) = 0 > close(4294967295) = -1 EBADF (Bad file descriptor) > wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 3068 > --- SIGCHLD (Child exited) @ 0 (0) --- > rt_sigreturn(0x11) = 3068 > wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 3069 > --- SIGCHLD (Child exited) @ 0 (0) --- > rt_sigreturn(0x11) = 3069 > exit_group(0) = ? > Process 2553 detached > > > > > > Could it be caused by pseudo or something like that? do_populate_lic works > > fine in other recipes. > > > > Running the same cmdline in shell works fine and running it from small .py > > file also works fine: > > $ PYTHONPATH="openembedded-core/meta/lib/:bitbake/lib:bitbake/lib/bb" > > ./copytree.test.py > > copytree cmd 'tar -cf - -C > > /home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/work/qemuarm-oe-linux-gnueabi/world-image/1.0-r0/license-destdir > > -ps . | tar -xf - -C > > /home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/deploy/licenses' > > Calling Popen '('tar -cf - -C > > /home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/work/qemuarm-oe-linux-gnueabi/world-image/1.0-r0/license-destdir > > -ps . | tar -xf - -C > > /home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/deploy/licenses',)' > > '{'shell': True, 'stderr': -2}' > > execute_child(args, executable, preexec_fn, close_fds, > > cwd, env, universal_newlines, > > startupinfo, creationflags, shell, > > p2cread, p2cwrite, > > c2pread, c2pwrite, > > errread, errwrite) > > execute_child(tar -cf - -C > > /home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/work/qemuarm-oe-linux-gnueabi/world-image/1.0-r0/license-destdir > > -ps . | tar -xf - -C > > /home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/deploy/licenses, > > None, None, False, > > None, None, False, > > None, 0, > > True, > > None, None, > > 3, 4, > > None, 4) > > > > $ cat copytree.test.py > > #!/usr/bin/env python > > import bb > > import oe.path > > src='/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/work/qemuarm-oe-linux-gnueabi/world-image/1.0-r0/license-destdir' > > dst='/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/deploy/licenses' > > oe.path.copytree(src, dst) > > > > src has only few files, dst has a lot of directories: > > > > $ find > > /home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/work/qemuarm-oe-linux-gnueabi/world-image/1.0-r0/license-destdir > > /home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/work/qemuarm-oe-linux-gnueabi/world-image/1.0-r0/license-destdir > > /home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/work/qemuarm-oe-linux-gnueabi/world-image/1.0-r0/license-destdir/world-image > > /home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/work/qemuarm-oe-linux-gnueabi/world-image/1.0-r0/license-destdir/world-image/generic_MIT > > /home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/work/qemuarm-oe-linux-gnueabi/world-image/1.0-r0/license-destdir/world-image/COPYING.MIT > > /home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/work/qemuarm-oe-linux-gnueabi/world-image/1.0-r0/license-destdir/world-image/LICENSE > > > > $ ls /home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/deploy/licenses > > -1 | wc -l > > 1696 > > > > Complete error as shown in > > work/qemuarm-oe-linux-gnueabi/world-image/1.0-r0/temp/log.do_populate_lic: > > > > DEBUG: Executing python function sstate_task_prefunc > > DEBUG: Removing manifest: > > /home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/deploy/licenses/world-image/ > > DEBUG: Python function sstate_task_prefunc finished > > DEBUG: Executing python function do_populate_lic > > DEBUG: Python function do_populate_lic finished > > DEBUG: Executing python function sstate_task_postfunc > > DEBUG: Staging files from > > /home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/work/qemuarm-oe-linux-gnueabi/world-image/1.0-r0/license-destdir > > to /home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/deploy/licenses > > DEBUG: Staging files from > > /home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/work/qemuarm-oe-linux-gnueabi/world-image/1.0-r0/license-destdir > > to /home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/deploy/licenses > > copytree cmd 'tar -cf - -C > > /home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/work/qemuarm-oe-linux-gnueabi/world-image/1.0-r0/license-destdir > > -ps . | tar -xf - -C > > /home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/deploy/licenses' > > Calling Popen '('tar -cf - -C > > /home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/work/qemuarm-oe-linux-gnueabi/world-image/1.0-r0/license-destdir > > -ps . | tar -xf - -C > > /home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/deploy/licenses',)' > > '{'shell': True, 'stderr': -2}' > > execute_child(args, executable, preexec_fn, close_fds, > > cwd, env, universal_newlines, > > startupinfo, creationflags, shell, > > p2cread, p2cwrite, > > c2pread, c2pwrite, > > errread, errwrite) > > execute_child(tar -cf - -C > > /home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/work/qemuarm-oe-linux-gnueabi/world-image/1.0-r0/license-destdir > > -ps . | tar -xf - -C > > /home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/deploy/licenses, > > None, None, False, > > None, None, False, > > None, 0, > > True, > > None, None, > > 20, 21, > > None, 21) > > ERROR: Error executing a python function in > > /home/jenkins/oe/shr-core-branches/shr-core/openembedded-core/meta/recipes-core/images/world-image.bb: > > OSError: [Errno 7] Argument list too long > > > > ERROR: The stack trace of python calls that resulted in this > > exception/failure was: > > ERROR: File "sstate_task_postfunc", line 12, in <module> > > ERROR: > > ERROR: File "sstate_task_postfunc", line 4, in sstate_task_postfunc > > ERROR: > > ERROR: File "sstate.bbclass", line 76, in sstate_install > > ERROR: > > ERROR: File > > "/home/jenkins/oe/shr-core-branches/shr-core/openembedded-core/meta/lib/oe/path.py", > > line 85, in copytree > > ERROR: check_output(cmd, shell=True, stderr=subprocess.STDOUT) > > ERROR: > > ERROR: File > > "/home/jenkins/oe/shr-core-branches/shr-core/openembedded-core/meta/lib/oe/path.py", > > line 141, in check_output > > ERROR: process = subprocess.Popen(stdout=subprocess.PIPE, *popenargs, > > **kwargs) > > ERROR: > > ERROR: File "/usr/lib/python2.7/subprocess.py", line 679, in __init__ > > ERROR: errread, errwrite) > > ERROR: > > ERROR: File "/usr/lib/python2.7/subprocess.py", line 1249, in > > _execute_child > > ERROR: raise child_exception > > ERROR: > > ERROR: The code that was being executed was: > > ERROR: 0008: bb.build.exec_func(intercept, d) > > ERROR: 0009: sstate_package(shared_state, d) > > ERROR: 0010: > > ERROR: 0011: > > ERROR: *** 0012:sstate_task_postfunc(d) > > ERROR: 0013: > > ERROR: [From file: 'sstate_task_postfunc', lineno: 12, function: <module>] > > ERROR: 0001: > > ERROR: 0002:def sstate_task_postfunc(d): > > ERROR: 0003: shared_state = sstate_state_fromvars(d) > > ERROR: *** 0004: sstate_install(shared_state, d) > > ERROR: 0005: enabled = d.getVar('SSTATE_CREATE_PKG', True) > > ERROR: 0006: if enabled and enabled == "1": > > ERROR: 0007: for intercept in shared_state['interceptfuncs']: > > ERROR: 0008: bb.build.exec_func(intercept, d) > > ERROR: [From file: 'sstate_task_postfunc', lineno: 4, function: > > sstate_task_postfunc] > > ERROR: 0072: f.close() > > ERROR: 0073: > > ERROR: 0074: # Run the actual file install > > ERROR: 0075: for state in ss['dirs']: > > ERROR: *** 0076: oe.path.copytree(state[1], state[2]) > > ERROR: 0077: > > ERROR: 0078: for postinst in (d.getVar('SSTATEPOSTINSTFUNCS', True) > > or '').split(): > > ERROR: 0079: bb.build.exec_func(postinst, d) > > ERROR: 0080: > > ERROR: [From file: 'sstate.bbclass', lineno: 76, function: sstate_install] > > DEBUG: Python function sstate_task_postfunc finished > > ERROR: Function failed: sstate_task_postfunc > > > > > > -- > > Martin 'JaMa' Jansa jabber: martin.ja...@gmail.com > > > > -- > Martin 'JaMa' Jansa jabber: martin.ja...@gmail.com -- Martin 'JaMa' Jansa jabber: martin.ja...@gmail.com
signature.asc
Description: Digital signature
_______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core