RTIDDSGEN build fails inside of Docker container

2 posts / 0 new
Last post
Offline
Last seen: 1 year 9 months ago
Joined: 01/31/2023
Posts: 1
RTIDDSGEN build fails inside of Docker container

 

I experience problem compiling C++ code, which seems to be specific to my case.

The build is happening inside of Docker dev container.

Container compiler: gcc version 10.2.1 20210110 (Debian 10.2.1-6).

RTI Connext version 6.1.1 Professional.

The problem started happening recently after I upgrade Linux kernel to 6.1.0-3-amd64 (Debian, Bullseye).

The dev container is run inside of VSCode. The output that appears unusual from what I typically see:

...
[build] WARN com.rti.ndds.nddsgen.CodeGeneratorServer Cannot bind to port 14662. Another rtiddsgen in server mode or application is using this port.
[build] INFO com.rti.ndds.nddsgen.Main Running rtiddsgen version 3.1.1, please wait ...
[build] INFO com.rti.ndds.nddsgen.Main Done

...

[build] RTIDDSGEN_read: Timeout, no data to be read on socket 14662
[build] RTIDDSGEN_checkServerConnection: Please check there is no other application listening on port 14662

 

I am wondering why I am seing port 14662 problem?

I checked all ports with netstat and nothing is listening to it in the background:

tcp        0      0 x.x.x.x:42311         0.0.0.0:*               LISTEN      490578/node          
tcp        0      0 x.x.x.x:9993          0.0.0.0:*               LISTEN      1609/zerotier-one    
tcp        0      0 x.x.x.x:9993       0.0.0.0:*               LISTEN      1609/zerotier-one    
tcp        0      0 x.x.x.x:9993         0.0.0.0:*               LISTEN      1609/zerotier-one    
tcp        0      0 x.x.x.x:47266        0.0.0.0:*               LISTEN      1609/zerotier-one    
tcp        0      0 x.x.x.x:47266      0.0.0.0:*               LISTEN      1609/zerotier-one    
tcp        0      0 x.x.x.x:25            0.0.0.0:*               LISTEN      1940/exim4           
tcp        0      0 x.x.x.x:631           0.0.0.0:*               LISTEN      1174/cupsd           
tcp        0      0 x.x.x.x:23799        0.0.0.0:*               LISTEN      1609/zerotier-one    
tcp        0      0 x.x.x.x:22              0.0.0.0:*               LISTEN      1198/sshd: /usr/sbi  
tcp        0      0 x.x.x.x:23799      0.0.0.0:*               LISTEN      1609/zerotier-one    
tcp        0      0 x.x.x.x:40111         0.0.0.0:*               LISTEN      533247/code

 

However, when I run the cmake build (C++ code) I observe these two:

tcp        0      0 127.0.0.1:14662         0.0.0.0:*               LISTEN      533887/app --no-san

tcp6       0      0 :::14662                :::*                    LISTEN      694416/rtiddsgen2

 

I would appreciate any help and recommentations.

Regards,

Yevgeniy

Organization:
Howard's picture
Offline
Last seen: 4 hours 47 min ago
Joined: 11/29/2012
Posts: 605

Hi Yevgeniy,

Sorry, don't know off-hand what the issue could be.  But since your project has a support contract with RTI, I suggest that you file a case with RTI's support team via your RTI customer portal.

--Howard