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

lief: init at 0.9.0 #42565

Merged
merged 1 commit into from Jun 26, 2018
Merged

lief: init at 0.9.0 #42565

merged 1 commit into from Jun 26, 2018

Conversation

Lassulus
Copy link
Member

https://lief.quarkslab.com/

For now I just use the released version because I couldn't get the cmake build to work, as it wants to do something with git I couldn't figure out.

@GrahamcOfBorg
Copy link

Success on x86_64-darwin (full log)

Attempted: lief

Partial log (click to expand)

  /nix/store/0w4znim94crgxd7dw2dssjjpwwpnp133-source.drv
building '/nix/store/0w4znim94crgxd7dw2dssjjpwwpnp133-source.drv'...

trying https://github.com/lief-project/LIEF/releases/download/0.9.0/LIEF-0.9.0-Linux.tar.gz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   613    0   613    0     0   1178      0 --:--:-- --:--:-- --:--:--  1178
100 5279k  100 5279k    0     0  2110k      0  0:00:02  0:00:02 --:--:-- 3089k
unpacking source archive /private/tmp/nix-build-source.drv-0/LIEF-0.9.0-Linux.tar.gz
/nix/store/yilal8dqcmlf2dh3m4qvkncbm45iwm3p-source

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: lief

Partial log (click to expand)

  /nix/store/ppx6flf8sbb4q0hx0csai488nzrw225d-source.drv
building '/nix/store/ppx6flf8sbb4q0hx0csai488nzrw225d-source.drv'...

trying https://github.com/lief-project/LIEF/releases/download/0.9.0/LIEF-0.9.0-Linux.tar.gz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   613    0   613    0     0    579      0 --:--:--  0:00:01 --:--:--   579
100 5279k  100 5279k    0     0   696k      0  0:00:07  0:00:07 --:--:--  947k
unpacking source archive /build/LIEF-0.9.0-Linux.tar.gz
/nix/store/yilal8dqcmlf2dh3m4qvkncbm45iwm3p-source

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: lief

Partial log (click to expand)

  /nix/store/rm39429kmg19h1cd8y5gc9gxbb7lmzxs-source.drv
building '/nix/store/rm39429kmg19h1cd8y5gc9gxbb7lmzxs-source.drv'...

trying https://github.com/lief-project/LIEF/releases/download/0.9.0/LIEF-0.9.0-Linux.tar.gz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   613    0   613    0     0   5522      0 --:--:-- --:--:-- --:--:--  5522
100 5279k  100 5279k    0     0  6682k      0 --:--:-- --:--:-- --:--:-- 14.6M
unpacking source archive /build/LIEF-0.9.0-Linux.tar.gz
/nix/store/yilal8dqcmlf2dh3m4qvkncbm45iwm3p-source

Copy link
Contributor

@xeji xeji left a comment

Choose a reason for hiding this comment

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

Please add meta with the usual attributes and make sure platforms matches the prebuilt binary libs in the tarball.

@GrahamcOfBorg
Copy link

No attempt on x86_64-darwin (full log)

The following builds were skipped because they don't evaluate on x86_64-darwin: lief

Partial log (click to expand)


a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnsupportedSystem = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnsupportedSystem = true; }
to ~/.config/nixpkgs/config.nix.


@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: lief

Partial log (click to expand)

copying path '/nix/store/cl9an9vw7v2yyl00pzr32xmfzpda9df7-curl-7.60.0-dev' from 'https://cache.nixos.org'...
building '/nix/store/rm39429kmg19h1cd8y5gc9gxbb7lmzxs-source.drv'...

trying https://github.com/lief-project/LIEF/releases/download/0.9.0/LIEF-0.9.0-Linux.tar.gz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   613    0   613    0     0   4943      0 --:--:-- --:--:-- --:--:--  4943
100 5279k  100 5279k    0     0  11.4M      0 --:--:-- --:--:-- --:--:-- 11.4M
unpacking source archive /build/LIEF-0.9.0-Linux.tar.gz
/nix/store/yilal8dqcmlf2dh3m4qvkncbm45iwm3p-source

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: lief

Partial log (click to expand)

/nix/store/yilal8dqcmlf2dh3m4qvkncbm45iwm3p-source

license = [ licenses.asl20 ];
platforms = platforms.linux;
maintainers = [ maintainers.lassulus ];
};
Copy link
Contributor

Choose a reason for hiding this comment

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

meta belongs outside the fetchzip, not in it.

Copy link
Member

Choose a reason for hiding this comment

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

This use is definitely okay. fetchzip output can be installed as a normal derivation so it is pretty much needed to use meta here. I also much prefer it to the all too common cp -r $src/* $out because it will be fixed output.

Copy link
Contributor

Choose a reason for hiding this comment

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

Sorry, didn't know about that. Never seen this use before.

@xeji xeji merged commit 191c42d into NixOS:master Jun 26, 2018
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

4 participants