Skip to content

[BUG] Can NOT build any baseimage-selkies docker images. #122

@SDDunt

Description

@SDDunt

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

Attempting to build the docker images docker build -f Dockerfile -t selkies-master .
I have tried both the master branch and the ubuntunoble branch and all of the docker builds fail with the error (in response to the selkies 'pip install .' command)

  Installing build dependencies: started                                             
160.4   Installing build dependencies: finished with status 'done'                                                                                                                    
160.4   Getting requirements to build wheel: started                                       
160.6   Getting requirements to build wheel: finished with status 'error'                                                                                                             160.6   error: subprocess-exited-with-error                                                                                                                                           
160.6                                                                                      
160.6   × Getting requirements to build wheel did not run successfully.                    
160.6   │ exit code: 1                                                                                                                                                                
160.6   ╰─> [6 lines of output]                                                            
160.6                                                                                                                                                                                 
160.6       Warning! You are installing from source.                                                                                                                                  
160.6       It is EXPECTED that it will fail. You are REQUIRED to use ffmpeg 7.            
160.6       You MUST have Cython, pkg-config, and a C compiler.                                                                                                                       160.6                                                                                                                                                                                 160.6       pkg-config is required for building PyAV                                                                                                                                  160.6       [end of output]                                                                                                                                                           
160.6                                                                                                                                                                                 
160.6   note: This error originates from a subprocess, and is likely not a problem with pip.                                                                                          
160.6 error: subprocess-exited-with-error                                       

The docker file should already have hte necessary packages installed and there are no errors in the apt install section of the docker file.

I walked through the docker buld commands manually to see which one failed, pip install.

I then attempted to install all of the packages this is whining about and it still fails.

Even after:
apt install pkg-config cython3 libavformat-dev libavcodec-dev libavdevice-dev libavutil-dev libavfilter-dev libswscale-dev libswresample-dev
pip install .

Still fails (there are a bunch of C++ errors while its compiling, and I not the C++ guy)

Expected Behavior

Docker builds worked last Wednesday..

Steps To Reproduce

On x86 Intel and also ARM - aarch64 on AWS
Pull the latest
git clone https://github.com/linuxserver/docker-baseimage-selkies.git

and build it:
docker build -f Dockerfile -t selkies-master .

Environment

- OS:ubuntu 22.04 & UB 24.04 both
- How docker service was installed: Apt packagees

Docker creation

docker build -f Dockerfile -t selkies-master  .

Container logs

Installing build dependencies: started                                                                                                                                    #13 163.2   Installing build dependencies: finished with status 'done'                                                                                                                #13 163.2   Getting requirements to build wheel: started                                                                                                                              #13 163.4   Getting requirements to build wheel: finished with status 'error'                                                                                                         #13 163.4   error: subprocess-exited-with-error                                                                                                                                       #13 163.4                                                                                                                                                                             #13 163.4   × Getting requirements to build wheel did not run successfully.                                                                                                           #13 163.4   │ exit code: 1                                                                                                                                                            #13 163.4   ╰─> [6 lines of output]                                                                                                                                                   #13 163.4                                                                                                                                                                             #13 163.4       Warning! You are installing from source.                                                                                                                              #13 163.4       It is EXPECTED that it will fail. You are REQUIRED to use ffmpeg 7.                                                                                                   #13 163.4       You MUST have Cython, pkg-config, and a C compiler.                                                                                                                   #13 163.4                                                                                                                                                                             #13 163.4       pkg-config is required for building PyAV

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions