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

rage: add dependency on mesa_noglu.dev #47132

Merged
merged 1 commit into from Sep 21, 2018
Merged

rage: add dependency on mesa_noglu.dev #47132

merged 1 commit into from Sep 21, 2018

Conversation

romildo
Copy link
Contributor

@romildo romildo commented Sep 21, 2018

Motivation for this change

Building rage fails because the file gbm.pc is not being found. Adding the mesa_noglu.dev dependency fixes this.

Fixes build failure reported on #47108.

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 nox --run "nox-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)
  • Fits CONTRIBUTING.md.

@romildo
Copy link
Contributor Author

romildo commented Sep 21, 2018

@GrahamcOfBorg build enlightenment.rage

@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: enlightenment.rage

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 x86_64-linux (full log)

Attempted: enlightenment.rage

Partial log (click to expand)

post-installation fixup
Wrapping program /nix/store/1i8h0y5aivvpizad2l898hz1hn1x200i-rage-0.3.0/bin/rage
shrinking RPATHs of ELF executables and libraries in /nix/store/1i8h0y5aivvpizad2l898hz1hn1x200i-rage-0.3.0
shrinking /nix/store/1i8h0y5aivvpizad2l898hz1hn1x200i-rage-0.3.0/bin/.rage-wrapped
shrinking /nix/store/1i8h0y5aivvpizad2l898hz1hn1x200i-rage-0.3.0/lib/rage/utils/rage_thumb
strip is /nix/store/h0lbngpv6ln56hjj59i6l77vxq25flbz-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/1i8h0y5aivvpizad2l898hz1hn1x200i-rage-0.3.0/lib  /nix/store/1i8h0y5aivvpizad2l898hz1hn1x200i-rage-0.3.0/bin
patching script interpreter paths in /nix/store/1i8h0y5aivvpizad2l898hz1hn1x200i-rage-0.3.0
checking for references to /build in /nix/store/1i8h0y5aivvpizad2l898hz1hn1x200i-rage-0.3.0...
/nix/store/1i8h0y5aivvpizad2l898hz1hn1x200i-rage-0.3.0

@GrahamcOfBorg
Copy link

Unexpected error: command failed with exit code 1 on aarch64-linux (full log)

Attempted: enlightenment.rage

Partial log (click to expand)

warning: unable to download 'https://cache.nixos.org/nar/0spn321vmh9w9pij9wd8myf4zz6jwhzy7lz3d73x57zhmwyb08w8.nar.xz': HTTP error 503; retrying in 5439 ms
warning: unable to download 'https://cache.nixos.org/nar/0jr9i63j3blv3d7k0cb1gllph1dqplbxbn10mrjznwykhfjf9473.nar.xz': HTTP error 503; retrying in 4908 ms
warning: unable to download 'https://cache.nixos.org/nar/0jr9i63j3blv3d7k0cb1gllph1dqplbxbn10mrjznwykhfjf9473.nar.xz': HTTP error 503; retrying in 9207 ms
warning: unable to download 'https://cache.nixos.org/nar/0spn321vmh9w9pij9wd8myf4zz6jwhzy7lz3d73x57zhmwyb08w8.nar.xz': HTTP error 503; retrying in 8602 ms
warning: unable to download 'https://cache.nixos.org/nar/0spn321vmh9w9pij9wd8myf4zz6jwhzy7lz3d73x57zhmwyb08w8.nar.xz': HTTP error 503; retrying in 21372 ms
warning: unable to download 'https://cache.nixos.org/nar/0jr9i63j3blv3d7k0cb1gllph1dqplbxbn10mrjznwykhfjf9473.nar.xz': HTTP error 503; retrying in 20135 ms
unable to download 'https://cache.nixos.org/nar/0jr9i63j3blv3d7k0cb1gllph1dqplbxbn10mrjznwykhfjf9473.nar.xz': HTTP error 503
unable to download 'https://cache.nixos.org/nar/0spn321vmh9w9pij9wd8myf4zz6jwhzy7lz3d73x57zhmwyb08w8.nar.xz': HTTP error 503
cannot build derivation '/nix/store/warfmy19f4a0nc72c9j8siladra2ynr0-rage-0.3.0.drv': 1 dependencies couldn't be built
error: build of '/nix/store/warfmy19f4a0nc72c9j8siladra2ynr0-rage-0.3.0.drv' failed

@xeji
Copy link
Contributor

xeji commented Sep 21, 2018

Thanks! The aarch64 failure looks like a temporary networking problem, let's ignore it for now.

@xeji
Copy link
Contributor

xeji commented Sep 21, 2018

Can you please also have a look at enlightenment.ephoto? : https://hydra.nixos.org/build/81781979

@xeji xeji merged commit 7ac0ecc into NixOS:master Sep 21, 2018
xeji pushed a commit that referenced this pull request Sep 21, 2018
@xeji
Copy link
Contributor

xeji commented Sep 21, 2018

backported to 18.09: edf5020

@romildo
Copy link
Contributor Author

romildo commented Sep 21, 2018

Why gbm.pc is not being found when just using libGL? Shouldn't it? Aren't they the same on linux?

@xeji
Copy link
Contributor

xeji commented Sep 21, 2018

I'm not sure why, but libGL.dev doesn't contain gbm.pc.

@romildo romildo deleted the fix.enlightenment.rage branch September 21, 2018 15:48
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

3 participants