nix-openwrt-imagebuilder icon indicating copy to clipboard operation
nix-openwrt-imagebuilder copied to clipboard

Unable to build 23.05.6

Open hellodword opened this issue 4 months ago • 5 comments

          foo =
            let
              config = profiles.identifyProfile "avm_fritz7412" // {
                release = "23.05.6";
              };
            in
            openwrt-imagebuilder.lib.build config;

Got:

error:
       … while calling the 'derivationStrict' builtin
         at <nix/derivation-internal.nix>:37:12:
           36|
           37|   strict = derivationStrict drvAttrs;
             |            ^
           38|

       … while evaluating derivation 'openwrt-23.05.6-lantiq-xrx200-avm_fritz7412'
         whose name attribute is located at /nix/store/5izw1shpjxb9qhlf67bx427cih5czj8w-source/pkgs/stdenv/generic/make-derivation.nix:538:13

       … while evaluating attribute 'configurePhase' of derivation 'openwrt-23.05.6-lantiq-xrx200-avm_fritz7412'
         at /nix/store/yccrm0jknxsw5c1zz6kj8gh55lgjbvns-source/builder.nix:110:3:
          109|
          110|   configurePhase =
             |   ^
          111|     let

       (stack trace truncated; use '--show-trace' to show the full, detailed trace)

       error: attribute 'kmod-nft-core' missing
       at /nix/store/yccrm0jknxsw5c1zz6kj8gh55lgjbvns-source/files.nix:217:20:
          216|             with_new_dep = current_deps // { ${new_dep} = true; };
          217|             deps = packages.${new_dep}.depends;
             |                    ^
          218|           in

hellodword avatar Sep 11 '25 13:09 hellodword

Sometimes a fresh release is still missing some packages. I triggered the workflow manually. Let's see if that fixes this...

astro avatar Sep 11 '25 14:09 astro

That didn't help.

astro avatar Sep 12 '25 15:09 astro

Though the package exists as a file and in kmods/Packages, it does not end up in cached-profiles/*.nix, so this is our problem.

astro avatar Sep 12 '25 15:09 astro

I’ll receive an email once it’s ready :)

https://github.com/hellodword/openwrt-declarative/blob/5cd6accba6094b9e7efdecf143d8bd1fe356c017/.github/workflows/wait.yml#L54

hellodword avatar Sep 13 '25 00:09 hellodword

Though the package exists as a file and in kmods/Packages, it does not end up in cached-profiles/*.nix, so this is our problem.

Ah, sorry—I missed that part of what you said. But after looking at the code, I have no idea how to fix it.

hellodword avatar Sep 13 '25 02:09 hellodword