Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compilation Issue with ONL - Connection Failure #1016

Open
pnayek8470 opened this issue Jan 22, 2025 · 6 comments
Open

Compilation Issue with ONL - Connection Failure #1016

pnayek8470 opened this issue Jan 22, 2025 · 6 comments

Comments

@pnayek8470
Copy link

Description
When attempting to compile Open Network Linux (ONL), the build process fails due to issues with accessing APT repositories. The system attempts to use the APT proxy at http://127.0.0.1:3142, but the connection fails with the error:
Err http://127.0.0.1:3142 unstable Release.gpg - Connection failed.

This prevents successful installation of necessary dependencies during the build process.

Steps to Reproduce
Clone the ONL repository.
Follow the standard steps to initiate the build process.
Observe the output during the dependency installation phase.

Image
@bgurdagargela
Copy link

We have just started experiencing a similar problem during our ONL builds. The error we get is as follows:

W: Failed to fetch http://127.0.0.1:3142/apt.opennetlinux.org/debian/dists/unstable/main/binary-amd64/Packages 500 Connection failure: Network is unreachable

E: Some index files failed to download. They have been ignored, or old ones used instead.
apt update failed. Exit value: 100

@sonoble
Copy link
Contributor

sonoble commented Jan 29, 2025

Sorry about all that, the domains are fine but were not updated to the new server. That is all being done now, once you can reach apt.opennetlinux.org again it should start working. The server it is moved to is ocp.opennetlinux.org.

@pnayek8470
Copy link
Author

how to update these links could you please tell us

@pnayek8470
Copy link
Author

also could you help me how to upgrade the GCC 4.7 to GCC 9 inside docker and everytime when I run the docker I need the docker to start with GCC 9 version

@sonoble
Copy link
Contributor

sonoble commented Jan 30, 2025 via email

jonathantsai-qci added a commit to jonathantsai-qci/OpenNetworkLinux that referenced this issue Feb 4, 2025
@pnayek8470
Copy link
Author

pnayek8470 commented Feb 4, 2025

Hi Team,

I attempted to compile ONL from scratch, but I encountered some download errors. I have already updated the links from "apt.opennetlinux.org" to "ocp.opennetlinux.org", but the issue still persists.

Image

Could you please check and let me know if there's a proper patch available or any recommended fix for this issue?

Steps Followed:

1: git clone -b f0bcb23 https://github.com/opencomputeproject/OpenNetworkLinux.git
2: apt-cacher-ng
3: source setup.env
4:make amd64

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants