problem z kompilacją
Teraz widzę, że jeden plik wyparował u nas z serwera dlatego nie może to się zbudować...
Jeszcze raz ./build.sh
@Przemku znowu problem z budowaniem
taki sam komunikat jak poprzednio
czyżby znowu plik wyparował z serwera ???
taki sam komunikat jak poprzednio
Kod: Zaznacz cały
Unable to find image 'devel/esp8266:latest' locally
docker: Error response from daemon: pull access denied for devel/esp8266, repository does not exist or may require 'docker login': denied: requested access to the resource is denied.
Plik jest. Teraz musi być inny problem. Sprawdź wcześniejsze logi.
Kod: Zaznacz cały
supla@supla-HP-EliteBook-6930p:~$ git clone https://github.com/SUPLA/supla-docker.git
fatal: destination path 'supla-docker' already exists and is not an empty directory.
supla@supla-HP-EliteBook-6930p:~$ cd supla-docker/
supla@supla-HP-EliteBook-6930p:~/supla-docker$ git checkout espressif
Already on 'espressif'
Your branch is up to date with 'origin/espressif'.
supla@supla-HP-EliteBook-6930p:~/supla-docker$ git pull
Already up to date.
supla@supla-HP-EliteBook-6930p:~/supla-docker$ ./build.sh
Sending build context to Docker daemon 422.9kB
Step 1/9 : FROM debian:jessie
---> af91926d63c5
Step 2/9 : RUN apt-get update
---> Using cache
---> 997d68c32ef1
Step 3/9 : RUN apt-get -y install git vim wget build-essential python python-pip
---> Using cache
---> 42be7373bc2e
Step 4/9 : RUN pip install esptool
---> Running in 196dad2b367d
Downloading/unpacking esptool
Running setup.py (path:/tmp/pip-build-BJZoOu/esptool/setup.py) egg_info for package esptool
Downloading/unpacking bitstring>=3.1.6 (from esptool)
Running setup.py (path:/tmp/pip-build-BJZoOu/bitstring/setup.py) egg_info for package bitstring
Downloading/unpacking cryptography>=2.1.4 (from esptool)
Running setup.py (path:/tmp/pip-build-BJZoOu/cryptography/setup.py) egg_info for package cryptography
c/_cffi_backend.c:2:20: fatal error: Python.h: No such file or directory
#include <Python.h>
^
compilation terminated.
=============================DEBUG ASSISTANCE=============================
If you are seeing a compilation error please try the following steps to
successfully install cryptography:
1) Upgrade to the latest pip and try again. This will fix errors for most
users. See: https://pip.pypa.io/en/stable/installing/#upgrading-pip
2) Read https://cryptography.io/en/latest/installation.html for specific
instructions for your platform.
3) Check our frequently asked questions for more information:
https://cryptography.io/en/latest/faq.html
=============================DEBUG ASSISTANCE=============================
Traceback (most recent call last):
File "<string>", line 17, in <module>
File "/tmp/pip-build-BJZoOu/cryptography/setup.py", line 121, in <module>
"src/_cffi_src/build_padding.py:ffi",
File "/usr/lib/python2.7/distutils/core.py", line 111, in setup
_setup_distribution = dist = klass(attrs)
File "/usr/lib/python2.7/dist-packages/setuptools/dist.py", line 262, in __init__
self.fetch_build_eggs(attrs['setup_requires'])
File "/usr/lib/python2.7/dist-packages/setuptools/dist.py", line 287, in fetch_build_eggs
replace_conflicting=True,
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 631, in resolve
dist = best[req.key] = env.best_match(req, ws, installer)
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 874, in best_match
return self.obtain(req, installer)
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 886, in obtain
return installer(requirement)
File "/usr/lib/python2.7/dist-packages/setuptools/dist.py", line 338, in fetch_build_egg
return cmd.easy_install(req)
File "/usr/lib/python2.7/dist-packages/setuptools/command/easy_install.py", line 636, in easy_install
return self.install_item(spec, dist.location, tmpdir, deps)
File "/usr/lib/python2.7/dist-packages/setuptools/command/easy_install.py", line 666, in install_item
dists = self.install_eggs(spec, download, tmpdir)
File "/usr/lib/python2.7/dist-packages/setuptools/command/easy_install.py", line 856, in install_eggs
return self.build_and_install(setup_script, setup_base)
File "/usr/lib/python2.7/dist-packages/setuptools/command/easy_install.py", line 1078, in build_and_install
self.run_setup(setup_script, setup_base, args)
File "/usr/lib/python2.7/dist-packages/setuptools/command/easy_install.py", line 1066, in run_setup
raise DistutilsError("Setup script exited with %s" % (v.args[0],))
distutils.errors.DistutilsError: Setup script exited with error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
Complete output from command python setup.py egg_info:
c/_cffi_backend.c:2:20: fatal error: Python.h: No such file or directory
#include <Python.h>
^
compilation terminated.
=============================DEBUG ASSISTANCE=============================
If you are seeing a compilation error please try the following steps to
successfully install cryptography:
1) Upgrade to the latest pip and try again. This will fix errors for most
users. See: https://pip.pypa.io/en/stable/installing/#upgrading-pip
2) Read https://cryptography.io/en/latest/installation.html for specific
instructions for your platform.
3) Check our frequently asked questions for more information:
https://cryptography.io/en/latest/faq.html
=============================DEBUG ASSISTANCE=============================
Traceback (most recent call last):
File "<string>", line 17, in <module>
File "/tmp/pip-build-BJZoOu/cryptography/setup.py", line 121, in <module>
"src/_cffi_src/build_padding.py:ffi",
File "/usr/lib/python2.7/distutils/core.py", line 111, in setup
_setup_distribution = dist = klass(attrs)
File "/usr/lib/python2.7/dist-packages/setuptools/dist.py", line 262, in __init__
self.fetch_build_eggs(attrs['setup_requires'])
File "/usr/lib/python2.7/dist-packages/setuptools/dist.py", line 287, in fetch_build_eggs
replace_conflicting=True,
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 631, in resolve
dist = best[req.key] = env.best_match(req, ws, installer)
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 874, in best_match
return self.obtain(req, installer)
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 886, in obtain
return installer(requirement)
File "/usr/lib/python2.7/dist-packages/setuptools/dist.py", line 338, in fetch_build_egg
return cmd.easy_install(req)
File "/usr/lib/python2.7/dist-packages/setuptools/command/easy_install.py", line 636, in easy_install
return self.install_item(spec, dist.location, tmpdir, deps)
File "/usr/lib/python2.7/dist-packages/setuptools/command/easy_install.py", line 666, in install_item
dists = self.install_eggs(spec, download, tmpdir)
File "/usr/lib/python2.7/dist-packages/setuptools/command/easy_install.py", line 856, in install_eggs
return self.build_and_install(setup_script, setup_base)
File "/usr/lib/python2.7/dist-packages/setuptools/command/easy_install.py", line 1078, in build_and_install
self.run_setup(setup_script, setup_base, args)
File "/usr/lib/python2.7/dist-packages/setuptools/command/easy_install.py", line 1066, in run_setup
raise DistutilsError("Setup script exited with %s" % (v.args[0],))
distutils.errors.DistutilsError: Setup script exited with error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
----------------------------------------
Cleaning up...
Command python setup.py egg_info failed with error code 1 in /tmp/pip-build-BJZoOu/cryptography
Storing debug log for failure in /root/.pip/pip.log
The command '/bin/sh -c pip install esptool' returned a non-zero code: 1
supla@supla-HP-EliteBook-6930p:~/supla-docker$
docker info
Kod: Zaznacz cały
upla@supla-HP-EliteBook-6930p:~/supla-docker$ docker info
Client:
Context: default
Debug Mode: false
Plugins:
app: Docker App (Docker Inc., v0.9.1-beta3)
buildx: Build with BuildKit (Docker Inc., v0.4.2-docker)
Server:
Containers: 5
Running: 0
Paused: 0
Stopped: 5
Images: 3
Server Version: 20.10.0
Storage Driver: overlay2
Backing Filesystem: extfs
Supports d_type: true
Native Overlay Diff: true
Logging Driver: json-file
Cgroup Driver: cgroupfs
Cgroup Version: 1
Plugins:
Volume: local
Network: bridge host ipvlan macvlan null overlay
Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
Swarm: inactive
Runtimes: io.containerd.runc.v2 io.containerd.runtime.v1.linux runc
Default Runtime: runc
Init Binary: docker-init
containerd version: 269548fa27e0089a8b8278fc4fc781d7f65a939b
runc version: ff819c7e9184c13b7c2607fe6c30ae19403a7aff
init version: de40ad0
Security Options:
apparmor
seccomp
Profile: default
Kernel Version: 5.4.0-42-generic
Operating System: Ubuntu 20.04.1 LTS
OSType: linux
Architecture: x86_64
CPUs: 2
Total Memory: 1.921GiB
Name: supla-HP-EliteBook-6930p
ID: 7ZRT:JHVV:N4XE:RZFF:SXT6:LQAX:NN4E:M4EO:7H45:F4TK:OLDV:SDCU
Docker Root Dir: /var/lib/docker
Debug Mode: false
Registry: https://index.docker.io/v1/
Labels:
Experimental: false
Insecure Registries:
127.0.0.0/8
Live Restore Enabled: false
WARNING: No swap limit support
WARNING: No blkio weight support
WARNING: No blkio weight_device support
supla@supla-HP-EliteBook-6930p:~/supla-docker$
Kod: Zaznacz cały
supla@supla-HP-EliteBook-6930p:~/supla-docker$ ./run.sh
Cloning into 'supla-espressif-esp'...
remote: Enumerating objects: 36, done.
remote: Counting objects: 100% (36/36), done.
remote: Compressing objects: 100% (28/28), done.
remote: Total 2566 (delta 21), reused 20 (delta 8), pack-reused 2530
Receiving objects: 100% (2566/2566), 1.41 MiB | 1021.00 KiB/s, done.
Resolving deltas: 100% (1929/1929), done.
Unable to find image 'devel/esp8266:latest' locally
docker: Error response from daemon: pull access denied for devel/esp8266, repository does not exist or may require 'docker login': denied: requested access to the resource is denied.
See 'docker run --help'.
supla@supla-HP-EliteBook-6930p:~/supla-docker$ sudo usermod -a -G docker supla
[sudo] hasło użytkownika supla:
supla@supla-HP-EliteBook-6930p:~/supla-docker$ ./run.sh
Unable to find image 'devel/esp8266:latest' locally
docker: Error response from daemon: pull access denied for devel/esp8266, repository does not exist or may require 'docker login': denied: requested access to the resource is denied.
See 'docker run --help'.
supla@supla-HP-EliteBook-6930p:~/supla-docker$ sudo chmod +x /usr/local/bin/docker-compose
supla@supla-HP-EliteBook-6930p:~/supla-docker$ ./run.sh
Unable to find image 'devel/esp8266:latest' locally
docker: Error response from daemon: pull access denied for devel/esp8266, repository does not exist or may require 'docker login': denied: requested access to the resource is denied.
See 'docker run --help'.
supla@supla-HP-EliteBook-6930p:~/supla-docker$ ^C
pip install esptool przestał działać.
Tam był Debian Jessie... może w tym problem.
Podniosłem do stretch-a
Tam był Debian Jessie... może w tym problem.
Podniosłem do stretch-a