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

cmplayer fails to build on Hydra #4220

Closed
Fuuzetsu opened this issue Sep 23, 2014 · 18 comments
Closed

cmplayer fails to build on Hydra #4220

Fuuzetsu opened this issue Sep 23, 2014 · 18 comments

Comments

@Fuuzetsu
Copy link
Member

cmplayer fails to build on Hydra because it apparently tries to run waf (http://code.google.com/p/waf/) first. Locally however even though it complains, the nix-build proceeds. This is to discuss this problem. instead of discussing this at #4175

cc @abbradar

@Fuuzetsu
Copy link
Member Author

I'm pretty sure I know how to fix it but I think @abbradar wanted to give it a go. Let me know. I'll fix it by this time tomorrow if I don't hear back.

@abbradar
Copy link
Member

I haven't received any notifications about builds failing, in spite of me being a maintainer; shouldn't I?

@abbradar
Copy link
Member

Read through logs and checked local env, but can't really get what's going on -- why would "python" be missing in Hydra's env and exist in local --pure shell? I don't have any means for testing on Hydra as far as I understood, but if using something like "python2" would fix this, I would love to get an explanation. Other than that, I have no ideas for now.
Also @Fuuzetsu -- thanks for briefing on Hydra and monitor!

@abbradar
Copy link
Member

Just got a notice; earlier question is invalid then.

@domenkozar
Copy link
Member

for reference: http://hydra.nixos.org/build/14704016

@Fuuzetsu
Copy link
Member Author

@abbradar you probably need to manually run python waf … in `preConfigure, grep in nixpkgs for examples

@abbradar
Copy link
Member

I'll try; this is just very strange that something builds locally, but not
on Hydra. Sign of impurity, perhaps?

@domenkozar
Copy link
Member

are you using chroot builds?

@abbradar
Copy link
Member

No and I should try. They were too slow for an outdated laptop that I have now; I'll leave this for night.

@abbradar
Copy link
Member

It fails on chroot; good, Where do build directories with chroot enabled reside? Ideally I would want to get a shell inside chroot.

@Fuuzetsu
Copy link
Member Author

I wonder if passing -K to nix-build will work for you

@abbradar
Copy link
Member

I've missed it, sorry. Let me see... It would be cool however to have some way to get a shell in created chroot environment.

@domenkozar
Copy link
Member

Closed via 6ac16b3

@abbradar
Copy link
Member

abbradar commented Oct 2, 2014

(Sorry that I failed to close it myself -- I have got a sudden big increase of other tasks.)

@abbradar
Copy link
Member

abbradar commented Oct 2, 2014

Hydra just reported failure to me.

@domenkozar
Copy link
Member

As you can see on http://hydra.nixos.org/jobset/nixpkgs/trunk, it still didn't evaluate the commit.

@abbradar
Copy link
Member

abbradar commented Oct 2, 2014

I wanted to say just that. I have an idea to implement debugging chroots with help of a local ssh server to have a tool similar to nix-shell. I'll try to do this on weekend.

@abbradar
Copy link
Member

abbradar commented Oct 3, 2014

I can't quite wrap my head around why does your fix work; /usr/bin/env is visible from chroot, as seen from error message; it looks like the python is not in PATH, but why would it be so in chroots? Is this expected behaviour?

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

No branches or pull requests

3 participants