Wireshark-dev: [Wireshark-dev] compilation hangs on Ubuntu
From: Eugène Adell <eugene.adell@xxxxxxxxx>
Date: Sun, 13 May 2018 17:15:49 +0200

Hello,

I'm facing a problem on my development server (Ubuntu 16.04 hosted on VMWARE) when trying to compile Wireshark. It was working with older versions (2.0 for example), but now it's like the compilation will never end.
I installed/updated all the required packages, since version 2.6 seems quite different.

I'm doing an strace -f -o to find out what could be wrong, but no clue. The strace log being too big, here is how it looks like :

1900  execve("/usr/bin/cmake", ["cmake", "-LH", "../wireshark"], [/* 22 vars */]) = 0
1900  brk(NULL)                         = 0x2225000
1900  access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
1900  access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
1900  open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
1900  fstat(3, {st_mode=S_IFREG|0644, st_size=105981, ...}) = 0
...

thousands of lines such as :
1901  open("/proc/537/status", O_RDONLY) = -1 ENOENT (No such file or directory)
1901  open("/proc/538/status", O_RDONLY) = -1 ENOENT (No such file or directory)
1901  open("/proc/539/status", O_RDONLY) = -1 ENOENT (No such file or directory)
1901  open("/proc/540/status", O_RDONLY) = -1 ENOENT (No such file or directory)
1901  open("/proc/541/status", O_RDONLY) = -1 ENOENT (No such file or directory)
1901  open("/proc/542/status", O_RDONLY) = -1 ENOENT (No such file or directory)
1901  open("/proc/543/status", O_RDONLY) = -1 ENOENT (No such file or directory)
1901  open("/proc/544/status", O_RDONLY) = -1 ENOENT (No such file or directory)

then thousands and thousands of lines such as the following, and it seems it will never end :

1901  open("/proc/882/status", O_RDONLY) = 3
1901  fstat(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
1901  read(3, "Name:\tvmhgfs-fuse\nUmask:\t0000\nSt"..., 1024) = 1024
1901  read(3, "0000,00000000,00000000,00000000,"..., 1024) = 263
1901  read(3, "", 1024)                 = 0
1901  close(3)                          = 0
1901  open("/proc/965/status", O_RDONLY) = 3
1901  fstat(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
1901  read(3, "Name:\tsystemd-logind\nUmask:\t0022"..., 1024) = 1024
1901  read(3, "0000000,00000000,00000000,000000"..., 1024) = 269
1901  read(3, "", 1024)                 = 0
1901  close(3)                          = 0
1901  open("/proc/968/status", O_RDONLY) = 3
1901  fstat(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
1901  read(3, "Name:\tdbus-daemon\nUmask:\t0022\nSt"..., 1024) = 1024
1901  read(3, "00,00000000,00000000,00000000,00"..., 1024) = 283
1901  read(3, "", 1024)                 = 0
1901  close(3)                          = 0

How can I resolve this ?

Thanks
E.A.