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

can't install node-postal #49

Open
kenfringe opened this issue Aug 22, 2024 · 13 comments
Open

can't install node-postal #49

kenfringe opened this issue Aug 22, 2024 · 13 comments

Comments

@kenfringe
Copy link

I am using a github action runner to try and build an application that uses node-postal

Ubuntu 22.04
python 3
node 18.11.0

I install the libpostal library successfully.

When I run yarn to grab deps it barfs on node-postal:

➤ YN0007: │ node-postal@npm:1.2.0 must be built because it never has been before or the last one failed
  ➤ YN0007: │ esbuild@npm:0.21.5 must be built because it never has been before or the last one failed
  ➤ YN0007: │ core-js@npm:3.38.0 must be built because it never has been before or the last one failed
  ➤ YN0007: │ protobufjs@npm:6.11.4 must be built because it never has been before or the last one failed
  ➤ YN0007: │ protobufjs@npm:7.3.2 must be built because it never has been before or the last one failed
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR gyp info it worked if it ends with ok
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR gyp info using [email protected]
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR gyp info using [email protected] | linux | x64
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR gyp info find Python using Python version 3.10.12 found at "/usr/bin/python3"
  ➤ YN0000: │ node-postal@npm:1.2.0 STDOUT 
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR gyp http GET https://nodejs.org/download/release/v18.11.0/node-v18.11.0-headers.tar.gz
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR gyp http 200 https://nodejs.org/download/release/v18.11.0/node-v18.11.0-headers.tar.gz
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR gyp http GET https://nodejs.org/download/release/v18.11.0/SHASUMS256.txt
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR gyp http 200 https://nodejs.org/download/release/v18.11.0/SHASUMS256.txt
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR gyp info spawn /usr/bin/python3
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR gyp info spawn args [
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR gyp info spawn args '/home/runner/work/marketplace-app/marketplace-app/node_modules/node-gyp/gyp/gyp_main.py',
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR gyp info spawn args 'binding.gyp',
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR gyp info spawn args '-f',
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR gyp info spawn args 'make',
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR gyp info spawn args '-I',
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR gyp info spawn args '/home/runner/work/marketplace-app/marketplace-app/node_modules/node-postal/build/config.gypi',
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR gyp info spawn args '-I',
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR gyp info spawn args '/home/runner/work/marketplace-app/marketplace-app/node_modules/node-gyp/addon.gypi',
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR gyp info spawn args '-I',
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR gyp info spawn args '/home/runner/.cache/node-gyp/18.11.0/include/node/common.gypi',
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR gyp info spawn args '-Dlibrary=shared_library',
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR gyp info spawn args '-Dvisibility=default',
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR gyp info spawn args '-Dnode_root_dir=/home/runner/.cache/node-gyp/18.11.0',
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR gyp info spawn args '-Dnode_gyp_dir=/home/runner/work/marketplace-app/marketplace-app/node_modules/node-gyp',
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR gyp info spawn args '-Dnode_lib_file=/home/runner/.cache/node-gyp/18.11.0/<(target_arch)/node.lib',
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR gyp info spawn args '-Dmodule_root_dir=/home/runner/work/marketplace-app/marketplace-app/node_modules/node-postal',
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR gyp info spawn args '-Dnode_engine=v8',
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR gyp info spawn args '--depth=.',
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR gyp info spawn args '--no-parallel',
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR gyp info spawn args '--generator-output',
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR gyp info spawn args 'build',
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR gyp info spawn args '-Goutput_dir=.'
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR gyp info spawn args ]
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR gyp info spawn make
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
  ➤ YN0000: │ node-postal@npm:1.2.0 STDOUT make: Entering directory '/home/runner/work/marketplace-app/marketplace-app/node_modules/node-postal/build'
  ➤ YN0000: │ node-postal@npm:1.2.0 STDOUT   CXX(target) Release/obj.target/expand/src/expand.o
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR ../src/expand.cc: In function ‘void ExpandAddress(const Nan::FunctionCallbackInfo<v8::Value>&)’:
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR ../src/expand.cc:122:17: warning: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, uint32_t, v8::Local<v8::Value>)’, declared with attribute ‘warn_unused_result’ [-Wunused-result]
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR   122 |         ret->Set(context, i, e);
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR       |         ~~~~~~~~^~~~~~~~~~~~~~~
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR In file included from /home/runner/.cache/node-gyp/18.11.0/include/node/v8-array-buffer.h:13,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from /home/runner/.cache/node-gyp/18.11.0/include/node/v8.h:24,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from /home/runner/.cache/node-gyp/18.11.0/include/node/node.h:73,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from ../../nan/nan.h:62,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from ../src/expand.cc:2:
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR /home/runner/.cache/node-gyp/18.11.0/include/node/v8-object.h:247:37: note: declared here
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR   247 |   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR       |                                     ^~~
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR ../src/expand.cc: In function ‘void init(v8::Local<v8::Object>)’:
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR ../src/expand.cc:[148](https://github.com/fringeus/marketplace-app/actions/runs/10514502722/job/29132472111#step:11:151):17: warning: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’, declared with attribute ‘warn_unused_result’ [-Wunused-result]
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR   148 |     exports->Set(
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR       |     ~~~~~~~~~~~~^
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR   [149](https://github.com/fringeus/marketplace-app/actions/runs/10514502722/job/29132472111#step:11:152) |         context,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR       |         ~~~~~~~~ 
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR   [150](https://github.com/fringeus/marketplace-app/actions/runs/10514502722/job/29132472111#step:11:153) |         Nan::New("expand_address").ToLocalChecked(),
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR       |         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR   [151](https://github.com/fringeus/marketplace-app/actions/runs/10514502722/job/29132472111#step:11:154) |         Nan::New<v8::FunctionTemplate>(ExpandAddress)->GetFunction(context).ToLocalChecked()
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR       |         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR   [152](https://github.com/fringeus/marketplace-app/actions/runs/10514502722/job/29132472111#step:11:155) |     );
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR       |     ~            
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR In file included from /home/runner/.cache/node-gyp/18.11.0/include/node/v8-array-buffer.h:13,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from /home/runner/.cache/node-gyp/18.11.0/include/node/v8.h:24,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from /home/runner/.cache/node-gyp/18.11.0/include/node/node.h:73,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from ../../nan/nan.h:62,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from ../src/expand.cc:2:
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR /home/runner/.cache/node-gyp/18.11.0/include/node/v8-object.h:244:37: note: declared here
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR   244 |   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR       |                                     ^~~
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR ../src/expand.cc:[154](https://github.com/fringeus/marketplace-app/actions/runs/10514502722/job/29132472111#step:11:157):17: warning: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’, declared with attribute ‘warn_unused_result’ [-Wunused-result]
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR   154 |     exports->Set(
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR       |     ~~~~~~~~~~~~^
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR   [155](https://github.com/fringeus/marketplace-app/actions/runs/10514502722/job/29132472111#step:11:158) |         context,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR       |         ~~~~~~~~ 
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR   [156](https://github.com/fringeus/marketplace-app/actions/runs/10514502722/job/29132472111#step:11:159) |         Nan::New("expandAddress").ToLocalChecked(),
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR       |         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR   [157](https://github.com/fringeus/marketplace-app/actions/runs/10514502722/job/29132472111#step:11:160) |         Nan::New<v8::FunctionTemplate>(ExpandAddress)->GetFunction(context).ToLocalChecked()
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR       |         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR   [158](https://github.com/fringeus/marketplace-app/actions/runs/10514502722/job/29132472111#step:11:161) |     );
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR       |     ~            
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR In file included from /home/runner/.cache/node-gyp/18.11.0/include/node/v8-array-buffer.h:13,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from /home/runner/.cache/node-gyp/18.11.0/include/node/v8.h:24,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from /home/runner/.cache/node-gyp/18.11.0/include/node/node.h:73,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from ../../nan/nan.h:62,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from ../src/expand.cc:2:
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR /home/runner/.cache/node-gyp/18.11.0/include/node/v8-object.h:244:37: note: declared here
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR   244 |   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR       |                                     ^~~
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR ../src/expand.cc:[160](https://github.com/fringeus/marketplace-app/actions/runs/10514502722/job/29132472111#step:11:163):17: warning: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’, declared with attribute ‘warn_unused_result’ [-Wunused-result]
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR   160 |     exports->Set(context, Nan::New("ADDRESS_NONE").ToLocalChecked(), Nan::New(LIBPOSTAL_ADDRESS_NONE));
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR       |     ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR In file included from /home/runner/.cache/node-gyp/18.11.0/include/node/v8-array-buffer.h:13,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from /home/runner/.cache/node-gyp/18.11.0/include/node/v8.h:24,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from /home/runner/.cache/node-gyp/18.11.0/include/node/node.h:73,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from ../../nan/nan.h:62,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from ../src/expand.cc:2:
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR /home/runner/.cache/node-gyp/18.11.0/include/node/v8-object.h:244:37: note: declared here
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR   244 |   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR       |                                     ^~~
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR ../src/expand.cc:[161](https://github.com/fringeus/marketplace-app/actions/runs/10514502722/job/29132472111#step:11:164):17: warning: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’, declared with attribute ‘warn_unused_result’ [-Wunused-result]
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR   161 |     exports->Set(context, Nan::New("ADDRESS_ANY").ToLocalChecked(), Nan::New(LIBPOSTAL_ADDRESS_ANY));
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR       |     ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR In file included from /home/runner/.cache/node-gyp/18.11.0/include/node/v8-array-buffer.h:13,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from /home/runner/.cache/node-gyp/18.11.0/include/node/v8.h:24,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from /home/runner/.cache/node-gyp/18.11.0/include/node/node.h:73,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from ../../nan/nan.h:62,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from ../src/expand.cc:2:
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR /home/runner/.cache/node-gyp/18.11.0/include/node/v8-object.h:244:37: note: declared here
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR   244 |   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR       |                                     ^~~
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR ../src/expand.cc:[162](https://github.com/fringeus/marketplace-app/actions/runs/10514502722/job/29132472111#step:11:165):17: warning: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’, declared with attribute ‘warn_unused_result’ [-Wunused-result]
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR   162 |     exports->Set(context, Nan::New("ADDRESS_NAME").ToLocalChecked(), Nan::New(LIBPOSTAL_ADDRESS_NAME));
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR       |     ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR In file included from /home/runner/.cache/node-gyp/18.11.0/include/node/v8-array-buffer.h:13,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from /home/runner/.cache/node-gyp/18.11.0/include/node/v8.h:24,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from /home/runner/.cache/node-gyp/18.11.0/include/node/node.h:73,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from ../../nan/nan.h:62,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from ../src/expand.cc:2:
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR /home/runner/.cache/node-gyp/18.11.0/include/node/v8-object.h:244:37: note: declared here
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR   244 |   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR       |                                     ^~~
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR ../src/expand.cc:[163](https://github.com/fringeus/marketplace-app/actions/runs/10514502722/job/29132472111#step:11:166):17: warning: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’, declared with attribute ‘warn_unused_result’ [-Wunused-result]
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR   163 |     exports->Set(context, Nan::New("ADDRESS_HOUSE_NUMBER").ToLocalChecked(), Nan::New(LIBPOSTAL_ADDRESS_HOUSE_NUMBER));
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR       |     ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR In file included from /home/runner/.cache/node-gyp/18.11.0/include/node/v8-array-buffer.h:13,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from /home/runner/.cache/node-gyp/18.11.0/include/node/v8.h:24,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from /home/runner/.cache/node-gyp/18.11.0/include/node/node.h:73,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from ../../nan/nan.h:62,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from ../src/expand.cc:2:
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR /home/runner/.cache/node-gyp/18.11.0/include/node/v8-object.h:244:37: note: declared here
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR   244 |   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR       |                                     ^~~
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR ../src/expand.cc:[164](https://github.com/fringeus/marketplace-app/actions/runs/10514502722/job/29132472111#step:11:167):17: warning: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’, declared with attribute ‘warn_unused_result’ [-Wunused-result]
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR   164 |     exports->Set(context, Nan::New("ADDRESS_STREET").ToLocalChecked(), Nan::New(LIBPOSTAL_ADDRESS_STREET));
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR       |     ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR In file included from /home/runner/.cache/node-gyp/18.11.0/include/node/v8-array-buffer.h:13,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from /home/runner/.cache/node-gyp/18.11.0/include/node/v8.h:24,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from /home/runner/.cache/node-gyp/18.11.0/include/node/node.h:73,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from ../../nan/nan.h:62,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from ../src/expand.cc:2:
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR /home/runner/.cache/node-gyp/18.11.0/include/node/v8-object.h:244:37: note: declared here
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR   244 |   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR       |                                     ^~~
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR ../src/expand.cc:[165](https://github.com/fringeus/marketplace-app/actions/runs/10514502722/job/29132472111#step:11:168):17: warning: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’, declared with attribute ‘warn_unused_result’ [-Wunused-result]
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR   165 |     exports->Set(context, Nan::New("ADDRESS_UNIT").ToLocalChecked(), Nan::New(LIBPOSTAL_ADDRESS_UNIT));
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR       |     ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR In file included from /home/runner/.cache/node-gyp/18.11.0/include/node/v8-array-buffer.h:13,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from /home/runner/.cache/node-gyp/18.11.0/include/node/v8.h:24,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from /home/runner/.cache/node-gyp/18.11.0/include/node/node.h:73,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from ../../nan/nan.h:62,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from ../src/expand.cc:2:
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR /home/runner/.cache/node-gyp/18.11.0/include/node/v8-object.h:244:37: note: declared here
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR   244 |   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR       |                                     ^~~
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR ../src/expand.cc:[166](https://github.com/fringeus/marketplace-app/actions/runs/10514502722/job/29132472111#step:11:169):17: warning: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’, declared with attribute ‘warn_unused_result’ [-Wunused-result]
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR   166 |     exports->Set(context, Nan::New("ADDRESS_LEVEL").ToLocalChecked(), Nan::New(LIBPOSTAL_ADDRESS_LEVEL));
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR       |     ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR In file included from /home/runner/.cache/node-gyp/18.11.0/include/node/v8-array-buffer.h:13,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from /home/runner/.cache/node-gyp/18.11.0/include/node/v8.h:24,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from /home/runner/.cache/node-gyp/18.11.0/include/node/node.h:73,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from ../../nan/nan.h:62,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from ../src/expand.cc:2:
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR /home/runner/.cache/node-gyp/18.11.0/include/node/v8-object.h:244:37: note: declared here
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR   244 |   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR       |                                     ^~~
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR ../src/expand.cc:[167](https://github.com/fringeus/marketplace-app/actions/runs/10514502722/job/29132472111#step:11:170):17: warning: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’, declared with attribute ‘warn_unused_result’ [-Wunused-result]
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR   167 |     exports->Set(context, Nan::New("ADDRESS_STAIRCASE").ToLocalChecked(), Nan::New(LIBPOSTAL_ADDRESS_STAIRCASE));
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR       |     ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR In file included from /home/runner/.cache/node-gyp/18.11.0/include/node/v8-array-buffer.h:13,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from /home/runner/.cache/node-gyp/18.11.0/include/node/v8.h:24,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from /home/runner/.cache/node-gyp/18.11.0/include/node/node.h:73,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from ../../nan/nan.h:62,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from ../src/expand.cc:2:
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR /home/runner/.cache/node-gyp/18.11.0/include/node/v8-object.h:244:37: note: declared here
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR   244 |   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR       |                                     ^~~
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR ../src/expand.cc:[168](https://github.com/fringeus/marketplace-app/actions/runs/10514502722/job/29132472111#step:11:171):17: warning: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’, declared with attribute ‘warn_unused_result’ [-Wunused-result]
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR   168 |     exports->Set(context, Nan::New("ADDRESS_ENTRANCE").ToLocalChecked(), Nan::New(LIBPOSTAL_ADDRESS_ENTRANCE));
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR       |     ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR In file included from /home/runner/.cache/node-gyp/18.11.0/include/node/v8-array-buffer.h:13,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from /home/runner/.cache/node-gyp/18.11.0/include/node/v8.h:24,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from /home/runner/.cache/node-gyp/18.11.0/include/node/node.h:73,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from ../../nan/nan.h:62,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from ../src/expand.cc:2:
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR /home/runner/.cache/node-gyp/18.11.0/include/node/v8-object.h:244:37: note: declared here
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR   244 |   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR       |                                     ^~~
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR ../src/expand.cc:[170](https://github.com/fringeus/marketplace-app/actions/runs/10514502722/job/29132472111#step:11:173):17: warning: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’, declared with attribute ‘warn_unused_result’ [-Wunused-result]
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR   170 |     exports->Set(context, Nan::New("ADDRESS_CATEGORY").ToLocalChecked(), Nan::New(LIBPOSTAL_ADDRESS_CATEGORY));
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR       |     ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR In file included from /home/runner/.cache/node-gyp/18.11.0/include/node/v8-array-buffer.h:13,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from /home/runner/.cache/node-gyp/18.11.0/include/node/v8.h:24,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from /home/runner/.cache/node-gyp/18.11.0/include/node/node.h:73,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from ../../nan/nan.h:62,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from ../src/expand.cc:2:
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR /home/runner/.cache/node-gyp/18.11.0/include/node/v8-object.h:244:37: note: declared here
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR   244 |   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR       |                                     ^~~
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR ../src/expand.cc:[171](https://github.com/fringeus/marketplace-app/actions/runs/10514502722/job/29132472111#step:11:174):17: warning: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’, declared with attribute ‘warn_unused_result’ [-Wunused-result]
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR   171 |     exports->Set(context, Nan::New("ADDRESS_NEAR").ToLocalChecked(), Nan::New(LIBPOSTAL_ADDRESS_NEAR));
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR       |     ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR In file included from /home/runner/.cache/node-gyp/18.11.0/include/node/v8-array-buffer.h:13,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from /home/runner/.cache/node-gyp/18.11.0/include/node/v8.h:24,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from /home/runner/.cache/node-gyp/18.11.0/include/node/node.h:73,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from ../../nan/nan.h:62,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from ../src/expand.cc:2:
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR /home/runner/.cache/node-gyp/18.11.0/include/node/v8-object.h:244:37: note: declared here
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR   244 |   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR       |                                     ^~~
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR ../src/expand.cc:[173](https://github.com/fringeus/marketplace-app/actions/runs/10514502722/job/29132472111#step:11:176):17: warning: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’, declared with attribute ‘warn_unused_result’ [-Wunused-result]
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR   173 |     exports->Set(context, Nan::New("ADDRESS_TOPONYM").ToLocalChecked(), Nan::New(LIBPOSTAL_ADDRESS_TOPONYM));
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR       |     ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR In file included from /home/runner/.cache/node-gyp/18.11.0/include/node/v8-array-buffer.h:13,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from /home/runner/.cache/node-gyp/18.11.0/include/node/v8.h:24,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from /home/runner/.cache/node-gyp/18.11.0/include/node/node.h:73,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from ../../nan/nan.h:62,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from ../src/expand.cc:2:
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR /home/runner/.cache/node-gyp/18.11.0/include/node/v8-object.h:244:37: note: declared here
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR   244 |   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR       |                                     ^~~
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR ../src/expand.cc:[174](https://github.com/fringeus/marketplace-app/actions/runs/10514502722/job/29132472111#step:11:177):17: warning: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’, declared with attribute ‘warn_unused_result’ [-Wunused-result]
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR   174 |     exports->Set(context, Nan::New("ADDRESS_POSTAL_CODE").ToLocalChecked(), Nan::New(LIBPOSTAL_ADDRESS_POSTAL_CODE));
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR       |     ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR In file included from /home/runner/.cache/node-gyp/18.11.0/include/node/v8-array-buffer.h:13,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from /home/runner/.cache/node-gyp/18.11.0/include/node/v8.h:24,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from /home/runner/.cache/node-gyp/18.11.0/include/node/node.h:73,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from ../../nan/nan.h:62,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from ../src/expand.cc:2:
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR /home/runner/.cache/node-gyp/18.11.0/include/node/v8-object.h:244:37: note: declared here
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR   244 |   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR       |                                     ^~~
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR ../src/expand.cc:[175](https://github.com/fringeus/marketplace-app/actions/runs/10514502722/job/29132472111#step:11:178):17: warning: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’, declared with attribute ‘warn_unused_result’ [-Wunused-result]
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR   175 |     exports->Set(context, Nan::New("ADDRESS_PO_BOX").ToLocalChecked(), Nan::New(LIBPOSTAL_ADDRESS_PO_BOX));
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR       |     ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR In file included from /home/runner/.cache/node-gyp/18.11.0/include/node/v8-array-buffer.h:13,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from /home/runner/.cache/node-gyp/18.11.0/include/node/v8.h:24,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from /home/runner/.cache/node-gyp/18.11.0/include/node/node.h:73,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from ../../nan/nan.h:62,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from ../src/expand.cc:2:
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR /home/runner/.cache/node-gyp/18.11.0/include/node/v8-object.h:244:37: note: declared here
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR   244 |   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR       |                                     ^~~
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR ../src/expand.cc:[176](https://github.com/fringeus/marketplace-app/actions/runs/10514502722/job/29132472111#step:11:179):17: warning: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’, declared with attribute ‘warn_unused_result’ [-Wunused-result]
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR   176 |     exports->Set(context, Nan::New("ADDRESS_ALL").ToLocalChecked(), Nan::New(LIBPOSTAL_ADDRESS_ALL));
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR       |     ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR In file included from /home/runner/.cache/node-gyp/18.11.0/include/node/v8-array-buffer.h:13,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from /home/runner/.cache/node-gyp/18.11.0/include/node/v8.h:24,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from /home/runner/.cache/node-gyp/18.11.0/include/node/node.h:73,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from ../../nan/nan.h:62,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from ../src/expand.cc:2:
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR /home/runner/.cache/node-gyp/18.11.0/include/node/v8-object.h:244:37: note: declared here
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR   244 |   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR       |                                     ^~~
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR In file included from ../../nan/nan.h:62,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from ../src/expand.cc:2:
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR ../src/expand.cc: At global scope:
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR /home/runner/.cache/node-gyp/18.11.0/include/node/node.h:976:7: warning: cast between incompatible function types from ‘void (*)(v8::Local<v8::Object>)’ to ‘node::addon_register_func’ {aka ‘void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, void*)’} [-Wcast-function-type]
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR   976 |       (node::addon_register_func) (regfunc),                          \
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR       |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR /home/runner/.cache/node-gyp/18.11.0/include/node/node.h:1010:3: note: in expansion of macro ‘NODE_MODULE_X’
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR  1010 |   NODE_MODULE_X(modname, regfunc, NULL, 0)  // NOLINT (readability/null_usage)
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR       |   ^~~~~~~~~~~~~
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR ../src/expand.cc:[186](https://github.com/fringeus/marketplace-app/actions/runs/10514502722/job/29132472111#step:11:189):1: note: in expansion of macro ‘NODE_MODULE’
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR   186 | NODE_MODULE(expand, init)
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR       | ^~~~~~~~~~~
  ➤ YN0000: │ node-postal@npm:1.2.0 STDOUT   SOLINK_MODULE(target) Release/obj.target/expand.node
  ➤ YN0000: │ node-postal@npm:1.2.0 STDOUT   COPY Release/expand.node
  ➤ YN0000: │ node-postal@npm:1.2.0 STDOUT   CXX(target) Release/obj.target/parser/src/parser.o
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR ../src/parser.cc: In function ‘void ParseAddress(const Nan::FunctionCallbackInfo<v8::Value>&)’:
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR ../src/parser.cc:82:15: warning: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’, declared with attribute ‘warn_unused_result’ [-Wunused-result]
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR    82 |         o->Set(context, name_key, Nan::New(component).ToLocalChecked());
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR       |         ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR In file included from /home/runner/.cache/node-gyp/18.11.0/include/node/v8-array-buffer.h:13,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from /home/runner/.cache/node-gyp/18.11.0/include/node/v8.h:24,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from /home/runner/.cache/node-gyp/18.11.0/include/node/node.h:73,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from ../../nan/nan.h:62,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from ../src/parser.cc:2:
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR /home/runner/.cache/node-gyp/18.11.0/include/node/v8-object.h:244:37: note: declared here
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR   244 |   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR       |                                     ^~~
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR ../src/parser.cc:83:15: warning: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’, declared with attribute ‘warn_unused_result’ [-Wunused-result]
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR    83 |         o->Set(context, label_key, Nan::New(label).ToLocalChecked());
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR       |         ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR In file included from /home/runner/.cache/node-gyp/18.11.0/include/node/v8-array-buffer.h:13,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from /home/runner/.cache/node-gyp/18.11.0/include/node/v8.h:24,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from /home/runner/.cache/node-gyp/18.11.0/include/node/node.h:73,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from ../../nan/nan.h:62,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from ../src/parser.cc:2:
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR /home/runner/.cache/node-gyp/18.11.0/include/node/v8-object.h:244:37: note: declared here
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR   244 |   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR       |                                     ^~~
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR ../src/parser.cc:85:17: warning: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, uint32_t, v8::Local<v8::Value>)’, declared with attribute ‘warn_unused_result’ [-Wunused-result]
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR    85 |         ret->Set(context, i, o);
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR       |         ~~~~~~~~^~~~~~~~~~~~~~~
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR In file included from /home/runner/.cache/node-gyp/18.11.0/include/node/v8-array-buffer.h:13,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from /home/runner/.cache/node-gyp/18.11.0/include/node/v8.h:24,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from /home/runner/.cache/node-gyp/18.11.0/include/node/node.h:73,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from ../../nan/nan.h:62,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from ../src/parser.cc:2:
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR /home/runner/.cache/node-gyp/18.11.0/include/node/v8-object.h:247:37: note: declared here
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR   247 |   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR       |                                     ^~~
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR ../src/parser.cc: In function ‘void init(v8::Local<v8::Object>)’:
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR ../src/parser.cc:111:17: warning: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’, declared with attribute ‘warn_unused_result’ [-Wunused-result]
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR   111 |     exports->Set(
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR       |     ~~~~~~~~~~~~^
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR   112 |         context,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR       |         ~~~~~~~~ 
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR   113 |         Nan::New("parse_address").ToLocalChecked(),
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR       |         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR   114 |         Nan::New<v8::FunctionTemplate>(ParseAddress)->GetFunction(context).ToLocalChecked()
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR       |         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR   115 |     );
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR       |     ~            
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR In file included from /home/runner/.cache/node-gyp/18.11.0/include/node/v8-array-buffer.h:13,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from /home/runner/.cache/node-gyp/18.11.0/include/node/v8.h:24,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from /home/runner/.cache/node-gyp/18.11.0/include/node/node.h:73,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from ../../nan/nan.h:62,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from ../src/parser.cc:2:
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR /home/runner/.cache/node-gyp/18.11.0/include/node/v8-object.h:[244](https://github.com/fringeus/marketplace-app/actions/runs/10514502722/job/29132472111#step:11:247):37: note: declared here
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR   244 |   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR       |                                     ^~~
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR ../src/parser.cc:117:17: warning: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’, declared with attribute ‘warn_unused_result’ [-Wunused-result]
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR   117 |     exports->Set(
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR       |     ~~~~~~~~~~~~^
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR   118 |         context,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR       |         ~~~~~~~~ 
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR   119 |         Nan::New("parseAddress").ToLocalChecked(),
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR       |         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR   120 |         Nan::New<v8::FunctionTemplate>(ParseAddress)->GetFunction(context).ToLocalChecked()
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR       |         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR   121 |     );
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR       |     ~            
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR In file included from /home/runner/.cache/node-gyp/18.11.0/include/node/v8-array-buffer.h:13,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from /home/runner/.cache/node-gyp/18.11.0/include/node/v8.h:24,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from /home/runner/.cache/node-gyp/18.11.0/include/node/node.h:73,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from ../../nan/nan.h:62,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from ../src/parser.cc:2:
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR /home/runner/.cache/node-gyp/18.11.0/include/node/v8-object.h:244:37: note: declared here
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR   244 |   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR       |                                     ^~~
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR In file included from ../../nan/nan.h:62,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from ../src/parser.cc:2:
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR ../src/parser.cc: At global scope:
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR /home/runner/.cache/node-gyp/18.11.0/include/node/node.h:976:7: warning: cast between incompatible function types from ‘void (*)(v8::Local<v8::Object>)’ to ‘node::addon_register_func’ {aka ‘void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, void*)’} [-Wcast-function-type]
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR   976 |       (node::addon_register_func) (regfunc),                          \
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR       |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR /home/runner/.cache/node-gyp/18.11.0/include/node/node.h:1010:3: note: in expansion of macro ‘NODE_MODULE_X’
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR  1010 |   NODE_MODULE_X(modname, regfunc, NULL, 0)  // NOLINT (readability/null_usage)
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR       |   ^~~~~~~~~~~~~
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR ../src/parser.cc:131:1: note: in expansion of macro ‘NODE_MODULE’
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR   131 | NODE_MODULE(parser, init)
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR       | ^~~~~~~~~~~
  ➤ YN0000: │ node-postal@npm:1.2.0 STDOUT   SOLINK_MODULE(target) Release/obj.target/parser.node
  ➤ YN0000: │ node-postal@npm:1.2.0 STDOUT   COPY Release/parser.node
  ➤ YN0000: │ node-postal@npm:1.2.0 STDOUT make: Leaving directory '/home/runner/work/marketplace-app/marketplace-app/node_modules/node-postal/build'
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR gyp info ok

Please help!

@missinglink
Copy link
Contributor

# libpostal apt dependencies
# note: this is done in one command in order to keep down the size of intermediate containers
RUN apt-get update && \
    apt-get install -y build-essential autoconf automake libtool pkg-config python3

# clone libpostal
RUN git clone https://github.com/openvenues/libpostal /code/libpostal
WORKDIR /code/libpostal

# install libpostal
RUN ./bootstrap.sh

# https://github.com/openvenues/libpostal/pull/632#issuecomment-1648303654
ARG TARGETARCH
RUN if [ "$TARGETARCH" = "arm64" ]; then \
      ./configure --datadir='/usr/share/libpostal' --disable-sse2; \
    else \
      ./configure --datadir='/usr/share/libpostal'; \
    fi

# compile
RUN make -j4
RUN DESTDIR=/libpostal make install
RUN ldconfig

@missinglink
Copy link
Contributor

Did you follow the instructions to install libpostal from the README?

@missinglink
Copy link
Contributor

missinglink commented Aug 27, 2024

Did you try using npm instead of yarn?

@kenfringe
Copy link
Author

kenfringe commented Aug 27, 2024

Hello,

Thank you for getting back to me. I did follow the instructions. I altered them some for what you posted and libpostal installed successfully but I am still having issues installing node-postal. I am using yarn to install. Could this error be because it does not know where libpostal is installed?

YN0000: │ node-postal@npm:1.2.0 STDERR gyp info it worked if it ends with ok
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR gyp info using [email protected]
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR gyp info using [email protected] | linux | x64
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR gyp info find Python using Python version 3.8.10 found at "/usr/bin/python3"
  ➤ YN0000: │ node-postal@npm:1.2.0 STDOUT 
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR gyp http GET https://nodejs.org/download/release/v18.11.0/node-v18.11.0-headers.tar.gz
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR gyp http 200 https://nodejs.org/download/release/v18.11.0/node-v18.11.0-headers.tar.gz
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR gyp http GET https://nodejs.org/download/release/v18.11.0/SHASUMS256.txt
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR gyp http 200 https://nodejs.org/download/release/v18.11.0/SHASUMS256.txt
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR gyp info spawn /usr/bin/python3
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR gyp info spawn args [
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR gyp info spawn args '/home/runner/work/marketplace-app/marketplace-app/node_modules/node-gyp/gyp/gyp_main.py',
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR gyp info spawn args 'binding.gyp',
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR gyp info spawn args '-f',
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR gyp info spawn args 'make',
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR gyp info spawn args '-I',
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR gyp info spawn args '/home/runner/work/marketplace-app/marketplace-app/node_modules/node-postal/build/config.gypi',
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR gyp info spawn args '-I',
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR gyp info spawn args '/home/runner/work/marketplace-app/marketplace-app/node_modules/node-gyp/addon.gypi',
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR gyp info spawn args '-I',
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR gyp info spawn args '/home/runner/.cache/node-gyp/18.11.0/include/node/common.gypi',
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR gyp info spawn args '-Dlibrary=shared_library',
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR gyp info spawn args '-Dvisibility=default',
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR gyp info spawn args '-Dnode_root_dir=/home/runner/.cache/node-gyp/18.11.0',
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR gyp info spawn args '-Dnode_gyp_dir=/home/runner/work/marketplace-app/marketplace-app/node_modules/node-gyp',
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR gyp info spawn args '-Dnode_lib_file=/home/runner/.cache/node-gyp/18.11.0/<(target_arch)/node.lib',
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR gyp info spawn args '-Dmodule_root_dir=/home/runner/work/marketplace-app/marketplace-app/node_modules/node-postal',
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR gyp info spawn args '-Dnode_engine=v8',
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR gyp info spawn args '--depth=.',
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR gyp info spawn args '--no-parallel',
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR gyp info spawn args '--generator-output',
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR gyp info spawn args 'build',
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR gyp info spawn args '-Goutput_dir=.'
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR gyp info spawn args ]
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR gyp info spawn make
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
  ➤ YN0000: │ node-postal@npm:1.2.0 STDOUT make: Entering directory '/home/runner/work/marketplace-app/marketplace-app/node_modules/node-postal/build'
  ➤ YN0000: │ node-postal@npm:1.2.0 STDOUT   CXX(target) Release/obj.target/expand/src/expand.o
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR ../src/expand.cc:1:10: fatal error: libpostal/libpostal.h: No such file or directory
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR     1 | #include <libpostal/libpostal.h>
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR       |          ^~~~~~~~~~~~~~~~~~~~~~~
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR compilation terminated.
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR make: *** [expand.target.mk:115: Release/obj.target/expand/src/expand.o] Error 1
  ➤ YN0000: │ node-postal@npm:1.2.0 STDOUT make: Leaving directory '/home/runner/work/marketplace-app/marketplace-app/node_modules/node-postal/build'
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR gyp ERR! build error 
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR gyp ERR! stack Error: `make` failed with exit code: 2
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR gyp ERR! stack at ChildProcess.<anonymous> (/home/runner/work/marketplace-app/marketplace-app/node_modules/node-gyp/lib/build.js:216:23)
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR gyp ERR! System Linux 5.15.0-1070-azure
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR gyp ERR! command "/opt/hostedtoolcache/node/18.11.0/x64/bin/node" "/home/runner/work/marketplace-app/marketplace-app/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR gyp ERR! cwd /home/runner/work/marketplace-app/marketplace-app/node_modules/node-postal
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR gyp ERR! node -v v18.11.0
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR gyp ERR! node-gyp -v v10.2.0
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR gyp ERR! not ok 
➤ YN0000: └ Completed in 32s 129ms
➤ YN0000: Done with warnings in 2m 13s

@missinglink
Copy link
Contributor

Could this error be because it does not know where libpostal is installed?

Yes exactly, and I apologize but my code snippet may have made that more confused, you can remove the DESTDIR=/libpostal line.

I believe ldconfig takes care of this for you but doesn't seem to have worked in your case, are you running that after installing libpostal?

@missinglink
Copy link
Contributor

missinglink commented Aug 27, 2024

If you can't get that working then figure out where libpostal was installed and set the LD_LIBRARY_PATH env var so it knows where to search. (ie. the path prefix to libpostal/libpostal.h)

@kenfringe
Copy link
Author

yes i am running ldconfig before i install node-postal

  mkdir -p /var/tmp/libpostal
  git clone https://github.com/openvenues/libpostal /var/tmp/libpostal
  cd /var/tmp/libpostal
  ./bootstrap.sh
  mkdir -p /opt/libpostal
  ./configure --datadir='/opt/libpostal'
  make -j4
  DESTDIR=/opt/libpostal make install
  sudo ldconfig -v

ldconfig -v does not show libpostal

I did an ls /opt/libpostal/libpostal and don't see libpostal.h but these directories
address_expansions
address_parser
base_data_file_version
data_version
language_classifier
language_classifier_model_file_version
numex
parser_model_file_version
transliteration

I added to my job LD_LIBRARY_PATH: /opt/libpostal but still same error

@missinglink
Copy link
Contributor

The --datadir is usually distinct from the install dir, maybe this is causing issues?

Try removing DESTDIR=/opt/libpostal we only use that in our docker images for more control, you're probably better off using the default installation destination as per the libpostal README.

In order to get it working you'll either need to get ldconfig to set up the paths for you or manually find where the libpostal.h file ended up on your system and use LD_LIBRARY_PATH.

FWIW this usually "just works" so I'm not sure why it isn't for you.

@kenfringe
Copy link
Author

ok i got past that error as i found libpost.h and set the LD_LIBRARY_PATH: /usr/local/include/libpostal.

now I get another error....

node-postal@npm:1.2.0 STDERR gyp info it worked if it ends with ok
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR gyp info using [email protected]
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR gyp info using [email protected] | linux | x64
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR gyp info find Python using Python version 3.8.10 found at "/usr/bin/python3"
  ➤ YN0000: │ node-postal@npm:1.2.0 STDOUT 
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR gyp http GET https://nodejs.org/download/release/v18.11.0/node-v18.11.0-headers.tar.gz
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR gyp http 200 https://nodejs.org/download/release/v18.11.0/node-v18.11.0-headers.tar.gz
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR gyp http GET https://nodejs.org/download/release/v18.11.0/SHASUMS256.txt
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR gyp http 200 https://nodejs.org/download/release/v18.11.0/SHASUMS256.txt
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR gyp info spawn /usr/bin/python3
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR gyp info spawn args [
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR gyp info spawn args '/home/runner/work/marketplace-app/marketplace-app/node_modules/node-gyp/gyp/gyp_main.py',
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR gyp info spawn args 'binding.gyp',
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR gyp info spawn args '-f',
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR gyp info spawn args 'make',
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR gyp info spawn args '-I',
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR gyp info spawn args '/home/runner/work/marketplace-app/marketplace-app/node_modules/node-postal/build/config.gypi',
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR gyp info spawn args '-I',
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR gyp info spawn args '/home/runner/work/marketplace-app/marketplace-app/node_modules/node-gyp/addon.gypi',
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR gyp info spawn args '-I',
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR gyp info spawn args '/home/runner/.cache/node-gyp/18.11.0/include/node/common.gypi',
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR gyp info spawn args '-Dlibrary=shared_library',
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR gyp info spawn args '-Dvisibility=default',
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR gyp info spawn args '-Dnode_root_dir=/home/runner/.cache/node-gyp/18.11.0',
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR gyp info spawn args '-Dnode_gyp_dir=/home/runner/work/marketplace-app/marketplace-app/node_modules/node-gyp',
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR gyp info spawn args '-Dnode_lib_file=/home/runner/.cache/node-gyp/18.11.0/<(target_arch)/node.lib',
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR gyp info spawn args '-Dmodule_root_dir=/home/runner/work/marketplace-app/marketplace-app/node_modules/node-postal',
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR gyp info spawn args '-Dnode_engine=v8',
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR gyp info spawn args '--depth=.',
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR gyp info spawn args '--no-parallel',
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR gyp info spawn args '--generator-output',
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR gyp info spawn args 'build',
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR gyp info spawn args '-Goutput_dir=.'
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR gyp info spawn args ]
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR gyp info spawn make
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
  ➤ YN0000: │ node-postal@npm:1.2.0 STDOUT make: Entering directory '/home/runner/work/marketplace-app/marketplace-app/node_modules/node-postal/build'
  ➤ YN0000: │ node-postal@npm:1.2.0 STDOUT   CXX(target) Release/obj.target/expand/src/expand.o
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR ../src/expand.cc: In function ‘void ExpandAddress(const Nan::FunctionCallbackInfo<v8::Value>&)’:
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR ../src/expand.cc:122:31: warning: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, uint32_t, v8::Local<v8::Value>)’, declared with attribute warn_unused_result [-Wunused-result]
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR   122 |         ret->Set(context, i, e);
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR       |                               ^
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR In file included from /home/runner/.cache/node-gyp/18.11.0/include/node/v8-array-buffer.h:13,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from /home/runner/.cache/node-gyp/18.11.0/include/node/v8.h:24,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from /home/runner/.cache/node-gyp/18.11.0/include/node/node.h:73,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from ../../nan/nan.h:62,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from ../src/expand.cc:2:
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR /home/runner/.cache/node-gyp/18.11.0/include/node/v8-object.h:247:37: note: declared here
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR   247 |   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR       |                                     ^~~
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR ../src/expand.cc: In function ‘void init(v8::Local<v8::Object>)’:
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR ../src/expand.cc:[152](https://github.com/fringeus/marketplace-app/actions/runs/10601168973/job/29380371227#step:10:155):5: warning: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’, declared with attribute warn_unused_result [-Wunused-result]
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR   152 |     );
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR       |     ^
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR In file included from /home/runner/.cache/node-gyp/18.11.0/include/node/v8-array-buffer.h:13,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from /home/runner/.cache/node-gyp/18.11.0/include/node/v8.h:24,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from /home/runner/.cache/node-gyp/18.11.0/include/node/node.h:73,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from ../../nan/nan.h:62,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from ../src/expand.cc:2:
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR /home/runner/.cache/node-gyp/18.11.0/include/node/v8-object.h:244:37: note: declared here
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR   244 |   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR       |                                     ^~~
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR ../src/expand.cc:[158](https://github.com/fringeus/marketplace-app/actions/runs/10601168973/job/29380371227#step:10:161):5: warning: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’, declared with attribute warn_unused_result [-Wunused-result]
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR   158 |     );
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR       |     ^
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR In file included from /home/runner/.cache/node-gyp/18.11.0/include/node/v8-array-buffer.h:13,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from /home/runner/.cache/node-gyp/18.11.0/include/node/v8.h:24,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from /home/runner/.cache/node-gyp/18.11.0/include/node/node.h:73,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from ../../nan/nan.h:62,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from ../src/expand.cc:2:
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR /home/runner/.cache/node-gyp/18.11.0/include/node/v8-object.h:244:37: note: declared here
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR   244 |   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR       |                                     ^~~
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR ../src/expand.cc:[160](https://github.com/fringeus/marketplace-app/actions/runs/10601168973/job/29380371227#step:10:163):102: warning: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’, declared with attribute warn_unused_result [-Wunused-result]
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR   160 |     exports->Set(context, Nan::New("ADDRESS_NONE").ToLocalChecked(), Nan::New(LIBPOSTAL_ADDRESS_NONE));
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR       |                                                                                                      ^
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR In file included from /home/runner/.cache/node-gyp/18.11.0/include/node/v8-array-buffer.h:13,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from /home/runner/.cache/node-gyp/18.11.0/include/node/v8.h:24,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from /home/runner/.cache/node-gyp/18.11.0/include/node/node.h:73,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from ../../nan/nan.h:62,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from ../src/expand.cc:2:
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR /home/runner/.cache/node-gyp/18.11.0/include/node/v8-object.h:244:37: note: declared here
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR   244 |   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR       |                                     ^~~
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR ../src/expand.cc:[161](https://github.com/fringeus/marketplace-app/actions/runs/10601168973/job/29380371227#step:10:164):100: warning: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’, declared with attribute warn_unused_result [-Wunused-result]
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR   161 |     exports->Set(context, Nan::New("ADDRESS_ANY").ToLocalChecked(), Nan::New(LIBPOSTAL_ADDRESS_ANY));
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR       |                                                                                                    ^
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR In file included from /home/runner/.cache/node-gyp/18.11.0/include/node/v8-array-buffer.h:13,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from /home/runner/.cache/node-gyp/18.11.0/include/node/v8.h:24,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from /home/runner/.cache/node-gyp/18.11.0/include/node/node.h:73,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from ../../nan/nan.h:62,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from ../src/expand.cc:2:
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR /home/runner/.cache/node-gyp/18.11.0/include/node/v8-object.h:244:37: note: declared here
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR   244 |   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR       |                                     ^~~
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR ../src/expand.cc:[162](https://github.com/fringeus/marketplace-app/actions/runs/10601168973/job/29380371227#step:10:165):102: warning: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’, declared with attribute warn_unused_result [-Wunused-result]
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR   162 |     exports->Set(context, Nan::New("ADDRESS_NAME").ToLocalChecked(), Nan::New(LIBPOSTAL_ADDRESS_NAME));
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR       |                                                                                                      ^
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR In file included from /home/runner/.cache/node-gyp/18.11.0/include/node/v8-array-buffer.h:13,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from /home/runner/.cache/node-gyp/18.11.0/include/node/v8.h:24,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from /home/runner/.cache/node-gyp/18.11.0/include/node/node.h:73,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from ../../nan/nan.h:62,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from ../src/expand.cc:2:
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR /home/runner/.cache/node-gyp/18.11.0/include/node/v8-object.h:244:37: note: declared here
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR   244 |   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR       |                                     ^~~
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR ../src/expand.cc:[163](https://github.com/fringeus/marketplace-app/actions/runs/10601168973/job/29380371227#step:10:166):118: warning: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’, declared with attribute warn_unused_result [-Wunused-result]
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR   163 |     exports->Set(context, Nan::New("ADDRESS_HOUSE_NUMBER").ToLocalChecked(), Nan::New(LIBPOSTAL_ADDRESS_HOUSE_NUMBER));
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR       |                                                                                                                      ^
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR In file included from /home/runner/.cache/node-gyp/18.11.0/include/node/v8-array-buffer.h:13,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from /home/runner/.cache/node-gyp/18.11.0/include/node/v8.h:24,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from /home/runner/.cache/node-gyp/18.11.0/include/node/node.h:73,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from ../../nan/nan.h:62,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from ../src/expand.cc:2:
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR /home/runner/.cache/node-gyp/18.11.0/include/node/v8-object.h:244:37: note: declared here
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR   244 |   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR       |                                     ^~~
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR ../src/expand.cc:[164](https://github.com/fringeus/marketplace-app/actions/runs/10601168973/job/29380371227#step:10:167):106: warning: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’, declared with attribute warn_unused_result [-Wunused-result]
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR   164 |     exports->Set(context, Nan::New("ADDRESS_STREET").ToLocalChecked(), Nan::New(LIBPOSTAL_ADDRESS_STREET));
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR       |                                                                                                          ^
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR In file included from /home/runner/.cache/node-gyp/18.11.0/include/node/v8-array-buffer.h:13,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from /home/runner/.cache/node-gyp/18.11.0/include/node/v8.h:24,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from /home/runner/.cache/node-gyp/18.11.0/include/node/node.h:73,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from ../../nan/nan.h:62,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from ../src/expand.cc:2:
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR /home/runner/.cache/node-gyp/18.11.0/include/node/v8-object.h:244:37: note: declared here
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR   244 |   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR       |                                     ^~~
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR ../src/expand.cc:[165](https://github.com/fringeus/marketplace-app/actions/runs/10601168973/job/29380371227#step:10:168):102: warning: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’, declared with attribute warn_unused_result [-Wunused-result]
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR   165 |     exports->Set(context, Nan::New("ADDRESS_UNIT").ToLocalChecked(), Nan::New(LIBPOSTAL_ADDRESS_UNIT));
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR       |                                                                                                      ^
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR In file included from /home/runner/.cache/node-gyp/18.11.0/include/node/v8-array-buffer.h:13,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from /home/runner/.cache/node-gyp/18.11.0/include/node/v8.h:24,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from /home/runner/.cache/node-gyp/18.11.0/include/node/node.h:73,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from ../../nan/nan.h:62,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from ../src/expand.cc:2:
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR /home/runner/.cache/node-gyp/18.11.0/include/node/v8-object.h:244:37: note: declared here
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR   244 |   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR       |                                     ^~~
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR ../src/expand.cc:[166](https://github.com/fringeus/marketplace-app/actions/runs/10601168973/job/29380371227#step:10:169):104: warning: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’, declared with attribute warn_unused_result [-Wunused-result]
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR   166 |     exports->Set(context, Nan::New("ADDRESS_LEVEL").ToLocalChecked(), Nan::New(LIBPOSTAL_ADDRESS_LEVEL));
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR       |                                                                                                        ^
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR In file included from /home/runner/.cache/node-gyp/18.11.0/include/node/v8-array-buffer.h:13,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from /home/runner/.cache/node-gyp/18.11.0/include/node/v8.h:24,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from /home/runner/.cache/node-gyp/18.11.0/include/node/node.h:73,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from ../../nan/nan.h:62,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from ../src/expand.cc:2:
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR /home/runner/.cache/node-gyp/18.11.0/include/node/v8-object.h:244:37: note: declared here
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR   244 |   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR       |                                     ^~~
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR ../src/expand.cc:[167](https://github.com/fringeus/marketplace-app/actions/runs/10601168973/job/29380371227#step:10:170):112: warning: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’, declared with attribute warn_unused_result [-Wunused-result]
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR   167 |     exports->Set(context, Nan::New("ADDRESS_STAIRCASE").ToLocalChecked(), Nan::New(LIBPOSTAL_ADDRESS_STAIRCASE));
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR       |                                                                                                                ^
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR In file included from /home/runner/.cache/node-gyp/18.11.0/include/node/v8-array-buffer.h:13,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from /home/runner/.cache/node-gyp/18.11.0/include/node/v8.h:24,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from /home/runner/.cache/node-gyp/18.11.0/include/node/node.h:73,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from ../../nan/nan.h:62,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from ../src/expand.cc:2:
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR /home/runner/.cache/node-gyp/18.11.0/include/node/v8-object.h:244:37: note: declared here
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR   244 |   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR       |                                     ^~~
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR ../src/expand.cc:[168](https://github.com/fringeus/marketplace-app/actions/runs/10601168973/job/29380371227#step:10:171):110: warning: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’, declared with attribute warn_unused_result [-Wunused-result]
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR   168 |     exports->Set(context, Nan::New("ADDRESS_ENTRANCE").ToLocalChecked(), Nan::New(LIBPOSTAL_ADDRESS_ENTRANCE));
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR       |                                                                                                              ^
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR In file included from /home/runner/.cache/node-gyp/18.11.0/include/node/v8-array-buffer.h:13,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from /home/runner/.cache/node-gyp/18.11.0/include/node/v8.h:24,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from /home/runner/.cache/node-gyp/18.11.0/include/node/node.h:73,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from ../../nan/nan.h:62,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from ../src/expand.cc:2:
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR /home/runner/.cache/node-gyp/18.11.0/include/node/v8-object.h:244:37: note: declared here
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR   244 |   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR       |                                     ^~~
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR ../src/expand.cc:[170](https://github.com/fringeus/marketplace-app/actions/runs/10601168973/job/29380371227#step:10:173):110: warning: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’, declared with attribute warn_unused_result [-Wunused-result]
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR   170 |     exports->Set(context, Nan::New("ADDRESS_CATEGORY").ToLocalChecked(), Nan::New(LIBPOSTAL_ADDRESS_CATEGORY));
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR       |                                                                                                              ^
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR In file included from /home/runner/.cache/node-gyp/18.11.0/include/node/v8-array-buffer.h:13,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from /home/runner/.cache/node-gyp/18.11.0/include/node/v8.h:24,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from /home/runner/.cache/node-gyp/18.11.0/include/node/node.h:73,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from ../../nan/nan.h:62,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from ../src/expand.cc:2:
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR /home/runner/.cache/node-gyp/18.11.0/include/node/v8-object.h:244:37: note: declared here
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR   244 |   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR       |                                     ^~~
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR ../src/expand.cc:[171](https://github.com/fringeus/marketplace-app/actions/runs/10601168973/job/29380371227#step:10:174):102: warning: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’, declared with attribute warn_unused_result [-Wunused-result]
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR   171 |     exports->Set(context, Nan::New("ADDRESS_NEAR").ToLocalChecked(), Nan::New(LIBPOSTAL_ADDRESS_NEAR));
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR       |                                                                                                      ^
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR In file included from /home/runner/.cache/node-gyp/18.11.0/include/node/v8-array-buffer.h:13,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from /home/runner/.cache/node-gyp/18.11.0/include/node/v8.h:24,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from /home/runner/.cache/node-gyp/18.11.0/include/node/node.h:73,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from ../../nan/nan.h:62,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from ../src/expand.cc:2:
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR /home/runner/.cache/node-gyp/18.11.0/include/node/v8-object.h:244:37: note: declared here
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR   244 |   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR       |                                     ^~~
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR ../src/expand.cc:[173](https://github.com/fringeus/marketplace-app/actions/runs/10601168973/job/29380371227#step:10:176):108: warning: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’, declared with attribute warn_unused_result [-Wunused-result]
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR   173 |     exports->Set(context, Nan::New("ADDRESS_TOPONYM").ToLocalChecked(), Nan::New(LIBPOSTAL_ADDRESS_TOPONYM));
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR       |                                                                                                            ^
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR In file included from /home/runner/.cache/node-gyp/18.11.0/include/node/v8-array-buffer.h:13,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from /home/runner/.cache/node-gyp/18.11.0/include/node/v8.h:24,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from /home/runner/.cache/node-gyp/18.11.0/include/node/node.h:73,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from ../../nan/nan.h:62,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from ../src/expand.cc:2:
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR /home/runner/.cache/node-gyp/18.11.0/include/node/v8-object.h:244:37: note: declared here
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR   244 |   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR       |                                     ^~~
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR ../src/expand.cc:[174](https://github.com/fringeus/marketplace-app/actions/runs/10601168973/job/29380371227#step:10:177):116: warning: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’, declared with attribute warn_unused_result [-Wunused-result]
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR   174 |     exports->Set(context, Nan::New("ADDRESS_POSTAL_CODE").ToLocalChecked(), Nan::New(LIBPOSTAL_ADDRESS_POSTAL_CODE));
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR       |                                                                                                                    ^
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR In file included from /home/runner/.cache/node-gyp/18.11.0/include/node/v8-array-buffer.h:13,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from /home/runner/.cache/node-gyp/18.11.0/include/node/v8.h:24,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from /home/runner/.cache/node-gyp/18.11.0/include/node/node.h:73,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from ../../nan/nan.h:62,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from ../src/expand.cc:2:
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR /home/runner/.cache/node-gyp/18.11.0/include/node/v8-object.h:244:37: note: declared here
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR   244 |   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR       |                                     ^~~
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR ../src/expand.cc:[175](https://github.com/fringeus/marketplace-app/actions/runs/10601168973/job/29380371227#step:10:178):106: warning: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’, declared with attribute warn_unused_result [-Wunused-result]
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR   175 |     exports->Set(context, Nan::New("ADDRESS_PO_BOX").ToLocalChecked(), Nan::New(LIBPOSTAL_ADDRESS_PO_BOX));
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR       |                                                                                                          ^
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR In file included from /home/runner/.cache/node-gyp/18.11.0/include/node/v8-array-buffer.h:13,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from /home/runner/.cache/node-gyp/18.11.0/include/node/v8.h:24,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from /home/runner/.cache/node-gyp/18.11.0/include/node/node.h:73,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from ../../nan/nan.h:62,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from ../src/expand.cc:2:
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR /home/runner/.cache/node-gyp/18.11.0/include/node/v8-object.h:244:37: note: declared here
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR   244 |   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR       |                                     ^~~
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR ../src/expand.cc:[176](https://github.com/fringeus/marketplace-app/actions/runs/10601168973/job/29380371227#step:10:179):100: warning: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’, declared with attribute warn_unused_result [-Wunused-result]
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR   176 |     exports->Set(context, Nan::New("ADDRESS_ALL").ToLocalChecked(), Nan::New(LIBPOSTAL_ADDRESS_ALL));
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR       |                                                                                                    ^
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR In file included from /home/runner/.cache/node-gyp/18.11.0/include/node/v8-array-buffer.h:13,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from /home/runner/.cache/node-gyp/18.11.0/include/node/v8.h:24,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from /home/runner/.cache/node-gyp/18.11.0/include/node/node.h:73,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from ../../nan/nan.h:62,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from ../src/expand.cc:2:
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR /home/runner/.cache/node-gyp/18.11.0/include/node/v8-object.h:244:37: note: declared here
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR   244 |   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR       |                                     ^~~
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR In file included from ../../nan/nan.h:62,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from ../src/expand.cc:2:
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR ../src/expand.cc: At global scope:
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR /home/runner/.cache/node-gyp/18.11.0/include/node/node.h:976:43: warning: cast between incompatible function types from ‘void (*)(v8::Local<v8::Object>)’ to ‘node::addon_register_func’ {aka ‘void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, void*)’} [-Wcast-function-type]
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR   976 |       (node::addon_register_func) (regfunc),                          \
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR       |                                           ^
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR /home/runner/.cache/node-gyp/18.11.0/include/node/node.h:1010:3: note: in expansion of macro ‘NODE_MODULE_X’
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR  1010 |   NODE_MODULE_X(modname, regfunc, NULL, 0)  // NOLINT (readability/null_usage)
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR       |   ^~~~~~~~~~~~~
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR ../src/expand.cc:[186](https://github.com/fringeus/marketplace-app/actions/runs/10601168973/job/29380371227#step:10:189):1: note: in expansion of macro ‘NODE_MODULE’
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR   186 | NODE_MODULE(expand, init)
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR       | ^~~~~~~~~~~
  ➤ YN0000: │ node-postal@npm:1.2.0 STDOUT   SOLINK_MODULE(target) Release/obj.target/expand.node
  ➤ YN0000: │ node-postal@npm:1.2.0 STDOUT   COPY Release/expand.node
  ➤ YN0000: │ node-postal@npm:1.2.0 STDOUT   CXX(target) Release/obj.target/parser/src/parser.o
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR ../src/parser.cc: In function ‘void ParseAddress(const Nan::FunctionCallbackInfo<v8::Value>&)’:
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR ../src/parser.cc:82:71: warning: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’, declared with attribute warn_unused_result [-Wunused-result]
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR    82 |         o->Set(context, name_key, Nan::New(component).ToLocalChecked());
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR       |                                                                       ^
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR In file included from /home/runner/.cache/node-gyp/18.11.0/include/node/v8-array-buffer.h:13,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from /home/runner/.cache/node-gyp/18.11.0/include/node/v8.h:24,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from /home/runner/.cache/node-gyp/18.11.0/include/node/node.h:73,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from ../../nan/nan.h:62,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from ../src/parser.cc:2:
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR /home/runner/.cache/node-gyp/18.11.0/include/node/v8-object.h:244:37: note: declared here
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR   244 |   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR       |                                     ^~~
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR ../src/parser.cc:83:68: warning: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’, declared with attribute warn_unused_result [-Wunused-result]
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR    83 |         o->Set(context, label_key, Nan::New(label).ToLocalChecked());
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR       |                                                                    ^
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR In file included from /home/runner/.cache/node-gyp/18.11.0/include/node/v8-array-buffer.h:13,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from /home/runner/.cache/node-gyp/18.11.0/include/node/v8.h:24,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from /home/runner/.cache/node-gyp/18.11.0/include/node/node.h:73,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from ../../nan/nan.h:62,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from ../src/parser.cc:2:
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR /home/runner/.cache/node-gyp/18.11.0/include/node/v8-object.h:244:37: note: declared here
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR   244 |   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR       |                                     ^~~
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR ../src/parser.cc:85:31: warning: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, uint32_t, v8::Local<v8::Value>)’, declared with attribute warn_unused_result [-Wunused-result]
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR    85 |         ret->Set(context, i, o);
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR       |                               ^
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR In file included from /home/runner/.cache/node-gyp/18.11.0/include/node/v8-array-buffer.h:13,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from /home/runner/.cache/node-gyp/18.11.0/include/node/v8.h:24,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from /home/runner/.cache/node-gyp/18.11.0/include/node/node.h:73,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from ../../nan/nan.h:62,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from ../src/parser.cc:2:
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR /home/runner/.cache/node-gyp/18.11.0/include/node/v8-object.h:247:37: note: declared here
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR   247 |   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR       |                                     ^~~
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR ../src/parser.cc: In function ‘void init(v8::Local<v8::Object>)’:
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR ../src/parser.cc:115:5: warning: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’, declared with attribute warn_unused_result [-Wunused-result]
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR   115 |     );
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR       |     ^
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR In file included from /home/runner/.cache/node-gyp/18.11.0/include/node/v8-array-buffer.h:13,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from /home/runner/.cache/node-gyp/18.11.0/include/node/v8.h:24,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from /home/runner/.cache/node-gyp/18.11.0/include/node/node.h:73,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from ../../nan/nan.h:62,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from ../src/parser.cc:2:
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR /home/runner/.cache/node-gyp/18.11.0/include/node/v8-object.h:244:37: note: declared here
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR   244 |   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR       |                                     ^~~
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR ../src/parser.cc:121:5: warning: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’, declared with attribute warn_unused_result [-Wunused-result]
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR   121 |     );
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR       |     ^
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR In file included from /home/runner/.cache/node-gyp/18.11.0/include/node/v8-array-buffer.h:13,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from /home/runner/.cache/node-gyp/18.11.0/include/node/v8.h:24,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from /home/runner/.cache/node-gyp/18.11.0/include/node/node.h:73,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from ../../nan/nan.h:62,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from ../src/parser.cc:2:
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR /home/runner/.cache/node-gyp/18.11.0/include/node/v8-object.h:[244](https://github.com/fringeus/marketplace-app/actions/runs/10601168973/job/29380371227#step:10:247):37: note: declared here
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR   244 |   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR       |                                     ^~~
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR In file included from ../../nan/nan.h:62,
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR                  from ../src/parser.cc:2:
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR ../src/parser.cc: At global scope:
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR /home/runner/.cache/node-gyp/18.11.0/include/node/node.h:976:43: warning: cast between incompatible function types from ‘void (*)(v8::Local<v8::Object>)’ to ‘node::addon_register_func’ {aka ‘void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, void*)’} [-Wcast-function-type]
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR   976 |       (node::addon_register_func) (regfunc),                          \
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR       |                                           ^
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR /home/runner/.cache/node-gyp/18.11.0/include/node/node.h:1010:3: note: in expansion of macro ‘NODE_MODULE_X’
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR  1010 |   NODE_MODULE_X(modname, regfunc, NULL, 0)  // NOLINT (readability/null_usage)
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR       |   ^~~~~~~~~~~~~
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR ../src/parser.cc:131:1: note: in expansion of macro ‘NODE_MODULE’
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR   131 | NODE_MODULE(parser, init)
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR       | ^~~~~~~~~~~
  ➤ YN0000: │ node-postal@npm:1.2.0 STDOUT   SOLINK_MODULE(target) Release/obj.target/parser.node
  ➤ YN0000: │ node-postal@npm:1.2.0 STDOUT   COPY Release/parser.node
  ➤ YN0000: │ node-postal@npm:1.2.0 STDOUT make: Leaving directory '/home/runner/work/marketplace-app/marketplace-app/node_modules/node-postal/build'
  ➤ YN0000: │ node-postal@npm:1.2.0 STDERR gyp info ok

Can you help with this?

@missinglink
Copy link
Contributor

Is that a fatal error or just a bunch of warnings?

@kenfringe
Copy link
Author

They all say declared with attribute warn_unused_result [-Wunused-result] but I would like a clean install. Do you have context on these warnings?

@missinglink
Copy link
Contributor

I wouldn't worry about the warnings if the software is working as expected.

@kenfringe
Copy link
Author

OK Thank you. I am getting my team to test how this library is used.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants