From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Tremer To: development@lists.ipfire.org Subject: Re: The unshared changes give a problem with build after doing git pull on next Date: Thu, 29 Aug 2024 09:58:36 +0200 Message-ID: <37C134D2-053F-4B2B-8571-37470D124BAD@ipfire.org> In-Reply-To: <172489007517.4187739.9056175785935150746@mail02.haj.ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============8843243630553070285==" List-Id: --===============8843243630553070285== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hello sio, The build system does not have any network access. We block this so that any = compromised package cannot download anything more malicious that we don=E2=80= =99t have a paper trail for. It is also that not all build systems have inter= net access all the time. So you will have to download everything you need through the lfs/netdata file= , extract, and then run the build. In the =E2=80=9C./make.sh shell=E2=80=9D environment we make network access p= ossible so that you can download files and patches and what not. -Michael > On 29 Aug 2024, at 02:07, sio / wrote: >=20 > I ran two separate builds on two different machines from scratch and they r= an through the build process no problems that i could tell. I also added the = netdata package to the mix on a second run on one of the machines and failed = the build with the below error. mind you i have a 3rd machine with CU187 on i= t and it built the netdata package flawlessly, same files as I used on the CU= 188 machine so I am not sure if this is from the change or not. I have also g= one into the shell with make.sh on the machine that had the error and could b= uild netdata just fine with the same commands as in the lfs file.=20 >=20 > netdata build from shell: > --- We are done! ---=20 >=20 > ^ > |.-. .-. .-. .-. .-. . netdata .-. .-. .-. .-. .-. .- > | '-' '-' '-' '-' '-' '-' '-' '-' '-' '-' = =20 > +----+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+--= -> >=20 > --- is installed now! ---=20 > enjoy real-time performance and health monitoring... >=20 > ipfire build chroot (x86_64) root:~/netdata-v1.47.0$ > Ping from shell: > [root(a)cloud ipfire-2.x]# ./make.sh shell > Entering to a shell inside the build environment, go out with exit > ipfire build chroot (x86_64) root:~$ ping github.com > PING github.com (140.82.116.3) 56(84) bytes of data. > 64 bytes from lb-140-82-116-3-sea.github.com (140.82.116.3): icmp_seq=3D1 t= tl=3D52 time=3D110 ms > 64 bytes from lb-140-82-116-3-sea.github.com (140.82.116.3): icmp_seq=3D2 t= tl=3D52 time=3D89.0 ms > 64 bytes from lb-140-82-116-3-sea.github.com (140.82.116.3): icmp_seq=3D3 t= tl=3D52 time=3D112 ms > 64 bytes from lb-140-82-116-3-sea.github.com (140.82.116.3): icmp_seq=3D4 t= tl=3D52 time=3D109 ms > 64 bytes from lb-140-82-116-3-sea.github.com (140.82.116.3): icmp_seq=3D5 t= tl=3D52 time=3D102 ms > 64 bytes from lb-140-82-116-3-sea.github.com (140.82.116.3): icmp_seq=3D6 t= tl=3D52 time=3D101 ms > 64 bytes from lb-140-82-116-3-sea.github.com (140.82.116.3): icmp_seq=3D7 t= tl=3D52 time=3D110 ms > 64 bytes from lb-140-82-116-3-sea.github.com (140.82.116.3): icmp_seq=3D8 t= tl=3D52 time=3D106 ms >=20 > Error: >=20 > netdata (1.47.0) = = [ 1:36 ][ FAIL ] >=20 > Could not resolve host: github.com >=20 > shutting down connection #0 >=20 > --- LOG END --- > error: downloading 'https://github.com/netdata/kernel-collector/releases= /download/v1.4.5.1/netdata-kernel-collector-glibc-v1.4.5.1.tar.xz' failed > status_code: 6 > status_string: "Could not resolve hostname" > log: > --- LOG BEGIN --- > Could not resolve host: github.com >=20 > shutting down connection #0 >=20 > --- LOG END --- >=20 > ninja: build stopped: subcommand failed. > FAILED '' >=20 > ABORTED Failed to build Netdata. >=20 > make: *** [netdata:86: /usr/src/log/netdata-v1.47.0] Error 1 > make: Leaving directory '/usr/src/lfs' >=20 > ERROR: Building netdata --===============8843243630553070285==--