Closed JohnMoon-VTS closed 2 weeks ago
It looks like @e-ago has a PR to address the final build issues in #353. I'll test out those changes! Though, it doesn't address the update to 22.04, so please LMK if there's interest in that update.
I should be able to finalize the PR and merge it soon. If you test it in the meanwhile, please share your feedback
The network_radar_pipeline
build works now when using the image from operators/advanced_network/Dockerfile
. Building from applications/network_radar_pipeline/Dockerfile
still fails, but that appears to just be a dependency issue. I'll close this issue for now.
I'm trying to build the
network_radar_pipeline
application and I'm running into some trouble.I am using an Ubuntu 22.04 host system with Docker version 24.0.7.
The application has its own
Dockerfile
(applications/network_radar_pipeline/cpp/Dockerfile
), but the build is failing onmain
.I'm trying to build with:
This command returns with exit code 0 even though under the hood it calls
./run build network_radar_pipeline
and the build fails.If I enter the container and run the build, I see this build failure:
Adding an
apt-get upgrade -y
to theDockerfile
resolves this error, but the build fails further down the line with:So, it appears DOCA was added as a build dependency at some point. If I try to bring in DOCA using similar syntax from
operators/advanced_network/Dockerfile
, but grabbing the 20.4 package,dpkg
runs into an issue building DKMS modules:I suspected this is because I'm on a host system running Ubuntu 22.04 (kernel 6.2.0) and the container image is currently using Ubuntu 20.04 (trying to target kernel 5.4.0). If I specify the 22.04 DOCA package to match my kernel, I get other apt errors (likely because the container is based on 20.04 which wouldn't have the same package versions available):
So, I went down the road of upgrading the
network_radar_pipeline
Dockerfile
to use a newer holoscan base image (holoscan:v2.0.0-dgpu
, based on Ubuntu 22.04). This seems to resolve the issues with the DOCA dependency, but now I'm getting errors in the network connectors such as:It's not the only API running into an issue, but just looking at
adv_net_free_all_burst_pkts_and_burst
, it looks like the API was renamed toadv_net_free_all_pkts_and_burst
in PR #347.I think I can proceed from here, but I do have a few questions:
run
script maybe be wrapped inset -o errexit
?network_radar_application
is using without also updatingnetwork_radar_application
with the replacement?network_radar_pipeline
building against the new ANO, would you like my patch that upgrades the app to use the latest holoscan and ANO updates? I'm not sure if the app is specifically maintaining compatibility for Ubuntu 20.04 for some reason.@dylan-eustice, tagging you here for your SA as I see you appear to be the main dev on this app.
Thanks!