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

Build failure: openmoji-{color,black} #219202

Closed
OPNA2608 opened this issue Mar 2, 2023 · 0 comments · Fixed by #220752
Closed

Build failure: openmoji-{color,black} #219202

OPNA2608 opened this issue Mar 2, 2023 · 0 comments · Fixed by #220752
Labels
0.kind: build failure A package fails to build

Comments

@OPNA2608
Copy link
Contributor

OPNA2608 commented Mar 2, 2023

Steps To Reproduce

  1. build openmoji-color or openmoji-black on master f8bbedf (or soon unstable channel)

Build log

https://hydra.nixos.org/log/1l269ga3cygxfpyfff4ff3zyqpk4fw2l-openmoji-14.0.0.drv

unpacking sources
unpacking source archive /nix/store/bqm11bwabzwjljd7q16fml2lgkn149f5-source
source root is source
patching sources
configuring
no configure script, doing nothing
building
/build/source/helpers/generate-font-glyphs.js:13
const svgFiles = glob('./color/svg/*.svg');
                 ^

TypeError: glob is not a function
    at Object.<anonymous> (/build/source/helpers/generate-font-glyphs.js:13:18)
    at Module._compile (node:internal/modules/cjs/loader:1254:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1308:10)
    at Module.load (node:internal/modules/cjs/loader:1117:32)
    at Module._load (node:internal/modules/cjs/loader:958:12)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
    at node:internal/main/run_main_module:23:47

Node.js v18.14.2

Additional context

Likely candidate for breakage is the nodePackages.glob: 8.0.1 -> 9.0.1 bump in #218736

9.0

This is a full rewrite, with significant API and algorithm changes.

helpers/generate-font-glyphs.js & the problematic scfbuild usage have recently been dropped by upstream in favour of googlefonts/nanoemoji (hfg-gmuend/openmoji#422), might make sense to avoid messing with this and just bump the package to the latest commit?

Notify maintainers

@fgaz

Metadata

[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 5.15.89-xanmod1, NixOS, 22.11 (Raccoon), 22.11.2523.1b82144edfc`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.11.1`
 - channels(bt1cn): `"unstable"`
 - channels(root): `"nixos-22.11"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.kind: build failure A package fails to build
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant