Skip to content

Recently-built KiCad 9.0 image doesn't look at the project-local sym-lib-table

Hello.

I had been using ghcr.io/kicad/kicad:9.0@sha256:97cedd027d7dc7e8d5fc804932f838bd208f2ca024ee8d01001c4d52ac8e666a in my project to run ERC and DRC. I noticed that the image is no longer available.

I'm trying to use the newer image, but it gives me a different result. For instance, with the new image kicad/kicad:9.0@sha256:f36b185970d398b84c095ace896046798ff60d458ce59d49669c4633c304cfbd, I cannot manage to pass ERC. According to the ERC report, it looks like KiCad doesn't look at the project-local footprint library.

Is there anything I missed? Or is that something an issue of the image?

Reproduce process

  1. Clone the repository:

    $ git clone https://github.com/Tosainu/gnss-7-seg-clock -b update-kicad-image
    $ cd gnss-7-seg-clock
  2. Run docker buildx bake --no-cache --progress plain

    $ docker buildx bake --no-cache --progress plain
    
    (...)
    
    #6 [context kicad] kicad/kicad:9.0@sha256:f36b185970d398b84c095ace896046798ff60d458ce59d49669c4633c304cfbd
    #6 resolve docker.io/kicad/kicad:9.0@sha256:f36b185970d398b84c095ace896046798ff60d458ce59d49669c4633c304cfbd 0.0s done
    #6 CACHED
    
    #7 [stage-0 1/2] RUN --mount=type=bind,source=./hardware,target=/work   cd /work && kicad-cli sch erc     --exit-code-violations     --format json     --output ~/erc.json     gnss-7-seg-clock.kicad_sch; cat ~/erc.json
    #7 0.314 Checking sheet names...
    #7 0.314 Checking bus conflicts...
    #7 0.314 Checking conflicts...
    #7 0.314 Checking units...
    #7 0.314 Checking footprints...
    #7 0.314 Checking pins...
    #7 0.314 Checking similar labels...
    #7 0.314 Checking local and global labels...
    #7 0.314 Checking for unresolved variables...
    #7 0.314 Checking no connect pins for connections...
    #7 0.314 Checking for library symbol issues...
    #7 0.314 Checking for footprint link issues...
    #7 0.314 Checking for off grid pins and wires...
    #7 0.314 Checking for labels on more than one wire...
    #7 0.314 Checking for undefined netclasses...
    #7 0.314 Found 14 violations
    #7 0.314 Saved ERC Report to /home/kicad/erc.json
    #7 0.322 {
    #7 0.322     "$schema": "https://schemas.kicad.org/erc.v1.json",
    #7 0.322     "coordinate_units": "mm",
    #7 0.322     "date": "2025-07-05T08:36:15+0000",
    #7 0.322     "kicad_version": "9.0.2",
    #7 0.322     "sheets": [
    #7 0.322         {
    #7 0.322             "path": "/",
    #7 0.322             "uuid_path": "/592b9902-43b4-438f-aefe-a887c24591bc",
    #7 0.322             "violations": [
    #7 0.322                 {
    #7 0.322                     "description": "The current configuration does not include the footprint library 'gnss-7-seg-clock'.",
    #7 0.322                     "items": [
    #7 0.322                         {
    #7 0.322                             "description": "Symbol U1 [SA15-11GWA]",
    #7 0.322                             "pos": {
    #7 0.322                                 "x": 0.8255,
    #7 0.322                                 "y": 0.3556
    #7 0.322                             },
    #7 0.322                             "uuid": "157a91b9-5814-4857-ac55-72806855a617"
    #7 0.322                         }
    #7 0.322                     ],
    #7 0.322                     "severity": "warning",
    #7 0.322                     "type": "footprint_link_issues"
    #7 0.322                 },
    
    (...)