Git Product home page Git Product logo

docker-flexget's Introduction

docker-flexget

Docker image for running flexget

Container features are

  • lsiobase/alpine
  • pre-installed dependencies for plugins
    • telegram
    • cfscraper
    • convert_magnet
    • decompress
    • transmission
    • deluge
    • irc

Usage

docker run

docker run -d \
    --name=<container name> \
    --restart on-failure:5 \
    -p 5050:5050 \
    -v <path for data files>:/data \
    -v <path for config files>:/config \
    -e PUID=<UID for user> \
    -e PGID=<GID for user> \
    -e TZ=<timezone> \
    -e FG_WEBUI_PASSWD=<desired password> \
    wiserain/flexget

docker-compose

version: "3"
services:
  flexget:
    image: wiserain/flexget
    container_name: <container name>
    restart: on-failure:5
    ports :
      - 5050:5050
    volumes:
      - <path for data files>:/data
      - <path for config files>:/config
    environment:
      - PUID=<UID for user>
      - PGID=<GID for user>
      - TZ=<timezone>
      - FG_WEBUI_PASSWD=<desired password>

Most importantly, secure webui using FG_WEBUI_PASSWD.

Environment variables

ENV Description Default
PUID / PGID uid and gid for running an app 911 / 911
TZ timezone
FG_WEBUI_PASSWD use a strong password
FG_LOG_LEVEL log level info
FG_LOG_FILE log file name flexget.log
FG_PLUGINS see below
FIX_DIR_OWNERSHIP_CONFIG set something other than 1 or true to skip applying chown for dir /config 1
FIX_DIR_OWNERSHIP_DATA set something other than 1 or true to skip applying chown for dir /data 1

Additional packages

If there are additional packages you may want to install, create bash script with any name under /custom-cont-init.d, for example,

#!/usr/bin/with-contenv bash
apk add -q --no-cache <alpine pkgs>
pip install <python pkgs>

Then, it will run every container start. Please find more details here.

Or, you can have a built-in script do this by setting environment variables as follows.

-e "INSTALL_APK_PKGS=build-base python3-dev" \
-e INSTALL_PIP_PKGS=guppy3

Custom plugins

You can install custom plugins by FG_PLUGINS="{plugin_name_1} {plugin_name_2}" whose value is a space-separated list of plugin names. Currently available ones are

  • write_magnet: Mostly same as built-in convert_magnet but expect better performance and improved error handling, which is compatible with a version of libtorrent containerized in this image.

docker-flexget's People

Contributors

by275 avatar dependabot[bot] avatar directorx avatar einverne avatar hinatakato avatar jimeh avatar kujyp avatar newfolk avatar nolooseends avatar pablokbs avatar sarbian avatar superjc710e avatar thde avatar wiserain avatar zankevich avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

docker-flexget's Issues

latest image continually restarts

using latest image it keeps restarting and is non-functioning. any direction to mend this issue is helpful. logs below:

[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] 01-envfile: executing...
[cont-init.d] 01-envfile: exited 0.
[cont-init.d] 02-tamper-check: executing...
[cont-init.d] 02-tamper-check: exited 0.
[cont-init.d] 10-adduser: executing...

-------------------------------------
          _         ()
         | |  ___   _    __
         | | / __| | |  /  \
         | | \__ \ | | | () |
         |_| |___/ |_|  \__/


Brought to you by linuxserver.io
-------------------------------------

To support LSIO projects visit:
https://www.linuxserver.io/donate/
-------------------------------------
GID/UID
-------------------------------------

User uid:    1000
User gid:    1000
-------------------------------------

[cont-init.d] 10-adduser: exited 0.
[cont-init.d] 20-config: executing...
*** Using existing config.yml
*** Flexget v3.3.8 ready!
[cont-init.d] 20-config: exited 0.
[cont-init.d] 90-custom-folders: executing...
[cont-init.d] 90-custom-folders: exited 0.
[cont-init.d] 99-custom-files: executing...
[custom-init] no custom files found exiting...
[cont-init.d] 99-custom-files: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] executing => flexget -c /config/config.yml --loglevel debug --logfile flexget.log daemon start --autoreload-config
[services.d] done.
2022-04-14 20:43:05 DEBUG    manager                       Config file /config/config.yml selected
2022-04-14 20:43:05 DEBUG    manager                       sys.defaultencoding: utf-8
2022-04-14 20:43:05 DEBUG    manager                       sys.getfilesystemencoding: utf-8
2022-04-14 20:43:05 DEBUG    manager                       flexget detected io encoding: utf-8
2022-04-14 20:43:05 DEBUG    manager                       os.path.supports_unicode_filenames: False
2022-04-14 20:43:06 DEBUG    plugin                        Trying to load plugins from: ['/config/plugins', '/usr/lib/python3.9/site-packages/flexget/plugins']
2022-04-14 20:43:23 DEBUG    plugin                        Plugin `memusage` requires plugin `ext lib `guppy`` to load.
2022-04-14 20:43:23 DEBUG    plugin                        Trying to load components from: ['/config/components', '/usr/lib/python3.9/site-packages/flexget/components']
2022-04-14 20:43:43 DEBUG    plugin                        Plugins took 36.81 seconds to load. 317 plugins in registry.
2022-04-14 20:43:43 DEBUG    manager                       Connecting to: sqlite:////config/db-config.sqlite
[services.d] executing => flexget -c /config/config.yml --loglevel debug --logfile flexget.log daemon start --autoreload-config
2022-04-14 20:43:54 DEBUG    manager                       Config file /config/config.yml selected
2022-04-14 20:43:54 DEBUG    manager                       sys.defaultencoding: utf-8
2022-04-14 20:43:54 DEBUG    manager                       sys.getfilesystemencoding: utf-8
2022-04-14 20:43:54 DEBUG    manager                       flexget detected io encoding: utf-8
2022-04-14 20:43:54 DEBUG    manager                       os.path.supports_unicode_filenames: False
2022-04-14 20:43:54 DEBUG    plugin                        Trying to load plugins from: ['/config/plugins', '/usr/lib/python3.9/site-packages/flexget/plugins']
2022-04-14 20:44:05 DEBUG    plugin                        Plugin `memusage` requires plugin `ext lib `guppy`` to load.
2022-04-14 20:44:05 DEBUG    plugin                        Trying to load components from: ['/config/components', '/usr/lib/python3.9/site-packages/flexget/components']
2022-04-14 20:44:15 DEBUG    plugin                        Plugins took 20.97 seconds to load. 317 plugins in registry.
2022-04-14 20:44:15 DEBUG    manager                       Connecting to: sqlite:////config/db-config.sqlite
[services.d] executing => flexget -c /config/config.yml --loglevel debug --logfile flexget.log daemon start --autoreload-config
2022-04-14 20:44:24 DEBUG    manager                       Config file /config/config.yml selected
2022-04-14 20:44:24 DEBUG    manager                       sys.defaultencoding: utf-8
2022-04-14 20:44:24 DEBUG    manager                       sys.getfilesystemencoding: utf-8
2022-04-14 20:44:24 DEBUG    manager                       flexget detected io encoding: utf-8
2022-04-14 20:44:24 DEBUG    manager                       os.path.supports_unicode_filenames: False
2022-04-14 20:44:24 DEBUG    plugin                        Trying to load plugins from: ['/config/plugins', '/usr/lib/python3.9/site-packages/flexget/plugins']
2022-04-14 20:44:35 DEBUG    plugin                        Plugin `memusage` requires plugin `ext lib `guppy`` to load.
2022-04-14 20:44:35 DEBUG    plugin                        Trying to load components from: ['/config/components', '/usr/lib/python3.9/site-packages/flexget/components']
2022-04-14 20:44:46 DEBUG    plugin                        Plugins took 21.61 seconds to load. 317 plugins in registry.
2022-04-14 20:44:46 DEBUG    manager                       Connecting to: sqlite:////config/db-config.sqlite
[services.d] executing => flexget -c /config/config.yml --loglevel debug --logfile flexget.log daemon start --autoreload-config

Change the data disk mapping path

I want to change the data disk mapping path to replace /data .
I just need to change the flexget config file, right?
Do you write this data disk path (/data) into the code?

How to add curl command

Thank you very much for mirroring.
I now want to use flexget to cooperate with youtube-dl to automatically download youtube videos, and I have automatically grabbed the updated rss, but the log prompts "Stdout: /bin/sh: curl: not found" when pushing, and I checked that the possible reason is that the mirror is not found. Caused by the curl command.
Since I don't know much about docker, I would like to ask how to install or package curl commands into the image you made.

Installing plugins?

Hi,

What is the proper way to get plugins installed? I tried specifying FG_PLUGINS=rss,age,deluge (with quotes, without, etc.) But the log shows the plugins not found.

Help?

Thanks.

Ask format of TZ

Hello, I've deployed flexget, and add "-e TZ=Asia/Shanghai", and only logs's time is correct, time in "task page" still displayed as GMT

May I ask how to make it right?

Thanks.

Docker container couldn't start

I tested tags 3.3.7 and 3.3.6 for linux/amd64. Docker log stucks at

[cont-init.d] 10-adduser: exited 0.
[cont-init.d] 20-config: executing...
*** Using existing config.yml
*** Setting flexget web password
Updated password

for both versions.

I need to override the file /etc/cont-init.d/20-config by removing the last line

echo "*** Flexget v$(flexget -V | sed -n 1p) ready!"

The command flexget -V never returns. I'm not sure if it's something wrong on my side. A clean config.yaml doesn't help

write_magnet uncaught exception cash the task

Sometimes the write_magnet causes this error:

2022-08-20 19:10:45 CRITICAL task task1 BUG: Unhandled error in plugin write_magnet: invalid info-hash
File "/config/plugins/write_magnet.py", line 66, in magnet_to_torrent
params = lt.parse_magnet_uri(magnet_uri)
│ │ └ 'magnet:?xt=urn:magnet_uri..
│ └ <Boost.Python.function object at 0x7f51e8595580>
└ <module 'libtorrent' from '/usr/lib/python3.9/site-packages/libtorrent.cpython-39-x86_64-linux-musl.so'>

I think it is missing a try-catch enclosure and error handling.
Something like this works for me: Line 65

    try:
        params = lt.parse_magnet_uri(magnet_uri)
    except Exception as e:
        raise plugin.PluginError('Failed to parse the uri: {}', str(e))

If there is any error in the parsing it will inform and stop that torrent but not crash the process.

Problem with sftp plugins, cryptography lib needs updating

I'm not sure of the exact version, but docker-flexget started using a new version of Alpine (at least that's my assumption) and this is causing issues for the pysftp plugin. I suspect it's related to pyca/cryptography#7868.

If I exec into the running container, start python and try to import pysftp I get the following.
`

import pysftp
Traceback (most recent call last):
File "", line 1, in
File "/usr/lib/python3.10/site-packages/pysftp/init.py", line 12, in
import paramiko
File "/usr/lib/python3.10/site-packages/paramiko/init.py", line 22, in
from paramiko.transport import SecurityOptions, Transport
File "/usr/lib/python3.10/site-packages/paramiko/transport.py", line 135, in
class Transport(threading.Thread, ClosingContextManager):
File "/usr/lib/python3.10/site-packages/paramiko/transport.py", line 209, in Transport
if KexCurve25519.is_available():
File "/usr/lib/python3.10/site-packages/paramiko/kex_curve25519.py", line 30, in is_available
X25519PrivateKey.generate()
File "/usr/lib/python3.10/site-packages/cryptography/hazmat/primitives/asymmetric/x25519.py", line 39, in generate
from cryptography.hazmat.backends.openssl.backend import backend
File "/usr/lib/python3.10/site-packages/cryptography/hazmat/backends/openssl/init.py", line 7, in
from cryptography.hazmat.backends.openssl.backend import backend
File "/usr/lib/python3.10/site-packages/cryptography/hazmat/backends/openssl/backend.py", line 117, in
from cryptography.hazmat.bindings.openssl import binding
File "/usr/lib/python3.10/site-packages/cryptography/hazmat/bindings/openssl/binding.py", line 14, in
from cryptography.hazmat.bindings._openssl import ffi, lib
ImportError: Error relocating /usr/lib/python3.10/site-packages/cryptography/hazmat/bindings/_openssl.abi3.so: FIPS_mode_set: symbol not found
`

The solution was to run pip install cryptography --upgrade inside the container. Is there someway this could be handled at the container level?

Port numbers?

You have the port numbers described as 5050:5050 here, but there's different instructions on hub.docker.com. It seems the docker instructions are incorrect.

Docker doesn't start with CAP_DAC_OVERRIDE disabled

The docker does not start with CAP_DAC_OVERRIDE disabled. this is a potential entry point for an attacker.

-------------------------------------
          _         ()
         | |  ___   _    __
         | | / __| | |  /  \
         | | \__ \ | | | () |
         |_| |___/ |_|  \__/
Brought to you by linuxserver.io
-------------------------------------
To support LSIO projects visit:
https://www.linuxserver.io/donate/
-------------------------------------
GID/UID
-------------------------------------
User uid:    1009
User gid:    1001
-------------------------------------
[cont-init.d] 10-adduser: exited 0.
[cont-init.d] 15-install-pkg: executing... 
[cont-init.d] 15-install-pkg: exited 0.
[cont-init.d] 20-config: executing... 
*** Using existing config.yml
*** Setting flexget web password
Could not start manager: [Errno 13] Permission denied: '/config/flexget.log'
[cont-init.d] 20-config: exited 1.
[cont-finish.d] executing container finish scripts...
[cont-finish.d] done.
[s6-finish] waiting for services.
[s6-finish] sending all processes the TERM signal.

More info: https://book.hacktricks.xyz/linux-hardening/privilege-escalation/linux-capabilities#cap_dac_override

Thank you

Container stops with an error about missing /scripts/init.sh

The last version (3.1.45) does not start properly. There is an error about a missing /scripts/init.sh


      _         ()
     | |  ___   _    __
     | | / __| | |  /  \
     | | \__ \ | | | () |
     |_| |___/ |_|  \__/

Brought to you by linuxserver.io
We gratefully accept donations at:
https://www.linuxserver.io/donate/

GID/UID

User uid: 99
User gid: 100

[cont-init.d] 10-adduser: exited 0.
[cont-init.d] 20-config: executing...
Using existing config.yml
Flexget v3.1.45 ready!
[cont-init.d] 20-config: exited 0.
[cont-init.d] 99-custom-files: executing...
[custom-init] no custom files found exiting...
[cont-init.d] 99-custom-files: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] executing => flexget -c /config/config.yml --loglevel info daemon start --autoreload-config
[services.d] done.
ifelse: fatal: unable to exec /scripts/init.sh: No such file or directory
[cmd] /scripts/init.sh exited 127
[cont-finish.d] executing container finish scripts...
[cont-finish.d] done.
[s6-finish] waiting for services.
[s6-finish] sending all processes the TERM signal.
[s6-finish] sending all processes the KILL signal and exiting.

Flexget is unable to find a proper config location?

Although config is being loaded from the default location and web panel is showing it properly, not everything is working as it should.
flexget series list command is returning:
Failed to find configuration file config.yml, Tried to read from: /, /root/.flexget, /root/.config/flexget and Deluge plugin is unable to load.

Problem started to occur after this commit

[ERROR] custom services broken since update to 3.3.25

custom services dosen't work since update to 3.3.25,
s6-supervise was working, but no output and services not runing.
roll back to 3.3.24, everything works again.

same settings, but use the ghcr.io/linuxserver/baseimage-alpine:3.15,
custom services comes up, and works fine.

ps. custom init script and services path was changed since 2022-08-28, based on linuxserver's announce.

FG_WEBUI_PASSWD doesn't work when 'Password is not strong enough'

# set FG_WEBUI_PASSWD
if [[ ! -z "${FG_WEBUI_PASSWD}" ]]; then
echo "Setting flexget web password to '${FG_WEBUI_PASSWD}'"
flexget -c /config/config.yml web passwd "${FG_WEBUI_PASSWD}" >/dev/null 2>&1 && \
echo "Updated password" || \
echo "Oops, something went wrong"
fi

If 'Password is not strong enough', flexget web passwd command fails but it returns exitcode '0'(success).

$ flexget web passwd 1234; echo $?
There is a FlexGet process already running for this config, sending execution there.
Password '1234' is not strong enough. This is a top-10 common password. Suggestions: Add another word or two. Uncommon words are better.
0

So this shell conditional statement doesn't work.
flexget -c /config/config.yml web passwd "${FG_WEBUI_PASSWD}" && <succeed> || <fail>

The webui does not open

Version container , version docker
I am using docker-compose with version 1.25.0 and container version wiserain/flexget:3

Docker-Compose input

  flexget:
    image: wiserain/flexget:3
    volumes:
      - ./flexget:/config
      - ${STORAGE}/torrents:/downloads
      - ${MEDIA}:/storage
    ports:
      - 5050:5050
    environment:
      - TORRENT_PLUGIN=transmission
      - FG_WEBUI_PASSWD=123456
    restart: unless-stopped
    links:
      - transmission

Description
When I put my_machine_ip:5050 in my browser, the page does not load

Steps to reproduce the issue:

  1. docker-compose up -d
  2. go to my_machine_ip:5050

Describe the results you received:
The page does not load says; the page my_machine_ip has refused the connection

aa
Config.yml

web_server:
  bind: 0.0.0.0
  port: 5050
  # api: yes
  web_ui: yes

schedules:
  - tasks: '*'
    interval:
      minutes: 1
templates:
  tv:
    series:
      settings:
        tv:
          exact: yes
          propers: 12 hours
          quality: 720p
      tv:
      - I am groot
tasks:
  sort_tv:
    priority: 2
    filesystem:
      path: /downloads/complete
      regexp: '.*\.(avi|mkv|mp4)$'
      recursive: yes
    accept_all: yes
    require_field: series_name
    move:
      to: '/storage/'
      rename: '{{ series_name }} - {{ series_id }}'

Also if anyone wants to help me.

I think my setup says that flexget has to move the files from the /downloads/complete folder, rename it and move it to /storage/ (have to say downloads and storage are variable or so I think), but flexget doesn't that task

It's my first time with flexget maybe it's a very silly mistake

Installing the SFTP module.

I'd like to use the SFTP module: https://flexget.com/Plugins/sftp_upload

Installing it didn't work out so well. Is it possible to successfully install it?

pip install pysftp
Collecting pysftp
Downloading pysftp-0.2.9.tar.gz (25 kB)
Collecting paramiko>=1.17
Downloading paramiko-2.7.2-py2.py3-none-any.whl (206 kB)
|████████████████████████████████| 206 kB 1.7 MB/s
Requirement already satisfied: cryptography>=2.5 in /usr/lib/python3.8/site-packages (from paramiko>=1.17->pysftp) (3.3.2)
Collecting pynacl>=1.0.1
Downloading PyNaCl-1.4.0.tar.gz (3.4 MB)
|████████████████████████████████| 3.4 MB 2.4 MB/s
Installing build dependencies ... error
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 /usr/lib/python3.8/site-packages/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-t923bhu2/overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- 'setuptools>=40.8.0' wheel 'cffi>=1.4.1; python_implementation != '"'"'PyPy'"'"''
cwd: None
Complete output (164 lines):
Collecting setuptools>=40.8.0
Downloading setuptools-54.1.1-py3-none-any.whl (784 kB)
Collecting wheel
Downloading wheel-0.36.2-py2.py3-none-any.whl (35 kB)
Collecting cffi>=1.4.1
Downloading cffi-1.14.5.tar.gz (475 kB)
Collecting pycparser
Downloading pycparser-2.20-py2.py3-none-any.whl (112 kB)
Building wheels for collected packages: cffi
Building wheel for cffi (setup.py): started
Building wheel for cffi (setup.py): finished with status 'error'
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-t_m5vjfi/cffi_9c47b5e7a4a04e78bc9e13a8928a4591/setup.py'"'"'; file='"'"'/tmp/pip-install-t_m5vjfi/cffi_9c47b5e7a4a04e78bc9e13a8928a4591/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-6_r40tdq
cwd: /tmp/pip-install-t_m5vjfi/cffi_9c47b5e7a4a04e78bc9e13a8928a4591/
Complete output (68 lines):
Package libffi was not found in the pkg-config search path.
Perhaps you should add the directory containing libffi.pc' to the PKG_CONFIG_PATH environment variable Package 'libffi', required by 'virtual:world', not found Package libffi was not found in the pkg-config search path. Perhaps you should add the directory containing libffi.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libffi', required by 'virtual:world', not found
Package libffi was not found in the pkg-config search path.
Perhaps you should add the directory containing libffi.pc' to the PKG_CONFIG_PATH environment variable Package 'libffi', required by 'virtual:world', not found Package libffi was not found in the pkg-config search path. Perhaps you should add the directory containing libffi.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libffi', required by 'virtual:world', not found
Package libffi was not found in the pkg-config search path.
Perhaps you should add the directory containing `libffi.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libffi', required by 'virtual:world', not found
unable to execute 'gcc': No such file or directory
unable to execute 'gcc': No such file or directory

    No working compiler found, or bogus compiler options passed to
    the compiler from Python's standard "distutils" module.  See
    the error messages above.  Likely, the problem is not related
    to CFFI but generic to the setup.py of any Python package that
    tries to compile C code.  (Hints: on OS/X 10.8, for errors about
    -mno-fused-madd see http://stackoverflow.com/questions/22313407/
    Otherwise, see https://wiki.python.org/moin/CompLangPython or
    the IRC channel #python on irc.freenode.net.)

    Trying to continue anyway.  If you are trying to install CFFI from
    a build done in a different context, you can ignore this warning.

running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.8
creating build/lib.linux-x86_64-3.8/cffi
copying cffi/__init__.py -> build/lib.linux-x86_64-3.8/cffi
copying cffi/api.py -> build/lib.linux-x86_64-3.8/cffi
copying cffi/backend_ctypes.py -> build/lib.linux-x86_64-3.8/cffi
copying cffi/cffi_opcode.py -> build/lib.linux-x86_64-3.8/cffi
copying cffi/commontypes.py -> build/lib.linux-x86_64-3.8/cffi
copying cffi/cparser.py -> build/lib.linux-x86_64-3.8/cffi
copying cffi/error.py -> build/lib.linux-x86_64-3.8/cffi
copying cffi/ffiplatform.py -> build/lib.linux-x86_64-3.8/cffi
copying cffi/lock.py -> build/lib.linux-x86_64-3.8/cffi
copying cffi/model.py -> build/lib.linux-x86_64-3.8/cffi
copying cffi/pkgconfig.py -> build/lib.linux-x86_64-3.8/cffi
copying cffi/recompiler.py -> build/lib.linux-x86_64-3.8/cffi
copying cffi/setuptools_ext.py -> build/lib.linux-x86_64-3.8/cffi
copying cffi/vengine_cpy.py -> build/lib.linux-x86_64-3.8/cffi
copying cffi/vengine_gen.py -> build/lib.linux-x86_64-3.8/cffi
copying cffi/verifier.py -> build/lib.linux-x86_64-3.8/cffi
copying cffi/_cffi_include.h -> build/lib.linux-x86_64-3.8/cffi
copying cffi/parse_c_type.h -> build/lib.linux-x86_64-3.8/cffi
copying cffi/_embedding.h -> build/lib.linux-x86_64-3.8/cffi
copying cffi/_cffi_errors.h -> build/lib.linux-x86_64-3.8/cffi
running build_ext
building '_cffi_backend' extension
creating build/temp.linux-x86_64-3.8
creating build/temp.linux-x86_64-3.8/c
gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fomit-frame-pointer -g -fno-semantic-interposition -fomit-frame-pointer -g -fno-semantic-interposition -fomit-frame-pointer -g -fno-semantic-interposition -DTHREAD_STACK_SIZE=0x100000 -fPIC -I/usr/include/ffi -I/usr/include/libffi -I/usr/include/python3.8 -c c/_cffi_backend.c -o build/temp.linux-x86_64-3.8/c/_cffi_backend.o
unable to execute 'gcc': No such file or directory
error: command 'gcc' failed with exit status 1
----------------------------------------
ERROR: Failed building wheel for cffi
Running setup.py clean for cffi

Failed to build cffi
Installing collected packages: pycparser, wheel, setuptools, cffi
Running setup.py install for cffi: started
Running setup.py install for cffi: finished with status 'error'
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-t_m5vjfi/cffi_9c47b5e7a4a04e78bc9e13a8928a4591/setup.py'"'"'; file='"'"'/tmp/pip-install-t_m5vjfi/cffi_9c47b5e7a4a04e78bc9e13a8928a4591/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /tmp/pip-record-gxz2l00k/install-record.txt --single-version-externally-managed --prefix /tmp/pip-build-env-t923bhu2/overlay --compile --install-headers /tmp/pip-build-env-t923bhu2/overlay/include/python3.8/cffi
cwd: /tmp/pip-install-t_m5vjfi/cffi_9c47b5e7a4a04e78bc9e13a8928a4591/
Complete output (68 lines):
Package libffi was not found in the pkg-config search path.
Perhaps you should add the directory containing libffi.pc' to the PKG_CONFIG_PATH environment variable Package 'libffi', required by 'virtual:world', not found Package libffi was not found in the pkg-config search path. Perhaps you should add the directory containing libffi.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libffi', required by 'virtual:world', not found
Package libffi was not found in the pkg-config search path.
Perhaps you should add the directory containing libffi.pc' to the PKG_CONFIG_PATH environment variable Package 'libffi', required by 'virtual:world', not found Package libffi was not found in the pkg-config search path. Perhaps you should add the directory containing libffi.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libffi', required by 'virtual:world', not found
Package libffi was not found in the pkg-config search path.
Perhaps you should add the directory containing `libffi.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libffi', required by 'virtual:world', not found
unable to execute 'gcc': No such file or directory
unable to execute 'gcc': No such file or directory

      No working compiler found, or bogus compiler options passed to
      the compiler from Python's standard "distutils" module.  See
      the error messages above.  Likely, the problem is not related
      to CFFI but generic to the setup.py of any Python package that
      tries to compile C code.  (Hints: on OS/X 10.8, for errors about
      -mno-fused-madd see http://stackoverflow.com/questions/22313407/
      Otherwise, see https://wiki.python.org/moin/CompLangPython or
      the IRC channel #python on irc.freenode.net.)

      Trying to continue anyway.  If you are trying to install CFFI from
      a build done in a different context, you can ignore this warning.

  running install
  running build
  running build_py
  creating build
  creating build/lib.linux-x86_64-3.8
  creating build/lib.linux-x86_64-3.8/cffi
  copying cffi/__init__.py -> build/lib.linux-x86_64-3.8/cffi
  copying cffi/api.py -> build/lib.linux-x86_64-3.8/cffi
  copying cffi/backend_ctypes.py -> build/lib.linux-x86_64-3.8/cffi
  copying cffi/cffi_opcode.py -> build/lib.linux-x86_64-3.8/cffi
  copying cffi/commontypes.py -> build/lib.linux-x86_64-3.8/cffi
  copying cffi/cparser.py -> build/lib.linux-x86_64-3.8/cffi
  copying cffi/error.py -> build/lib.linux-x86_64-3.8/cffi
  copying cffi/ffiplatform.py -> build/lib.linux-x86_64-3.8/cffi
  copying cffi/lock.py -> build/lib.linux-x86_64-3.8/cffi
  copying cffi/model.py -> build/lib.linux-x86_64-3.8/cffi
  copying cffi/pkgconfig.py -> build/lib.linux-x86_64-3.8/cffi
  copying cffi/recompiler.py -> build/lib.linux-x86_64-3.8/cffi
  copying cffi/setuptools_ext.py -> build/lib.linux-x86_64-3.8/cffi
  copying cffi/vengine_cpy.py -> build/lib.linux-x86_64-3.8/cffi
  copying cffi/vengine_gen.py -> build/lib.linux-x86_64-3.8/cffi
  copying cffi/verifier.py -> build/lib.linux-x86_64-3.8/cffi
  copying cffi/_cffi_include.h -> build/lib.linux-x86_64-3.8/cffi
  copying cffi/parse_c_type.h -> build/lib.linux-x86_64-3.8/cffi
  copying cffi/_embedding.h -> build/lib.linux-x86_64-3.8/cffi
  copying cffi/_cffi_errors.h -> build/lib.linux-x86_64-3.8/cffi
  running build_ext
  building '_cffi_backend' extension
  creating build/temp.linux-x86_64-3.8
  creating build/temp.linux-x86_64-3.8/c
  gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fomit-frame-pointer -g -fno-semantic-interposition -fomit-frame-pointer -g -fno-semantic-interposition -fomit-frame-pointer -g -fno-semantic-interposition -DTHREAD_STACK_SIZE=0x100000 -fPIC -I/usr/include/ffi -I/usr/include/libffi -I/usr/include/python3.8 -c c/_cffi_backend.c -o build/temp.linux-x86_64-3.8/c/_cffi_backend.o
  unable to execute 'gcc': No such file or directory
  error: command 'gcc' failed with exit status 1
  ----------------------------------------

ERROR: Command errored out with exit status 1: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-t_m5vjfi/cffi_9c47b5e7a4a04e78bc9e13a8928a4591/setup.py'"'"'; file='"'"'/tmp/pip-install-t_m5vjfi/cffi_9c47b5e7a4a04e78bc9e13a8928a4591/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /tmp/pip-record-gxz2l00k/install-record.txt --single-version-externally-managed --prefix /tmp/pip-build-env-t923bhu2/overlay --compile --install-headers /tmp/pip-build-env-t923bhu2/overlay/include/python3.8/cffi Check the logs for full command output.

WARNING: Discarding https://files.pythonhosted.org/packages/cf/5a/25aeb636baeceab15c8e57e66b8aa930c011ec1c035f284170cacb05025e/PyNaCl-1.4.0.tar.gz#sha256=54e9a2c849c742006516ad56a88f5c74bf2ce92c9f67435187c3c5953b346505 (from https://pypi.org/simple/pynacl/) (requires-python:>=2.7, !=3.0., !=3.1., !=3.2., !=3.3.). Command errored out with exit status 1: /usr/bin/python3 /usr/lib/python3.8/site-packages/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-t923bhu2/overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- 'setuptools>=40.8.0' wheel 'cffi>=1.4.1; python_implementation != '"'"'PyPy'"'"'' Check the logs for full command output.
Downloading PyNaCl-1.3.0.tar.gz (3.4 MB)
|████████████████████████████████| 3.4 MB 7.6 MB/s
Installing build dependencies ... error
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 /usr/lib/python3.8/site-packages/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-pwe1zx2f/overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- setuptools wheel 'cffi>=1.4.1; python_implementation != '"'"'PyPy'"'"''
cwd: None
Complete output (164 lines):
Collecting setuptools
Using cached setuptools-54.1.1-py3-none-any.whl (784 kB)
Collecting wheel
Using cached wheel-0.36.2-py2.py3-none-any.whl (35 kB)
Collecting cffi>=1.4.1
Using cached cffi-1.14.5.tar.gz (475 kB)
Collecting pycparser
Using cached pycparser-2.20-py2.py3-none-any.whl (112 kB)
Building wheels for collected packages: cffi
Building wheel for cffi (setup.py): started
Building wheel for cffi (setup.py): finished with status 'error'
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-qz7i99n2/cffi_d3c93d930f454b7e89c7456c131bbfec/setup.py'"'"'; file='"'"'/tmp/pip-install-qz7i99n2/cffi_d3c93d930f454b7e89c7456c131bbfec/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-9w1qn6or
cwd: /tmp/pip-install-qz7i99n2/cffi_d3c93d930f454b7e89c7456c131bbfec/
Complete output (68 lines):
Package libffi was not found in the pkg-config search path.
Perhaps you should add the directory containing libffi.pc' to the PKG_CONFIG_PATH environment variable Package 'libffi', required by 'virtual:world', not found Package libffi was not found in the pkg-config search path. Perhaps you should add the directory containing libffi.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libffi', required by 'virtual:world', not found
Package libffi was not found in the pkg-config search path.
Perhaps you should add the directory containing libffi.pc' to the PKG_CONFIG_PATH environment variable Package 'libffi', required by 'virtual:world', not found Package libffi was not found in the pkg-config search path. Perhaps you should add the directory containing libffi.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libffi', required by 'virtual:world', not found
Package libffi was not found in the pkg-config search path.
Perhaps you should add the directory containing `libffi.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libffi', required by 'virtual:world', not found
unable to execute 'gcc': No such file or directory
unable to execute 'gcc': No such file or directory

    No working compiler found, or bogus compiler options passed to
    the compiler from Python's standard "distutils" module.  See
    the error messages above.  Likely, the problem is not related
    to CFFI but generic to the setup.py of any Python package that
    tries to compile C code.  (Hints: on OS/X 10.8, for errors about
    -mno-fused-madd see http://stackoverflow.com/questions/22313407/
    Otherwise, see https://wiki.python.org/moin/CompLangPython or
    the IRC channel #python on irc.freenode.net.)

    Trying to continue anyway.  If you are trying to install CFFI from
    a build done in a different context, you can ignore this warning.

running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.8
creating build/lib.linux-x86_64-3.8/cffi
copying cffi/__init__.py -> build/lib.linux-x86_64-3.8/cffi
copying cffi/api.py -> build/lib.linux-x86_64-3.8/cffi
copying cffi/backend_ctypes.py -> build/lib.linux-x86_64-3.8/cffi
copying cffi/cffi_opcode.py -> build/lib.linux-x86_64-3.8/cffi
copying cffi/commontypes.py -> build/lib.linux-x86_64-3.8/cffi
copying cffi/cparser.py -> build/lib.linux-x86_64-3.8/cffi
copying cffi/error.py -> build/lib.linux-x86_64-3.8/cffi
copying cffi/ffiplatform.py -> build/lib.linux-x86_64-3.8/cffi
copying cffi/lock.py -> build/lib.linux-x86_64-3.8/cffi
copying cffi/model.py -> build/lib.linux-x86_64-3.8/cffi
copying cffi/pkgconfig.py -> build/lib.linux-x86_64-3.8/cffi
copying cffi/recompiler.py -> build/lib.linux-x86_64-3.8/cffi
copying cffi/setuptools_ext.py -> build/lib.linux-x86_64-3.8/cffi
copying cffi/vengine_cpy.py -> build/lib.linux-x86_64-3.8/cffi
copying cffi/vengine_gen.py -> build/lib.linux-x86_64-3.8/cffi
copying cffi/verifier.py -> build/lib.linux-x86_64-3.8/cffi
copying cffi/_cffi_include.h -> build/lib.linux-x86_64-3.8/cffi
copying cffi/parse_c_type.h -> build/lib.linux-x86_64-3.8/cffi
copying cffi/_embedding.h -> build/lib.linux-x86_64-3.8/cffi
copying cffi/_cffi_errors.h -> build/lib.linux-x86_64-3.8/cffi
running build_ext
building '_cffi_backend' extension
creating build/temp.linux-x86_64-3.8
creating build/temp.linux-x86_64-3.8/c
gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fomit-frame-pointer -g -fno-semantic-interposition -fomit-frame-pointer -g -fno-semantic-interposition -fomit-frame-pointer -g -fno-semantic-interposition -DTHREAD_STACK_SIZE=0x100000 -fPIC -I/usr/include/ffi -I/usr/include/libffi -I/usr/include/python3.8 -c c/_cffi_backend.c -o build/temp.linux-x86_64-3.8/c/_cffi_backend.o
unable to execute 'gcc': No such file or directory
error: command 'gcc' failed with exit status 1
----------------------------------------
ERROR: Failed building wheel for cffi
Running setup.py clean for cffi

Failed to build cffi
Installing collected packages: pycparser, wheel, setuptools, cffi
Running setup.py install for cffi: started
Running setup.py install for cffi: finished with status 'error'
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-qz7i99n2/cffi_d3c93d930f454b7e89c7456c131bbfec/setup.py'"'"'; file='"'"'/tmp/pip-install-qz7i99n2/cffi_d3c93d930f454b7e89c7456c131bbfec/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /tmp/pip-record-tqk3d4k6/install-record.txt --single-version-externally-managed --prefix /tmp/pip-build-env-pwe1zx2f/overlay --compile --install-headers /tmp/pip-build-env-pwe1zx2f/overlay/include/python3.8/cffi
cwd: /tmp/pip-install-qz7i99n2/cffi_d3c93d930f454b7e89c7456c131bbfec/
Complete output (68 lines):
Package libffi was not found in the pkg-config search path.
Perhaps you should add the directory containing libffi.pc' to the PKG_CONFIG_PATH environment variable Package 'libffi', required by 'virtual:world', not found Package libffi was not found in the pkg-config search path. Perhaps you should add the directory containing libffi.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libffi', required by 'virtual:world', not found
Package libffi was not found in the pkg-config search path.
Perhaps you should add the directory containing libffi.pc' to the PKG_CONFIG_PATH environment variable Package 'libffi', required by 'virtual:world', not found Package libffi was not found in the pkg-config search path. Perhaps you should add the directory containing libffi.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libffi', required by 'virtual:world', not found
Package libffi was not found in the pkg-config search path.
Perhaps you should add the directory containing `libffi.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libffi', required by 'virtual:world', not found
unable to execute 'gcc': No such file or directory
unable to execute 'gcc': No such file or directory

      No working compiler found, or bogus compiler options passed to
      the compiler from Python's standard "distutils" module.  See
      the error messages above.  Likely, the problem is not related
      to CFFI but generic to the setup.py of any Python package that
      tries to compile C code.  (Hints: on OS/X 10.8, for errors about
      -mno-fused-madd see http://stackoverflow.com/questions/22313407/
      Otherwise, see https://wiki.python.org/moin/CompLangPython or
      the IRC channel #python on irc.freenode.net.)

      Trying to continue anyway.  If you are trying to install CFFI from
      a build done in a different context, you can ignore this warning.

  running install
  running build
  running build_py
  creating build
  creating build/lib.linux-x86_64-3.8
  creating build/lib.linux-x86_64-3.8/cffi
  copying cffi/__init__.py -> build/lib.linux-x86_64-3.8/cffi
  copying cffi/api.py -> build/lib.linux-x86_64-3.8/cffi
  copying cffi/backend_ctypes.py -> build/lib.linux-x86_64-3.8/cffi
  copying cffi/cffi_opcode.py -> build/lib.linux-x86_64-3.8/cffi
  copying cffi/commontypes.py -> build/lib.linux-x86_64-3.8/cffi
  copying cffi/cparser.py -> build/lib.linux-x86_64-3.8/cffi
  copying cffi/error.py -> build/lib.linux-x86_64-3.8/cffi
  copying cffi/ffiplatform.py -> build/lib.linux-x86_64-3.8/cffi
  copying cffi/lock.py -> build/lib.linux-x86_64-3.8/cffi
  copying cffi/model.py -> build/lib.linux-x86_64-3.8/cffi
  copying cffi/pkgconfig.py -> build/lib.linux-x86_64-3.8/cffi
  copying cffi/recompiler.py -> build/lib.linux-x86_64-3.8/cffi
  copying cffi/setuptools_ext.py -> build/lib.linux-x86_64-3.8/cffi
  copying cffi/vengine_cpy.py -> build/lib.linux-x86_64-3.8/cffi
  copying cffi/vengine_gen.py -> build/lib.linux-x86_64-3.8/cffi
  copying cffi/verifier.py -> build/lib.linux-x86_64-3.8/cffi
  copying cffi/_cffi_include.h -> build/lib.linux-x86_64-3.8/cffi
  copying cffi/parse_c_type.h -> build/lib.linux-x86_64-3.8/cffi
  copying cffi/_embedding.h -> build/lib.linux-x86_64-3.8/cffi
  copying cffi/_cffi_errors.h -> build/lib.linux-x86_64-3.8/cffi
  running build_ext
  building '_cffi_backend' extension
  creating build/temp.linux-x86_64-3.8
  creating build/temp.linux-x86_64-3.8/c
  gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fomit-frame-pointer -g -fno-semantic-interposition -fomit-frame-pointer -g -fno-semantic-interposition -fomit-frame-pointer -g -fno-semantic-interposition -DTHREAD_STACK_SIZE=0x100000 -fPIC -I/usr/include/ffi -I/usr/include/libffi -I/usr/include/python3.8 -c c/_cffi_backend.c -o build/temp.linux-x86_64-3.8/c/_cffi_backend.o
  unable to execute 'gcc': No such file or directory
  error: command 'gcc' failed with exit status 1
  ----------------------------------------

ERROR: Command errored out with exit status 1: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-qz7i99n2/cffi_d3c93d930f454b7e89c7456c131bbfec/setup.py'"'"'; file='"'"'/tmp/pip-install-qz7i99n2/cffi_d3c93d930f454b7e89c7456c131bbfec/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /tmp/pip-record-tqk3d4k6/install-record.txt --single-version-externally-managed --prefix /tmp/pip-build-env-pwe1zx2f/overlay --compile --install-headers /tmp/pip-build-env-pwe1zx2f/overlay/include/python3.8/cffi Check the logs for full command output.

WARNING: Discarding https://files.pythonhosted.org/packages/61/ab/2ac6dea8489fa713e2b4c6c5b549cc962dd4a842b5998d9e80cf8440b7cd/PyNaCl-1.3.0.tar.gz#sha256=0c6100edd16fefd1557da078c7a31e7b7d7a52ce39fdca2bec29d4f7b6e7600c (from https://pypi.org/simple/pynacl/). Command errored out with exit status 1: /usr/bin/python3 /usr/lib/python3.8/site-packages/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-pwe1zx2f/overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- setuptools wheel 'cffi>=1.4.1; python_implementation != '"'"'PyPy'"'"'' Check the logs for full command output.
Downloading PyNaCl-1.2.1.tar.gz (3.3 MB)
|████████████████████████████████| 3.3 MB 8.3 MB/s
Collecting bcrypt>=3.1.3
Downloading bcrypt-3.2.0.tar.gz (42 kB)
|████████████████████████████████| 42 kB 1.5 MB/s
Installing build dependencies ... error
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 /usr/lib/python3.8/site-packages/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-lpxor6ko/overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- 'setuptools>=40.8.0' wheel 'cffi>=1.1; python_implementation != '"'"'PyPy'"'"''
cwd: None
Complete output (164 lines):
Collecting setuptools>=40.8.0
Using cached setuptools-54.1.1-py3-none-any.whl (784 kB)
Collecting wheel
Using cached wheel-0.36.2-py2.py3-none-any.whl (35 kB)
Collecting cffi>=1.1
Using cached cffi-1.14.5.tar.gz (475 kB)
Collecting pycparser
Using cached pycparser-2.20-py2.py3-none-any.whl (112 kB)
Building wheels for collected packages: cffi
Building wheel for cffi (setup.py): started
Building wheel for cffi (setup.py): finished with status 'error'
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-h6y8vln1/cffi_1888a3b4b044488ebb67b268ba7aefa5/setup.py'"'"'; file='"'"'/tmp/pip-install-h6y8vln1/cffi_1888a3b4b044488ebb67b268ba7aefa5/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-9i1ho6u8
cwd: /tmp/pip-install-h6y8vln1/cffi_1888a3b4b044488ebb67b268ba7aefa5/
Complete output (68 lines):
Package libffi was not found in the pkg-config search path.
Perhaps you should add the directory containing libffi.pc' to the PKG_CONFIG_PATH environment variable Package 'libffi', required by 'virtual:world', not found Package libffi was not found in the pkg-config search path. Perhaps you should add the directory containing libffi.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libffi', required by 'virtual:world', not found
Package libffi was not found in the pkg-config search path.
Perhaps you should add the directory containing libffi.pc' to the PKG_CONFIG_PATH environment variable Package 'libffi', required by 'virtual:world', not found Package libffi was not found in the pkg-config search path. Perhaps you should add the directory containing libffi.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libffi', required by 'virtual:world', not found
Package libffi was not found in the pkg-config search path.
Perhaps you should add the directory containing `libffi.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libffi', required by 'virtual:world', not found
unable to execute 'gcc': No such file or directory
unable to execute 'gcc': No such file or directory

    No working compiler found, or bogus compiler options passed to
    the compiler from Python's standard "distutils" module.  See
    the error messages above.  Likely, the problem is not related
    to CFFI but generic to the setup.py of any Python package that
    tries to compile C code.  (Hints: on OS/X 10.8, for errors about
    -mno-fused-madd see http://stackoverflow.com/questions/22313407/
    Otherwise, see https://wiki.python.org/moin/CompLangPython or
    the IRC channel #python on irc.freenode.net.)

    Trying to continue anyway.  If you are trying to install CFFI from
    a build done in a different context, you can ignore this warning.

running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.8
creating build/lib.linux-x86_64-3.8/cffi
copying cffi/__init__.py -> build/lib.linux-x86_64-3.8/cffi
copying cffi/api.py -> build/lib.linux-x86_64-3.8/cffi
copying cffi/backend_ctypes.py -> build/lib.linux-x86_64-3.8/cffi
copying cffi/cffi_opcode.py -> build/lib.linux-x86_64-3.8/cffi
copying cffi/commontypes.py -> build/lib.linux-x86_64-3.8/cffi
copying cffi/cparser.py -> build/lib.linux-x86_64-3.8/cffi
copying cffi/error.py -> build/lib.linux-x86_64-3.8/cffi
copying cffi/ffiplatform.py -> build/lib.linux-x86_64-3.8/cffi
copying cffi/lock.py -> build/lib.linux-x86_64-3.8/cffi
copying cffi/model.py -> build/lib.linux-x86_64-3.8/cffi
copying cffi/pkgconfig.py -> build/lib.linux-x86_64-3.8/cffi
copying cffi/recompiler.py -> build/lib.linux-x86_64-3.8/cffi
copying cffi/setuptools_ext.py -> build/lib.linux-x86_64-3.8/cffi
copying cffi/vengine_cpy.py -> build/lib.linux-x86_64-3.8/cffi
copying cffi/vengine_gen.py -> build/lib.linux-x86_64-3.8/cffi
copying cffi/verifier.py -> build/lib.linux-x86_64-3.8/cffi
copying cffi/_cffi_include.h -> build/lib.linux-x86_64-3.8/cffi
copying cffi/parse_c_type.h -> build/lib.linux-x86_64-3.8/cffi
copying cffi/_embedding.h -> build/lib.linux-x86_64-3.8/cffi
copying cffi/_cffi_errors.h -> build/lib.linux-x86_64-3.8/cffi
running build_ext
building '_cffi_backend' extension
creating build/temp.linux-x86_64-3.8
creating build/temp.linux-x86_64-3.8/c
gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fomit-frame-pointer -g -fno-semantic-interposition -fomit-frame-pointer -g -fno-semantic-interposition -fomit-frame-pointer -g -fno-semantic-interposition -DTHREAD_STACK_SIZE=0x100000 -fPIC -I/usr/include/ffi -I/usr/include/libffi -I/usr/include/python3.8 -c c/_cffi_backend.c -o build/temp.linux-x86_64-3.8/c/_cffi_backend.o
unable to execute 'gcc': No such file or directory
error: command 'gcc' failed with exit status 1
----------------------------------------
ERROR: Failed building wheel for cffi
Running setup.py clean for cffi

Failed to build cffi
Installing collected packages: pycparser, wheel, setuptools, cffi
Running setup.py install for cffi: started
Running setup.py install for cffi: finished with status 'error'
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-h6y8vln1/cffi_1888a3b4b044488ebb67b268ba7aefa5/setup.py'"'"'; file='"'"'/tmp/pip-install-h6y8vln1/cffi_1888a3b4b044488ebb67b268ba7aefa5/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /tmp/pip-record-clq5jirt/install-record.txt --single-version-externally-managed --prefix /tmp/pip-build-env-lpxor6ko/overlay --compile --install-headers /tmp/pip-build-env-lpxor6ko/overlay/include/python3.8/cffi
cwd: /tmp/pip-install-h6y8vln1/cffi_1888a3b4b044488ebb67b268ba7aefa5/
Complete output (68 lines):
Package libffi was not found in the pkg-config search path.
Perhaps you should add the directory containing libffi.pc' to the PKG_CONFIG_PATH environment variable Package 'libffi', required by 'virtual:world', not found Package libffi was not found in the pkg-config search path. Perhaps you should add the directory containing libffi.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libffi', required by 'virtual:world', not found
Package libffi was not found in the pkg-config search path.
Perhaps you should add the directory containing libffi.pc' to the PKG_CONFIG_PATH environment variable Package 'libffi', required by 'virtual:world', not found Package libffi was not found in the pkg-config search path. Perhaps you should add the directory containing libffi.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libffi', required by 'virtual:world', not found
Package libffi was not found in the pkg-config search path.
Perhaps you should add the directory containing `libffi.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libffi', required by 'virtual:world', not found
unable to execute 'gcc': No such file or directory
unable to execute 'gcc': No such file or directory

      No working compiler found, or bogus compiler options passed to
      the compiler from Python's standard "distutils" module.  See
      the error messages above.  Likely, the problem is not related
      to CFFI but generic to the setup.py of any Python package that
      tries to compile C code.  (Hints: on OS/X 10.8, for errors about
      -mno-fused-madd see http://stackoverflow.com/questions/22313407/
      Otherwise, see https://wiki.python.org/moin/CompLangPython or
      the IRC channel #python on irc.freenode.net.)

      Trying to continue anyway.  If you are trying to install CFFI from
      a build done in a different context, you can ignore this warning.

  running install
  running build
  running build_py
  creating build
  creating build/lib.linux-x86_64-3.8
  creating build/lib.linux-x86_64-3.8/cffi
  copying cffi/__init__.py -> build/lib.linux-x86_64-3.8/cffi
  copying cffi/api.py -> build/lib.linux-x86_64-3.8/cffi
  copying cffi/backend_ctypes.py -> build/lib.linux-x86_64-3.8/cffi
  copying cffi/cffi_opcode.py -> build/lib.linux-x86_64-3.8/cffi
  copying cffi/commontypes.py -> build/lib.linux-x86_64-3.8/cffi
  copying cffi/cparser.py -> build/lib.linux-x86_64-3.8/cffi
  copying cffi/error.py -> build/lib.linux-x86_64-3.8/cffi
  copying cffi/ffiplatform.py -> build/lib.linux-x86_64-3.8/cffi
  copying cffi/lock.py -> build/lib.linux-x86_64-3.8/cffi
  copying cffi/model.py -> build/lib.linux-x86_64-3.8/cffi
  copying cffi/pkgconfig.py -> build/lib.linux-x86_64-3.8/cffi
  copying cffi/recompiler.py -> build/lib.linux-x86_64-3.8/cffi
  copying cffi/setuptools_ext.py -> build/lib.linux-x86_64-3.8/cffi
  copying cffi/vengine_cpy.py -> build/lib.linux-x86_64-3.8/cffi
  copying cffi/vengine_gen.py -> build/lib.linux-x86_64-3.8/cffi
  copying cffi/verifier.py -> build/lib.linux-x86_64-3.8/cffi
  copying cffi/_cffi_include.h -> build/lib.linux-x86_64-3.8/cffi
  copying cffi/parse_c_type.h -> build/lib.linux-x86_64-3.8/cffi
  copying cffi/_embedding.h -> build/lib.linux-x86_64-3.8/cffi
  copying cffi/_cffi_errors.h -> build/lib.linux-x86_64-3.8/cffi
  running build_ext
  building '_cffi_backend' extension
  creating build/temp.linux-x86_64-3.8
  creating build/temp.linux-x86_64-3.8/c
  gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fomit-frame-pointer -g -fno-semantic-interposition -fomit-frame-pointer -g -fno-semantic-interposition -fomit-frame-pointer -g -fno-semantic-interposition -DTHREAD_STACK_SIZE=0x100000 -fPIC -I/usr/include/ffi -I/usr/include/libffi -I/usr/include/python3.8 -c c/_cffi_backend.c -o build/temp.linux-x86_64-3.8/c/_cffi_backend.o
  unable to execute 'gcc': No such file or directory
  error: command 'gcc' failed with exit status 1
  ----------------------------------------

ERROR: Command errored out with exit status 1: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-h6y8vln1/cffi_1888a3b4b044488ebb67b268ba7aefa5/setup.py'"'"'; file='"'"'/tmp/pip-install-h6y8vln1/cffi_1888a3b4b044488ebb67b268ba7aefa5/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /tmp/pip-record-clq5jirt/install-record.txt --single-version-externally-managed --prefix /tmp/pip-build-env-lpxor6ko/overlay --compile --install-headers /tmp/pip-build-env-lpxor6ko/overlay/include/python3.8/cffi Check the logs for full command output.

WARNING: Discarding https://files.pythonhosted.org/packages/d8/ba/21c475ead997ee21502d30f76fd93ad8d5858d19a3fad7cd153de698c4dd/bcrypt-3.2.0.tar.gz#sha256=5b93c1726e50a93a033c36e5ca7fdcd29a5c7395af50a6892f5d9e7c6cfbfb29 (from https://pypi.org/simple/bcrypt/) (requires-python:>=3.6). Command errored out with exit status 1: /usr/bin/python3 /usr/lib/python3.8/site-packages/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-lpxor6ko/overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- 'setuptools>=40.8.0' wheel 'cffi>=1.1; python_implementation != '"'"'PyPy'"'"'' Check the logs for full command output.
Downloading bcrypt-3.1.7.tar.gz (42 kB)
|████████████████████████████████| 42 kB 879 kB/s
Installing build dependencies ... error
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 /usr/lib/python3.8/site-packages/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-cib0frkc/overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- 'setuptools>=40.8.0' wheel 'cffi>=1.1; python_implementation != '"'"'PyPy'"'"''
cwd: None
Complete output (164 lines):
Collecting setuptools>=40.8.0
Using cached setuptools-54.1.1-py3-none-any.whl (784 kB)
Collecting wheel
Using cached wheel-0.36.2-py2.py3-none-any.whl (35 kB)
Collecting cffi>=1.1
Using cached cffi-1.14.5.tar.gz (475 kB)
Collecting pycparser
Using cached pycparser-2.20-py2.py3-none-any.whl (112 kB)
Building wheels for collected packages: cffi
Building wheel for cffi (setup.py): started
Building wheel for cffi (setup.py): finished with status 'error'
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-b49woaw2/cffi_bb52fd1d4821430ab9ead9fd9584481e/setup.py'"'"'; file='"'"'/tmp/pip-install-b49woaw2/cffi_bb52fd1d4821430ab9ead9fd9584481e/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-8d7vg6h2
cwd: /tmp/pip-install-b49woaw2/cffi_bb52fd1d4821430ab9ead9fd9584481e/
Complete output (68 lines):
Package libffi was not found in the pkg-config search path.
Perhaps you should add the directory containing libffi.pc' to the PKG_CONFIG_PATH environment variable Package 'libffi', required by 'virtual:world', not found Package libffi was not found in the pkg-config search path. Perhaps you should add the directory containing libffi.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libffi', required by 'virtual:world', not found
Package libffi was not found in the pkg-config search path.
Perhaps you should add the directory containing libffi.pc' to the PKG_CONFIG_PATH environment variable Package 'libffi', required by 'virtual:world', not found Package libffi was not found in the pkg-config search path. Perhaps you should add the directory containing libffi.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libffi', required by 'virtual:world', not found
Package libffi was not found in the pkg-config search path.
Perhaps you should add the directory containing `libffi.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libffi', required by 'virtual:world', not found
unable to execute 'gcc': No such file or directory
unable to execute 'gcc': No such file or directory

    No working compiler found, or bogus compiler options passed to
    the compiler from Python's standard "distutils" module.  See
    the error messages above.  Likely, the problem is not related
    to CFFI but generic to the setup.py of any Python package that
    tries to compile C code.  (Hints: on OS/X 10.8, for errors about
    -mno-fused-madd see http://stackoverflow.com/questions/22313407/
    Otherwise, see https://wiki.python.org/moin/CompLangPython or
    the IRC channel #python on irc.freenode.net.)

    Trying to continue anyway.  If you are trying to install CFFI from
    a build done in a different context, you can ignore this warning.

running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.8
creating build/lib.linux-x86_64-3.8/cffi
copying cffi/__init__.py -> build/lib.linux-x86_64-3.8/cffi
copying cffi/api.py -> build/lib.linux-x86_64-3.8/cffi
copying cffi/backend_ctypes.py -> build/lib.linux-x86_64-3.8/cffi
copying cffi/cffi_opcode.py -> build/lib.linux-x86_64-3.8/cffi
copying cffi/commontypes.py -> build/lib.linux-x86_64-3.8/cffi
copying cffi/cparser.py -> build/lib.linux-x86_64-3.8/cffi
copying cffi/error.py -> build/lib.linux-x86_64-3.8/cffi
copying cffi/ffiplatform.py -> build/lib.linux-x86_64-3.8/cffi
copying cffi/lock.py -> build/lib.linux-x86_64-3.8/cffi
copying cffi/model.py -> build/lib.linux-x86_64-3.8/cffi
copying cffi/pkgconfig.py -> build/lib.linux-x86_64-3.8/cffi
copying cffi/recompiler.py -> build/lib.linux-x86_64-3.8/cffi
copying cffi/setuptools_ext.py -> build/lib.linux-x86_64-3.8/cffi
copying cffi/vengine_cpy.py -> build/lib.linux-x86_64-3.8/cffi
copying cffi/vengine_gen.py -> build/lib.linux-x86_64-3.8/cffi
copying cffi/verifier.py -> build/lib.linux-x86_64-3.8/cffi
copying cffi/_cffi_include.h -> build/lib.linux-x86_64-3.8/cffi
copying cffi/parse_c_type.h -> build/lib.linux-x86_64-3.8/cffi
copying cffi/_embedding.h -> build/lib.linux-x86_64-3.8/cffi
copying cffi/_cffi_errors.h -> build/lib.linux-x86_64-3.8/cffi
running build_ext
building '_cffi_backend' extension
creating build/temp.linux-x86_64-3.8
creating build/temp.linux-x86_64-3.8/c
gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fomit-frame-pointer -g -fno-semantic-interposition -fomit-frame-pointer -g -fno-semantic-interposition -fomit-frame-pointer -g -fno-semantic-interposition -DTHREAD_STACK_SIZE=0x100000 -fPIC -I/usr/include/ffi -I/usr/include/libffi -I/usr/include/python3.8 -c c/_cffi_backend.c -o build/temp.linux-x86_64-3.8/c/_cffi_backend.o
unable to execute 'gcc': No such file or directory
error: command 'gcc' failed with exit status 1
----------------------------------------
ERROR: Failed building wheel for cffi
Running setup.py clean for cffi

Failed to build cffi
Installing collected packages: pycparser, wheel, setuptools, cffi
Running setup.py install for cffi: started
Running setup.py install for cffi: finished with status 'error'
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-b49woaw2/cffi_bb52fd1d4821430ab9ead9fd9584481e/setup.py'"'"'; file='"'"'/tmp/pip-install-b49woaw2/cffi_bb52fd1d4821430ab9ead9fd9584481e/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /tmp/pip-record-10dyefxy/install-record.txt --single-version-externally-managed --prefix /tmp/pip-build-env-cib0frkc/overlay --compile --install-headers /tmp/pip-build-env-cib0frkc/overlay/include/python3.8/cffi
cwd: /tmp/pip-install-b49woaw2/cffi_bb52fd1d4821430ab9ead9fd9584481e/
Complete output (68 lines):
Package libffi was not found in the pkg-config search path.
Perhaps you should add the directory containing libffi.pc' to the PKG_CONFIG_PATH environment variable Package 'libffi', required by 'virtual:world', not found Package libffi was not found in the pkg-config search path. Perhaps you should add the directory containing libffi.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libffi', required by 'virtual:world', not found
Package libffi was not found in the pkg-config search path.
Perhaps you should add the directory containing libffi.pc' to the PKG_CONFIG_PATH environment variable Package 'libffi', required by 'virtual:world', not found Package libffi was not found in the pkg-config search path. Perhaps you should add the directory containing libffi.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libffi', required by 'virtual:world', not found
Package libffi was not found in the pkg-config search path.
Perhaps you should add the directory containing `libffi.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libffi', required by 'virtual:world', not found
unable to execute 'gcc': No such file or directory
unable to execute 'gcc': No such file or directory

      No working compiler found, or bogus compiler options passed to
      the compiler from Python's standard "distutils" module.  See
      the error messages above.  Likely, the problem is not related
      to CFFI but generic to the setup.py of any Python package that
      tries to compile C code.  (Hints: on OS/X 10.8, for errors about
      -mno-fused-madd see http://stackoverflow.com/questions/22313407/
      Otherwise, see https://wiki.python.org/moin/CompLangPython or
      the IRC channel #python on irc.freenode.net.)

      Trying to continue anyway.  If you are trying to install CFFI from
      a build done in a different context, you can ignore this warning.

  running install
  running build
  running build_py
  creating build
  creating build/lib.linux-x86_64-3.8
  creating build/lib.linux-x86_64-3.8/cffi
  copying cffi/__init__.py -> build/lib.linux-x86_64-3.8/cffi
  copying cffi/api.py -> build/lib.linux-x86_64-3.8/cffi
  copying cffi/backend_ctypes.py -> build/lib.linux-x86_64-3.8/cffi
  copying cffi/cffi_opcode.py -> build/lib.linux-x86_64-3.8/cffi
  copying cffi/commontypes.py -> build/lib.linux-x86_64-3.8/cffi
  copying cffi/cparser.py -> build/lib.linux-x86_64-3.8/cffi
  copying cffi/error.py -> build/lib.linux-x86_64-3.8/cffi
  copying cffi/ffiplatform.py -> build/lib.linux-x86_64-3.8/cffi
  copying cffi/lock.py -> build/lib.linux-x86_64-3.8/cffi
  copying cffi/model.py -> build/lib.linux-x86_64-3.8/cffi
  copying cffi/pkgconfig.py -> build/lib.linux-x86_64-3.8/cffi
  copying cffi/recompiler.py -> build/lib.linux-x86_64-3.8/cffi
  copying cffi/setuptools_ext.py -> build/lib.linux-x86_64-3.8/cffi
  copying cffi/vengine_cpy.py -> build/lib.linux-x86_64-3.8/cffi
  copying cffi/vengine_gen.py -> build/lib.linux-x86_64-3.8/cffi
  copying cffi/verifier.py -> build/lib.linux-x86_64-3.8/cffi
  copying cffi/_cffi_include.h -> build/lib.linux-x86_64-3.8/cffi
  copying cffi/parse_c_type.h -> build/lib.linux-x86_64-3.8/cffi
  copying cffi/_embedding.h -> build/lib.linux-x86_64-3.8/cffi
  copying cffi/_cffi_errors.h -> build/lib.linux-x86_64-3.8/cffi
  running build_ext
  building '_cffi_backend' extension
  creating build/temp.linux-x86_64-3.8
  creating build/temp.linux-x86_64-3.8/c
  gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fomit-frame-pointer -g -fno-semantic-interposition -fomit-frame-pointer -g -fno-semantic-interposition -fomit-frame-pointer -g -fno-semantic-interposition -DTHREAD_STACK_SIZE=0x100000 -fPIC -I/usr/include/ffi -I/usr/include/libffi -I/usr/include/python3.8 -c c/_cffi_backend.c -o build/temp.linux-x86_64-3.8/c/_cffi_backend.o
  unable to execute 'gcc': No such file or directory
  error: command 'gcc' failed with exit status 1
  ----------------------------------------

ERROR: Command errored out with exit status 1: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-b49woaw2/cffi_bb52fd1d4821430ab9ead9fd9584481e/setup.py'"'"'; file='"'"'/tmp/pip-install-b49woaw2/cffi_bb52fd1d4821430ab9ead9fd9584481e/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /tmp/pip-record-10dyefxy/install-record.txt --single-version-externally-managed --prefix /tmp/pip-build-env-cib0frkc/overlay --compile --install-headers /tmp/pip-build-env-cib0frkc/overlay/include/python3.8/cffi Check the logs for full command output.

WARNING: Discarding https://files.pythonhosted.org/packages/fa/aa/025a3ab62469b5167bc397837c9ffc486c42a97ef12ceaa6699d8f5a5416/bcrypt-3.1.7.tar.gz#sha256=0b0069c752ec14172c5f78208f1863d7ad6755a6fae6fe76ec2c80d13be41e42 (from https://pypi.org/simple/bcrypt/) (requires-python:>=2.7, !=3.0., !=3.1., !=3.2., !=3.3.). Command errored out with exit status 1: /usr/bin/python3 /usr/lib/python3.8/site-packages/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-cib0frkc/overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- 'setuptools>=40.8.0' wheel 'cffi>=1.1; python_implementation != '"'"'PyPy'"'"'' Check the logs for full command output.
Downloading bcrypt-3.1.6.tar.gz (42 kB)
|████████████████████████████████| 42 kB 737 kB/s
Installing build dependencies ... error
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 /usr/lib/python3.8/site-packages/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-1_cw4yjk/overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- setuptools wheel 'cffi>=1.1; python_implementation != '"'"'PyPy'"'"''
cwd: None
Complete output (164 lines):
Collecting setuptools
Using cached setuptools-54.1.1-py3-none-any.whl (784 kB)
Collecting wheel
Using cached wheel-0.36.2-py2.py3-none-any.whl (35 kB)
Collecting cffi>=1.1
Using cached cffi-1.14.5.tar.gz (475 kB)
Collecting pycparser
Using cached pycparser-2.20-py2.py3-none-any.whl (112 kB)
Building wheels for collected packages: cffi
Building wheel for cffi (setup.py): started
Building wheel for cffi (setup.py): finished with status 'error'
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-68e14mcu/cffi_338596ec1abe4d04aad7a305151078bb/setup.py'"'"'; file='"'"'/tmp/pip-install-68e14mcu/cffi_338596ec1abe4d04aad7a305151078bb/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-0ncogclh
cwd: /tmp/pip-install-68e14mcu/cffi_338596ec1abe4d04aad7a305151078bb/
Complete output (68 lines):
Package libffi was not found in the pkg-config search path.
Perhaps you should add the directory containing libffi.pc' to the PKG_CONFIG_PATH environment variable Package 'libffi', required by 'virtual:world', not found Package libffi was not found in the pkg-config search path. Perhaps you should add the directory containing libffi.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libffi', required by 'virtual:world', not found
Package libffi was not found in the pkg-config search path.
Perhaps you should add the directory containing libffi.pc' to the PKG_CONFIG_PATH environment variable Package 'libffi', required by 'virtual:world', not found Package libffi was not found in the pkg-config search path. Perhaps you should add the directory containing libffi.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libffi', required by 'virtual:world', not found
Package libffi was not found in the pkg-config search path.
Perhaps you should add the directory containing `libffi.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libffi', required by 'virtual:world', not found
unable to execute 'gcc': No such file or directory
unable to execute 'gcc': No such file or directory

    No working compiler found, or bogus compiler options passed to
    the compiler from Python's standard "distutils" module.  See
    the error messages above.  Likely, the problem is not related
    to CFFI but generic to the setup.py of any Python package that
    tries to compile C code.  (Hints: on OS/X 10.8, for errors about
    -mno-fused-madd see http://stackoverflow.com/questions/22313407/
    Otherwise, see https://wiki.python.org/moin/CompLangPython or
    the IRC channel #python on irc.freenode.net.)

    Trying to continue anyway.  If you are trying to install CFFI from
    a build done in a different context, you can ignore this warning.

running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.8
creating build/lib.linux-x86_64-3.8/cffi
copying cffi/__init__.py -> build/lib.linux-x86_64-3.8/cffi
copying cffi/api.py -> build/lib.linux-x86_64-3.8/cffi
copying cffi/backend_ctypes.py -> build/lib.linux-x86_64-3.8/cffi
copying cffi/cffi_opcode.py -> build/lib.linux-x86_64-3.8/cffi
copying cffi/commontypes.py -> build/lib.linux-x86_64-3.8/cffi
copying cffi/cparser.py -> build/lib.linux-x86_64-3.8/cffi
copying cffi/error.py -> build/lib.linux-x86_64-3.8/cffi
copying cffi/ffiplatform.py -> build/lib.linux-x86_64-3.8/cffi
copying cffi/lock.py -> build/lib.linux-x86_64-3.8/cffi
copying cffi/model.py -> build/lib.linux-x86_64-3.8/cffi
copying cffi/pkgconfig.py -> build/lib.linux-x86_64-3.8/cffi
copying cffi/recompiler.py -> build/lib.linux-x86_64-3.8/cffi
copying cffi/setuptools_ext.py -> build/lib.linux-x86_64-3.8/cffi
copying cffi/vengine_cpy.py -> build/lib.linux-x86_64-3.8/cffi
copying cffi/vengine_gen.py -> build/lib.linux-x86_64-3.8/cffi
copying cffi/verifier.py -> build/lib.linux-x86_64-3.8/cffi
copying cffi/_cffi_include.h -> build/lib.linux-x86_64-3.8/cffi
copying cffi/parse_c_type.h -> build/lib.linux-x86_64-3.8/cffi
copying cffi/_embedding.h -> build/lib.linux-x86_64-3.8/cffi
copying cffi/_cffi_errors.h -> build/lib.linux-x86_64-3.8/cffi
running build_ext
building '_cffi_backend' extension
creating build/temp.linux-x86_64-3.8
creating build/temp.linux-x86_64-3.8/c
gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fomit-frame-pointer -g -fno-semantic-interposition -fomit-frame-pointer -g -fno-semantic-interposition -fomit-frame-pointer -g -fno-semantic-interposition -DTHREAD_STACK_SIZE=0x100000 -fPIC -I/usr/include/ffi -I/usr/include/libffi -I/usr/include/python3.8 -c c/_cffi_backend.c -o build/temp.linux-x86_64-3.8/c/_cffi_backend.o
unable to execute 'gcc': No such file or directory
error: command 'gcc' failed with exit status 1
----------------------------------------
ERROR: Failed building wheel for cffi
Running setup.py clean for cffi

Failed to build cffi
Installing collected packages: pycparser, wheel, setuptools, cffi
Running setup.py install for cffi: started
Running setup.py install for cffi: finished with status 'error'
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-68e14mcu/cffi_338596ec1abe4d04aad7a305151078bb/setup.py'"'"'; file='"'"'/tmp/pip-install-68e14mcu/cffi_338596ec1abe4d04aad7a305151078bb/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /tmp/pip-record-x3at_es4/install-record.txt --single-version-externally-managed --prefix /tmp/pip-build-env-1_cw4yjk/overlay --compile --install-headers /tmp/pip-build-env-1_cw4yjk/overlay/include/python3.8/cffi
cwd: /tmp/pip-install-68e14mcu/cffi_338596ec1abe4d04aad7a305151078bb/
Complete output (68 lines):
Package libffi was not found in the pkg-config search path.
Perhaps you should add the directory containing libffi.pc' to the PKG_CONFIG_PATH environment variable Package 'libffi', required by 'virtual:world', not found Package libffi was not found in the pkg-config search path. Perhaps you should add the directory containing libffi.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libffi', required by 'virtual:world', not found
Package libffi was not found in the pkg-config search path.
Perhaps you should add the directory containing libffi.pc' to the PKG_CONFIG_PATH environment variable Package 'libffi', required by 'virtual:world', not found Package libffi was not found in the pkg-config search path. Perhaps you should add the directory containing libffi.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libffi', required by 'virtual:world', not found
Package libffi was not found in the pkg-config search path.
Perhaps you should add the directory containing `libffi.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libffi', required by 'virtual:world', not found
unable to execute 'gcc': No such file or directory
unable to execute 'gcc': No such file or directory

      No working compiler found, or bogus compiler options passed to
      the compiler from Python's standard "distutils" module.  See
      the error messages above.  Likely, the problem is not related
      to CFFI but generic to the setup.py of any Python package that
      tries to compile C code.  (Hints: on OS/X 10.8, for errors about
      -mno-fused-madd see http://stackoverflow.com/questions/22313407/
      Otherwise, see https://wiki.python.org/moin/CompLangPython or
      the IRC channel #python on irc.freenode.net.)

      Trying to continue anyway.  If you are trying to install CFFI from
      a build done in a different context, you can ignore this warning.

  running install
  running build
  running build_py
  creating build
  creating build/lib.linux-x86_64-3.8
  creating build/lib.linux-x86_64-3.8/cffi
  copying cffi/__init__.py -> build/lib.linux-x86_64-3.8/cffi
  copying cffi/api.py -> build/lib.linux-x86_64-3.8/cffi
  copying cffi/backend_ctypes.py -> build/lib.linux-x86_64-3.8/cffi
  copying cffi/cffi_opcode.py -> build/lib.linux-x86_64-3.8/cffi
  copying cffi/commontypes.py -> build/lib.linux-x86_64-3.8/cffi
  copying cffi/cparser.py -> build/lib.linux-x86_64-3.8/cffi
  copying cffi/error.py -> build/lib.linux-x86_64-3.8/cffi
  copying cffi/ffiplatform.py -> build/lib.linux-x86_64-3.8/cffi
  copying cffi/lock.py -> build/lib.linux-x86_64-3.8/cffi
  copying cffi/model.py -> build/lib.linux-x86_64-3.8/cffi
  copying cffi/pkgconfig.py -> build/lib.linux-x86_64-3.8/cffi
  copying cffi/recompiler.py -> build/lib.linux-x86_64-3.8/cffi
  copying cffi/setuptools_ext.py -> build/lib.linux-x86_64-3.8/cffi
  copying cffi/vengine_cpy.py -> build/lib.linux-x86_64-3.8/cffi
  copying cffi/vengine_gen.py -> build/lib.linux-x86_64-3.8/cffi
  copying cffi/verifier.py -> build/lib.linux-x86_64-3.8/cffi
  copying cffi/_cffi_include.h -> build/lib.linux-x86_64-3.8/cffi
  copying cffi/parse_c_type.h -> build/lib.linux-x86_64-3.8/cffi
  copying cffi/_embedding.h -> build/lib.linux-x86_64-3.8/cffi
  copying cffi/_cffi_errors.h -> build/lib.linux-x86_64-3.8/cffi
  running build_ext
  building '_cffi_backend' extension
  creating build/temp.linux-x86_64-3.8
  creating build/temp.linux-x86_64-3.8/c
  gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fomit-frame-pointer -g -fno-semantic-interposition -fomit-frame-pointer -g -fno-semantic-interposition -fomit-frame-pointer -g -fno-semantic-interposition -DTHREAD_STACK_SIZE=0x100000 -fPIC -I/usr/include/ffi -I/usr/include/libffi -I/usr/include/python3.8 -c c/_cffi_backend.c -o build/temp.linux-x86_64-3.8/c/_cffi_backend.o
  unable to execute 'gcc': No such file or directory
  error: command 'gcc' failed with exit status 1
  ----------------------------------------

ERROR: Command errored out with exit status 1: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-68e14mcu/cffi_338596ec1abe4d04aad7a305151078bb/setup.py'"'"'; file='"'"'/tmp/pip-install-68e14mcu/cffi_338596ec1abe4d04aad7a305151078bb/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /tmp/pip-record-x3at_es4/install-record.txt --single-version-externally-managed --prefix /tmp/pip-build-env-1_cw4yjk/overlay --compile --install-headers /tmp/pip-build-env-1_cw4yjk/overlay/include/python3.8/cffi Check the logs for full command output.

WARNING: Discarding https://files.pythonhosted.org/packages/ce/3a/3d540b9f5ee8d92ce757eebacf167b9deedb8e30aedec69a2a072b2399bb/bcrypt-3.1.6.tar.gz#sha256=44636759d222baa62806bbceb20e96f75a015a6381690d1bc2eda91c01ec02ea (from https://pypi.org/simple/bcrypt/) (requires-python:>=2.7, !=3.0., !=3.1., !=3.2., !=3.3.). Command errored out with exit status 1: /usr/bin/python3 /usr/lib/python3.8/site-packages/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-1_cw4yjk/overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- setuptools wheel 'cffi>=1.1; python_implementation != '"'"'PyPy'"'"'' Check the logs for full command output.
Downloading bcrypt-3.1.5.tar.gz (42 kB)
|████████████████████████████████| 42 kB 661 kB/s
Installing build dependencies ... error
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 /usr/lib/python3.8/site-packages/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-jfwggv6d/overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- setuptools wheel 'cffi>=1.1; python_implementation != '"'"'PyPy'"'"''
cwd: None
Complete output (164 lines):
Collecting setuptools
Using cached setuptools-54.1.1-py3-none-any.whl (784 kB)
Collecting wheel
Using cached wheel-0.36.2-py2.py3-none-any.whl (35 kB)
Collecting cffi>=1.1
Using cached cffi-1.14.5.tar.gz (475 kB)
Collecting pycparser
Using cached pycparser-2.20-py2.py3-none-any.whl (112 kB)
Building wheels for collected packages: cffi
Building wheel for cffi (setup.py): started
Building wheel for cffi (setup.py): finished with status 'error'
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-24slhpel/cffi_5c5e7e3731d1451bafbe1b1a769a2f04/setup.py'"'"'; file='"'"'/tmp/pip-install-24slhpel/cffi_5c5e7e3731d1451bafbe1b1a769a2f04/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-72qyzlek
cwd: /tmp/pip-install-24slhpel/cffi_5c5e7e3731d1451bafbe1b1a769a2f04/
Complete output (68 lines):
Package libffi was not found in the pkg-config search path.
Perhaps you should add the directory containing libffi.pc' to the PKG_CONFIG_PATH environment variable Package 'libffi', required by 'virtual:world', not found Package libffi was not found in the pkg-config search path. Perhaps you should add the directory containing libffi.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libffi', required by 'virtual:world', not found
Package libffi was not found in the pkg-config search path.
Perhaps you should add the directory containing libffi.pc' to the PKG_CONFIG_PATH environment variable Package 'libffi', required by 'virtual:world', not found Package libffi was not found in the pkg-config search path. Perhaps you should add the directory containing libffi.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libffi', required by 'virtual:world', not found
Package libffi was not found in the pkg-config search path.
Perhaps you should add the directory containing `libffi.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libffi', required by 'virtual:world', not found
unable to execute 'gcc': No such file or directory
unable to execute 'gcc': No such file or directory

    No working compiler found, or bogus compiler options passed to
    the compiler from Python's standard "distutils" module.  See
    the error messages above.  Likely, the problem is not related
    to CFFI but generic to the setup.py of any Python package that
    tries to compile C code.  (Hints: on OS/X 10.8, for errors about
    -mno-fused-madd see http://stackoverflow.com/questions/22313407/
    Otherwise, see https://wiki.python.org/moin/CompLangPython or
    the IRC channel #python on irc.freenode.net.)

    Trying to continue anyway.  If you are trying to install CFFI from
    a build done in a different context, you can ignore this warning.

running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.8
creating build/lib.linux-x86_64-3.8/cffi
copying cffi/__init__.py -> build/lib.linux-x86_64-3.8/cffi
copying cffi/api.py -> build/lib.linux-x86_64-3.8/cffi
copying cffi/backend_ctypes.py -> build/lib.linux-x86_64-3.8/cffi
copying cffi/cffi_opcode.py -> build/lib.linux-x86_64-3.8/cffi
copying cffi/commontypes.py -> build/lib.linux-x86_64-3.8/cffi
copying cffi/cparser.py -> build/lib.linux-x86_64-3.8/cffi
copying cffi/error.py -> build/lib.linux-x86_64-3.8/cffi
copying cffi/ffiplatform.py -> build/lib.linux-x86_64-3.8/cffi
copying cffi/lock.py -> build/lib.linux-x86_64-3.8/cffi
copying cffi/model.py -> build/lib.linux-x86_64-3.8/cffi
copying cffi/pkgconfig.py -> build/lib.linux-x86_64-3.8/cffi
copying cffi/recompiler.py -> build/lib.linux-x86_64-3.8/cffi
copying cffi/setuptools_ext.py -> build/lib.linux-x86_64-3.8/cffi
copying cffi/vengine_cpy.py -> build/lib.linux-x86_64-3.8/cffi
copying cffi/vengine_gen.py -> build/lib.linux-x86_64-3.8/cffi
copying cffi/verifier.py -> build/lib.linux-x86_64-3.8/cffi
copying cffi/_cffi_include.h -> build/lib.linux-x86_64-3.8/cffi
copying cffi/parse_c_type.h -> build/lib.linux-x86_64-3.8/cffi
copying cffi/_embedding.h -> build/lib.linux-x86_64-3.8/cffi
copying cffi/_cffi_errors.h -> build/lib.linux-x86_64-3.8/cffi
running build_ext
building '_cffi_backend' extension
creating build/temp.linux-x86_64-3.8
creating build/temp.linux-x86_64-3.8/c
gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fomit-frame-pointer -g -fno-semantic-interposition -fomit-frame-pointer -g -fno-semantic-interposition -fomit-frame-pointer -g -fno-semantic-interposition -DTHREAD_STACK_SIZE=0x100000 -fPIC -I/usr/include/ffi -I/usr/include/libffi -I/usr/include/python3.8 -c c/_cffi_backend.c -o build/temp.linux-x86_64-3.8/c/_cffi_backend.o
unable to execute 'gcc': No such file or directory
error: command 'gcc' failed with exit status 1
----------------------------------------
ERROR: Failed building wheel for cffi
Running setup.py clean for cffi

Failed to build cffi
Installing collected packages: pycparser, wheel, setuptools, cffi
Running setup.py install for cffi: started
Running setup.py install for cffi: finished with status 'error'
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-24slhpel/cffi_5c5e7e3731d1451bafbe1b1a769a2f04/setup.py'"'"'; file='"'"'/tmp/pip-install-24slhpel/cffi_5c5e7e3731d1451bafbe1b1a769a2f04/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /tmp/pip-record-cm3kiee6/install-record.txt --single-version-externally-managed --prefix /tmp/pip-build-env-jfwggv6d/overlay --compile --install-headers /tmp/pip-build-env-jfwggv6d/overlay/include/python3.8/cffi
cwd: /tmp/pip-install-24slhpel/cffi_5c5e7e3731d1451bafbe1b1a769a2f04/
Complete output (68 lines):
Package libffi was not found in the pkg-config search path.
Perhaps you should add the directory containing libffi.pc' to the PKG_CONFIG_PATH environment variable Package 'libffi', required by 'virtual:world', not found Package libffi was not found in the pkg-config search path. Perhaps you should add the directory containing libffi.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libffi', required by 'virtual:world', not found
Package libffi was not found in the pkg-config search path.
Perhaps you should add the directory containing libffi.pc' to the PKG_CONFIG_PATH environment variable Package 'libffi', required by 'virtual:world', not found Package libffi was not found in the pkg-config search path. Perhaps you should add the directory containing libffi.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libffi', required by 'virtual:world', not found
Package libffi was not found in the pkg-config search path.
Perhaps you should add the directory containing `libffi.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libffi', required by 'virtual:world', not found
unable to execute 'gcc': No such file or directory
unable to execute 'gcc': No such file or directory

      No working compiler found, or bogus compiler options passed to
      the compiler from Python's standard "distutils" module.  See
      the error messages above.  Likely, the problem is not related
      to CFFI but generic to the setup.py of any Python package that
      tries to compile C code.  (Hints: on OS/X 10.8, for errors about
      -mno-fused-madd see http://stackoverflow.com/questions/22313407/
      Otherwise, see https://wiki.python.org/moin/CompLangPython or
      the IRC channel #python on irc.freenode.net.)

      Trying to continue anyway.  If you are trying to install CFFI from
      a build done in a different context, you can ignore this warning.

  running install
  running build
  running build_py
  creating build
  creating build/lib.linux-x86_64-3.8
  creating build/lib.linux-x86_64-3.8/cffi
  copying cffi/__init__.py -> build/lib.linux-x86_64-3.8/cffi
  copying cffi/api.py -> build/lib.linux-x86_64-3.8/cffi
  copying cffi/backend_ctypes.py -> build/lib.linux-x86_64-3.8/cffi
  copying cffi/cffi_opcode.py -> build/lib.linux-x86_64-3.8/cffi
  copying cffi/commontypes.py -> build/lib.linux-x86_64-3.8/cffi
  copying cffi/cparser.py -> build/lib.linux-x86_64-3.8/cffi
  copying cffi/error.py -> build/lib.linux-x86_64-3.8/cffi
  copying cffi/ffiplatform.py -> build/lib.linux-x86_64-3.8/cffi
  copying cffi/lock.py -> build/lib.linux-x86_64-3.8/cffi
  copying cffi/model.py -> build/lib.linux-x86_64-3.8/cffi
  copying cffi/pkgconfig.py -> build/lib.linux-x86_64-3.8/cffi
  copying cffi/recompiler.py -> build/lib.linux-x86_64-3.8/cffi
  copying cffi/setuptools_ext.py -> build/lib.linux-x86_64-3.8/cffi
  copying cffi/vengine_cpy.py -> build/lib.linux-x86_64-3.8/cffi
  copying cffi/vengine_gen.py -> build/lib.linux-x86_64-3.8/cffi
  copying cffi/verifier.py -> build/lib.linux-x86_64-3.8/cffi
  copying cffi/_cffi_include.h -> build/lib.linux-x86_64-3.8/cffi
  copying cffi/parse_c_type.h -> build/lib.linux-x86_64-3.8/cffi
  copying cffi/_embedding.h -> build/lib.linux-x86_64-3.8/cffi
  copying cffi/_cffi_errors.h -> build/lib.linux-x86_64-3.8/cffi
  running build_ext
  building '_cffi_backend' extension
  creating build/temp.linux-x86_64-3.8
  creating build/temp.linux-x86_64-3.8/c
  gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fomit-frame-pointer -g -fno-semantic-interposition -fomit-frame-pointer -g -fno-semantic-interposition -fomit-frame-pointer -g -fno-semantic-interposition -DTHREAD_STACK_SIZE=0x100000 -fPIC -I/usr/include/ffi -I/usr/include/libffi -I/usr/include/python3.8 -c c/_cffi_backend.c -o build/temp.linux-x86_64-3.8/c/_cffi_backend.o
  unable to execute 'gcc': No such file or directory
  error: command 'gcc' failed with exit status 1
  ----------------------------------------

ERROR: Command errored out with exit status 1: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-24slhpel/cffi_5c5e7e3731d1451bafbe1b1a769a2f04/setup.py'"'"'; file='"'"'/tmp/pip-install-24slhpel/cffi_5c5e7e3731d1451bafbe1b1a769a2f04/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /tmp/pip-record-cm3kiee6/install-record.txt --single-version-externally-managed --prefix /tmp/pip-build-env-jfwggv6d/overlay --compile --install-headers /tmp/pip-build-env-jfwggv6d/overlay/include/python3.8/cffi Check the logs for full command output.

WARNING: Discarding https://files.pythonhosted.org/packages/91/a5/fd19eac0252e56b4ce65ced937ae40024782c21108da7d830003b7f76cdb/bcrypt-3.1.5.tar.gz#sha256=136243dc44e5bab9b61206bd46fff3018bd80980b1a1dfbab64a22ff5745957f (from https://pypi.org/simple/bcrypt/) (requires-python:>=2.7, !=3.0., !=3.1., !=3.2., !=3.3.). Command errored out with exit status 1: /usr/bin/python3 /usr/lib/python3.8/site-packages/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-jfwggv6d/overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- setuptools wheel 'cffi>=1.1; python_implementation != '"'"'PyPy'"'"'' Check the logs for full command output.
Downloading bcrypt-3.1.4.tar.gz (42 kB)
|████████████████████████████████| 42 kB 830 kB/s
Requirement already satisfied: cffi>=1.1 in /usr/lib/python3.8/site-packages (from bcrypt>=3.1.3->paramiko>=1.17->pysftp) (1.14.5)
Requirement already satisfied: six>=1.4.1 in /usr/lib/python3.8/site-packages (from bcrypt>=3.1.3->paramiko>=1.17->pysftp) (1.15.0)
Requirement already satisfied: pycparser in /usr/lib/python3.8/site-packages (from cffi>=1.1->bcrypt>=3.1.3->paramiko>=1.17->pysftp) (2.20)
Building wheels for collected packages: pysftp, bcrypt, pynacl
Building wheel for pysftp (setup.py) ... done
Created wheel for pysftp: filename=pysftp-0.2.9-py3-none-any.whl size=15481 sha256=c24708a953b2ca769ba6bd88907f7de2f114bb6ffffaff116bf8ff4a4e324839
Stored in directory: /root/.cache/pip/wheels/2b/ca/f6/862aaecc17fb92230cad02822949e8856d741e5c12ef55fb10
Building wheel for bcrypt (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-uvdo_u_6/bcrypt_056cde429f6e4cdcba214d25b3b107b6/setup.py'"'"'; file='"'"'/tmp/pip-install-uvdo_u_6/bcrypt_056cde429f6e4cdcba214d25b3b107b6/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-e1yey7mp
cwd: /tmp/pip-install-uvdo_u_6/bcrypt_056cde429f6e4cdcba214d25b3b107b6/
Complete output (19 lines):
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.8
creating build/lib.linux-x86_64-3.8/bcrypt
copying src/bcrypt/init.py -> build/lib.linux-x86_64-3.8/bcrypt
copying src/bcrypt/about.py -> build/lib.linux-x86_64-3.8/bcrypt
running build_ext
generating cffi module 'build/temp.linux-x86_64-3.8/_bcrypt.c'
creating build/temp.linux-x86_64-3.8
building '_bcrypt' extension
creating build/temp.linux-x86_64-3.8/build
creating build/temp.linux-x86_64-3.8/build/temp.linux-x86_64-3.8
creating build/temp.linux-x86_64-3.8/src
creating build/temp.linux-x86_64-3.8/src/_csrc
gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fomit-frame-pointer -g -fno-semantic-interposition -fomit-frame-pointer -g -fno-semantic-interposition -fomit-frame-pointer -g -fno-semantic-interposition -DTHREAD_STACK_SIZE=0x100000 -fPIC -Isrc/_csrc -I/usr/include/python3.8 -c build/temp.linux-x86_64-3.8/_bcrypt.c -o build/temp.linux-x86_64-3.8/build/temp.linux-x86_64-3.8/_bcrypt.o
unable to execute 'gcc': No such file or directory
error: command 'gcc' failed with exit status 1

ERROR: Failed building wheel for bcrypt
Running setup.py clean for bcrypt
Building wheel for pynacl (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-uvdo_u_6/pynacl_db0de1aaed804be1b54b714a6cb94ead/setup.py'"'"'; file='"'"'/tmp/pip-install-uvdo_u_6/pynacl_db0de1aaed804be1b54b714a6cb94ead/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-9bxzmsyi
cwd: /tmp/pip-install-uvdo_u_6/pynacl_db0de1aaed804be1b54b714a6cb94ead/
Complete output (62 lines):
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.8
creating build/lib.linux-x86_64-3.8/nacl
copying src/nacl/signing.py -> build/lib.linux-x86_64-3.8/nacl
copying src/nacl/public.py -> build/lib.linux-x86_64-3.8/nacl
copying src/nacl/encoding.py -> build/lib.linux-x86_64-3.8/nacl
copying src/nacl/hashlib.py -> build/lib.linux-x86_64-3.8/nacl
copying src/nacl/init.py -> build/lib.linux-x86_64-3.8/nacl
copying src/nacl/hash.py -> build/lib.linux-x86_64-3.8/nacl
copying src/nacl/secret.py -> build/lib.linux-x86_64-3.8/nacl
copying src/nacl/utils.py -> build/lib.linux-x86_64-3.8/nacl
copying src/nacl/exceptions.py -> build/lib.linux-x86_64-3.8/nacl
creating build/lib.linux-x86_64-3.8/nacl/pwhash
copying src/nacl/pwhash/init.py -> build/lib.linux-x86_64-3.8/nacl/pwhash
copying src/nacl/pwhash/argon2i.py -> build/lib.linux-x86_64-3.8/nacl/pwhash
copying src/nacl/pwhash/scrypt.py -> build/lib.linux-x86_64-3.8/nacl/pwhash
copying src/nacl/pwhash/_argon2.py -> build/lib.linux-x86_64-3.8/nacl/pwhash
copying src/nacl/pwhash/argon2id.py -> build/lib.linux-x86_64-3.8/nacl/pwhash
creating build/lib.linux-x86_64-3.8/nacl/bindings
copying src/nacl/bindings/crypto_hash.py -> build/lib.linux-x86_64-3.8/nacl/bindings
copying src/nacl/bindings/crypto_generichash.py -> build/lib.linux-x86_64-3.8/nacl/bindings
copying src/nacl/bindings/sodium_core.py -> build/lib.linux-x86_64-3.8/nacl/bindings
copying src/nacl/bindings/randombytes.py -> build/lib.linux-x86_64-3.8/nacl/bindings
copying src/nacl/bindings/init.py -> build/lib.linux-x86_64-3.8/nacl/bindings
copying src/nacl/bindings/crypto_sign.py -> build/lib.linux-x86_64-3.8/nacl/bindings
copying src/nacl/bindings/utils.py -> build/lib.linux-x86_64-3.8/nacl/bindings
copying src/nacl/bindings/crypto_scalarmult.py -> build/lib.linux-x86_64-3.8/nacl/bindings
copying src/nacl/bindings/crypto_box.py -> build/lib.linux-x86_64-3.8/nacl/bindings
copying src/nacl/bindings/crypto_secretbox.py -> build/lib.linux-x86_64-3.8/nacl/bindings
copying src/nacl/bindings/crypto_pwhash.py -> build/lib.linux-x86_64-3.8/nacl/bindings
copying src/nacl/bindings/crypto_shorthash.py -> build/lib.linux-x86_64-3.8/nacl/bindings
running build_clib
Traceback (most recent call last):
File "", line 1, in
File "/tmp/pip-install-uvdo_u_6/pynacl_db0de1aaed804be1b54b714a6cb94ead/setup.py", line 205, in
setup(
File "/usr/lib/python3.8/site-packages/setuptools/init.py", line 153, in setup
return distutils.core.setup(**attrs)
File "/usr/lib/python3.8/distutils/core.py", line 148, in setup
dist.run_commands()
File "/usr/lib/python3.8/distutils/dist.py", line 966, in run_commands
self.run_command(cmd)
File "/usr/lib/python3.8/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/usr/lib/python3.8/site-packages/wheel/bdist_wheel.py", line 299, in run
self.run_command('build')
File "/usr/lib/python3.8/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/usr/lib/python3.8/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/usr/lib/python3.8/distutils/command/build.py", line 135, in run
self.run_command(cmd_name)
File "/usr/lib/python3.8/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/usr/lib/python3.8/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/tmp/pip-install-uvdo_u_6/pynacl_db0de1aaed804be1b54b714a6cb94ead/setup.py", line 159, in run
raise Exception("ERROR: The 'make' utility is missing from PATH")
Exception: ERROR: The 'make' utility is missing from PATH

ERROR: Failed building wheel for pynacl
Running setup.py clean for pynacl
Successfully built pysftp
Failed to build bcrypt pynacl
Installing collected packages: pynacl, bcrypt, paramiko, pysftp
Running setup.py install for pynacl ... error
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-uvdo_u_6/pynacl_db0de1aaed804be1b54b714a6cb94ead/setup.py'"'"'; file='"'"'/tmp/pip-install-uvdo_u_6/pynacl_db0de1aaed804be1b54b714a6cb94ead/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /tmp/pip-record-jlxaqsye/install-record.txt --single-version-externally-managed --compile --install-headers /usr/include/python3.8/pynacl
cwd: /tmp/pip-install-uvdo_u_6/pynacl_db0de1aaed804be1b54b714a6cb94ead/
Complete output (64 lines):
running install
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.8
creating build/lib.linux-x86_64-3.8/nacl
copying src/nacl/signing.py -> build/lib.linux-x86_64-3.8/nacl
copying src/nacl/public.py -> build/lib.linux-x86_64-3.8/nacl
copying src/nacl/encoding.py -> build/lib.linux-x86_64-3.8/nacl
copying src/nacl/hashlib.py -> build/lib.linux-x86_64-3.8/nacl
copying src/nacl/init.py -> build/lib.linux-x86_64-3.8/nacl
copying src/nacl/hash.py -> build/lib.linux-x86_64-3.8/nacl
copying src/nacl/secret.py -> build/lib.linux-x86_64-3.8/nacl
copying src/nacl/utils.py -> build/lib.linux-x86_64-3.8/nacl
copying src/nacl/exceptions.py -> build/lib.linux-x86_64-3.8/nacl
creating build/lib.linux-x86_64-3.8/nacl/pwhash
copying src/nacl/pwhash/init.py -> build/lib.linux-x86_64-3.8/nacl/pwhash
copying src/nacl/pwhash/argon2i.py -> build/lib.linux-x86_64-3.8/nacl/pwhash
copying src/nacl/pwhash/scrypt.py -> build/lib.linux-x86_64-3.8/nacl/pwhash
copying src/nacl/pwhash/_argon2.py -> build/lib.linux-x86_64-3.8/nacl/pwhash
copying src/nacl/pwhash/argon2id.py -> build/lib.linux-x86_64-3.8/nacl/pwhash
creating build/lib.linux-x86_64-3.8/nacl/bindings
copying src/nacl/bindings/crypto_hash.py -> build/lib.linux-x86_64-3.8/nacl/bindings
copying src/nacl/bindings/crypto_generichash.py -> build/lib.linux-x86_64-3.8/nacl/bindings
copying src/nacl/bindings/sodium_core.py -> build/lib.linux-x86_64-3.8/nacl/bindings
copying src/nacl/bindings/randombytes.py -> build/lib.linux-x86_64-3.8/nacl/bindings
copying src/nacl/bindings/init.py -> build/lib.linux-x86_64-3.8/nacl/bindings
copying src/nacl/bindings/crypto_sign.py -> build/lib.linux-x86_64-3.8/nacl/bindings
copying src/nacl/bindings/utils.py -> build/lib.linux-x86_64-3.8/nacl/bindings
copying src/nacl/bindings/crypto_scalarmult.py -> build/lib.linux-x86_64-3.8/nacl/bindings
copying src/nacl/bindings/crypto_box.py -> build/lib.linux-x86_64-3.8/nacl/bindings
copying src/nacl/bindings/crypto_secretbox.py -> build/lib.linux-x86_64-3.8/nacl/bindings
copying src/nacl/bindings/crypto_pwhash.py -> build/lib.linux-x86_64-3.8/nacl/bindings
copying src/nacl/bindings/crypto_shorthash.py -> build/lib.linux-x86_64-3.8/nacl/bindings
running build_clib
Traceback (most recent call last):
File "", line 1, in
File "/tmp/pip-install-uvdo_u_6/pynacl_db0de1aaed804be1b54b714a6cb94ead/setup.py", line 205, in
setup(
File "/usr/lib/python3.8/site-packages/setuptools/init.py", line 153, in setup
return distutils.core.setup(**attrs)
File "/usr/lib/python3.8/distutils/core.py", line 148, in setup
dist.run_commands()
File "/usr/lib/python3.8/distutils/dist.py", line 966, in run_commands
self.run_command(cmd)
File "/usr/lib/python3.8/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/usr/lib/python3.8/site-packages/setuptools/command/install.py", line 61, in run
return orig.install.run(self)
File "/usr/lib/python3.8/distutils/command/install.py", line 545, in run
self.run_command('build')
File "/usr/lib/python3.8/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/usr/lib/python3.8/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/usr/lib/python3.8/distutils/command/build.py", line 135, in run
self.run_command(cmd_name)
File "/usr/lib/python3.8/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/usr/lib/python3.8/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/tmp/pip-install-uvdo_u_6/pynacl_db0de1aaed804be1b54b714a6cb94ead/setup.py", line 159, in run
raise Exception("ERROR: The 'make' utility is missing from PATH")
Exception: ERROR: The 'make' utility is missing from PATH
----------------------------------------
ERROR: Command errored out with exit status 1: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-uvdo_u_6/pynacl_db0de1aaed804be1b54b714a6cb94ead/setup.py'"'"'; file='"'"'/tmp/pip-install-uvdo_u_6/pynacl_db0de1aaed804be1b54b714a6cb94ead/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /tmp/pip-record-jlxaqsye/install-record.txt --single-version-externally-managed --compile --install-headers /usr/include/python3.8/pynacl Check the logs for full command output.

cannot work on N1, N1 os is 小钢炮

create docker command:
docker run -d
--name=flexget
-p 3539:3539
-v /media/HOME/flexget/data:/data
-v /media/HOME/flexget/config:/config
-e FG_WEBUI_PASSWD=admin
-e FG_LOG_LEVEL=info
-e PUID=0
-e PGID=0
-e TZ=Asia/Shanghai
wiserain/flexget

log:
[root@phicomm-n1:~]# docker logs flexget
[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] 01-envfile: executing...
[cont-init.d] 01-envfile: exited 0.
[cont-init.d] 10-adduser: executing...


      _         ()
     | |  ___   _    __
     | | / __| | |  /  \
     | | \__ \ | | | () |
     |_| |___/ |_|  \__/

Brought to you by linuxserver.io

To support LSIO projects visit:
https://www.linuxserver.io/donate/

GID/UID

User uid: 0
User gid: 0

[cont-init.d] 10-adduser: exited 0.
[cont-init.d] 20-config: executing...
Removing lockfile
Using existing config.yml
Setting flexget web password to 'admin'
Oops, something went wrong

docker exec flexget flexget web passwd adminadmin
Log:
attached file
putty_135_20200606232257.log

Security risk: username inserted automatically on login page

Hi,

How can I remove the username inserted automatically on login page?

Reproduce steps:

  1. Open Incognito mode with Chrome browser.
  2. Paste the flexget login link.
  3. The username = flexget is inserted to username field without doing anything.

Expected:

  • Username field should be blank.

Many thanks

Flexget log doesn't appear in webUI

I have notice that since version 3.2.1 and above, the log doesn't show up. The last version that log file appears is 3.1.153. Can you take a look at it. Thank you!

Error: missing torrent_info_hash

Hi,

I am using docker flexget with docker rutorrent on synology, and facing this issue: missing torrent_info_hash.

My config:
tvshows:
rtorrent:
uri: scgi://localhost:5000
custom2: tvshows
path: /tv/{{ series_name }}/Season {{ series_season }}/
include: [ series.yml ]
disable: builtins
metainfo_series: yes
tmdb_lookup: yes

Am I missing something?

Thanks

transmission-rpc

The transmission plugin is not working correctly.

It indicates the following message: transmission-rpc module version mismatch, requiring transmission-rpc>=4.1.4,<5.0.0

The version of transmission-rpc that is installed is 6.0.0, I had to modify the plugin file manually to allow the connection

Acording with https://flexget.com/Plugins/transmission

Newer versions of flexget now depend on transmission-rpc 4.1.4 or higher.

I dont know if this is a problem from this docker image or maybe the application itself

Chown on /data and /config dirs

Hey on startup this tries to chown the /data and /config directories, and fails if it cannot. Is there a way to not do this? I have my dirs bind-mounted from a NFS share with all_squash flag, meaning that the user and group cannot be changed.

Thanks

Issue: missing torrent_info_hash

Hi,

Sorry to recreating this issue, as it happened again. Please could you have a look?
My environment:

  • Synology
  • Flexget docker: latest tag.
  • Error: (missing torrent_info_hash)

Thanks

Need to install convert_magnet.py manually?

This repo contains a version of convert_magnet.py that is compatible with the latest libtorrent (introduced in 4da5de8). As far as I can tell, there is no automatic installation of this plugin baked into this image, so if you want to use this plugin, you need to find this repo, find the plugin, and copy it into your /config/plugins directory.

Would it be desirable to automate its installation, or at least document how to install it in the image README? Happy to contribute something.

Password issue

Hello

There is an issue with password setup.
I added "somepassword" in to
-e FG_WEBUI_PASSWD=
but when I connect to flexget via web:5050 it gives me this msg:
"If this is your first time running the WebUI you need to set a password via the command line by running flexget web passwd <new_password>"

Please advise

Flexget not working

Issue
I have_ flexget in docker compose and it doesn't work for me

That is, I have this configuration that downloads files from an rss and renames and moves them. But flexget doesn't do any of that

And in the flexget.log it does not give me any error.

I've tried various configurations but it still doesn't work. I don't know what to do anymore.

Docker-Compose

  flexget:
    image: wiserain/flexget:3
    volumes:
      - ${CONFIG}:/config
      - ${STORAGE}/torrents:/downloads
      - ${MEDIA}:/storage
    ports:
      - 5050:5050
    environment:
      - TORRENT_PLUGIN=transmission
      - FG_WEBUI_PASSWD=123456
    restart: unless-stopped
    links:
      - transmission

Config.yml

web_server:
  bind: 0.0.0.0
  port: 5050
  web_ui: yes

schedules:
  - tasks: '*'
    interval:
      minutes: 1
templates:
  transmissionrpc:
    transmission:
      host: localhost
      port: 9091
      username: admin
      password: "123456"
    clean_transmission:
      host: localhost
      port: 9091
      username: admin
      password: "123456"
      transmission_seed_limits: yes
      delete_files: no
      enabled: Yes

  tv:
    thetvdb_lookup: yes
    quality: 720p
    series:
      group:      
        - Criminal Minds
        - Rick and Morty
tasks:
  Drarbg task:
    rss: http://showrss.info/user/229110.rss?magnets=true&namespaces=true&name=null&quality=null&re=null
    priority: 1
    all_series: yes
    template: 
      - tv
      - transmissionrpc
    set:
      path: /downloads/complete

  sort-series:
    metainfo_series: yes
    accept_all: yes
    filesystem:
      path: /downloads/complete
      regexp: '.*\.(avi|mkv|mp4)$'
      recursive: yes
    template: tv
    series:
      settings:
        group:
          parse_only: yes
    require_field: series_name
    move: 
      to: '/storage/Series/{{series_name}}'  
      rename: '{{series_name}} - S{{series_season|pad(2)}}E{{series_episode|pad(2)}}'

Other info

The web_ui does not work either, that is, when I put the ip of my machine followed by :5050 it tells me that the connection has been rejected

Container stops

logs

[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] 01-envfile: executing...
[cont-init.d] 01-envfile: exited 0.
[cont-init.d] 02-tamper-check: executing...
[cont-init.d] 02-tamper-check: exited 0.
[cont-init.d] 10-adduser: executing...

-------------------------------------
          _         ()
         | |  ___   _    __
         | | / __| | |  /  \
         | | \__ \ | | | () |
         |_| |___/ |_|  \__/


Brought to you by linuxserver.io
-------------------------------------

To support LSIO projects visit:
https://www.linuxserver.io/donate/
-------------------------------------
GID/UID
-------------------------------------

User uid:    1000
User gid:    1000
-------------------------------------

[cont-init.d] 10-adduser: exited 0.
[cont-init.d] 20-config: executing...
Using existing config.yml
Setting flexget web password to 'qweqwe'
Password 'qweqwe' is not strong enough. This is a very common password.
Suggestions: Add another word or two. Uncommon words are better.
[cont-init.d] 20-config: exited 1.
[cont-finish.d] executing container finish scripts...
[cont-finish.d] done.
[s6-finish] waiting for services.
[s6-finish] sending all processes the TERM signal.
[s6-finish] sending all processes the KILL signal and exiting.

script

#!/bin/bash

docker create \
    --name=fget \
    -p 5050:5050 \
    -v $(pwd)/fget/data:/data \
    -v $(pwd)/fget/config:/config \
    -e FG_WEBUI_PASSWD=qweqwe \
    -e FG_LOG_LEVEL=info \
    -e FG_LOG_FILE=flexget.log \
    -e PUID=1000 \
    -e PGID=1000 \
    -e TZ=Europe/London \
    wiserain/flexget

Error in installing numpy

While trying install numpy via custom-cont.init.d script but failed. Then I tried install manually, it return msg

root@7536f3269223:/config# pip3 install numpy==1.19
Collecting numpy==1.19
  Downloading numpy-1.19.0.zip (7.3 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━ 7.3/7.3 MB 6.6 MB/s eta 0:00:00  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... error
  error: subprocess-exited-with-error
  
  × Preparing metadata (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [237 lines of output]
      Running from numpy source directory.
      setup.py:460: UserWarning: Unrecognized setuptools command, proceeding with generating Cython sources and expanding templates
        run_build = parse_setuppy_commands()
      Cythonizing sources
      Processing numpy/random/_bounded_integers.pxd.in
      Processing numpy/random/_mt19937.pyx
      /tmp/pip-install-8m_yt9m7/numpy_9a517ae298db4061840b5b16a4cae074/tools/cythonize.py:73: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
        required_version = LooseVersion('0.29.14')
      /tmp/pip-install-8m_yt9m7/numpy_9a517ae298db4061840b5b16a4cae074/tools/cythonize.py:75: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
        if LooseVersion(cython_version) < required_version:
      Processing numpy/random/_generator.pyx
      Processing numpy/random/_philox.pyx
      Processing numpy/random/_bounded_integers.pyx.in
      Processing numpy/random/_common.pyx
      Processing numpy/random/_sfc64.pyx
      Processing numpy/random/bit_generator.pyx
      Processing numpy/random/_pcg64.pyx
      Processing numpy/random/mtrand.pyx
      blas_opt_info:
      blas_mkl_info:
      customize UnixCCompiler
        libraries mkl_rt not found in ['/usr/local/lib', '/usr/lib']
        NOT AVAILABLE
      
      blis_info:
        libraries blis not found in ['/usr/local/lib', '/usr/lib']
        NOT AVAILABLE
      
      openblas_info:
        libraries openblas not found in ['/usr/local/lib', '/usr/lib']
        NOT AVAILABLE
      
      atlas_3_10_blas_threads_info:
      Setting PTATLAS=ATLAS
        libraries tatlas not found in ['/usr/local/lib', '/usr/lib']
        NOT AVAILABLE
      
      atlas_3_10_blas_info:
        libraries satlas not found in ['/usr/local/lib', '/usr/lib']
        NOT AVAILABLE
      
      atlas_blas_threads_info:
      Setting PTATLAS=ATLAS
        libraries ptf77blas,ptcblas,atlas not found in ['/usr/local/lib', '/usr/lib']
        NOT AVAILABLE
      
      atlas_blas_info:
        libraries f77blas,cblas,atlas not found in ['/usr/local/lib', '/usr/lib']
        NOT AVAILABLE
      
      accelerate_info:
        NOT AVAILABLE
      
      /tmp/pip-install-8m_yt9m7/numpy_9a517ae298db4061840b5b16a4cae074/numpy/distutils/system_info.py:1914: UserWarning:
          Optimized (vendor) Blas libraries are not found.
          Falls back to netlib Blas library which has worse performance.
          A better performance should be easily gained by switching
          Blas library.
        if self._calc_info(blas):
      blas_info:
        libraries blas not found in ['/usr/local/lib', '/usr/lib']
        NOT AVAILABLE
      
      /tmp/pip-install-8m_yt9m7/numpy_9a517ae298db4061840b5b16a4cae074/numpy/distutils/system_info.py:1914: UserWarning:
          Blas (http://www.netlib.org/blas/) libraries not found.
          Directories to search for the libraries can be specified in the
          numpy/distutils/site.cfg file (section [blas]) or by setting
          the BLAS environment variable.
        if self._calc_info(blas):
      blas_src_info:
        NOT AVAILABLE
      
      /tmp/pip-install-8m_yt9m7/numpy_9a517ae298db4061840b5b16a4cae074/numpy/distutils/system_info.py:1914: UserWarning:
          Blas (http://www.netlib.org/blas/) sources not found.
          Directories to search for the sources can be specified in the
          numpy/distutils/site.cfg file (section [blas_src]) or by setting
          the BLAS_SRC environment variable.
        if self._calc_info(blas):
        NOT AVAILABLE
non-existing path in 'numpy/distutils': 'site.cfg'
      lapack_opt_info:
      lapack_mkl_info:
        libraries mkl_rt not found in ['/usr/local/lib', '/usr/lib']
        NOT AVAILABLE
      
      openblas_lapack_info:
        libraries openblas not found in ['/usr/local/lib', '/usr/lib']
        NOT AVAILABLE
      
      openblas_clapack_info:
        libraries openblas,lapack not found in ['/usr/local/lib', '/usr/lib']
        NOT AVAILABLE
      
      flame_info:
        libraries flame not found in ['/usr/local/lib', '/usr/lib']
        NOT AVAILABLE
      
      atlas_3_10_threads_info:
      Setting PTATLAS=ATLAS
        libraries lapack_atlas not found in /usr/local/lib
        libraries tatlas,tatlas not found in /usr/local/lib
        libraries lapack_atlas not found in /usr/lib
        libraries tatlas,tatlas not found in /usr/lib
      <class 'numpy.distutils.system_info.atlas_3_10_threads_info'>
        NOT AVAILABLE
      
      atlas_3_10_info:
        libraries lapack_atlas not found in /usr/local/lib
        libraries satlas,satlas not found in /usr/local/lib
        libraries lapack_atlas not found in /usr/lib
        libraries satlas,satlas not found in /usr/lib
      <class 'numpy.distutils.system_info.atlas_3_10_info'>
        NOT AVAILABLE
      
      atlas_threads_info:
      Setting PTATLAS=ATLAS
        libraries lapack_atlas not found in /usr/local/lib
        libraries ptf77blas,ptcblas,atlas not found in /usr/local/lib
        libraries lapack_atlas not found in /usr/lib
        libraries ptf77blas,ptcblas,atlas not found in /usr/lib
      <class 'numpy.distutils.system_info.atlas_threads_info'>
        NOT AVAILABLE
      
      atlas_info:
        libraries lapack_atlas not found in /usr/local/lib
        libraries f77blas,cblas,atlas not found in /usr/local/lib
        libraries lapack_atlas not found in /usr/lib
        libraries f77blas,cblas,atlas not found in /usr/lib
      <class 'numpy.distutils.system_info.atlas_info'>
        NOT AVAILABLE
      
      lapack_info:
        libraries lapack not found in ['/usr/local/lib', '/usr/lib']
        NOT AVAILABLE
      
      /tmp/pip-install-8m_yt9m7/numpy_9a517ae298db4061840b5b16a4cae074/numpy/distutils/system_info.py:1748: UserWarning:
          Lapack (http://www.netlib.org/lapack/) libraries not found.
          Directories to search for the libraries can be specified in the
          numpy/distutils/site.cfg file (section [lapack]) or by setting
          the LAPACK environment variable.
        return getattr(self, '_calc_info_{}'.format(name))()
      lapack_src_info:
        NOT AVAILABLE
      
      /tmp/pip-install-8m_yt9m7/numpy_9a517ae298db4061840b5b16a4cae074/numpy/distutils/system_info.py:1748: UserWarning:
          Lapack (http://www.netlib.org/lapack/) sources not found.
          Directories to search for the sources can be specified in the
          numpy/distutils/site.cfg file (section [lapack_src]) or by setting
          the LAPACK_SRC environment variable.
        return getattr(self, '_calc_info_{}'.format(name))()
        NOT AVAILABLE
      
      numpy_linalg_lapack_lite:
        FOUND:
          language = c
          define_macros = [('HAVE_BLAS_ILP64', None), ('BLAS_SYMBOL_SUFFIX', '64_')]
      
      /tmp/pip-build-env-7sgmtvhm/overlay/lib/python3.9/site-packages/setuptools/_distutils/dist.py:275: UserWarning: Unknown distribution option: 'define_macros'
        warnings.warn(msg)
      running dist_info
      running build_src
      build_src
      building py_modules sources
      creating build
      creating build/src.linux-x86_64-3.9
      creating build/src.linux-x86_64-3.9/numpy
      creating build/src.linux-x86_64-3.9/numpy/distutils
      building library "npymath" sources
      Could not locate executable gfortran
      Could not locate executable f95
      Could not locate executable ifort
      Could not locate executable ifc
      Could not locate executable lf95
      Could not locate executable pgfortran
      Could not locate executable f90
      Could not locate executable f77
      Could not locate executable fort
      Could not locate executable efort
      Could not locate executable efc
      Could not locate executable g77
      Could not locate executable g95
      Could not locate executable pathf95
      Could not locate executable nagfor
      don't know how to compile Fortran code on platform 'posix'
      Traceback (most recent call last):
        File "/usr/lib/python3.9/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 363, in <module>
          main()
        File "/usr/lib/python3.9/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 345, in main
          json_out['return_val'] = hook(**hook_input['kwargs'])
        File "/usr/lib/python3.9/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 164, in prepare_metadata_for_build_wheel
          return hook(metadata_directory, config_settings)
        File "/tmp/pip-build-env-7sgmtvhm/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 188, in prepare_metadata_for_build_wheel
          self.run_setup()
        File "/tmp/pip-build-env-7sgmtvhm/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 281, in run_setup
          super(_BuildMetaLegacyBackend,
        File "/tmp/pip-build-env-7sgmtvhm/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 174, in run_setup
          exec(compile(code, file, 'exec'), locals())
        File "setup.py", line 489, in <module>
          setup_package()
        File "setup.py", line 481, in setup_package
          setup(**metadata)
        File "/tmp/pip-install-8m_yt9m7/numpy_9a517ae298db4061840b5b16a4cae074/numpy/distutils/core.py", line 169, in setup
          return old_setup(**new_attr)
        File "/tmp/pip-build-env-7sgmtvhm/overlay/lib/python3.9/site-packages/setuptools/__init__.py", line 87, in setup
          return distutils.core.setup(**attrs)
        File "/tmp/pip-build-env-7sgmtvhm/overlay/lib/python3.9/site-packages/setuptools/_distutils/core.py", line 148, in setup
          return run_commands(dist)
        File "/tmp/pip-build-env-7sgmtvhm/overlay/lib/python3.9/site-packages/setuptools/_distutils/core.py", line 163, in run_commands
          dist.run_commands()
        File "/tmp/pip-build-env-7sgmtvhm/overlay/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 967, in run_commands
          self.run_command(cmd)
        File "/tmp/pip-build-env-7sgmtvhm/overlay/lib/python3.9/site-packages/setuptools/dist.py", line 1229, in run_command
          super().run_command(command)
        File "/tmp/pip-build-env-7sgmtvhm/overlay/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 986, in run_command
          cmd_obj.run()
        File "/tmp/pip-build-env-7sgmtvhm/overlay/lib/python3.9/site-packages/setuptools/command/dist_info.py", line 35, in run
          egg_info.run()
        File "/tmp/pip-install-8m_yt9m7/numpy_9a517ae298db4061840b5b16a4cae074/numpy/distutils/command/egg_info.py", line 24, in run
          self.run_command("build_src")
        File "/tmp/pip-build-env-7sgmtvhm/overlay/lib/python3.9/site-packages/setuptools/_distutils/cmd.py", line 313, in run_command
          self.distribution.run_command(command)
        File "/tmp/pip-build-env-7sgmtvhm/overlay/lib/python3.9/site-packages/setuptools/dist.py", line 1229, in run_command
          super().run_command(command)
        File "/tmp/pip-build-env-7sgmtvhm/overlay/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 986, in run_command
          cmd_obj.run()
        File "/tmp/pip-install-8m_yt9m7/numpy_9a517ae298db4061840b5b16a4cae074/numpy/distutils/command/build_src.py", line 144, in run
          self.build_sources()
        File "/tmp/pip-install-8m_yt9m7/numpy_9a517ae298db4061840b5b16a4cae074/numpy/distutils/command/build_src.py", line 155, in build_sources
          self.build_library_sources(*libname_info)
        File "/tmp/pip-install-8m_yt9m7/numpy_9a517ae298db4061840b5b16a4cae074/numpy/distutils/command/build_src.py", line 288, in build_library_sources
sources = self.generate_sources(sources, (lib_name, build_info))
        File "/tmp/pip-install-8m_yt9m7/numpy_9a517ae298db4061840b5b16a4cae074/numpy/distutils/command/build_src.py", line 378, in generate_sources
          source = func(extension, build_dir)
        File "numpy/core/setup.py", line 655, in get_mathlib_info
          raise RuntimeError("Broken toolchain: cannot link a simple C program")
      RuntimeError: Broken toolchain: cannot link a simple C program
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.

It seems to required gcc dependency, so if possible pre-compile&install numpy while building docker, it would be solved.

Thanks in advanced.

Behaviour of flexget docker

I just wanted to know if this docker is active all time for we need to setup cron job to start flexget (like every 30 min)

if docker is active all time, can we make it to exit whenever flexget finishes its job. so everyone can save machine's resources

Executing every minute?

I'm trying to run this image on a Raspberry Pi 4B, and appear to be running into multiple issues. First, the image runs but sends an execute command every minute:

docker run \
  -e FG_LOG_FILE=flexget.log \
  -e FG_LOG_LEVEL=info \
  -e PGID=1000 \
  -e PUID=1000 \
  -e TZ=America/Los_Angeles \
  -p 5050:5050 \
  -v ~/.docker/flexget/config:/config \
  -v ~/.docker/flexget/data:/data \
  --name=flexget \
  --restart unless-stopped \
  wiserain/flexget
[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] 01-envfile: executing... 
[cont-init.d] 01-envfile: exited 0.
[cont-init.d] 02-tamper-check: executing... 
[cont-init.d] 02-tamper-check: exited 0.
[cont-init.d] 10-adduser: executing... 

-------------------------------------
          _         ()
         | |  ___   _    __
         | | / __| | |  /  \
         | | \__ \ | | | () |
         |_| |___/ |_|  \__/


Brought to you by linuxserver.io
-------------------------------------

To support LSIO projects visit:
https://www.linuxserver.io/donate/
-------------------------------------
GID/UID
-------------------------------------

User uid:    1000
User gid:    1000
-------------------------------------

[cont-init.d] 10-adduser: exited 0.
[cont-init.d] 20-config: executing... 
*** Using existing config.yml
*** Flexget v3.3.2 ready!
[cont-init.d] 20-config: exited 0.
[cont-init.d] 90-custom-folders: executing... 
[cont-init.d] 90-custom-folders: exited 0.
[cont-init.d] 99-custom-files: executing... 
[custom-init] no custom files found exiting...
[cont-init.d] 99-custom-files: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
[services.d] executing => flexget -c /config/config.yml --loglevel info --logfile flexget.log daemon start --autoreload-config
[services.d] executing => flexget -c /config/config.yml --loglevel info --logfile flexget.log daemon start --autoreload-config
[services.d] executing => flexget -c /config/config.yml --loglevel info --logfile flexget.log daemon start --autoreload-config
[services.d] executing => flexget -c /config/config.yml --loglevel info --logfile flexget.log daemon start --autoreload-config
[services.d] executing => flexget -c /config/config.yml --loglevel info --logfile flexget.log daemon start --autoreload-config

There doesn't seem to be any error codes, and when I try to check Flexget logs I encounter my second issue, which is no information is being written.

I don't see any signs of permission or command issues, but I'm relatively new to docker and may be missing something obvious to someone with more experience. Any help would be appreciated.

Is this build for raspberry pi 4B?

Docker run

docker run -d \
    --name=flexget \
    -p 5050:5050 \
    -v /usr/share/flexget/data:/data \
    -v /usr/share/flexget:/config \
    -e FG_WEBUI_PASSWD=xxxxxxx\
    -e FG_LOG_LEVEL=info \
    -e FG_LOG_FILE=/var/log/flexget.log \
    -e PUID=1000 \
    -e PGID=1000 \
    -e TZ=Asia/Singapore \
    wiserain/flexget

Docker logs

[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] 01-envfile: executing...
[cont-init.d] 01-envfile: exited 0.
[cont-init.d] 10-adduser: executing...
-------------------------------------
          _         ()
         | |  ___   _    __
         | | / __| | |  /  \
         | | \__ \ | | | () |
         |_| |___/ |_|  \__/
Brought to you by linuxserver.io
-------------------------------------
To support LSIO projects visit:
https://www.linuxserver.io/donate/
-------------------------------------
GID/UID
-------------------------------------
User uid:    1000
User gid:    1000
-------------------------------------
[cont-init.d] 10-adduser: exited 0.
[cont-init.d] 20-config: executing...
Using existing config.yml
Setting flexget web password to 'xxxxxxx'
Fatal Python error: pyinit_main: can't initialize time
Python runtime state: core initialized
PermissionError: [Errno 1] Operation not permitted
Current thread 0xb6f68390 (most recent call first):
<no Python frame>
[cont-init.d] 20-config: exited 1.
[cont-finish.d] executing container finish scripts...
[cont-finish.d] done.
[s6-finish] waiting for services.
[s6-finish] sending all processes the TERM signal.
[s6-finish] sending all processes the KILL signal and exiting.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.