Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-dev: Re: [Wireshark-dev] compilation hangs on Ubuntu

From: Dario Lombardo <lomato@xxxxxxxxx>
Date: Sun, 13 May 2018 19:01:57 +0200
Are you working on a fresh master and build dir?
Can you post the output of

lsb_release -a
git checkout master
git pull
git describe
mkdir build-fresh
cd build-fresh
cmake ..
make

You can use tools/debian-setup.sh to install the ubuntu packages (mandatory/optional).

On Sun, May 13, 2018 at 5:15 PM, Eugène Adell <eugene.adell@xxxxxxxxx> wrote:

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.

___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev@xxxxxxxxxxxxx>
Archives:    https://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request@wireshark.org?subject=unsubscribe



--
Naima is online.