carykh / jumpcutter

Automatically edits vidx. Explanation here: https://www.youtube.com/watch?v=DQ8orIurGxw
MIT License
3.08k stars 541 forks source link

pythran-0.11.0 not supported for interpreter python2.7 #212

Open faizu396 opened 2 years ago

faizu396 commented 2 years ago

Error while compiling on Raspberry Pi OS (32 bit) ` … while evaluating anonymous lambda

   at /nix/store/qb1d20c0rvf718yf505wkzb4bjbzqyiw-nixpkgs/nixpkgs/pkgs/development/interpreters/python/mk-python-derivation.nix:30:1:

       29|
       30| { name ? "${attrs.pname}-${attrs.version}"
         | ^
       31|

   … from call site

   at /nix/store/qb1d20c0rvf718yf505wkzb4bjbzqyiw-nixpkgs/nixpkgs/lib/customisation.nix:69:16:

       68|     let
       69|       result = f origArgs;
         |                ^
       70|

   … while evaluating 'makeOverridable'

   at /nix/store/qb1d20c0rvf718yf505wkzb4bjbzqyiw-nixpkgs/nixpkgs/lib/customisation.nix:67:24:

       66|   */
       67|   makeOverridable = f: origArgs:
         |                        ^
       68|     let

   … from call site

   at /nix/store/qb1d20c0rvf718yf505wkzb4bjbzqyiw-nixpkgs/nixpkgs/pkgs/top-level/python-packages.nix:29:12:

       28|     let
       29|       ff = f origArgs;
         |            ^
       30|       overrideWith = newArgs: origArgs // (if pkgs.lib.isFunction newArgs then newArgs origArgs else newArgs);

   … while evaluating 'makeOverridablePythonPackage'

   at /nix/store/qb1d20c0rvf718yf505wkzb4bjbzqyiw-nixpkgs/nixpkgs/pkgs/top-level/python-packages.nix:27:37:

       26|   # This function introduces `overridePythonAttrs` and it overrides the call to `buildPythonPackage`.
       27|   makeOverridablePythonPackage = f: origArgs:
         |                                     ^
       28|     let

   … from call site

   at /nix/store/qb1d20c0rvf718yf505wkzb4bjbzqyiw-nixpkgs/nixpkgs/pkgs/development/python-modules/pythran/default.nix:20:4:

       19|
       20| in buildPythonPackage rec {
         |    ^
       21|   pname = "pythran";

   … while evaluating anonymous lambda

   at /nix/store/qb1d20c0rvf718yf505wkzb4bjbzqyiw-nixpkgs/nixpkgs/pkgs/development/python-modules/pythran/default.nix:1:1:

        1| { lib
         | ^
        2| , python

   … from call site

   at /nix/store/qb1d20c0rvf718yf505wkzb4bjbzqyiw-nixpkgs/nixpkgs/lib/customisation.nix:69:16:

       68|     let
       69|       result = f origArgs;
         |                ^
       70|

   … while evaluating 'makeOverridable'

   at /nix/store/qb1d20c0rvf718yf505wkzb4bjbzqyiw-nixpkgs/nixpkgs/lib/customisation.nix:67:24:

       66|   */
       67|   makeOverridable = f: origArgs:
         |                        ^
       68|     let

   … from call site

   at /nix/store/qb1d20c0rvf718yf505wkzb4bjbzqyiw-nixpkgs/nixpkgs/lib/customisation.nix:168:34:

      167|
      168|     in if missingArgs == [] then makeOverridable f allArgs else throw error;
         |                                  ^
      169|

   … while evaluating 'callPackageWith'

   at /nix/store/qb1d20c0rvf718yf505wkzb4bjbzqyiw-nixpkgs/nixpkgs/lib/customisation.nix:117:35:

      116|   */
      117|   callPackageWith = autoArgs: fn: args:
         |                                   ^
      118|     let

   … from call site

   at /nix/store/qb1d20c0rvf718yf505wkzb4bjbzqyiw-nixpkgs/nixpkgs/pkgs/top-level/python-packages.nix:9076:13:

     9075|
     9076|   pythran = callPackage ../development/python-modules/pythran {
         |             ^
     9077|     inherit (pkgs.llvmPackages) openmp;

   … while evaluating 'isDerivation'

   at /nix/store/qb1d20c0rvf718yf505wkzb4bjbzqyiw-nixpkgs/nixpkgs/lib/attrsets.nix:427:18:

      426|   */
      427|   isDerivation = x: x.type or null == "derivation";
         |                  ^
      428|

   … from call site

   at /nix/store/qb1d20c0rvf718yf505wkzb4bjbzqyiw-nixpkgs/nixpkgs/pkgs/stdenv/generic/make-derivation.nix:193:8:

      192|   checkDependencyList' = positions: name: deps: lib.flip lib.imap1 deps (index: dep:
      193|     if lib.isDerivation dep || isNull dep || builtins.typeOf dep == "string" || builtins.typeOf dep == "path" then dep
         |        ^
      194|     else if lib.isList dep then checkDependencyList' ([index] ++ positions) name dep

   … while evaluating anonymous lambda

   at /nix/store/qb1d20c0rvf718yf505wkzb4bjbzqyiw-nixpkgs/nixpkgs/pkgs/stdenv/generic/make-derivation.nix:192:81:

      191|   checkDependencyList = checkDependencyList' [];
      192|   checkDependencyList' = positions: name: deps: lib.flip lib.imap1 deps (index: dep:
         |                                                                                 ^
      193|     if lib.isDerivation dep || isNull dep || builtins.typeOf dep == "string" || builtins.typeOf dep == "path" then dep

   … from call site

   at /nix/store/qb1d20c0rvf718yf505wkzb4bjbzqyiw-nixpkgs/nixpkgs/lib/lists.nix:117:32:

      116|   */
      117|   imap1 = f: list: genList (n: f (n + 1) (elemAt list n)) (length list);
         |                                ^
      118|

   … while evaluating anonymous lambda

   at /nix/store/qb1d20c0rvf718yf505wkzb4bjbzqyiw-nixpkgs/nixpkgs/lib/lists.nix:117:29:

      116|   */
      117|   imap1 = f: list: genList (n: f (n + 1) (elemAt list n)) (length list);
         |                             ^
      118|

   … from call site

   … while evaluating anonymous lambda

   at /nix/store/qb1d20c0rvf718yf505wkzb4bjbzqyiw-nixpkgs/nixpkgs/pkgs/stdenv/generic/make-derivation.nix:212:13:

      211|       (map (drv: drv.__spliced.buildBuild or drv) (checkDependencyList "depsBuildBuild" depsBuildBuild))
      212|       (map (drv: drv.nativeDrv or drv) (checkDependencyList "nativeBuildInputs" nativeBuildInputs
         |             ^
      213|          ++ lib.optional separateDebugInfo' ../../build-support/setup-hooks/separate-debug-info.sh

   … from call site

   … while evaluating 'getOutput'

   at /nix/store/qb1d20c0rvf718yf505wkzb4bjbzqyiw-nixpkgs/nixpkgs/lib/attrsets.nix:598:23:

      597|   */
      598|   getOutput = output: pkg:
         |                       ^
      599|     if ! pkg ? outputSpecified || ! pkg.outputSpecified

   … from call site

   … while evaluating the attribute 'nativeBuildInputs' of the derivation 'python2.7-scipy-1.8.1'

   at /nix/store/qb1d20c0rvf718yf505wkzb4bjbzqyiw-nixpkgs/nixpkgs/pkgs/stdenv/generic/make-derivation.nix:270:7:

      269|     // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
      270|       name =
         |       ^
      271|         let

   … while evaluating the attribute 'outPath'

   at /nix/store/qb1d20c0rvf718yf505wkzb4bjbzqyiw-nixpkgs/nixpkgs/lib/customisation.nix:211:7:

      210|       drvPath = assert condition; drv.drvPath;
      211|       outPath = assert condition; drv.outPath;
         |       ^
      212|     };

   … while evaluating anonymous lambda

   at /nix/store/qb1d20c0rvf718yf505wkzb4bjbzqyiw-nixpkgs/nixpkgs/lib/lists.nix:646:25:

      645|    */
      646|   unique = foldl' (acc: e: if elem e acc then acc else acc ++ [ e ]) [];
         |                         ^
      647|

   … from call site

   at /nix/store/qb1d20c0rvf718yf505wkzb4bjbzqyiw-nixpkgs/nixpkgs/pkgs/top-level/python-packages.nix:62:6:

       61|     modules = lib.filter hasPythonModule drvs;
       62|   in lib.unique ([python] ++ modules ++ lib.concatLists (lib.catAttrs "requiredPythonModules" modules));
         |      ^
       63|

   … while evaluating 'requiredPythonModules'

   at /nix/store/qb1d20c0rvf718yf505wkzb4bjbzqyiw-nixpkgs/nixpkgs/pkgs/top-level/python-packages.nix:60:27:

       59|   # Get list of required Python modules given a list of derivations.
       60|   requiredPythonModules = drvs: let
         |                           ^
       61|     modules = lib.filter hasPythonModule drvs;

   … from call site

   at /nix/store/qb1d20c0rvf718yf505wkzb4bjbzqyiw-nixpkgs/nixpkgs/pkgs/development/interpreters/python/wrapper.nix:20:13:

       19|   env = let
       20|     paths = requiredPythonModules (extraLibs ++ [ python ] ) ;
         |             ^
       21|     pythonPath = "${placeholder "out"}/${python.sitePackages}";

   … while evaluating the attribute 'passAsFile'

   at /nix/store/qb1d20c0rvf718yf505wkzb4bjbzqyiw-nixpkgs/nixpkgs/pkgs/build-support/buildenv/default.nix:77:5:

       76|     # XXX: The size is somewhat arbitrary
       77|     passAsFile = if builtins.stringLength pkgs >= 128*1024 then [ "pkgs" ] else [ ];
         |     ^
       78|   }

   … while evaluating the attribute 'passAsFile' of the derivation 'python-2.7.18-env'

   at /nix/store/qb1d20c0rvf718yf505wkzb4bjbzqyiw-nixpkgs/nixpkgs/pkgs/stdenv/generic/make-derivation.nix:270:7:

      269|     // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
      270|       name =
         |       ^
      271|         let

   … while evaluating the attribute 'buildInputs' of the derivation 'jumpcutter-0.0.1'

   at /nix/store/qb1d20c0rvf718yf505wkzb4bjbzqyiw-nixpkgs/nixpkgs/pkgs/stdenv/generic/make-derivation.nix:270:7:

      269|     // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
      270|       name =
         |       ^
      271|         let

`