-
-
Notifications
You must be signed in to change notification settings - Fork 14.5k
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
cantarell-fonts build broken (GNOME 3 dependency) #50855
Comments
I'm guessing
Just like it's not used in gobject-introspection's setup-hook as there's no concept of
Not sure why we're hitting this only with cantarell though. |
Most packages that need its rules probably pick it up from |
Weird,
|
Ok, looks like the plain variant is only added if |
Hmm, so gobject-introspection's envHook might actually cause problems for cross compilation, at least when combined with While gettext should probably be safe, as that's all done at compile time? |
`GETTEXTDATADIRS` isn't populated correctly due to empty buildInputs. Borrow from `GETTEXTDATADIRS_FOR_BUILD` until we fix gettext's envHook. see: NixOS#50855
`role_post` is meant for cross compilation, eg. `CC_FOR_BUILD` and `CC_FOR_TARGET`. There's no such concept for `GETTEXTDATADIRS`. In particular we hit this with `cantarell-fonts`, where only `GETTEXTDATADIRS_FOR_BUILD` is defined due to empty buildInputs. see NixOS#50855
`GETTEXTDATADIRS` isn't populated correctly due to empty buildInputs. Borrow from `GETTEXTDATADIRS_FOR_BUILD` until we fix gettext's envHook. see: #50855
`GETTEXTDATADIRS` isn't populated correctly due to empty buildInputs. Borrow from `GETTEXTDATADIRS_FOR_BUILD` until we fix gettext's envHook. see: NixOS#50855
`GETTEXTDATADIRS` isn't populated correctly due to empty buildInputs. Borrow from `GETTEXTDATADIRS_FOR_BUILD` until we fix gettext's envHook. see: #50855
`GETTEXTDATADIRS` isn't populated correctly due to empty buildInputs. Borrow from `GETTEXTDATADIRS_FOR_BUILD` until we fix gettext's envHook. see: #50855
`GETTEXTDATADIRS` isn't populated correctly due to empty buildInputs. Borrow from `GETTEXTDATADIRS_FOR_BUILD` until we fix gettext's envHook. see: NixOS#50855
Thank you for your contributions. This has been automatically marked as stale because it has had no activity for 180 days. If this is still important to you, we ask that you leave a comment below. Your comment can be as simple as "still important to me". This lets people see that at least one person still cares about this. Someone will have to do this at most twice a year if there is no other activity. Here are suggestions that might help resolve this more quickly:
|
This is definitely fixed. |
Issue description
On the
release-18.09
branch, thecantarell-fonts
package fails to build with the following errors:Steps to reproduce
Change the hash in
pkgs/data/fonts/cantarell-fonts/default.nix
and then:nix-build '<nixpkgs>' -A cantarell-fonts
Technical details
Hydra has a successful build of the
cantarell-fonts
package cached as of September 3rd (due tocantarell-fonts
being a fixed-output derivation), but if you force it to build locally it will fail.As far as I can tell, the build fails because the
GETTEXTDATADIRS
environment variable is not defined. Instead, there is aGETTEXTDATADIRS_FOR_BUILD
variable defined (but it's not being used?).If I add the following line to the
cantarell-fonts/default.nix
file it will build successfuly:However, I'm pretty sure that this isn't the correct solution.
This seems related to #33524, #33458 and #40139.
cc @Ericson2314
The text was updated successfully, but these errors were encountered: