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

Provide prebuilds for lmdb #7146

Closed
aminya opened this issue Oct 20, 2021 · 1 comment
Closed

Provide prebuilds for lmdb #7146

aminya opened this issue Oct 20, 2021 · 1 comment

Comments

@aminya
Copy link
Contributor

aminya commented Oct 20, 2021

πŸ› bug report

lmdb fails to build from the source on Windows.

node_modules/.pnpm/lmdb-store@1.6.7/node_modules/lmdb-store: Running install script, failed in 1.3s
.../node_modules/lmdb-store install$ node-gyp-build
β”‚ C:\Users\aminy\project\node_modules\.pnpm\lmdb-store@1.6.7\node_modules\lmdb-store>if not defined npm_confi
β”‚ gyp info it worked if it ends with ok
β”‚ gyp info using node-gyp@8.3.0
β”‚ gyp info using node@17.0.0 | win32 | x64
β”‚ gyp info find Python using Python version 3.8.10 found at "C:\Python38\python.exe"
β”‚ gyp info find VS using VS2019 (16.11.31702.278) found at:
β”‚ gyp info find VS "C:\Program Files (x86)\Microsoft Visual Studio\2019\Preview"
β”‚ gyp info find VS run with --verbose for detailed information
β”‚ gyp info spawn C:\Python38\python.exe
β”‚ gyp info spawn args [
β”‚ gyp info spawn args   'C:\\Users\\aminy\\AppData\\Roaming\\npm\\pnpm-global\\5\\node_modules\\.pnpm\\[email protected]\\node_modules\
β”‚ gyp info spawn args   'binding.gyp',
β”‚ gyp info spawn args   '-f',
β”‚ gyp info spawn args   'msvs',
β”‚ gyp info spawn args   '-I',
β”‚ gyp info spawn args   'C:\\Users\\aminy\\project\\node_modules\\.pnpm\\lmdb-store@1.6.7\\node_modules\\l
β”‚ gyp info spawn args   '-I',
β”‚ gyp info spawn args   'C:\\Users\\aminy\\AppData\\Roaming\\npm\\pnpm-global\\5\\node_modules\\.pnpm\\[email protected]\\node_modules\
β”‚ gyp info spawn args   '-I',
β”‚ gyp info spawn args   'C:\\Users\\aminy\\AppData\\Local\\node-gyp\\Cache\\12.18.3\\include\\node\\common.gypi',
β”‚ gyp info spawn args   '-Dlibrary=shared_library',
β”‚ gyp info spawn args   '-Dvisibility=default',
β”‚ gyp info spawn args   '-Dnode_root_dir=C:\\Users\\aminy\\AppData\\Local\\node-gyp\\Cache\\12.18.3',
β”‚ gyp info spawn args   '-Dnode_gyp_dir=C:\\Users\\aminy\\AppData\\Roaming\\npm\\pnpm-global\\5\\node_modules\\.pnpm\\pnpm@6.18.0
β”‚ gyp info spawn args   '-Dnode_lib_file=C:\\\\Users\\\\aminy\\\\AppData\\\\Local\\\\node-gyp\\\\Cache\\\\12.18.3\\\\<(target_arc
β”‚ gyp info spawn args   '-Dmodule_root_dir=C:\\Users\\aminy\\project\\node_modules\\.pnpm\\lmdb-store@1.6.
β”‚ gyp info spawn args   '-Dnode_engine=v8',
β”‚ gyp info spawn args   '--depth=.',
β”‚ gyp info spawn args   '--no-parallel',
β”‚ gyp info spawn args   '--generator-output',
β”‚ gyp info spawn args   'C:\\Users\\aminy\\project\\node_modules\\.pnpm\\[email protected]\\node_modules\\l
β”‚ gyp info spawn args   '-Goutput_dir=.'
β”‚ gyp info spawn args ]
β”‚ gyp: name 'openssl_fips' is not defined while evaluating condition 'openssl_fips != ""' in binding.gyp while trying to load bin
β”‚ gyp ERR! configure error
β”‚ gyp ERR! stack Error: `gyp` failed with exit code: 1
β”‚ gyp ERR! stack     at ChildProcess.onCpExit (C:\Users\aminy\AppData\Roaming\npm\pnpm-global\5\node_modules\.pnpm\[email protected]\no
β”‚ gyp ERR! stack     at ChildProcess.emit (node:events:390:28)
β”‚ gyp ERR! stack     at Process.ChildProcess._handle.onexit (node:internal/child_process:290:12)
β”‚ gyp ERR! System Windows_NT 10.0.22000
β”‚ gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\aminy\\AppData\\Roaming\\npm\\pnpm-global\\5\\node_modules\\
β”‚ gyp ERR! cwd C:\Users\aminy\project\node_modules\.pnpm\[email protected]\node_modules\lmdb-store
β”‚ gyp ERR! node -v v17.0.0
β”‚ gyp ERR! node-gyp -v v8.3.0
β”‚ gyp ERR! not ok
└─ Failed in 1.3s

πŸŽ› Configuration (.babelrc, package.json, cli command)

N/A

πŸ€” Expected Behavior

I should not need to build lmdb from the source.

😯 Current Behavior

lmdb is built from the source, and it fails to build.

πŸ’ Possible Solution

Make a PR to lmdb and provide prebuilds.

πŸ”¦ Context

πŸ’» Code Sample

🌍 Your Environment

Software Version(s)
Parcel 2.0.0
Node 17.0.0
npm/Yarn pnpm 6.18.0
Operating System Windows 11
@mischnic
Copy link
Member

You should (also) open an issue here https://github.com/DoctorEvidence/lmdb-store/issues. There's nothing we do here for Parcel itself

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