openSUSE / obs-build

OBS build script, can be used with OBS or stand alone
GNU General Public License v2.0
132 stars 183 forks source link

Couldn't resolve host while building package #909

Open lamskoy opened 1 year ago

lamskoy commented 1 year ago

While building archlinux package getting:

[   18s] Preparing sources...
[   19s]   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
[   19s]                                  Dload  Upload   Total   Spent    Left  Speed
[   19s]   0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (6) Could not resolve host: www.openssl.org
[   19s] Warning: Problem : timeout. Will retry in 3 seconds. 3 retries left.
[   22s]   0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (6) Could not resolve host: www.openssl.org
[   22s] Warning: Problem : timeout. Will retry in 3 seconds. 2 retries left.
[   25s]   0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (6) Could not resolve host: www.openssl.org
[   25s] Warning: Problem : timeout. Will retry in 3 seconds. 1 retries left.
[   28s]   0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (6) Could not resolve host: www.openssl.org
[   28s] ==> ERROR: Failure while downloading https://www.openssl.org/source/openssl-1.0.2u.tar.gz

Are there any limitations which URLs can't be used for downloading? Didn't find much info about it. Thanks

SchoolGuy commented 1 year ago

OBS is working with airgapped virtual machines. You have no internet connections during the build process at all. This is working as designed.