elementary / os

The OS build system
https://elementary.io
GNU General Public License v3.0
1.01k stars 131 forks source link

Raspberry Pi 4 Build Error #449

Open rbnemo71 opened 3 years ago

rbnemo71 commented 3 years ago

I followed the steps with dockers. It was all ok, until... screenshot

Processing triggers for libc-bin (2.31-9) ...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--   0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:-- 100 1882k  100 1882k    0     0  1234k      0  0:00:01  0:00:01 --:--:-- 1235k
Collecting pip
  Downloading pip-21.0.1-py3-none-any.whl (1.5 MB)
Collecting setuptools
  Downloading setuptools-53.1.0-py3-none-any.whl (784 kB)
Collecting wheel
  Downloading wheel-0.36.2-py2.py3-none-any.whl (35 kB)
Installing collected packages: wheel, setuptools, pip
Successfully installed pip-21.0.1 setuptools-53.1.0 wheel-0.36.2
Collecting boto3
  Downloading boto3-1.17.17-py2.py3-none-any.whl (130 kB)
Collecting jmespath<1.0.0,>=0.7.1
  Downloading jmespath-0.10.0-py2.py3-none-any.whl (24 kB)
Collecting s3transfer<0.4.0,>=0.3.0
  Downloading s3transfer-0.3.4-py2.py3-none-any.whl (69 kB)
Collecting botocore<1.21.0,>=1.20.17
  Downloading botocore-1.20.17-py2.py3-none-any.whl (7.3 MB)
Collecting python-dateutil<3.0.0,>=2.1
  Downloading python_dateutil-2.8.1-py2.py3-none-any.whl (227 kB)
Collecting urllib3<1.27,>=1.25.4
  Downloading urllib3-1.26.3-py2.py3-none-any.whl (137 kB)
Collecting six>=1.5
  Downloading six-1.15.0-py2.py3-none-any.whl (10 kB)
Installing collected packages: six, urllib3, python-dateutil, jmespath, botocore, s3transfer, boto3
Successfully installed boto3-1.17.17 botocore-1.20.17 jmespath-0.10.0 python-dateutil-2.8.1 s3transfer-0.3.4 six-1.15.0 urllib3-1.26.3
Traceback (most recent call last):
  File "/working_dir/upload.py", line 9, in <module>
    client = session.client('s3',
  File "/usr/local/lib/python3.9/dist-packages/boto3/session.py", line 258, in client
    return self._session.create_client(
  File "/usr/local/lib/python3.9/dist-packages/botocore/session.py", line 834, in create_client
    client = client_creator.create_client(
  File "/usr/local/lib/python3.9/dist-packages/botocore/client.py", line 85, in create_client
    client_args = self._get_client_args(
  File "/usr/local/lib/python3.9/dist-packages/botocore/client.py", line 326, in _get_client_args
    return args_creator.get_client_args(
  File "/usr/local/lib/python3.9/dist-packages/botocore/args.py", line 99, in get_client_args
    endpoint = endpoint_creator.create_endpoint(
  File "/usr/local/lib/python3.9/dist-packages/botocore/endpoint.py", line 287, in create_endpoint
    raise ValueError("Invalid endpoint: %s" % endpoint_url)
ValueError: Invalid endpoint: https://

end of screenshot It just exited. Nothing build.

What should I do?

fjfei commented 3 years ago

basedir=$(pwd)/artifacts/elementary-rpi

stsdc commented 3 weeks ago

@davidmhewitt Do you think we can check for some env variable to prevent this from happening on local machines?

ryonakano commented 3 weeks ago

I'll take a look if we can separate build process and upload process into separated scripts as discussed in https://github.com/elementary/os/pull/728#issuecomment-2453604706