pjsip-android-builder icon indicating copy to clipboard operation
pjsip-android-builder copied to clipboard

Execute ./prepare-build-system error

Open cs1086 opened this issue 3 years ago • 1 comments
trafficstars

Reading package lists... Done E: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/jammy/multiverse/binary-i386/Packages 404 Not Found [IP: 185.125.190.39 80] E: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/jammy-updates/multiverse/binary-i386/Packages 404 Not Found [IP: 185.125.190.39 80] E: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/jammy-backports/universe/binary-i386/Packages 404 Not Found [IP: 185.125.190.39 80] E: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/jammy-security/multiverse/binary-i386/Packages 404 Not Found [IP: 185.125.190.39 80] E: Some index files failed to download. They have been ignored, or old ones used instead.

cs1086 avatar Jun 18 '22 05:06 cs1086

haven't tried yet on latest ubuntu. Could you try on a lower version of the OS? If you are using docker you could easily use a different image version

aenonGit avatar Jun 22 '22 08:06 aenonGit

We have encountered the same problem trying the build on an M1 MacBook. To solve this issue you have to pull the amd64 ubuntu image instead of the arm64, running:

docker pull --platform linux/amd64 ubuntu:latest
docker run -it --name pjsip-builder -v .....

and then the ./prepare-build-system command will work fine (but slowly)

palla89 avatar Mar 13 '23 11:03 palla89

for docker slowness it is a known issue on macOS, it can be fixed (?) by changing the Choose file sharing implementation for your containers to VirtioFS

aenonGit avatar Nov 24 '23 13:11 aenonGit