mapbox / mapbox/node-fontnik

undefined symbol with node 12 with linux

Open
#176 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

jira-sync-complete
Dominant language
C++
Stars
248
Forks
67
PR merge metrics
No merged PRs in 30d

Description

I installed node-fontnik with node 12.20.1 on my mac, tests passed. When I port it to gitlab ci execute tests in `osgeo/gdal:ubuntu-small-3.1.2`, failed as:
```
/builds/geoway/atlas-vision/node_modules/fontnik/index.js:1
Error: /builds/geoway/atlas-vision/node_modules/fontnik/lib/binding/fontnik.node: undefined symbol: _ZN2v82V813DisposeGlobalEPPNS_8internal6ObjectE
at Object.Module._extensions..node (internal/modules/cjs/loader.js:1057:18)
```

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the failure in the GitLab CI environment using osgeo/gdal:ubuntu-small-3.1.2 and Node 12.20.1. Inspect node_modules/fontnik/index.js and node_modules/fontnik/lib/binding/fontnik.node to investigate the undefined V8 symbol. Done means the existing tests pass in the reported Linux environment, or the supported runtime combination is clearly established.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, linux, node.js
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.