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

Docker build fails - unable to resolve host address 'ntc.storage.geek1011.net' #3

Open
dboris opened this issue Sep 11, 2022 · 2 comments

Comments

@dboris
Copy link

dboris commented Sep 11, 2022

 => ERROR [build 11/23] RUN cd /tc/sysroot-src && ./kobo-nickel-sysroot.sh                                         1.0s
------                                                                                                                  
 > [build 11/23] RUN cd /tc/sysroot-src && ./kobo-nickel-sysroot.sh:                                                    
#18 0.395 + SCRIPT_NAME=./kobo-nickel-sysroot.sh                                                                        
#18 0.395 ++ readlink -f .                                                                                              
#18 0.397 + SCRIPT_BASE_DIR=/tc/sysroot-src                                                                             
#18 0.397 + false /tc/sysroot-src                                                                                       
#18 0.398 + [[ -f /etc/gentoo-release ]]
#18 0.398 + PORTAGE_DIR=/tmp/fauxrtage
#18 0.398 + portage_wd=/tmp/fauxrtage
#18 0.398 + mkdir -p /tmp/fauxrtage/distfiles
#18 0.400 + GENTOO_MIRROR=http://ntc.storage.geek1011.net/source/portage
#18 0.400 + echo '* Getting a Portage snapshot . . .'
#18 0.401 + wget http://ntc.storage.geek1011.net/source/portage/snapshots/portage-20200520.tar.xz -O /tmp/fauxrtage/portage.tar.xz
#18 0.401 * Getting a Portage snapshot . . .
#18 0.421 --2022-09-11 01:08:23--  http://ntc.storage.geek1011.net/source/portage/snapshots/portage-20200520.tar.xz
#18 0.421 Resolving ntc.storage.geek1011.net (ntc.storage.geek1011.net)... failed: Name or service not known.
#18 0.993 wget: unable to resolve host address 'ntc.storage.geek1011.net'
@pgaskin
Copy link
Owner

pgaskin commented Sep 11, 2022

  • Change that to ntc.storage.pgaskin.net. I just haven't gotten around to updating it yet.
  • You'll also need to modify niluje/x-compile.sh to pin https://github.com/zlib-ng/zlib-ng.git to a version at around the time of the last commit; I overlooked that one when pinning the versions.

@bilogic
Copy link

bilogic commented Mar 11, 2023

  • You'll also need to modify niluje/x-compile.sh to pin https://github.com/zlib-ng/zlib-ng.git to a version at around the time of the last commit; I overlooked that one when pinning the versions.

I modified the line to read as

until git clone -b 2.0.2 https://github.com/zlib-ng/zlib-ng.git ; do

But it still runs the old command when I run docker build ., seems the x-compile.sh is cached somewhere. Any idea how to clear it?

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