brianc / node-libpq

Simple, low level native bindings to PostgreSQL's libpq from node.js
111 stars 41 forks source link

build is non-deterministic #95

Open thdxr opened 1 year ago

thdxr commented 1 year ago

if I run make multiple times in this package, we get varying results in ./build/Makefile

see here

342c342
< Makefile: $(srcdir)/../../../.cache/node-gyp/16.20.0/include/node/common.gypi $(srcdir)/../../../../../usr/lib/node_modules/node-gyp/addon.gypi $(srcdir)/build/config.gypi $(srcdir)/binding.gyp
---
> Makefile: $(srcdir)/../../../../../usr/lib/node_modules/node-gyp/addon.gypi $(srcdir)/binding.gyp $(srcdir)/build/config.gypi $(srcdir)/../../../.cache/node-gyp/16.20.0/include/node/common.gypi

this causes issues in downstream deployment systems where it appears as if this dependency has always changed and causes extra deploys

having trouble tracking down the source of this so figured i'd make an issue