Closed errtro closed 5 years ago
What compiler do you use for building? What branch do you use for building?
It seems that you're trying to build from master branch. Please try to build from the devel branch.
Also, what's the content of ./lsp-plugins/.build/src/res/xml_resource.cpp file?
Thanks for the quick response. The compiler is x86_64-pc-linux-gnu-8.2.0. The ./lsp-plugins/.build/src/res/xml_resource.cpp is empty
I build from the master branch and will try to build from the devel branch tomorrow.
That's strange. It seems like the generation tool can not write the file. I think it would be also nice to watch what strace
will show on the problem process. Also it would be nice to try to launch the tool from gdb.
Such Issue I meet the first time, on all other systems it seems to be working fine, so maybe we're missing some details. Do you use any specific file system settings on the path where you're trying to build the binaries?
Here are my investigations so far...
make clean
make BUILD_PROFILE=x86_64
Generating XML resources
Generating resource file /home/rt/work/lsp-plugins-devel/.build/src/res/xml_resource.cpp
seems to run in an endless loop
/home/rt/work/lsp-plugins-devel/.build/src/res/xml_resource.cpp is empty
strace /home/rt/work/lsp-plugins-devel/.build/gen_resources.exe /home/rt/work/lsp-plugins-devel/res/ui /home/rt/work/lsp-plugins-devel/.build/src/res/xml_resource.cpp
execve("/home/rt/work/lsp-plugins-devel/.build/gen_resources.exe", ["/home/rt/work/lsp-plugins-devel/"..., "/home/rt/work/lsp-plugins-devel/"..., "/home/rt/work/lsp-plugins-devel/"...], 0x7ffc9b6807f0 /* 81 vars */) = 0
brk(NULL) = 0x55779e736000
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/tls/haswell/x86_64/libexpat.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/usr/lib/tls/haswell/x86_64", 0x7ffe9c2dfa90) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/tls/haswell/libexpat.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/usr/lib/tls/haswell", 0x7ffe9c2dfa90) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/tls/x86_64/libexpat.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/usr/lib/tls/x86_64", 0x7ffe9c2dfa90) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/tls/libexpat.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/usr/lib/tls", 0x7ffe9c2dfa90) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/haswell/x86_64/libexpat.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/usr/lib/haswell/x86_64", 0x7ffe9c2dfa90) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/haswell/libexpat.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/usr/lib/haswell", 0x7ffe9c2dfa90) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/x86_64/libexpat.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/usr/lib/x86_64", 0x7ffe9c2dfa90) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/libexpat.so.1", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\360A\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=239728, ...}) = 0
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fcc5958a000
mmap(NULL, 241912, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fcc5954e000
mprotect(0x7fcc59552000, 217088, PROT_NONE) = 0
mmap(0x7fcc59552000, 131072, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x4000) = 0x7fcc59552000
mmap(0x7fcc59572000, 81920, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x24000) = 0x7fcc59572000
mmap(0x7fcc59587000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x38000) = 0x7fcc59587000
close(3) = 0
openat(AT_FDCWD, "/usr/lib/libsndfile.so.1", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0Px\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=495624, ...}) = 0
mmap(NULL, 507520, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fcc594d2000
mmap(0x7fcc594d9000, 335872, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x7000) = 0x7fcc594d9000
mmap(0x7fcc5952b000, 118784, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x59000) = 0x7fcc5952b000
mmap(0x7fcc59548000, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x75000) = 0x7fcc59548000
mmap(0x7fcc5954c000, 7808, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fcc5954c000
close(3) = 0
openat(AT_FDCWD, "/usr/lib/libpthread.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib/tls/haswell/x86_64/libpthread.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/lib/tls/haswell/x86_64", 0x7ffe9c2dfa30) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib/tls/haswell/libpthread.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/lib/tls/haswell", 0x7ffe9c2dfa30) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib/tls/x86_64/libpthread.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/lib/tls/x86_64", 0x7ffe9c2dfa30) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib/tls/libpthread.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/lib/tls", 0x7ffe9c2dfa30) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib/haswell/x86_64/libpthread.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/lib/haswell/x86_64", 0x7ffe9c2dfa30) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib/haswell/libpthread.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/lib/haswell", 0x7ffe9c2dfa30) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib/x86_64/libpthread.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/lib/x86_64", 0x7ffe9c2dfa30) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib/libpthread.so.0", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\220l\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=118288, ...}) = 0
mmap(NULL, 136288, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fcc594b0000
mmap(0x7fcc594b6000, 69632, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6000) = 0x7fcc594b6000
mmap(0x7fcc594c7000, 20480, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x17000) = 0x7fcc594c7000
mmap(0x7fcc594cc000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1b000) = 0x7fcc594cc000
mmap(0x7fcc594ce000, 13408, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fcc594ce000
close(3) = 0
openat(AT_FDCWD, "/usr/lib/libstdc++.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib/libstdc++.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/local/lib/tls/haswell/x86_64/libstdc++.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/usr/local/lib/tls/haswell/x86_64", 0x7ffe9c2dfa00) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/local/lib/tls/haswell/libstdc++.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/usr/local/lib/tls/haswell", 0x7ffe9c2dfa00) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/local/lib/tls/x86_64/libstdc++.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/usr/local/lib/tls/x86_64", 0x7ffe9c2dfa00) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/local/lib/tls/libstdc++.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/usr/local/lib/tls", 0x7ffe9c2dfa00) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/local/lib/haswell/x86_64/libstdc++.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/usr/local/lib/haswell/x86_64", 0x7ffe9c2dfa00) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/local/lib/haswell/libstdc++.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/usr/local/lib/haswell", 0x7ffe9c2dfa00) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/local/lib/x86_64/libstdc++.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/usr/local/lib/x86_64", 0x7ffe9c2dfa00) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/local/lib/libstdc++.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/usr/local/lib", {st_mode=S_IFDIR|0755, st_size=312, ...}) = 0
openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=621078, ...}) = 0
mmap(NULL, 621078, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7fcc59418000
close(3) = 0
openat(AT_FDCWD, "/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0/libstdc++.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\3204\t\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=15340528, ...}) = 0
mmap(NULL, 2120768, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fcc59212000
mmap(0x7fcc592a2000, 888832, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x90000) = 0x7fcc592a2000
mmap(0x7fcc5937b000, 561152, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x169000) = 0x7fcc5937b000
mmap(0x7fcc59404000, 69632, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1f1000) = 0x7fcc59404000
mmap(0x7fcc59415000, 11328, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fcc59415000
close(3) = 0
openat(AT_FDCWD, "/usr/lib/libm.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib/libm.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0`\302\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=1673472, ...}) = 0
mmap(NULL, 1675584, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fcc59078000
mmap(0x7fcc59084000, 757760, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xc000) = 0x7fcc59084000
mmap(0x7fcc5913d000, 864256, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xc5000) = 0x7fcc5913d000
mmap(0x7fcc59210000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x197000) = 0x7fcc59210000
close(3) = 0
openat(AT_FDCWD, "/usr/lib/libgcc_s.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib/libgcc_s.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/local/lib/libgcc_s.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0/libgcc_s.so.1", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\3402\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=885120, ...}) = 0
mmap(NULL, 103472, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fcc5905e000
mprotect(0x7fcc59061000, 86016, PROT_NONE) = 0
mmap(0x7fcc59061000, 69632, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3000) = 0x7fcc59061000
mmap(0x7fcc59072000, 12288, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x14000) = 0x7fcc59072000
mmap(0x7fcc59076000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x17000) = 0x7fcc59076000
close(3) = 0
openat(AT_FDCWD, "/usr/lib/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\0\35\2\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=1861512, ...}) = 0
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fcc5905c000
mmap(NULL, 1874504, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fcc58e92000
mprotect(0x7fcc58eb3000, 1699840, PROT_NONE) = 0
mmap(0x7fcc58eb3000, 1400832, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x21000) = 0x7fcc58eb3000
mmap(0x7fcc59009000, 294912, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x177000) = 0x7fcc59009000
mmap(0x7fcc59052000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1bf000) = 0x7fcc59052000
mmap(0x7fcc59058000, 14920, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fcc59058000
close(3) = 0
openat(AT_FDCWD, "/usr/lib64/libFLAC.so.8", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\340\230\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=248832, ...}) = 0
mmap(NULL, 251008, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fcc58e54000
mprotect(0x7fcc58e5d000, 208896, PROT_NONE) = 0
mmap(0x7fcc58e5d000, 167936, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x9000) = 0x7fcc58e5d000
mmap(0x7fcc58e86000, 36864, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x32000) = 0x7fcc58e86000
mmap(0x7fcc58e90000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3b000) = 0x7fcc58e90000
close(3) = 0
openat(AT_FDCWD, "/usr/lib64/libogg.so.0", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\320\32\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=26784, ...}) = 0
mmap(NULL, 2122032, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fcc58c4d000
mprotect(0x7fcc58c53000, 2093056, PROT_NONE) = 0
mmap(0x7fcc58e52000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x5000) = 0x7fcc58e52000
close(3) = 0
openat(AT_FDCWD, "/usr/lib64/libvorbis.so.0", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\208\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=174792, ...}) = 0
mmap(NULL, 2269960, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fcc58a22000
mprotect(0x7fcc58a4c000, 2093056, PROT_NONE) = 0
mmap(0x7fcc58c4b000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x29000) = 0x7fcc58c4b000
close(3) = 0
openat(AT_FDCWD, "/usr/lib64/libvorbisenc.so.2", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\20;\1\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=690296, ...}) = 0
mmap(NULL, 2785456, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fcc58779000
mprotect(0x7fcc58806000, 2093056, PROT_NONE) = 0
mmap(0x7fcc58a05000, 118784, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x8c000) = 0x7fcc58a05000
close(3) = 0
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fcc58777000
mmap(NULL, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fcc58774000
arch_prctl(ARCH_SET_FS, 0x7fcc58774740) = 0
mprotect(0x7fcc59052000, 16384, PROT_READ) = 0
mprotect(0x7fcc58e52000, 4096, PROT_READ) = 0
mprotect(0x7fcc59210000, 4096, PROT_READ) = 0
mprotect(0x7fcc58c4b000, 4096, PROT_READ) = 0
mprotect(0x7fcc58a05000, 114688, PROT_READ) = 0
mprotect(0x7fcc58e90000, 4096, PROT_READ) = 0
mprotect(0x7fcc59076000, 4096, PROT_READ) = 0
mprotect(0x7fcc59404000, 53248, PROT_READ) = 0
mprotect(0x7fcc594cc000, 4096, PROT_READ) = 0
mprotect(0x7fcc59548000, 12288, PROT_READ) = 0
mprotect(0x7fcc59587000, 8192, PROT_READ) = 0
mprotect(0x55779e72f000, 4096, PROT_READ) = 0
mprotect(0x7fcc595b3000, 4096, PROT_READ) = 0
munmap(0x7fcc59418000, 621078) = 0
set_tid_address(0x7fcc58774a10) = 21460
set_robust_list(0x7fcc58774a20, 24) = 0
rt_sigaction(SIGRTMIN, {sa_handler=0x7fcc594b6650, sa_mask=[], sa_flags=SA_RESTORER|SA_SIGINFO, sa_restorer=0x7fcc594c4ae0}, NULL, 8) = 0
rt_sigaction(SIGRT_1, {sa_handler=0x7fcc594b6700, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART|SA_SIGINFO, sa_restorer=0x7fcc594c4ae0}, NULL, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0
prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0
brk(NULL) = 0x55779e736000
brk(0x55779e757000) = 0x55779e757000
openat(AT_FDCWD, "/home/rt/work/lsp-plugins-devel/.build/src/res/xml_resource.cpp", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 3
fstat(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 0), ...}) = 0
write(1, "Generating resource file /home/r"..., 89Generating resource file /home/rt/work/lsp-plugins-devel/.build/src/res/xml_resource.cpp
) = 89
fstat(3, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
openat(AT_FDCWD, "/home/rt/work/lsp-plugins-devel/res/ui", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4
fstat(4, {st_mode=S_IFDIR|0755, st_size=320, ...}) = 0
getdents(4, /* 12 entries */, 32768) = 360
getdents(4, /* 0 entries */, 32768) = 0
close(4) = 0
NOW
make clean
make BUILD_PROFILE=i586
.
.
.
Generating XML resources
Generating resource file /home/rt/work/lsp-plugins-devel/.build/src/res/xml_resource.cpp
/home/rt/work/lsp-plugins-devel/.build/src/res/xml_resource.cpp:28:3: error: expected primary-expression before ‘;’ token
;
^
make[1]: *** [Makefile:83: /home/rt/work/lsp-plugins-devel/.build/res_core.o] Error 1
make: *** [Makefile:145: compile] Error 2
/home/rt/work/lsp-plugins-devel/.build/src/res/xml_resource.cpp contains
//------------------------------------------------------------------------------
// File: /home/rt/work/lsp-plugins-devel/.build/src/res/xml_resource.cpp
// Description: resource file containing parsed XML
//
// This is auto-generated file, do not edit!
//------------------------------------------------------------------------------
#include <core/types.h>
// Control characters
#define X_TAG_CLOSE "\xff"
#define X_SEPARATOR "\0"
// String encoders
#define K(k) k X_SEPARATOR
#define O(x, count) count x
#define C(x) X_TAG_CLOSE
#define P(k, v) k v
// Resource definition
namespace lsp
{
// XML Dictionary
extern const char *xml_dictionary;
const char *xml_dictionary =
;
extern const resource_t xml_resources[] =
{
{ NULL, NULL }
};
}
It seems that the tool can not scan directory for files. What file system are you using for building? Is it a local file system? Anyway, I have idea how to try to fix it.
The file system is /dev/sda3 / reiserfs noatime,notail,user_xattr under gentoo linux kernel 5.0.1
Created github-issue-34 branch and made the following commit: 169d1b6b9914236fcc3884f09451db9c0862c08f
Please try to build from this branch. It seems that the tool relied on the d_type field of the dirent structure but for reiserfs it is DT_UNKNOWN, here's the text from manpage:
Currently, only some filesystems (among them: Btrfs, ext2, ext3, and ext4)
have full support for returning the file type in d_type.
All applications must properly handle a return of DT_UNKNOWN.
branch github-issue-34 worked like a charm thank you very much for that quick fix kind regards
Merged changes to devel branch: 81f421a15f85aa3891dad0047eab2553b1e7dd94 Removed github-issue-34 branch.
All changes are available in the 1.1.7 release that was just published.
seems to run in an endless loop