You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to create an image to DeepZoom converter on lambda.
Using the prebuilt default binaries, I have uploaded sharp on a lambda layer and it is working fine.
But now I need to add support for openslide formats as well, so from what read in the forums, github issues and documentation yet, I'll need to compile a custom libvips which I have done using meson build as per the libvips docs.
Now the globally install custom vips via the terminal is converting all the formats I need wtihout any issue.
But when I try to use it in sharp, I get [Error: Input file contains unsupported image format] even for formats that are otherwise working with the default prebuilt libvips.
I have ensured that the architecture and platform of Node.js used for npm install is the same as the architecture and platform of Node.js used at runtime.
Are you using the latest version of sharp?
I am using the latest version of sharp as reported by npm view sharp dist-tags.latest.
If you cannot confirm this, please upgrade to the latest version and try again before opening an issue.
If you are using another package which depends on a version of sharp that is not the latest, please open an issue against that package instead.
Is this a problem with filesystem permissions?
If you are using npm v6 or earlier and installing as a root or sudo user, have you tried with the npm install --unsafe-perm flag?
If you are using npm v7 or later, does the user running npm install own the directory it is run in?
If you are using the ignore-scripts feature of npm, have you tried with the npm install --ignore-scripts=false flag?
What is the complete output of running npm install --verbose --foreground-scripts sharp in an empty directory?
npm install --verbose --foreground-scripts sharp
npm verb cli [
npm verb cli '/usr/bin/node',
npm verb cli '/usr/bin/npm',
npm verb cli 'install',
npm verb cli '--verbose',
npm verb cli '--foreground-scripts',
npm verb cli 'sharp'
npm verb cli ]
npm info using npm@8.5.1
npm info using node@v12.22.9
npm timing npm:load:whichnode Completed in 0ms
npm timing config:load:defaults Completed in 1ms
npm timing config:load:file:/usr/share/nodejs/npm/npmrc Completed in 1ms
npm timing config:load:builtin Completed in 1ms
npm timing config:load:cli Completed in 2ms
npm timing config:load:env Completed in 0ms
npm timing config:load:file:/home/gautam/Documents/Projects/drbb/.npmrc Completed in 0ms
npm timing config:load:project Completed in 1ms
npm timing config:load:file:/home/gautam/.npmrc Completed in 0ms
npm timing config:load:user Completed in 0ms
npm timing config:load:file:/etc/npmrc Completed in 0ms
npm timing config:load:global Completed in 0ms
npm timing config:load:validate Completed in 0ms
npm timing config:load:credentials Completed in 0ms
npm timing config:load:setEnvs Completed in 1ms
npm timing config:load Completed in 8ms
npm timing npm:load:configload Completed in 8ms
npm timing npm:load:setTitle Completed in 0ms
npm timing config:load:flatten Completed in 2ms
npm timing npm:load:display Completed in 5ms
npm verb logfile /home/gautam/.npm/_logs/2022-05-16T01_04_48_384Z-debug-0.log
npm timing npm:load:logFile Completed in 4ms
npm timing npm:load:timers Completed in 0ms
npm timing npm:load:configScope Completed in 0ms
npm timing npm:load Completed in 19ms
npm timing arborist:ctor Completed in 1ms
npm timing idealTree:init Completed in 73ms
npm timing idealTree:userRequests Completed in 2ms
npm http fetch GET 200 https://registry.npmjs.org/sharp 1066ms (cache miss)
npm timing idealTree:#root Completed in 1075ms
npm timing idealTree:node_modules/sharp Completed in 0ms
npm timing idealTree:buildDeps Completed in 1077ms
npm timing idealTree:fixDepFlags Completed in 1ms
npm timing idealTree Completed in 1155ms
npm timing reify:loadTrees Completed in 1155ms
npm timing reify:diffTrees Completed in 2ms
npm timing reify:retireShallow Completed in 0ms
npm timing reify:createSparse Completed in 10ms
npm timing reify:loadBundles Completed in 0ms
npm timing reifyNode:node_modules/wrappy Completed in 157ms
npm timing reifyNode:node_modules/wide-align Completed in 157ms
npm timing reifyNode:node_modules/strip-json-comments Completed in 158ms
npm timing reifyNode:node_modules/strip-ansi Completed in 158ms
npm timing reifyNode:node_modules/simple-swizzle Completed in 158ms
npm timing reifyNode:node_modules/string-width Completed in 159ms
npm timing reifyNode:node_modules/process-nextick-args Completed in 162ms
npm timing reifyNode:node_modules/once Completed in 162ms
npm timing reifyNode:node_modules/object-assign Completed in 163ms
npm timing reifyNode:node_modules/number-is-nan Completed in 163ms
npm timing reifyNode:node_modules/mkdirp-classic Completed in 163ms
npm timing reifyNode:node_modules/ini Completed in 164ms
npm timing reifyNode:node_modules/has-unicode Completed in 164ms
npm timing reifyNode:node_modules/end-of-stream Completed in 165ms
npm timing reifyNode:node_modules/color-name Completed in 165ms
npm timing reifyNode:node_modules/color-string Completed in 165ms
npm timing reifyNode:node_modules/code-point-at Completed in 166ms
npm timing reifyNode:node_modules/chownr Completed in 166ms
npm timing reifyNode:node_modules/aproba Completed in 166ms
npm timing reifyNode:node_modules/ansi-regex Completed in 167ms
npm timing reifyNode:node_modules/is-fullwidth-code-point Completed in 168ms
npm timing reifyNode:node_modules/tunnel-agent Completed in 171ms
npm timing reifyNode:node_modules/set-blocking Completed in 170ms
npm timing reifyNode:node_modules/signal-exit Completed in 171ms
npm timing reifyNode:node_modules/mimic-response Completed in 172ms
npm timing reifyNode:node_modules/lru-cache Completed in 172ms
npm timing reifyNode:node_modules/inherits Completed in 172ms
npm timing reifyNode:node_modules/ieee754 Completed in 172ms
npm timing reifyNode:node_modules/fs-constants Completed in 172ms
npm timing reifyNode:node_modules/decompress-response Completed in 173ms
npm timing reifyNode:node_modules/core-util-is Completed in 172ms
npm timing reifyNode:node_modules/console-control-strings Completed in 172ms
npm timing reifyNode:node_modules/color Completed in 173ms
npm timing reifyNode:node_modules/util-deprecate Completed in 177ms
npm timing reifyNode:node_modules/yallist Completed in 177ms
npm timing reifyNode:node_modules/expand-template Completed in 176ms
npm timing reifyNode:node_modules/base64-js Completed in 176ms
npm timing reifyNode:node_modules/string_decoder Completed in 179ms
npm timing reifyNode:node_modules/simple-concat Completed in 179ms
npm timing reifyNode:node_modules/safe-buffer Completed in 179ms
npm timing reifyNode:node_modules/pump Completed in 179ms
npm timing reifyNode:node_modules/npmlog Completed in 179ms
npm timing reifyNode:node_modules/napi-build-utils Completed in 180ms
npm timing reifyNode:node_modules/deep-extend Completed in 179ms
npm timing reifyNode:node_modules/isarray Completed in 181ms
npm timing reifyNode:node_modules/is-arrayish Completed in 181ms
npm timing reifyNode:node_modules/detect-libc Completed in 182ms
npm timing reifyNode:node_modules/delegates Completed in 182ms
npm timing reifyNode:node_modules/color-convert Completed in 182ms
npm timing reifyNode:node_modules/are-we-there-yet Completed in 183ms
npm timing reifyNode:node_modules/tar-stream Completed in 186ms
npm timing reifyNode:node_modules/simple-get Completed in 188ms
npm timing reifyNode:node_modules/buffer Completed in 186ms
npm timing reifyNode:node_modules/github-from-package Completed in 189ms
npm timing reifyNode:node_modules/rc Completed in 191ms
npm timing reifyNode:node_modules/prebuild-install Completed in 192ms
npm timing reifyNode:node_modules/bl Completed in 191ms
npm timing reifyNode:node_modules/node-abi Completed in 194ms
npm timing reifyNode:node_modules/gauge Completed in 198ms
npm timing reifyNode:node_modules/minimist Completed in 201ms
npm timing reifyNode:node_modules/readable-stream Completed in 208ms
npm timing reifyNode:node_modules/tar-stream/node_modules/readable-stream Completed in 211ms
npm timing reifyNode:node_modules/bl/node_modules/readable-stream Completed in 209ms
npm timing reifyNode:node_modules/tar-fs Completed in 215ms
npm timing reifyNode:node_modules/node-addon-api Completed in 215ms
npm timing reifyNode:node_modules/semver Completed in 217ms
npm timing reifyNode:node_modules/sharp Completed in 220ms
npm timing reify:unpack Completed in 221ms
npm timing reify:unretire Completed in 0ms
npm timing build:queue Completed in 3ms
npm timing build:link:node_modules/prebuild-install Completed in 3ms
npm timing build:link:node_modules/semver Completed in 2ms
npm timing build:link:node_modules/rc Completed in 3ms
npm timing build:link Completed in 4ms
npm info run sharp@0.30.4 install node_modules/sharp (node install/libvips && node install/dll-copy && prebuild-install) || (node install/can-compile && node-gyp rebuild && node install/dll-copy)
I took a quick look and it's possible the loading of images via openslide might have been affected by a recent change to libvips relating to modular file loaders, which means we should probably check for both VipsForeignLoadOpenslide and VipsForeignLoadOpenslideFile here (where we currently only check for the former):
Possible install-time or require-time problem
I am trying to create an image to DeepZoom converter on lambda.
Using the prebuilt default binaries, I have uploaded sharp on a lambda layer and it is working fine.
But now I need to add support for openslide formats as well, so from what read in the forums, github issues and documentation yet, I'll need to compile a custom libvips which I have done using meson build as per the libvips docs.
Now the globally install custom vips via the terminal is converting all the formats I need wtihout any issue.
But when I try to use it in sharp, I get [Error: Input file contains unsupported image format] even for formats that are otherwise working with the default prebuilt libvips.
I have been trying to make this work for a few weeks now, please help.
npm install
is the same as the architecture and platform of Node.js used at runtime.Are you using the latest version of sharp?
sharp
as reported bynpm view sharp dist-tags.latest
.If you cannot confirm this, please upgrade to the latest version and try again before opening an issue.
If you are using another package which depends on a version of
sharp
that is not the latest, please open an issue against that package instead.Is this a problem with filesystem permissions?
If you are using npm v6 or earlier and installing as a
root
orsudo
user, have you tried with thenpm install --unsafe-perm
flag?If you are using npm v7 or later, does the user running
npm install
own the directory it is run in?If you are using the
ignore-scripts
feature ofnpm
, have you tried with thenpm install --ignore-scripts=false
flag?What is the complete output of running
npm install --verbose --foreground-scripts sharp
in an empty directory?npm install --verbose --foreground-scripts sharp
npm verb cli [
npm verb cli '/usr/bin/node',
npm verb cli '/usr/bin/npm',
npm verb cli 'install',
npm verb cli '--verbose',
npm verb cli '--foreground-scripts',
npm verb cli 'sharp'
npm verb cli ]
npm info using npm@8.5.1
npm info using node@v12.22.9
npm timing npm:load:whichnode Completed in 0ms
npm timing config:load:defaults Completed in 1ms
npm timing config:load:file:/usr/share/nodejs/npm/npmrc Completed in 1ms
npm timing config:load:builtin Completed in 1ms
npm timing config:load:cli Completed in 2ms
npm timing config:load:env Completed in 0ms
npm timing config:load:file:/home/gautam/Documents/Projects/drbb/.npmrc Completed in 0ms
npm timing config:load:project Completed in 1ms
npm timing config:load:file:/home/gautam/.npmrc Completed in 0ms
npm timing config:load:user Completed in 0ms
npm timing config:load:file:/etc/npmrc Completed in 0ms
npm timing config:load:global Completed in 0ms
npm timing config:load:validate Completed in 0ms
npm timing config:load:credentials Completed in 0ms
npm timing config:load:setEnvs Completed in 1ms
npm timing config:load Completed in 8ms
npm timing npm:load:configload Completed in 8ms
npm timing npm:load:setTitle Completed in 0ms
npm timing config:load:flatten Completed in 2ms
npm timing npm:load:display Completed in 5ms
npm verb logfile /home/gautam/.npm/_logs/2022-05-16T01_04_48_384Z-debug-0.log
npm timing npm:load:logFile Completed in 4ms
npm timing npm:load:timers Completed in 0ms
npm timing npm:load:configScope Completed in 0ms
npm timing npm:load Completed in 19ms
npm timing arborist:ctor Completed in 1ms
npm timing idealTree:init Completed in 73ms
npm timing idealTree:userRequests Completed in 2ms
npm http fetch GET 200 https://registry.npmjs.org/sharp 1066ms (cache miss)
npm timing idealTree:#root Completed in 1075ms
npm timing idealTree:node_modules/sharp Completed in 0ms
npm timing idealTree:buildDeps Completed in 1077ms
npm timing idealTree:fixDepFlags Completed in 1ms
npm timing idealTree Completed in 1155ms
npm timing reify:loadTrees Completed in 1155ms
npm timing reify:diffTrees Completed in 2ms
npm timing reify:retireShallow Completed in 0ms
npm timing reify:createSparse Completed in 10ms
npm timing reify:loadBundles Completed in 0ms
npm timing reifyNode:node_modules/wrappy Completed in 157ms
npm timing reifyNode:node_modules/wide-align Completed in 157ms
npm timing reifyNode:node_modules/strip-json-comments Completed in 158ms
npm timing reifyNode:node_modules/strip-ansi Completed in 158ms
npm timing reifyNode:node_modules/simple-swizzle Completed in 158ms
npm timing reifyNode:node_modules/string-width Completed in 159ms
npm timing reifyNode:node_modules/process-nextick-args Completed in 162ms
npm timing reifyNode:node_modules/once Completed in 162ms
npm timing reifyNode:node_modules/object-assign Completed in 163ms
npm timing reifyNode:node_modules/number-is-nan Completed in 163ms
npm timing reifyNode:node_modules/mkdirp-classic Completed in 163ms
npm timing reifyNode:node_modules/ini Completed in 164ms
npm timing reifyNode:node_modules/has-unicode Completed in 164ms
npm timing reifyNode:node_modules/end-of-stream Completed in 165ms
npm timing reifyNode:node_modules/color-name Completed in 165ms
npm timing reifyNode:node_modules/color-string Completed in 165ms
npm timing reifyNode:node_modules/code-point-at Completed in 166ms
npm timing reifyNode:node_modules/chownr Completed in 166ms
npm timing reifyNode:node_modules/aproba Completed in 166ms
npm timing reifyNode:node_modules/ansi-regex Completed in 167ms
npm timing reifyNode:node_modules/is-fullwidth-code-point Completed in 168ms
npm timing reifyNode:node_modules/tunnel-agent Completed in 171ms
npm timing reifyNode:node_modules/set-blocking Completed in 170ms
npm timing reifyNode:node_modules/signal-exit Completed in 171ms
npm timing reifyNode:node_modules/mimic-response Completed in 172ms
npm timing reifyNode:node_modules/lru-cache Completed in 172ms
npm timing reifyNode:node_modules/inherits Completed in 172ms
npm timing reifyNode:node_modules/ieee754 Completed in 172ms
npm timing reifyNode:node_modules/fs-constants Completed in 172ms
npm timing reifyNode:node_modules/decompress-response Completed in 173ms
npm timing reifyNode:node_modules/core-util-is Completed in 172ms
npm timing reifyNode:node_modules/console-control-strings Completed in 172ms
npm timing reifyNode:node_modules/color Completed in 173ms
npm timing reifyNode:node_modules/util-deprecate Completed in 177ms
npm timing reifyNode:node_modules/yallist Completed in 177ms
npm timing reifyNode:node_modules/expand-template Completed in 176ms
npm timing reifyNode:node_modules/base64-js Completed in 176ms
npm timing reifyNode:node_modules/string_decoder Completed in 179ms
npm timing reifyNode:node_modules/simple-concat Completed in 179ms
npm timing reifyNode:node_modules/safe-buffer Completed in 179ms
npm timing reifyNode:node_modules/pump Completed in 179ms
npm timing reifyNode:node_modules/npmlog Completed in 179ms
npm timing reifyNode:node_modules/napi-build-utils Completed in 180ms
npm timing reifyNode:node_modules/deep-extend Completed in 179ms
npm timing reifyNode:node_modules/isarray Completed in 181ms
npm timing reifyNode:node_modules/is-arrayish Completed in 181ms
npm timing reifyNode:node_modules/detect-libc Completed in 182ms
npm timing reifyNode:node_modules/delegates Completed in 182ms
npm timing reifyNode:node_modules/color-convert Completed in 182ms
npm timing reifyNode:node_modules/are-we-there-yet Completed in 183ms
npm timing reifyNode:node_modules/tar-stream Completed in 186ms
npm timing reifyNode:node_modules/simple-get Completed in 188ms
npm timing reifyNode:node_modules/buffer Completed in 186ms
npm timing reifyNode:node_modules/github-from-package Completed in 189ms
npm timing reifyNode:node_modules/rc Completed in 191ms
npm timing reifyNode:node_modules/prebuild-install Completed in 192ms
npm timing reifyNode:node_modules/bl Completed in 191ms
npm timing reifyNode:node_modules/node-abi Completed in 194ms
npm timing reifyNode:node_modules/gauge Completed in 198ms
npm timing reifyNode:node_modules/minimist Completed in 201ms
npm timing reifyNode:node_modules/readable-stream Completed in 208ms
npm timing reifyNode:node_modules/tar-stream/node_modules/readable-stream Completed in 211ms
npm timing reifyNode:node_modules/bl/node_modules/readable-stream Completed in 209ms
npm timing reifyNode:node_modules/tar-fs Completed in 215ms
npm timing reifyNode:node_modules/node-addon-api Completed in 215ms
npm timing reifyNode:node_modules/semver Completed in 217ms
npm timing reifyNode:node_modules/sharp Completed in 220ms
npm timing reify:unpack Completed in 221ms
npm timing reify:unretire Completed in 0ms
npm timing build:queue Completed in 3ms
npm timing build:link:node_modules/prebuild-install Completed in 3ms
npm timing build:link:node_modules/semver Completed in 2ms
npm timing build:link:node_modules/rc Completed in 3ms
npm timing build:link Completed in 4ms
npm info run sharp@0.30.4 install node_modules/sharp (node install/libvips && node install/dll-copy && prebuild-install) || (node install/can-compile && node-gyp rebuild && node install/dll-copy)
npm http fetch POST 200 https://registry.npmjs.org/-/npm/v1/security/advisories/bulk 299ms
npm timing auditReport:getReport Completed in 301ms
npm timing auditReport:init Completed in 0ms
npm timing reify:audit Completed in 302ms
sharp: Detected globally-installed libvips v8.13.0udit Completed in 302ms
sharp: Building from source via node-gyp
gyp info it worked if it ends with okiming reify:audit Completed in 302ms
gyp verb cli [
gyp verb cli '/usr/bin/node',
gyp verb cli '/usr/share/nodejs/node-gyp/bin/node-gyp.js',
gyp verb cli 'rebuild'
gyp verb cli ]
gyp info using node-gyp@8.4.1
gyp info using node@12.22.9 | linux | x64
gyp verb command rebuild []
gyp verb command clean []
gyp verb clean removing "build" directory
gyp verb command configure []
gyp verb find Python Python is not set from command line or npm configuration
gyp verb find Python Python is not set from environment variable PYTHON
gyp verb find Python checking if "python3" can be used
gyp verb find Python - executing "python3" to get executable path
gyp verb find Python - executable path is "/usr/bin/python3"
gyp verb find Python - executing "/usr/bin/python3" to get version
gyp verb find Python - version is "3.10.4"
gyp info find Python using Python version 3.10.4 found at "/usr/bin/python3"
gyp verb get node dir no --target version specified, falling back to host node version: 12.22.9
gyp verb build dir attempting to create "build" dir: /home/gautam/Documents/Projects/drbb/node_modules/sharp/build
gyp verb build dir "build" dir needed to be created? Yes
gyp verb build/config.gypi creating config file
gyp verb build/config.gypi writing out config file: /home/gautam/Documents/Projects/drbb/node_modules/sharp/build/config.gypi
gyp verb config.gypi checking for gypi file: /home/gautam/Documents/Projects/drbb/node_modules/sharp/config.gypi
gyp verb common.gypi checking for gypi file: /home/gautam/Documents/Projects/drbb/node_modules/sharp/common.gypi
gyp verb gyp gyp format was not specified; forcing "make"
gyp info spawn /usr/bin/python3
gyp info spawn args [
gyp info spawn args '/usr/share/nodejs/node-gyp/gyp/gyp_main.py',
gyp info spawn args 'binding.gyp',
gyp info spawn args '-f',
gyp info spawn args 'make',
gyp info spawn args '-I',
gyp info spawn args '/home/gautam/Documents/Projects/drbb/node_modules/sharp/build/config.gypi',
gyp info spawn args '-I',
gyp info spawn args '/usr/share/nodejs/node-gyp/addon.gypi',
gyp info spawn args '-I',
gyp info spawn args '/usr/include/nodejs/common.gypi',
gyp info spawn args '-Dlibrary=shared_library',
gyp info spawn args '-Dvisibility=default',
gyp info spawn args '-Dnode_root_dir=/usr/include/nodejs',
gyp info spawn args '-Dnode_gyp_dir=/usr/share/nodejs/node-gyp',
gyp info spawn args '-Dnode_lib_file=/usr/include/nodejs/<(target_arch)/node.lib',
gyp info spawn args '-Dmodule_root_dir=/home/gautam/Documents/Projects/drbb/node_modules/sharp',
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 'build',
gyp info spawn args '-Goutput_dir=.'
gyp info spawn args ]
gyp verb command build []ify:sharp: timing reify:audit Completed in 302ms
gyp verb build type Release
gyp verb architecture x64
gyp verb node dev dir /usr/include/nodejs
gyp verb
which
succeeded formake
/usr/bin/makegyp info spawn make
gyp info spawn args [ 'V=1', 'BUILDTYPE=Release', '-C', 'build' ]
make: Entering directory '/home/gautam/Documents/Projects/drbb/node_modules/sharp/build'
cc -o Release/obj.target/nothing/../node-addon-api/nothing.o ../../node-addon-api/nothing.c '-DNODE_GYP_MODULE_NAME=nothing' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-DV8_DEPRECATION_WARNINGS' '-DV8_IMMINENT_DEPRECATION_WARNINGS' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-D__STDC_FORMAT_MACROS' '-DOPENSSL_THREADS' -I/usr/include/nodejs/include/node -I/usr/include/nodejs/src -I/usr/include/nodejs/deps/openssl/config -I/usr/include/nodejs/deps/openssl/openssl/include -I/usr/include/nodejs/deps/uv/include -I/usr/include/nodejs/deps/zlib -I/usr/include/nodejs/deps/v8/include -fPIC -pthread -Wall -Wextra -Wno-unused-parameter -m64 -fPIC -O3 -fno-omit-frame-pointer -MMD -MF ./Release/.deps/Release/obj.target/nothing/../node-addon-api/nothing.o.d.raw -c
rm -f Release/obj.target/../node-addon-api/nothing.a && ar crs Release/obj.target/../node-addon-api/nothing.a Release/obj.target/nothing/../node-addon-api/nothing.o
ln -f "Release/obj.target/../node-addon-api/nothing.a" "Release/nothing.a" 2>/dev/null || (rm -rf "Release/nothing.a" && cp -af "Release/obj.target/../node-addon-api/nothing.a" "Release/nothing.a")
touch Release/obj.target/libvips-cpp.stamp
g++ -o Release/obj.target/sharp-linux-x64/src/common.o ../src/common.cc '-DNODE_GYP_MODULE_NAME=sharp-linux-x64' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-DV8_DEPRECATION_WARNINGS' '-DV8_IMMINENT_DEPRECATION_WARNINGS' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-D__STDC_FORMAT_MACROS' '-DOPENSSL_THREADS' '-DNAPI_VERSION=5' '-D_GLIBCXX_USE_CXX11_ABI=1' '-DBUILDING_NODE_EXTENSION' -I/usr/include/nodejs/include/node -I/usr/include/nodejs/src -I/usr/include/nodejs/deps/openssl/config -I/usr/include/nodejs/deps/openssl/openssl/include -I/usr/include/nodejs/deps/uv/include -I/usr/include/nodejs/deps/zlib -I/usr/include/nodejs/deps/v8/include -I../../node-addon-api -I/usr/local/include -I/usr/include/libgsf-1 -I/usr/include/libxml2 -I/usr/include/x86_64-linux-gnu/ImageMagick-6 -I/usr/include/ImageMagick-6 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/librsvg-2.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/openslide -I/usr/lib/x86_64-linux-gnu/hdf5/serial/include -I/usr/include/OpenEXR -I/usr/include/openjpeg-2.4 -I/usr/include/orc-0.4 -I/usr/include/poppler/glib -I/usr/include/poppler -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -fPIC -pthread -Wall -Wextra -Wno-unused-parameter -m64 -fPIC -O3 -fno-omit-frame-pointer -fno-rtti -fno-exceptions -std=gnu++1y -std=c++0x -fexceptions -Wall -Os -Wno-cast-function-type -MMD -MF ./Release/.deps/Release/obj.target/sharp-linux-x64/src/common.o.d.raw -c
g++ -o Release/obj.target/sharp-linux-x64/src/metadata.o ../src/metadata.cc '-DNODE_GYP_MODULE_NAME=sharp-linux-x64' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-DV8_DEPRECATION_WARNINGS' '-DV8_IMMINENT_DEPRECATION_WARNINGS' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-D__STDC_FORMAT_MACROS' '-DOPENSSL_THREADS' '-DNAPI_VERSION=5' '-D_GLIBCXX_USE_CXX11_ABI=1' '-DBUILDING_NODE_EXTENSION' -I/usr/include/nodejs/include/node -I/usr/include/nodejs/src -I/usr/include/nodejs/deps/openssl/config -I/usr/include/nodejs/deps/openssl/openssl/include -I/usr/include/nodejs/deps/uv/include -I/usr/include/nodejs/deps/zlib -I/usr/include/nodejs/deps/v8/include -I../../node-addon-api -I/usr/local/include -I/usr/include/libgsf-1 -I/usr/include/libxml2 -I/usr/include/x86_64-linux-gnu/ImageMagick-6 -I/usr/include/ImageMagick-6 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/librsvg-2.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/openslide -I/usr/lib/x86_64-linux-gnu/hdf5/serial/include -I/usr/include/OpenEXR -I/usr/include/openjpeg-2.4 -I/usr/include/orc-0.4 -I/usr/include/poppler/glib -I/usr/include/poppler -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -fPIC -pthread -Wall -Wextra -Wno-unused-parameter -m64 -fPIC -O3 -fno-omit-frame-pointer -fno-rtti -fno-exceptions -std=gnu++1y -std=c++0x -fexceptions -Wall -Os -Wno-cast-function-type -MMD -MF ./Release/.deps/Release/obj.target/sharp-linux-x64/src/metadata.o.d.raw -c
g++ -o Release/obj.target/sharp-linux-x64/src/stats.o ../src/stats.cc '-DNODE_GYP_MODULE_NAME=sharp-linux-x64' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-DV8_DEPRECATION_WARNINGS' '-DV8_IMMINENT_DEPRECATION_WARNINGS' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-D__STDC_FORMAT_MACROS' '-DOPENSSL_THREADS' '-DNAPI_VERSION=5' '-D_GLIBCXX_USE_CXX11_ABI=1' '-DBUILDING_NODE_EXTENSION' -I/usr/include/nodejs/include/node -I/usr/include/nodejs/src -I/usr/include/nodejs/deps/openssl/config -I/usr/include/nodejs/deps/openssl/openssl/include -I/usr/include/nodejs/deps/uv/include -I/usr/include/nodejs/deps/zlib -I/usr/include/nodejs/deps/v8/include -I../../node-addon-api -I/usr/local/include -I/usr/include/libgsf-1 -I/usr/include/libxml2 -I/usr/include/x86_64-linux-gnu/ImageMagick-6 -I/usr/include/ImageMagick-6 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/librsvg-2.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/openslide -I/usr/lib/x86_64-linux-gnu/hdf5/serial/include -I/usr/include/OpenEXR -I/usr/include/openjpeg-2.4 -I/usr/include/orc-0.4 -I/usr/include/poppler/glib -I/usr/include/poppler -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -fPIC -pthread -Wall -Wextra -Wno-unused-parameter -m64 -fPIC -O3 -fno-omit-frame-pointer -fno-rtti -fno-exceptions -std=gnu++1y -std=c++0x -fexceptions -Wall -Os -Wno-cast-function-type -MMD -MF ./Release/.deps/Release/obj.target/sharp-linux-x64/src/stats.o.d.raw -c
g++ -o Release/obj.target/sharp-linux-x64/src/operations.o ../src/operations.cc '-DNODE_GYP_MODULE_NAME=sharp-linux-x64' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-DV8_DEPRECATION_WARNINGS' '-DV8_IMMINENT_DEPRECATION_WARNINGS' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-D__STDC_FORMAT_MACROS' '-DOPENSSL_THREADS' '-DNAPI_VERSION=5' '-D_GLIBCXX_USE_CXX11_ABI=1' '-DBUILDING_NODE_EXTENSION' -I/usr/include/nodejs/include/node -I/usr/include/nodejs/src -I/usr/include/nodejs/deps/openssl/config -I/usr/include/nodejs/deps/openssl/openssl/include -I/usr/include/nodejs/deps/uv/include -I/usr/include/nodejs/deps/zlib -I/usr/include/nodejs/deps/v8/include -I../../node-addon-api -I/usr/local/include -I/usr/include/libgsf-1 -I/usr/include/libxml2 -I/usr/include/x86_64-linux-gnu/ImageMagick-6 -I/usr/include/ImageMagick-6 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/librsvg-2.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/openslide -I/usr/lib/x86_64-linux-gnu/hdf5/serial/include -I/usr/include/OpenEXR -I/usr/include/openjpeg-2.4 -I/usr/include/orc-0.4 -I/usr/include/poppler/glib -I/usr/include/poppler -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -fPIC -pthread -Wall -Wextra -Wno-unused-parameter -m64 -fPIC -O3 -fno-omit-frame-pointer -fno-rtti -fno-exceptions -std=gnu++1y -std=c++0x -fexceptions -Wall -Os -Wno-cast-function-type -MMD -MF ./Release/.deps/Release/obj.target/sharp-linux-x64/src/operations.o.d.raw -c
g++ -o Release/obj.target/sharp-linux-x64/src/pipeline.o ../src/pipeline.cc '-DNODE_GYP_MODULE_NAME=sharp-linux-x64' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-DV8_DEPRECATION_WARNINGS' '-DV8_IMMINENT_DEPRECATION_WARNINGS' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-D__STDC_FORMAT_MACROS' '-DOPENSSL_THREADS' '-DNAPI_VERSION=5' '-D_GLIBCXX_USE_CXX11_ABI=1' '-DBUILDING_NODE_EXTENSION' -I/usr/include/nodejs/include/node -I/usr/include/nodejs/src -I/usr/include/nodejs/deps/openssl/config -I/usr/include/nodejs/deps/openssl/openssl/include -I/usr/include/nodejs/deps/uv/include -I/usr/include/nodejs/deps/zlib -I/usr/include/nodejs/deps/v8/include -I../../node-addon-api -I/usr/local/include -I/usr/include/libgsf-1 -I/usr/include/libxml2 -I/usr/include/x86_64-linux-gnu/ImageMagick-6 -I/usr/include/ImageMagick-6 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/librsvg-2.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/openslide -I/usr/lib/x86_64-linux-gnu/hdf5/serial/include -I/usr/include/OpenEXR -I/usr/include/openjpeg-2.4 -I/usr/include/orc-0.4 -I/usr/include/poppler/glib -I/usr/include/poppler -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -fPIC -pthread -Wall -Wextra -Wno-unused-parameter -m64 -fPIC -O3 -fno-omit-frame-pointer -fno-rtti -fno-exceptions -std=gnu++1y -std=c++0x -fexceptions -Wall -Os -Wno-cast-function-type -MMD -MF ./Release/.deps/Release/obj.target/sharp-linux-x64/src/pipeline.o.d.raw -c
g++ -o Release/obj.target/sharp-linux-x64/src/utilities.o ../src/utilities.cc '-DNODE_GYP_MODULE_NAME=sharp-linux-x64' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-DV8_DEPRECATION_WARNINGS' '-DV8_IMMINENT_DEPRECATION_WARNINGS' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-D__STDC_FORMAT_MACROS' '-DOPENSSL_THREADS' '-DNAPI_VERSION=5' '-D_GLIBCXX_USE_CXX11_ABI=1' '-DBUILDING_NODE_EXTENSION' -I/usr/include/nodejs/include/node -I/usr/include/nodejs/src -I/usr/include/nodejs/deps/openssl/config -I/usr/include/nodejs/deps/openssl/openssl/include -I/usr/include/nodejs/deps/uv/include -I/usr/include/nodejs/deps/zlib -I/usr/include/nodejs/deps/v8/include -I../../node-addon-api -I/usr/local/include -I/usr/include/libgsf-1 -I/usr/include/libxml2 -I/usr/include/x86_64-linux-gnu/ImageMagick-6 -I/usr/include/ImageMagick-6 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/librsvg-2.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/openslide -I/usr/lib/x86_64-linux-gnu/hdf5/serial/include -I/usr/include/OpenEXR -I/usr/include/openjpeg-2.4 -I/usr/include/orc-0.4 -I/usr/include/poppler/glib -I/usr/include/poppler -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -fPIC -pthread -Wall -Wextra -Wno-unused-parameter -m64 -fPIC -O3 -fno-omit-frame-pointer -fno-rtti -fno-exceptions -std=gnu++1y -std=c++0x -fexceptions -Wall -Os -Wno-cast-function-type -MMD -MF ./Release/.deps/Release/obj.target/sharp-linux-x64/src/utilities.o.d.raw -c
g++ -o Release/obj.target/sharp-linux-x64/src/sharp.o ../src/sharp.cc '-DNODE_GYP_MODULE_NAME=sharp-linux-x64' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-DV8_DEPRECATION_WARNINGS' '-DV8_IMMINENT_DEPRECATION_WARNINGS' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-D__STDC_FORMAT_MACROS' '-DOPENSSL_THREADS' '-DNAPI_VERSION=5' '-D_GLIBCXX_USE_CXX11_ABI=1' '-DBUILDING_NODE_EXTENSION' -I/usr/include/nodejs/include/node -I/usr/include/nodejs/src -I/usr/include/nodejs/deps/openssl/config -I/usr/include/nodejs/deps/openssl/openssl/include -I/usr/include/nodejs/deps/uv/include -I/usr/include/nodejs/deps/zlib -I/usr/include/nodejs/deps/v8/include -I../../node-addon-api -I/usr/local/include -I/usr/include/libgsf-1 -I/usr/include/libxml2 -I/usr/include/x86_64-linux-gnu/ImageMagick-6 -I/usr/include/ImageMagick-6 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/librsvg-2.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/openslide -I/usr/lib/x86_64-linux-gnu/hdf5/serial/include -I/usr/include/OpenEXR -I/usr/include/openjpeg-2.4 -I/usr/include/orc-0.4 -I/usr/include/poppler/glib -I/usr/include/poppler -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -fPIC -pthread -Wall -Wextra -Wno-unused-parameter -m64 -fPIC -O3 -fno-omit-frame-pointer -fno-rtti -fno-exceptions -std=gnu++1y -std=c++0x -fexceptions -Wall -Os -Wno-cast-function-type -MMD -MF ./Release/.deps/Release/obj.target/sharp-linux-x64/src/sharp.o.d.raw -c
g++ -o Release/obj.target/sharp-linux-x64.node -shared -pthread -rdynamic -m64 -Wl,-soname=sharp-linux-x64.node -Wl,--start-group Release/obj.target/sharp-linux-x64/src/common.o Release/obj.target/sharp-linux-x64/src/metadata.o Release/obj.target/sharp-linux-x64/src/stats.o Release/obj.target/sharp-linux-x64/src/operations.o Release/obj.target/sharp-linux-x64/src/pipeline.o Release/obj.target/sharp-linux-x64/src/utilities.o Release/obj.target/sharp-linux-x64/src/sharp.o Release/obj.target/../node-addon-api/nothing.a -Wl,--end-group -lnode -L/usr/local/lib/x86_64-linux-gnu -L/usr/lib/x86_64-linux-gnu/hdf5/serial/lib -lvips-cpp -pthread -lm -lvips -lgmodule-2.0 -lexpat -lgsf-1 -lxml2 -lfftw3 -lMagickCore-6.Q16 -lcfitsio -lpthread -limagequant -lcgif -lexif -ljpeg -lpng16 -lz -lwebpmux -lwebpdemux -lwebp -lpangocairo-1.0 -lpango-1.0 -lharfbuzz -lfontconfig -lfreetype -ltiff -lrsvg-2 -lgio-2.0 -lgdk_pixbuf-2.0 -lopenslide -lmatio -lhdf5 -llcms2 -lIlmImf-2_5 -lImath-2_5 -lHalf-2_5 -lIex-2_5 -lIexMath-2_5 -lIlmThread-2_5 -lopenjp2 -lorc-0.4 -lheif -lpoppler-glib -lgobject-2.0 -lglib-2.0 -lcairo
ln -f "Release/obj.target/sharp-linux-x64.node" "Release/sharp-linux-x64.node" 2>/dev/null || (rm -rf "Release/sharp-linux-x64.node" && cp -af "Release/obj.target/sharp-linux-x64.node" "Release/sharp-linux-x64.node")
make: Leaving directory '/home/gautam/Documents/Projects/drbb/node_modules/sharp/build'
gyp info ok
npm info run sharp@0.30.4 install { code: 0, signal: null }
npm timing build:run:install:node_modules/sharp Completed in 10929ms
npm timing build:run:install Completed in 10929ms
npm timing build:deps Completed in 10936ms
npm timing build Completed in 10936ms
npm timing reify:build Completed in 10937ms
npm timing reify:trash Completed in 0ms
npm timing reify:save Completed in 33ms
npm timing reify Completed in 12385ms
added 67 packages, and audited 68 packages in 13s
8 packages are looking for funding
run
npm fund
for detailsfound 0 vulnerabilities
npm timing command:install Completed in 12391ms
npm verb exit 0
npm timing npm Completed in 12555ms
npm info ok
What is the output of running
npx envinfo --binaries --system --npmPackages=sharp --npmGlobalPackages=sharp
?System:
OS: Linux 5.15 Ubuntu 22.04 LTS 22.04 LTS (Jammy Jellyfish)
CPU: (12) x64 AMD Ryzen 5 3600 6-Core Processor
Memory: 9.00 GB / 15.57 GB
Container: Yes
Shell: 5.1.16 - /bin/bash
Binaries:
Node: 12.22.9 - /usr/bin/node
Yarn: 1.22.18 - /usr/local/bin/yarn
npm: 8.5.1 - /usr/bin/npm
npmPackages:
sharp: ^0.30.4 => 0.30.4
The text was updated successfully, but these errors were encountered: