cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
404
Views
0
Helpful
2
Replies

NSO NED Build Error: /src/nid/build-pyvenv: not found

Aaron Shaw
Cisco Employee
Cisco Employee

When attempting to build a Docker image for cisco-ios-cli-6.86 using a ned skeleton on WSL2 (Windows Subsystem for Linux) 

I get the following error:

#9 0.579 /bin/sh: 1: /src/nid/build-pyvenv: not found
 
I've attached the build log. I worked for the better part of the day on this, and am running out of ideas on what is missing. Hopefully someone here can spot something simple I have overlooked, or explain something about this error that I'm missing.
 
 
 
1 Accepted Solution

Accepted Solutions

Aaron Shaw
Cisco Employee
Cisco Employee

All right, after another 2 hours, I figured out it out. It was in fact a line ending problem. My very quick and dirty fix was to install dos2unix and then fix all the files in /src/nid. 

RUN apt-get update && apt-get install -y dos2unix
RUN dos2unix /src/nid/*

edit: by setting #

git config --global core.autocrlf input

I can make sure that the proper line endings are correctly applied when I clone.

View solution in original post

2 Replies 2

Aaron Shaw
Cisco Employee
Cisco Employee

I'm wondering if my problem is similar to this "file not found" issue.

Aaron Shaw
Cisco Employee
Cisco Employee

All right, after another 2 hours, I figured out it out. It was in fact a line ending problem. My very quick and dirty fix was to install dos2unix and then fix all the files in /src/nid. 

RUN apt-get update && apt-get install -y dos2unix
RUN dos2unix /src/nid/*

edit: by setting #

git config --global core.autocrlf input

I can make sure that the proper line endings are correctly applied when I clone.