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

igprof: init at v5.9.16 #62215

Merged
merged 1 commit into from Jun 2, 2019
Merged

igprof: init at v5.9.16 #62215

merged 1 commit into from Jun 2, 2019

Conversation

ktf
Copy link
Contributor

@ktf ktf commented May 29, 2019

Motivation for this change

Add IgProf profiler.

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
  • 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 nix-review --run "nix-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)
  • Assured whether relevant documentation is up to date
  • Fits CONTRIBUTING.md.

@ktf ktf force-pushed the master branch 2 times, most recently from 6536577 to e22ff20 Compare May 29, 2019 22:47
@ktf
Copy link
Contributor Author

ktf commented May 31, 2019

For the record, I think I've addressed all the reported concerns.

Copy link
Member

@Ma27 Ma27 left a comment

Choose a reason for hiding this comment

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

Sorry for my late response. I guess that GitHub doesn't notify participants when force-pushing to the topic branch.

owner = pname;
repo = pname;
rev = "v${version}";
sha256 = "0glpl97d2231gp51n3y4qvf3y1l8xzafi1sgpwc305vwc2h4dl2x";
Copy link
Member

Choose a reason for hiding this comment

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

I'm getting a hash mismatch here:

hash mismatch in fixed-output derivation '/nix/store/db6iz0272sx2iszx3s1813m677g92y8m-source':
  wanted: sha256:0glpl97d2231gp51n3y4qvf3y1l8xzafi1sgpwc305vwc2h4dl2x
  got:    sha256:0rx3mv8zdh9bmcpfbzkib3d52skzfr8600gh5gv21wcsh50jnifx

'';

license = stdenv.lib.licenses.gpl2;
maintainers = with maintainers; [ ktf ];
Copy link
Member

Choose a reason for hiding this comment

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

This doesn't evaluate since maintainers is an attribute set in stdenv.lib. A typical pattern to use with maintainers is to use meta = with stdenv.lib which makes all attributes from stdenv.lib available in the meta block.

sha256 = "0glpl97d2231gp51n3y4qvf3y1l8xzafi1sgpwc305vwc2h4dl2x";
};

nativeBuildInputs = [ cmake ];
Copy link
Member

Choose a reason for hiding this comment

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

When trying to build this (with the changed hash) I get the following error:

CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
UNWIND_INCLUDE_DIR
   used as include directory in directory /build/source
   used as include directory in directory /build/source
   used as include directory in directory /build/source
   used as include directory in directory /build/source
   used as include directory in directory /build/source
   used as include directory in directory /build/source
   used as include directory in directory /build/source
   used as include directory in directory /build/source
UNWIND_LIBRARY
    linked by target "igprof" in directory /build/source

-- Configuring incomplete, errors occurred!
See also "/build/source/build/CMakeFiles/CMakeOutput.log".
See also "/build/source/build/CMakeFiles/CMakeError.log".
builder for '/nix/store/5w2c4d5kn4c7camm5nbc43h23y9i5nlw-igprof-5.9.16.drv' failed with exit code 1

@ktf
Copy link
Contributor Author

ktf commented Jun 2, 2019

Apologies, I pushed from the wrong directory... :-/

@ktf
Copy link
Contributor Author

ktf commented Jun 2, 2019

New version should be fine.

@Ma27
Copy link
Member

Ma27 commented Jun 2, 2019

Build and tested locally. Let's wait for ofborg to finish and merge then.

@Ma27 Ma27 merged commit 0c1140c into NixOS:master Jun 2, 2019
@Ma27
Copy link
Member

Ma27 commented Jun 2, 2019

@ktf thanks!

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.

None yet

2 participants