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

builder for fontconfig-conf fails on unstable #95685

Closed
romildo opened this issue Aug 17, 2020 · 8 comments · Fixed by #95716
Closed

builder for fontconfig-conf fails on unstable #95685

romildo opened this issue Aug 17, 2020 · 8 comments · Fixed by #95716
Labels
0.kind: bug Something is broken

Comments

@romildo
Copy link
Contributor

romildo commented Aug 17, 2020

Describe the bug

When rebuilding my NixOS unstable system I am getting the following failure:

[...]
rm: cannot remove '/nix/store/pqxvjd0gmx9y8q91r4vr72m03l4gwx19-fontconfig-conf/etc/fonts/2.11/conf.d/50-user.conf': No such file or directory
builder for '/nix/store/ph3kzyfmyg7jzqfjxfqkblwqmy8dgvj5-fontconfig-conf.drv' failed with exit code 1
cannot build derivation '/nix/store/x8hqsd8hssd2nsbwywgv7pnbsc94832y-fontconfig-etc.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/s82vqjm59l8vwflly5i4isj7xd00y654-etc.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/zfxa5z84pyglzfkzq0g0i04z0n84gsww-nixos-system-romildo-20.09pre238896.16fc531784a.drv': 1 dependencies couldn't be built
error: build of '/nix/store/zfxa5z84pyglzfkzq0g0i04z0n84gsww-nixos-system-romildo-20.09pre238896.16fc531784a.drv' failed

Metadata

  • system: "x86_64-linux"
  • host os: Linux 5.7.14, NixOS, 20.09.git.6ecf3768a5e (Nightingale)
  • multi-user?: yes
  • sandbox: yes
  • version: nix-env (Nix) 2.3.7
  • channels(root): "nixos-20.09pre238896.16fc531784a"
  • nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos
@romildo romildo added the 0.kind: bug Something is broken label Aug 17, 2020
@DIzFer
Copy link
Contributor

DIzFer commented Aug 17, 2020

To save someone the bisect, the culprit seems to be f527651

@flokli
Copy link
Contributor

flokli commented Aug 17, 2020

Even with nixpkgs pointed precisely at 16fc531784a (what this nixpkgs checkout seems to be at), I can't reproduce.

@flokli
Copy link
Contributor

flokli commented Aug 17, 2020

I also tried building nixos/tests/gnome3.nix, which surely should pull in fontconfig.

@pbogdan
Copy link
Member

pbogdan commented Aug 17, 2020

Same failure as romildo if I set fonts.fontconfig.includeUserConf to false. If I set it to true... #95712

@DIzFer
Copy link
Contributor

DIzFer commented Aug 17, 2020 via email

@romildo
Copy link
Contributor Author

romildo commented Aug 17, 2020

Same failure as romildo if I set fonts.fontconfig.includeUserConf to false. If I set it to true... #95712

I have this set to false on my system.

@flokli
Copy link
Contributor

flokli commented Aug 17, 2020

It seems I missed parts of edf2541 while rebasing #93562. Fix incoming.

flokli added a commit to flokli/nixpkgs that referenced this issue Aug 17, 2020
Apparently, edf2541 was missed while
rebasing NixOS#93562.

Provide 50-user.conf in fontconfig if includeUserConf is true (the
default), and don't try removing the non-existent one if it's disabled

Fixes NixOS#95685
Fixes NixOS#95712
@flokli
Copy link
Contributor

flokli commented Aug 17, 2020

Should be fixed by #95716.

wchresta pushed a commit to wchresta/nixpkgs that referenced this issue Aug 17, 2020
Apparently, edf2541 was missed while
rebasing NixOS#93562.

Provide 50-user.conf in fontconfig if includeUserConf is true (the
default), and don't try removing the non-existent one if it's disabled

Fixes NixOS#95685
Fixes NixOS#95712
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

Successfully merging a pull request may close this issue.

4 participants