Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

python3Packages.wxPython_4_0: build on darwin #97101

Merged
merged 3 commits into from Jan 15, 2021

Conversation

fricklerhandwerk
Copy link
Contributor

Motivation for this change

Fix #86040

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Ensured that relevant documentation is up to date
  • Fits CONTRIBUTING.md.

Building in sandbox cannot be checked, because clang fails, as described in #41099 and #41099:

configure:16875: checking whether the C compiler works
configure:16897: clang    conftest.c  >&5
ld: warning: directory not found for option '-F/System/Library/PrivateFrameworks'
ld: file not found: /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
clang-7: error: linker command failed with exit code 1 (use -v to see invocation)

Building reverse dependencies fails for the same reason. Essentially I have no idea if I broke something for Darwin users and no reasonable way to check it.

error: build of '/nix/store/fzcx83xcq7ni2wrmjm8j6h894zn1b3cd-env.drv' failed
21 package marked as broken and skipped:
ell errbot mergerfs mergerfs-tools meritous torcs torque torrential w_scan wipe wxGTK29 wxGTK30 wxGTK30-gtk3 wxGTK31 wxGTK31-gtk3 wxSVG wxmaxima wxmupen64plus wxsqlite3 wxsqliteplus wyrd

30 package failed to build:
asls diff-pdf elixir elixir_1_6 elixir_1_7 elixir_1_8 elixir_1_9 erlang erlangR20 erlangR21 erlangR23 erlang_javac erlang_odbc erlang_odbc_javac lfe mavproxy mercury plover.stable python27Packages.wxPython python27Packages.wxPython_4_0 python37Packages.wxPython_4_0 python38Packages.wxPython_4_0 rabbitmq-server rebar rebar3 relxExe torchat tsung winpdb wxmac

@LnL7 is there any progress with (or even desire to) fixing sandboxing on Darwin?

@evils
Copy link
Member

evils commented Sep 4, 2020

how does the git-lfs change relate to wxpython?

@fricklerhandwerk
Copy link
Contributor Author

how does the git-lfs change relate to wxpython?

It does not, no idea how and from where it even slipped in... removed by re-creating the branch and cherry-picking on top.

@ofborg ofborg bot added 6.topic: darwin Running or building packages on Darwin 6.topic: python labels Sep 4, 2020
@ofborg ofborg bot requested a review from LnL7 September 4, 2020 10:49
@veprbl
Copy link
Member

veprbl commented Sep 8, 2020

@GrahamcOfBorg eval

@SuperSandro2000
Copy link
Member

SuperSandro2000 commented Nov 27, 2020

Result of nixpkgs-review pr 97101 run on x86_64-darwin 1

24 packages marked as broken and skipped:
  • couchdb
  • couchdb2
  • cuter
  • elixir_1_6
  • erlangR18
  • erlangR19
  • erlang_basho_R16B02
  • gnuradio
  • gnuradio-with-packages
  • gr-ais
  • gr-nacl
  • gr-osmosdr
  • gr-rds
  • grass
  • kicad-small
  • kicad-unstable-small
  • lfe_1_2
  • python27Packages.runsnakerun
  • python27Packages.squaremap
  • python37Packages.kicad
  • python38Packages.kicad
  • riak-cs
  • stanchion
  • tsung
2 packages failed to build:
  • mavproxy
  • plover.stable
27 packages built:
  • asls
  • diff-pdf
  • elixir
  • elixir_1_10
  • elixir_1_7
  • elixir_1_8
  • elixir_1_9
  • erlang (erlangR22)
  • erlangR20
  • erlangR21
  • erlangR23
  • erlang_javac
  • erlang_odbc
  • erlang_odbc_javac
  • lfe (lfe_1_3)
  • mercury
  • python27Packages.wxPython (python27Packages.wxPython30)
  • python27Packages.wxPython_4_0
  • python37Packages.wxPython_4_0
  • python38Packages.wxPython_4_0
  • rabbitmq-server
  • rebar
  • rebar3
  • relxExe
  • torchat
  • winpdb
  • wxmac

Failures are kinda related to this PR because otherwise the python package won't build.

@SuperSandro2000
Copy link
Member

SuperSandro2000 commented Nov 27, 2020

For mavproxy to build:

diff --git a/pkgs/applications/science/robotics/mavproxy/default.nix b/pkgs/applications/science/robotics/mavproxy/default.nix
index c354dad80428..170c7fea2d8a 100644
--- a/pkgs/applications/science/robotics/mavproxy/default.nix
+++ b/pkgs/applications/science/robotics/mavproxy/default.nix
@@ -1,5 +1,5 @@
-{ lib, buildPythonApplication, fetchPypi, matplotlib, numpy, pymavlink, pyserial
-, setuptools, wxPython_4_0 }:
+{ stdenv, buildPythonApplication, fetchPypi, matplotlib, numpy, pymavlink, pyserial
+, setuptools, wxPython_4_0, billiard, gnureadline }:
 
 buildPythonApplication rec {
   pname = "MAVProxy";
@@ -10,6 +10,11 @@ buildPythonApplication rec {
     sha256 = "1rbq2nm01212rp5xbl8p8kjl2mpgfppkwjsq3lnfw1v6g0m4359h";
   };
 
+  postPatch = ''
+    substituteInPlace setup.py \
+      --replace "opencv-python" ""
+  '';
+
   propagatedBuildInputs = [
     matplotlib
     numpy
@@ -17,12 +22,12 @@ buildPythonApplication rec {
     pyserial
     setuptools
     wxPython_4_0
-  ];
+  ] ++ stdenv.lib.optionals stdenv.isDarwin [ billiard gnureadline ];
 
   # No tests
   doCheck = false;
 
-  meta = with lib; {
+  meta = with stdenv.lib; {
     description = "MAVLink proxy and command line ground station";
     homepage = "https://github.com/ArduPilot/MAVProxy";
     license = licenses.gpl3;

@SuperSandro2000
Copy link
Member

For plover.stable to build we need to patch the following:

hidapi:

diff --git a/pkgs/development/python-modules/hidapi/default.nix b/pkgs/development/python-modules/hidapi/default.nix
index b1c21b106b56..5ffb198b6905 100644
--- a/pkgs/development/python-modules/hidapi/default.nix
+++ b/pkgs/development/python-modules/hidapi/default.nix
@@ -9,18 +9,21 @@ buildPythonPackage rec {
     sha256 = "5a2442928f17ba742d9c53073f48b152051c5747d758d2fefd937543da5ab2e5";
   };

-  propagatedBuildInputs =
-    stdenv.lib.optionals stdenv.isLinux [ libusb1 udev ] ++
-    stdenv.lib.optionals stdenv.isDarwin [ darwin.IOKit darwin.apple_sdk.frameworks.CoreFoundation ] ++
-    [ cython ];
-
   # Fix the USB backend library lookup
   postPatch = stdenv.lib.optionalString stdenv.isLinux ''
     libusb=${libusb1.dev}/include/libusb-1.0
     test -d $libusb || { echo "ERROR: $libusb doesn't exist, please update/fix this build expression."; exit 1; }
     sed -i -e "s|/usr/include/libusb-1.0|$libusb|" setup.py
+  '' + stdenv.lib.optionalString stdenv.isDarwin ''
+    substituteInPlace setup.py \
+      --replace "subprocess.check_output(['xcrun', '--show-sdk-path']).decode().strip()" '"${darwin.apple_sdk.sdk.version}"'
   '';

+  propagatedBuildInputs =
+    stdenv.lib.optionals stdenv.isLinux [ libusb1 udev ] ++
+    stdenv.lib.optionals stdenv.isDarwin [ darwin.IOKit darwin.apple_sdk.frameworks.CoreFoundation ] ++
+    [ cython ];
+
   meta = with stdenv.lib; {
     description = "A Cython interface to the hidapi from https://github.com/signal11/hidapi";
     homepage = "https://github.com/trezor/cython-hidapi";

@SuperSandro2000
Copy link
Member

As the original author did not respond for a while I am doing a PR which supersedes this one and implements all the review comments. Stay tuned!

@fricklerhandwerk
Copy link
Contributor Author

fricklerhandwerk commented Nov 27, 2020

I did respond to one of the comments today, but it's also fine if you just create your own PR.

@SuperSandro2000
Copy link
Member

I did respond to one of the comments today, but it's also fine if you just create your own PR.

Oh sorry, I must have missed that.

Copy link
Member

@SuperSandro2000 SuperSandro2000 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

some nitpicks from me :) Sorry about the hasty overtaking.

@@ -26,8 +29,16 @@ buildPythonPackage rec {

doCheck = false;

nativeBuildInputs = [ pkgconfig which doxygen wxGTK ];
buildInputs = [ ncurses wxGTK.gtk ];
nativeBuildInputs = [ pkgconfig which doxygen ]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
nativeBuildInputs = [ pkgconfig which doxygen ]
nativeBuildInputs = [ pkg-config which doxygen ]

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll have to check that, did that package name change recently? Right now it is passed as pkgconfig in the arguments...

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We renamed pkgconfig to pkg-config but if this is the python module that it is still the same name. I am confused now.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Everything in pkgs/top-level/python-packages.nix passes pkgs.pkgconfig. Doesn't look to me that we should change that here.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is a python package named pkgconfig and it would be great to distinguish them. Also eventually we want to remove the alias to pkgconfig. Also when things got changed recently we can't rely on how it is done everywhere else if everywhere else might not be changed yet.

pkgs/development/python-modules/wxPython/4.0.nix Outdated Show resolved Hide resolved
pkgs/development/python-modules/wxPython/4.0.nix Outdated Show resolved Hide resolved
pkgs/development/python-modules/wxPython/4.0.nix Outdated Show resolved Hide resolved
pkgs/top-level/all-packages.nix Outdated Show resolved Hide resolved
pkgs/development/libraries/wxwidgets/3.0/mac.nix Outdated Show resolved Hide resolved
pkgs/development/libraries/wxwidgets/3.0/mac.nix Outdated Show resolved Hide resolved
@SuperSandro2000
Copy link
Member

Result of nixpkgs-review pr 97101 run on x86_64-linux 1

8 packages built:
  • kicad-small
  • kicad-unstable-small
  • mavproxy
  • python27Packages.wxPython_4_0
  • python37Packages.kicad
  • python37Packages.wxPython_4_0
  • python38Packages.kicad
  • python38Packages.wxPython_4_0

@SuperSandro2000
Copy link
Member

Result of nixpkgs-review pr 97101 run on x86_64-darwin 1

23 packages marked as broken and skipped:
  • couchdb
  • couchdb2
  • cuter
  • elixir_1_6
  • erlangR18
  • erlangR19
  • erlang_basho_R16B02
  • gnuradio
  • gnuradio-with-packages
  • gr-ais
  • gr-nacl
  • gr-osmosdr
  • gr-rds
  • grass
  • kicad-small
  • kicad-unstable-small
  • lfe_1_2
  • python27Packages.runsnakerun
  • python27Packages.squaremap
  • python37Packages.kicad
  • python38Packages.kicad
  • riak-cs
  • stanchion
2 packages failed to build:
  • mavproxy
  • plover.stable
28 packages built:
  • asls
  • diff-pdf
  • elixir
  • elixir_1_10
  • elixir_1_7
  • elixir_1_8
  • elixir_1_9
  • erlang (erlangR22)
  • erlangR20
  • erlangR21
  • erlangR23
  • erlang_javac
  • erlang_odbc
  • erlang_odbc_javac
  • lfe (lfe_1_3)
  • mercury
  • python27Packages.wxPython (python27Packages.wxPython30)
  • python27Packages.wxPython_4_0
  • python37Packages.wxPython_4_0
  • python38Packages.wxPython_4_0
  • rabbitmq-server
  • rebar
  • rebar3
  • relxExe
  • torchat
  • tsung
  • winpdb
  • wxmac

@fricklerhandwerk
Copy link
Contributor Author

Now I'm stuck, because I cannot even start to build wxmac locally. nixpkgs-review rev HEAD -p wxmac fails:

  checking whether we are cross compiling... configure: error: in `/private/var/folders/8v/x5w4x7t942b6czr737rd1x0m0000gn/T/nix-build-wxmac-3.0.5.1.drv-0/source':
  configure: error: cannot run C compiled programs.
  If you meant to cross compile, use `--host'.

@SuperSandro2000 How did you get this to work in the first place?

@SuperSandro2000
Copy link
Member

@SuperSandro2000 How did you get this to work in the first place?

I just ran nixpkgs-review pr 97101

@SuperSandro2000
Copy link
Member

Result of nixpkgs-review pr 97101 run on x86_64-darwin 1

20 packages marked as broken and skipped:
  • couchdb
  • couchdb2
  • couchdb3
  • cuter
  • erlangR18
  • erlangR19
  • erlang_basho_R16B02
  • gnuradio3_7
  • gnuradio3_7-unwrapped
  • gr-ais
  • gr-nacl
  • gr-osmosdr
  • gr-rds
  • grass
  • kicad-small
  • kicad-unstable-small
  • lfe_1_2
  • python37Packages.kicad
  • python38Packages.kicad
  • python39Packages.kicad
2 packages failed to build:
  • mavproxy
  • plover.stable
28 packages built:
  • asls
  • diff-pdf
  • elixir (elixir_1_11)
  • elixir_1_10
  • elixir_1_7
  • elixir_1_8
  • elixir_1_9
  • erlang (erlangR22)
  • erlangR20
  • erlangR21
  • erlangR23
  • erlang_javac
  • erlang_odbc
  • erlang_odbc_javac
  • lfe (lfe_1_3)
  • mercury
  • python37Packages.wxPython_4_0
  • python38Packages.wxPython_4_0
  • python39Packages.wxPython_4_0
  • rabbitmq-server
  • rebar
  • rebar3
  • rehex
  • relxExe
  • torchat
  • tsung
  • winpdb
  • wxmac

@fricklerhandwerk
Copy link
Contributor Author

The actual problem seems to already start with the sandbox blocking access to the frameworks:

  dyld: Library not loaded: /System/Library/Frameworks/Carbon.framework/Versions/A/Carbon
    Referenced from: /nix/store/s42hqz0wqn2c42zj8k3i42rzwiw4ivpp-glib-2.66.3/lib/libglib-2.0.0.dylib
    Reason: no suitable image found.  Did find:
     /System/Library/Frameworks/Carbon.framework/Versions/A/Carbon: file system sandbox blocked stat()
      /System/Library/Frameworks/Carbon.framework/Versions/A/Carbon: file system sandbox blocked stat()

Is changing nix configuration the only solution we have right now?

@fricklerhandwerk
Copy link
Contributor Author

@SuperSandro2000 Sorry for spamming you, but I'm really frustrated that I can't get it to build locally. It won't scale if I have to beg people to run the review script all the time.

I tried reinstalling Xcode Commandline Tools (prominent search suggestion for this issue), tried without them altogether, tried stdenv = gccStdEnv; - it's all the same, it fails to run the cross-compilation test binary during configure step. Any help here?

@SuperSandro2000
Copy link
Member

This is a semi-automatic executed nixpkgs-review which does not build all packages (e.g. lumo, tensorflow or pytorch)
If you find some bugs or got suggestions for further things to search or run please reach out to SuperSandro2000 on IRC.

Result of nixpkgs-review pr 97101 run on x86_64-darwin 1

20 packages marked as broken and skipped:
  • couchdb
  • couchdb2
  • couchdb3
  • cuter
  • erlangR18
  • erlangR19
  • erlang_basho_R16B02
  • gnuradio3_7
  • gnuradio3_7-unwrapped
  • gr-ais
  • gr-nacl
  • gr-osmosdr
  • gr-rds
  • grass
  • kicad-small
  • kicad-unstable-small
  • lfe_1_2
  • python37Packages.kicad
  • python38Packages.kicad
  • python39Packages.kicad
32 packages failed to build and are new build failures:
  • asls: log was empty
  • diff-pdf: log https://termbin.com/33ah
  • elixir: log was empty
  • (elixir_1_11): log was empty
  • elixir_1_10: log was empty
  • elixir_1_7: log was empty
  • elixir_1_8: log was empty
  • elixir_1_9: log was empty
  • erlang: log was empty
  • (erlangR22): log was empty
  • erlangR20: log https://termbin.com/6iu8
  • erlangR21: log was empty
  • erlangR23: log was empty
  • erlang_javac: log was empty
  • erlang_odbc: log was empty
  • erlang_odbc_javac: log was empty
  • lfe: log was empty
  • (lfe_1_3): log was empty
  • mavproxy: log was empty
  • mercury: log was empty
  • plover.stable: log was empty
  • python37Packages.wxPython_4_0: log was empty
  • python38Packages.wxPython_4_0: log was empty
  • python39Packages.wxPython_4_0: log was empty
  • rabbitmq-server: log was empty
  • rebar: log was empty
  • rebar3: log was empty
  • rehex: log was empty
  • relxExe: log was empty
  • torchat: log was empty
  • tsung: log was empty
  • winpdb: log was empty
1 package built:
  • wxmac

@SuperSandro2000
Copy link
Member

@SuperSandro2000 Sorry for spamming you, but I'm really frustrated that I can't get it to build locally. It won't scale if I have to beg people to run the review script all the time.

I tried reinstalling Xcode Commandline Tools (prominent search suggestion for this issue), tried without them altogether, tried stdenv = gccStdEnv; - it's all the same, it fails to run the cross-compilation test binary during configure step. Any help here?

Disable the test? I have no better idea.

@fricklerhandwerk
Copy link
Contributor Author

@SuperSandro It looks like your build machine may has run full: wxmac (lowest in the dependency chain, built first) succeeded, all of the dependents failed and erlangR20 failed with

install: error writing '/nix/store/z6vbsy0hv3n9wd07vkv2hbgi26f094qq-erlang-20.3.8.9/lib/erlang/lib/ssl-8.2.6.2/src/ssl_tls_dist_proxy.erl': No space left on device

@SuperSandro2000
Copy link
Member

@SuperSandro It looks like your build machine may has run full: wxmac (lowest in the dependency chain, built first) succeeded, all of the dependents failed and erlangR20 failed with

install: error writing '/nix/store/z6vbsy0hv3n9wd07vkv2hbgi26f094qq-erlang-20.3.8.9/lib/erlang/lib/ssl-8.2.6.2/src/ssl_tls_dist_proxy.erl': No space left on device

I guess I rebuild it an we see how it goes.

@SuperSandro2000
Copy link
Member

This is a semi-automatic executed nixpkgs-review which does not build all packages (e.g. lumo, tensorflow or pytorch)
If you find some bugs or got suggestions for further things to search or run please reach out to SuperSandro2000 on IRC.

Result of nixpkgs-review pr 97101 run on x86_64-darwin 1

20 packages marked as broken and skipped:
  • couchdb
  • couchdb2
  • couchdb3
  • cuter
  • erlangR18
  • erlangR19
  • erlang_basho_R16B02
  • gnuradio3_7
  • gnuradio3_7-unwrapped
  • gr-ais
  • gr-nacl
  • gr-osmosdr
  • gr-rds
  • grass
  • kicad-small
  • kicad-unstable-small
  • lfe_1_2
  • python37Packages.kicad
  • python38Packages.kicad
  • python39Packages.kicad
2 packages failed to build and are new build failures:
28 packages built:
  • asls
  • elixir (elixir_1_11)
  • elixir_1_10
  • elixir_1_7
  • elixir_1_8
  • elixir_1_9
  • erlang (erlangR22)
  • erlangR20
  • erlangR21
  • erlangR23
  • erlang_javac
  • erlang_odbc
  • erlang_odbc_javac
  • lfe (lfe_1_3)
  • mavproxy
  • mercury
  • python37Packages.wxPython_4_0
  • python38Packages.wxPython_4_0
  • python39Packages.wxPython_4_0
  • rabbitmq-server
  • rebar
  • rebar3
  • rehex
  • relxExe
  • torchat
  • tsung
  • winpdb
  • wxmac

The following issues got detected with the above build packages.
Please fix at least the ones listed with your changed packages:

winpdb:

Zero tests run by pytest got detected: 'Ran 0 tests in 0.000s'
You have the following options to fix this:

  • Tell pytest(CheckHook) where to find the tests included in the package
  • Check if the GitHub Repo contains tests but they are not shipped with Pypi. If so please switch to fetchFromGitHub.
  • If the Packages does not contain any tests add 'doCheck = false;'and apythonImportsCheck`.

Copy link
Member

@SuperSandro2000 SuperSandro2000 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We recently decided to no longer use stdenv.lib.

Other than the 5 comments this is LGTM.

pkgs/applications/science/robotics/mavproxy/default.nix Outdated Show resolved Hide resolved
pkgs/applications/science/robotics/mavproxy/default.nix Outdated Show resolved Hide resolved
pkgs/applications/science/robotics/mavproxy/default.nix Outdated Show resolved Hide resolved
@@ -26,8 +29,16 @@ buildPythonPackage rec {

doCheck = false;

nativeBuildInputs = [ pkgconfig which doxygen wxGTK ];
buildInputs = [ ncurses wxGTK.gtk ];
nativeBuildInputs = [ pkgconfig which doxygen ]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is a python package named pkgconfig and it would be great to distinguish them. Also eventually we want to remove the alias to pkgconfig. Also when things got changed recently we can't rely on how it is done everywhere else if everywhere else might not be changed yet.

pkgs/development/python-modules/wxPython/4.0.nix Outdated Show resolved Hide resolved
@fricklerhandwerk
Copy link
Contributor Author

@SuperSandro2000 Cleaned up the commits and messages, should be ready to merge after a final test build. diff-pdf and plover.stable seem to have failed for unrelated reasons. Maybe this is fixed by the rebase.

There is a python package named pkgconfig and it would be great to distinguish them. Also eventually we want to remove the alias to pkgconfig. Also when things got changed recently we can't rely on how it is done everywhere else if everywhere else might not be changed yet.

I see how this on your refactoring agenda, and I agree it should be done. But this is my first PR and it already took 3 months to get ready, because building on Darwin is such a pain that I cannot even do my own nixpkgs-review any more. Refactoring something I don't completely understand yet will delay this PR even further. Why don't we try to merge this first, you create the refactoring PR and ping me for a review?

@SuperSandro2000
Copy link
Member

If you didn't rebase against master I could have looked at the force push diff but now github just shows me a unicorn.

@fricklerhandwerk
Copy link
Contributor Author

Sorry, damn these unicorns. I just added all your change requests, except the pkg-config as mentioned. Please review the full diff then...

@SuperSandro2000
Copy link
Member

This is a semi-automatic executed nixpkgs-review which does not build all packages (e.g. lumo, tensorflow or pytorch)
If you find some bugs or got suggestions for further things to search or run please reach out to SuperSandro2000 on IRC.

Result of nixpkgs-review pr 97101 run on x86_64-darwin 1

20 packages marked as broken and skipped:
  • couchdb
  • couchdb2
  • couchdb3
  • cuter
  • erlangR18
  • erlangR19
  • erlang_basho_R16B02
  • gnuradio3_7
  • gnuradio3_7-unwrapped
  • gr-ais
  • gr-nacl
  • gr-osmosdr
  • gr-rds
  • grass
  • kicad-small
  • kicad-unstable-small
  • lfe_1_2
  • python37Packages.kicad
  • python38Packages.kicad
  • python39Packages.kicad
2 packages failed to build and are new build failures:
28 packages built:
  • asls
  • elixir (elixir_1_11)
  • elixir_1_10
  • elixir_1_7
  • elixir_1_8
  • elixir_1_9
  • erlang (erlangR22)
  • erlangR20
  • erlangR21
  • erlangR23
  • erlang_javac
  • erlang_odbc
  • erlang_odbc_javac
  • lfe (lfe_1_3)
  • mavproxy
  • mercury
  • python37Packages.wxPython_4_0
  • python38Packages.wxPython_4_0
  • python39Packages.wxPython_4_0
  • rabbitmq-server
  • rebar
  • rebar3
  • rehex
  • relxExe
  • torchat
  • tsung
  • winpdb
  • wxmac

The following issues got detected with the above build packages.
Please fix at least the ones listed with your changed packages:

winpdb:

Zero tests run by pytest got detected: 'Ran 0 tests in 0.000s'
You have the following options to fix this:

  • Tell pytest(CheckHook) where to find the tests included in the package
  • Check if the GitHub Repo contains tests but they are not shipped with Pypi. If so please switch to fetchFromGitHub.
  • If the Packages does not contain any tests add 'doCheck = false;'and apythonImportsCheck`.

@SuperSandro2000
Copy link
Member

Sorry, damn these unicorns. I just added all your change requests, except the pkg-config as mentioned. Please review the full diff then...

It would be great if you could change that with the next update or something. You don't need to do another PR that fixes solely that.

@SuperSandro2000 SuperSandro2000 merged commit 403ea9f into NixOS:master Jan 15, 2021
@SuperSandro2000
Copy link
Member

This is a semi-automatic executed nixpkgs-review which does not build all packages (e.g. lumo, tensorflow or pytorch)
If you find some bugs or got suggestions for further things to search or run please reach out to SuperSandro2000 on IRC.

Result of nixpkgs-review pr 97101 run on x86_64-linux 1

11 packages built:
  • kicad-small
  • kicad-unstable-small
  • mavproxy
  • printrun
  • python37Packages.kicad
  • python37Packages.wxPython_4_0
  • python38Packages.kicad
  • python38Packages.wxPython_4_0
  • python39Packages.kicad
  • python39Packages.wxPython_4_0
  • quisk

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

wxPython_4_0 is not built for darwin
6 participants