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

Texinfo failing to download on staging #139470

Closed
r-burns opened this issue Sep 25, 2021 · 4 comments
Closed

Texinfo failing to download on staging #139470

r-burns opened this issue Sep 25, 2021 · 4 comments
Labels
0.kind: bug Something is broken

Comments

@r-burns
Copy link
Contributor

r-burns commented Sep 25, 2021

Since #138063:

https://hydra.nixos.org/build/153907889/nixlog/3

error: unable to download 'https://ftpmirror.gnu.org/texinfo/texinfo-6.8.tar.xz': Couldn't resolve host name (6)
builder for '/nix/store/8x8fismhjkqwcl5qc2rq2zpm70sm9vv7-texinfo-6.8.tar.xz.drv' failed with exit code 1

cc @trofi

@trofi
Copy link
Contributor

trofi commented Sep 25, 2021

Fetch works locally here:

$ nix-prefetch-url https://ftpmirror.gnu.org/texinfo/texinfo-6.8.tar.xz
path is '/nix/store/ycj1q918l6852kndr75rlwmw43k5ybys-texinfo-6.8.tar.xz'
1i7yb7mrp3inz25zbzv2pllr4y7d58v818f1as7iz8mw53nm7dw

I wonder if it's related to nix-daemon's bug in fetching new tarballs:

Tl;DR is: nix-daemon sometimes does not initialize glibc's NSS before entering chroot and fails to do it afterwards. #137197 will fix it but will also require builder update.

@vcunat
Copy link
Member

vcunat commented Sep 25, 2021

Yes, it's certainly that nix bug. I don't know... perhaps we can do the same as in the previous case: 28b6a91 I'm not aware of anything better I can do (personally) about this.

@trofi
Copy link
Contributor

trofi commented Sep 26, 2021

Would using nixUnstable instead of nix on hydra builder be an option until nix is fixed? (AFAIU nixUnstable already has the fix). Or too risky to get bugs creep in?

vcunat pushed a commit that referenced this issue Sep 26, 2021
(forward-picked from commit 1165533, partially)
The point is to work around issue #139470: fetchurl on Hydra.
@vcunat
Copy link
Member

vcunat commented Sep 26, 2021

It's unblocked now, though the underlying problem still isn't fixed.

@vcunat vcunat closed this as completed Sep 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.kind: bug Something is broken
Projects
None yet
Development

No branches or pull requests

3 participants