You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I created this ticket to serve as a fix to people encountering the same issue.
This issue was previously posted here: #972
When I was building ONIE for a KVM_x86_64 target, the build kept failing.
The commands I used are:
build@f1063a996da6:~/src/onie/build-config$: make MACHINE=kvm_x86_64 all
When this did not work, naturally, I tried to run -> make distclean
The reason why it failed can be seen in the below trace:
In particular, the build fails at the multilib package. After diving into the error, it can be seen that the type for the locale variables inside the container are of the type -> POSIX
You can verify this by running the command -> locale
The fix to this issue lies in editing the Dockerfile before launching the container.
Below, I am attaching two screenshots: One screenshot shows the original dockerfile & the other shows the changes made to it.
The modified dockerfile forcefully sets all environment variables to the format en_US.UTF-8
Use the modified dockerfile to launch the container and log in
(steps described here: https://github.com/opencomputeproject/onie/blob/master/contrib/build-env/README.md)
Original Dockerfile:
Modified Dockerfile (changes to be made indicated with a red rectangle bounding box):
The text was updated successfully, but these errors were encountered:
Hi,
I created this ticket to serve as a fix to people encountering the same issue.
This issue was previously posted here: #972
When I was building ONIE for a KVM_x86_64 target, the build kept failing.
The commands I used are:
build@f1063a996da6:~/src/onie/build-config$: make MACHINE=kvm_x86_64 all
When this did not work, naturally, I tried to run -> make distclean
The reason why it failed can be seen in the below trace:
In particular, the build fails at the multilib package. After diving into the error, it can be seen that the type for the locale variables inside the container are of the type -> POSIX
You can verify this by running the command -> locale
The fix to this issue lies in editing the Dockerfile before launching the container.
Below, I am attaching two screenshots: One screenshot shows the original dockerfile & the other shows the changes made to it.
The modified dockerfile forcefully sets all environment variables to the format en_US.UTF-8
Use the modified dockerfile to launch the container and log in
(steps described here: https://github.com/opencomputeproject/onie/blob/master/contrib/build-env/README.md)
Original Dockerfile:
Modified Dockerfile (changes to be made indicated with a red rectangle bounding box):
The text was updated successfully, but these errors were encountered: