Fenix build error (Failed getting release file http://localhost:3142/ports.ubuntu.com/dists/bionic/Release)

After fenix setenv.sh, I run make and got follow error.

Info: Preparing rootfs for VIM3-bionic
Info: Creating new rootfs for bionic
Info: Installing base system - Stage 1/2
I: Retrieving InRelease
I: Retrieving Release
E: Failed getting release file http://localhost:3142/ports.ubuntu.com/dists/bionic/Release
Cleanup...
Makefile:7: recipe for target 'all' failed
make: *** [all] Error 1

Does anyone got and solve the same problem?

thanks inadvanced.

Please just use make to start build, don’t add other parameters unless you know what it does.

1 Like

I get this same error when building Linux 4.9 on a host (not in the docker container).

Error occurs if $NO_APT_CACHER is not set to yes.

Workaround is to build in the docker container.

Please make sure you know what this option does, if not, just ignore it and use the default options.

I’ve got the same bug