Skip to content

vips can load/save HEIF images but sharp (node_modules/sharp/build/Release/sharp-linux-x64.node) cannot #3346

Description

@hburrows

I'm sure this is elementary because I'm new to building a custom libvips, but I'm totally stumped. I can load/save HEIF images using vips heifload sample.heic sample.jpg but when I try to convert using sharp I get the following error

{
  "message": "source: bad seek to 1795462\nheifsave: Unsupported compression\n",
  "name": "Error",
  "stack": "Error: source: bad seek to 1795462\nheifsave: Unsupported compression\n"
}

vips and node_modules/sharp/build/Release/sharp-linux-x64.node appear to be binding to same libraries??

The same libheif works fine using Imagemagick

VIPS ldd output

Details
[cituser@56ade65aae33 api]$ which vips
/usr/local/bin/vips
[cituser@56ade65aae33 api]$ ldd /usr/local/bin/vips
	linux-vdso.so.1 (0x00007fff19f48000)
	libvips.so.42 => /usr/local/lib/libvips.so.42 (0x00007f44622bd000)
	libexpat.so.1 => /lib64/libexpat.so.1 (0x00007f446208d000)
	libgsf-1.so.114 => /lib64/libgsf-1.so.114 (0x00007f4461e4b000)
	libxml2.so.2 => /lib64/libxml2.so.2 (0x00007f4461af2000)
	libMagickCore-7.Q16HDRI.so.10 => /usr/local/lib/libMagickCore-7.Q16HDRI.so.10 (0x00007f44616d8000)
	liborc-0.4.so.0 => /lib64/liborc-0.4.so.0 (0x00007f446145c000)
	liblcms2.so.2 => /lib64/liblcms2.so.2 (0x00007f4461203000)
	libopenjp2.so.7 => /usr/local/lib/libopenjp2.so.7 (0x00007f4460fa9000)
	libheif.so.1 => /usr/local/lib/libheif.so.1 (0x00007f4460d2a000)
	librsvg-2.so.2 => /lib64/librsvg-2.so.2 (0x00007f4460af4000)
	libgdk_pixbuf-2.0.so.0 => /lib64/libgdk_pixbuf-2.0.so.0 (0x00007f44608cd000)
	libwebpmux.so.3 => /usr/local/lib/libwebpmux.so.3 (0x00007f44606c3000)
	libwebpdemux.so.2 => /usr/local/lib/libwebpdemux.so.2 (0x00007f44604be000)
	libwebp.so.7 => /usr/local/lib/libwebp.so.7 (0x00007f4460252000)
	libpangocairo-1.0.so.0 => /lib64/libpangocairo-1.0.so.0 (0x00007f4460044000)
	libpango-1.0.so.0 => /lib64/libpango-1.0.so.0 (0x00007f445fe00000)
	libcairo.so.2 => /lib64/libcairo.so.2 (0x00007f445fad4000)
	libfontconfig.so.1 => /lib64/libfontconfig.so.1 (0x00007f445f893000)
	libfreetype.so.6 => /lib64/libfreetype.so.6 (0x00007f445f5dd000)
	libtiff.so.5 => /usr/local/lib/libtiff.so.5 (0x00007f445f361000)
	libpng16.so.16 => /usr/local/lib/libpng16.so.16 (0x00007f445f130000)
	libz.so.1 => /lib64/libz.so.1 (0x00007f445ef1b000)
	libjpeg.so.9 => /usr/local/lib/libjpeg.so.9 (0x00007f445ece2000)
	libexif.so.12 => /lib64/libexif.so.12 (0x00007f445ea9c000)
	libgmodule-2.0.so.0 => /lib64/libgmodule-2.0.so.0 (0x00007f445e898000)
	libgio-2.0.so.0 => /lib64/libgio-2.0.so.0 (0x00007f445e506000)
	libgobject-2.0.so.0 => /lib64/libgobject-2.0.so.0 (0x00007f445e2b6000)
	libglib-2.0.so.0 => /lib64/libglib-2.0.so.0 (0x00007f445dfa8000)
	libm.so.6 => /lib64/libm.so.6 (0x00007f445dc68000)
	libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f445da4a000)
	libc.so.6 => /lib64/libc.so.6 (0x00007f445d69d000)
	libstdc++.so.6 => /lib64/libstdc++.so.6 (0x00007f445d31b000)
	libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007f445d105000)
	libbz2.so.1 => /lib64/libbz2.so.1 (0x00007f445cef5000)
	libdl.so.2 => /lib64/libdl.so.2 (0x00007f445ccf1000)
	liblzma.so.5 => /lib64/liblzma.so.5 (0x00007f445cacc000)
	libltdl.so.7 => /lib64/libltdl.so.7 (0x00007f445c8c2000)
	librt.so.1 => /lib64/librt.so.1 (0x00007f445c6ba000)
	libde265.so.0 => /usr/local/lib/libde265.so.0 (0x00007f445c3f8000)
	libx265.so.199 => /usr/local/lib/libx265.so.199 (0x00007f445bd66000)
	/lib64/ld-linux-x86-64.so.2 (0x00007f4462921000)
	libpangoft2-1.0.so.0 => /lib64/libpangoft2-1.0.so.0 (0x00007f445bb50000)
	libpng15.so.15 => /lib64/libpng15.so.15 (0x00007f445b927000)
	libcroco-0.6.so.3 => /lib64/libcroco-0.6.so.3 (0x00007f445b6ee000)
	libthai.so.0 => /lib64/libthai.so.0 (0x00007f445b4e2000)
	libfribidi.so.0 => /lib64/libfribidi.so.0 (0x00007f445b2c7000)
	libpixman-1.so.0 => /lib64/libpixman-1.so.0 (0x00007f445b021000)
	libEGL.so.1 => /lib64/libEGL.so.1 (0x00007f445ae0d000)
	libxcb-shm.so.0 => /lib64/libxcb-shm.so.0 (0x00007f445ac0a000)
	libxcb.so.1 => /lib64/libxcb.so.1 (0x00007f445a9e2000)
	libxcb-render.so.0 => /lib64/libxcb-render.so.0 (0x00007f445a7d4000)
	libXrender.so.1 => /lib64/libXrender.so.1 (0x00007f445a5ca000)
	libX11.so.6 => /lib64/libX11.so.6 (0x00007f445a292000)
	libXext.so.6 => /lib64/libXext.so.6 (0x00007f445a080000)
	libGL.so.1 => /lib64/libGL.so.1 (0x00007f4459df4000)
	libuuid.so.1 => /lib64/libuuid.so.1 (0x00007f4459bef000)
	libpcre.so.1 => /lib64/libpcre.so.1 (0x00007f445998b000)
	libffi.so.6 => /lib64/libffi.so.6 (0x00007f4459783000)
	libselinux.so.1 => /lib64/libselinux.so.1 (0x00007f445955c000)
	libresolv.so.2 => /lib64/libresolv.so.2 (0x00007f4459346000)
	libmount.so.1 => /lib64/libmount.so.1 (0x00007f44590f4000)
	libharfbuzz.so.0 => /lib64/libharfbuzz.so.0 (0x00007f4458e51000)
	libGLdispatch.so.0 => /lib64/libGLdispatch.so.0 (0x00007f4458b9b000)
	libXau.so.6 => /lib64/libXau.so.6 (0x00007f4458997000)
	libGLX.so.0 => /lib64/libGLX.so.0 (0x00007f4458765000)
	libblkid.so.1 => /lib64/libblkid.so.1 (0x00007f445851d000)
	libgraphite2.so.3 => /lib64/libgraphite2.so.3 (0x00007f44582f1000)

node_modules/sharp/build/Release/sharp-linux-x64.node ldd output

Details
[cituser@56ade65aae33 api]$ ldd ../node_modules/sharp/build/Release/sharp-linux-x64.node 
	linux-vdso.so.1 (0x00007ffe7d5ce000)
	libvips-cpp.so.42 => /usr/local/lib/libvips-cpp.so.42 (0x00007f21576e2000)
	libvips.so.42 => /usr/local/lib/libvips.so.42 (0x00007f215707e000)
	libgobject-2.0.so.0 => /lib64/libgobject-2.0.so.0 (0x00007f2156e2e000)
	libglib-2.0.so.0 => /lib64/libglib-2.0.so.0 (0x00007f2156b20000)
	libstdc++.so.6 => /lib64/libstdc++.so.6 (0x00007f215679e000)
	libm.so.6 => /lib64/libm.so.6 (0x00007f215645e000)
	libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007f2156248000)
	libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f215602a000)
	libc.so.6 => /lib64/libc.so.6 (0x00007f2155c7d000)
	libexpat.so.1 => /lib64/libexpat.so.1 (0x00007f2155a4d000)
	libgsf-1.so.114 => /lib64/libgsf-1.so.114 (0x00007f215580b000)
	libxml2.so.2 => /lib64/libxml2.so.2 (0x00007f21554b2000)
	libMagickCore-7.Q16HDRI.so.10 => /usr/local/lib/libMagickCore-7.Q16HDRI.so.10 (0x00007f2155098000)
	liborc-0.4.so.0 => /lib64/liborc-0.4.so.0 (0x00007f2154e1c000)
	liblcms2.so.2 => /lib64/liblcms2.so.2 (0x00007f2154bc3000)
	libopenjp2.so.7 => /usr/local/lib/libopenjp2.so.7 (0x00007f2154969000)
	libheif.so.1 => /usr/local/lib/libheif.so.1 (0x00007f21546ea000)
	librsvg-2.so.2 => /lib64/librsvg-2.so.2 (0x00007f21544b4000)
	libgdk_pixbuf-2.0.so.0 => /lib64/libgdk_pixbuf-2.0.so.0 (0x00007f215428d000)
	libwebpmux.so.3 => /usr/local/lib/libwebpmux.so.3 (0x00007f2154083000)
	libwebpdemux.so.2 => /usr/local/lib/libwebpdemux.so.2 (0x00007f2153e7e000)
	libwebp.so.7 => /usr/local/lib/libwebp.so.7 (0x00007f2153c12000)
	libpangocairo-1.0.so.0 => /lib64/libpangocairo-1.0.so.0 (0x00007f2153a04000)
	libpango-1.0.so.0 => /lib64/libpango-1.0.so.0 (0x00007f21537c0000)
	libcairo.so.2 => /lib64/libcairo.so.2 (0x00007f2153494000)
	libfontconfig.so.1 => /lib64/libfontconfig.so.1 (0x00007f2153253000)
	libfreetype.so.6 => /lib64/libfreetype.so.6 (0x00007f2152f9d000)
	libtiff.so.5 => /usr/local/lib/libtiff.so.5 (0x00007f2152d21000)
	libpng16.so.16 => /usr/local/lib/libpng16.so.16 (0x00007f2152af0000)
	libz.so.1 => /lib64/libz.so.1 (0x00007f21528db000)
	libjpeg.so.9 => /usr/local/lib/libjpeg.so.9 (0x00007f21526a2000)
	libexif.so.12 => /lib64/libexif.so.12 (0x00007f215245c000)
	libgmodule-2.0.so.0 => /lib64/libgmodule-2.0.so.0 (0x00007f2152258000)
	libgio-2.0.so.0 => /lib64/libgio-2.0.so.0 (0x00007f2151ec6000)
	libpcre.so.1 => /lib64/libpcre.so.1 (0x00007f2151c62000)
	libffi.so.6 => /lib64/libffi.so.6 (0x00007f2151a5a000)
	/lib64/ld-linux-x86-64.so.2 (0x00007f2157b56000)
	libbz2.so.1 => /lib64/libbz2.so.1 (0x00007f215184a000)
	libdl.so.2 => /lib64/libdl.so.2 (0x00007f2151646000)
	liblzma.so.5 => /lib64/liblzma.so.5 (0x00007f2151421000)
	libltdl.so.7 => /lib64/libltdl.so.7 (0x00007f2151217000)
	librt.so.1 => /lib64/librt.so.1 (0x00007f215100f000)
	libde265.so.0 => /usr/local/lib/libde265.so.0 (0x00007f2150d4d000)
	libx265.so.199 => /usr/local/lib/libx265.so.199 (0x00007f21506bb000)
	libpangoft2-1.0.so.0 => /lib64/libpangoft2-1.0.so.0 (0x00007f21504a5000)
	libpng15.so.15 => /lib64/libpng15.so.15 (0x00007f215027c000)
	libcroco-0.6.so.3 => /lib64/libcroco-0.6.so.3 (0x00007f2150043000)
	libthai.so.0 => /lib64/libthai.so.0 (0x00007f214fe37000)
	libfribidi.so.0 => /lib64/libfribidi.so.0 (0x00007f214fc1c000)
	libpixman-1.so.0 => /lib64/libpixman-1.so.0 (0x00007f214f976000)
	libEGL.so.1 => /lib64/libEGL.so.1 (0x00007f214f762000)
	libxcb-shm.so.0 => /lib64/libxcb-shm.so.0 (0x00007f214f55f000)
	libxcb.so.1 => /lib64/libxcb.so.1 (0x00007f214f337000)
	libxcb-render.so.0 => /lib64/libxcb-render.so.0 (0x00007f214f129000)
	libXrender.so.1 => /lib64/libXrender.so.1 (0x00007f214ef1f000)
	libX11.so.6 => /lib64/libX11.so.6 (0x00007f214ebe7000)
	libXext.so.6 => /lib64/libXext.so.6 (0x00007f214e9d5000)
	libGL.so.1 => /lib64/libGL.so.1 (0x00007f214e749000)
	libuuid.so.1 => /lib64/libuuid.so.1 (0x00007f214e544000)
	libselinux.so.1 => /lib64/libselinux.so.1 (0x00007f214e31d000)
	libresolv.so.2 => /lib64/libresolv.so.2 (0x00007f214e107000)
	libmount.so.1 => /lib64/libmount.so.1 (0x00007f214deb5000)
	libharfbuzz.so.0 => /lib64/libharfbuzz.so.0 (0x00007f214dc12000)
	libGLdispatch.so.0 => /lib64/libGLdispatch.so.0 (0x00007f214d95c000)
	libXau.so.6 => /lib64/libXau.so.6 (0x00007f214d758000)
	libGLX.so.0 => /lib64/libGLX.so.0 (0x00007f214d526000)
	libblkid.so.1 => /lib64/libblkid.so.1 (0x00007f214d2de000)
	libgraphite2.so.3 => /lib64/libgraphite2.so.3 (0x00007f214d0b2000)

Possible install-time or require-time problem

  • I have read the documentation relating to installation.
  • 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? Using npm 8.15.0

If you are using npm v7 or later, does the user running npm install own the directory it is run in? Yes

If you are using the ignore-scripts feature of npm, have you tried with the npm install --ignore-scripts=false flag? Not using ignore-scripts

What is the complete output of running npm install --verbose --foreground-scripts sharp in an empty directory?

Details
[cituser@56ade65aae33 sharp-test]$ npm install --verbose --foreground-scripts sharp
npm verb cli /usr/bin/node /usr/bin/npm
npm info using npm@8.15.0
npm info using node@v16.17.0
npm timing npm:load:whichnode Completed in 0ms
npm timing config:load:defaults Completed in 2ms
npm timing config:load:file:/usr/lib/node_modules/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 1ms
npm timing config:load:file:/tmp/sharp-test/.npmrc Completed in 0ms
npm timing config:load:project Completed in 8ms
npm timing config:load:file:/home/cituser/.npmrc Completed in 0ms
npm timing config:load:user Completed in 0ms
npm timing config:load:file:/usr/etc/npmrc Completed in 1ms
npm timing config:load:global Completed in 1ms
npm timing config:load:validate Completed in 0ms
npm timing config:load:credentials Completed in 1ms
npm timing config:load:setEnvs Completed in 1ms
npm timing config:load Completed in 17ms
npm timing npm:load:configload Completed in 17ms
npm timing npm:load:mkdirpcache Completed in 1ms
npm timing npm:load:mkdirplogs Completed in 0ms
npm verb title npm install sharp
npm verb argv "install" "--loglevel" "verbose" "--foreground-scripts" "sharp"
npm timing npm:load:setTitle Completed in 1ms
npm timing config:load:flatten Completed in 2ms
npm timing npm:load:display Completed in 9ms
npm verb logfile logs-max:10 dir:/home/cituser/.npm/_logs
npm verb logfile /home/cituser/.npm/_logs/2022-08-30T14_10_17_740Z-debug-0.log
npm timing npm:load:logFile Completed in 5ms
npm timing npm:load:timers Completed in 0ms
npm timing npm:load:configScope Completed in 1ms
npm timing npm:load Completed in 35ms
npm timing arborist:ctor Completed in 0ms
npm timing arborist:ctor Completed in 0ms
npm timing idealTree:init Completed in 13ms
npm timing idealTree:userRequests Completed in 2ms
(node:238) Warning: Setting the NODE_TLS_REJECT_UNAUTHORIZED environment variable to '0' makes TLS connections and HTTPS requests insecure by disabling certificate verification.
(Use `node --trace-warnings ...` to show where the warning was created)
npm http fetch GET 200 https://registry.npmjs.org/sharp 649ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/color 140ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/tunnel-agent 221ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/detect-libc 244ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/tar-fs 351ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/simple-get 355ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/node-addon-api 359ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/prebuild-install 390ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/semver 392ms (cache miss)
npm timing idealTree:#root Completed in 1059ms
npm http fetch GET 200 https://registry.npmjs.org/github-from-package 139ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/expand-template 142ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/pump 168ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/mkdirp-classic 193ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/color-convert 196ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/color-string 196ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/minimist 195ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/mkdirp-classic 269ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/napi-build-utils 275ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/node-abi 277ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/chownr 287ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/simple-concat 297ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/safe-buffer 295ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/once 303ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/tar-stream 359ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/rc 365ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/decompress-response 366ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/lru-cache 423ms (cache miss)
npm timing idealTree:node_modules/sharp Completed in 451ms
npm http fetch GET 200 https://registry.npmjs.org/simple-swizzle 117ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/color-name 120ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/color-name 120ms (cache miss)
npm timing idealTree:node_modules/color Completed in 126ms
npm timing idealTree:node_modules/color-convert Completed in 3ms
npm timing idealTree:node_modules/color-name Completed in 0ms
npm http fetch GET 200 https://registry.npmjs.org/is-arrayish 90ms (cache miss)
npm timing idealTree:node_modules/color-string Completed in 94ms
npm timing idealTree:node_modules/detect-libc Completed in 0ms
npm timing idealTree:node_modules/node-addon-api Completed in 0ms
npm http fetch GET 200 https://registry.npmjs.org/ini 114ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/end-of-stream 137ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/deep-extend 145ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/strip-json-comments 180ms (cache miss)
npm timing idealTree:node_modules/prebuild-install Completed in 198ms
npm timing idealTree:node_modules/expand-template Completed in 0ms
npm timing idealTree:node_modules/github-from-package Completed in 0ms
npm timing idealTree:node_modules/minimist Completed in 0ms
npm timing idealTree:node_modules/mkdirp-classic Completed in 0ms
npm timing idealTree:node_modules/napi-build-utils Completed in 0ms
npm timing idealTree:node_modules/node-abi Completed in 0ms
npm http fetch GET 200 https://registry.npmjs.org/wrappy 121ms (cache miss)
npm timing idealTree:node_modules/pump Completed in 126ms
npm timing idealTree:node_modules/end-of-stream Completed in 0ms
npm timing idealTree:node_modules/once Completed in 3ms
npm timing idealTree:node_modules/rc Completed in 4ms
npm timing idealTree:node_modules/deep-extend Completed in 1ms
npm timing idealTree:node_modules/ini Completed in 0ms
npm http fetch GET 200 https://registry.npmjs.org/yallist 162ms (cache miss)
npm timing idealTree:node_modules/semver Completed in 165ms
npm timing idealTree:node_modules/lru-cache Completed in 2ms
npm http fetch GET 200 https://registry.npmjs.org/mimic-response 241ms (cache miss)
npm timing idealTree:node_modules/simple-get Completed in 246ms
npm timing idealTree:node_modules/decompress-response Completed in 2ms
npm timing idealTree:node_modules/mimic-response Completed in 0ms
npm timing idealTree:node_modules/simple-concat Completed in 0ms
npm timing idealTree:node_modules/simple-swizzle Completed in 2ms
npm timing idealTree:node_modules/is-arrayish Completed in 0ms
npm timing idealTree:node_modules/strip-json-comments Completed in 0ms
npm http fetch GET 200 https://registry.npmjs.org/inherits 88ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/fs-constants 124ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/bl 168ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/readable-stream 170ms (cache miss)
npm timing idealTree:node_modules/tar-fs Completed in 181ms
npm timing idealTree:node_modules/chownr Completed in 0ms
npm http fetch GET 200 https://registry.npmjs.org/util-deprecate 88ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/string_decoder 155ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/buffer 178ms (cache miss)
npm timing idealTree:node_modules/tar-stream Completed in 187ms
npm http fetch GET 200 https://registry.npmjs.org/ieee754 132ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/base64-js 174ms (cache miss)
npm timing idealTree:node_modules/bl Completed in 177ms
npm timing idealTree:node_modules/buffer Completed in 3ms
npm timing idealTree:node_modules/base64-js Completed in 0ms
npm timing idealTree:node_modules/fs-constants Completed in 0ms
npm timing idealTree:node_modules/ieee754 Completed in 0ms
npm timing idealTree:node_modules/inherits Completed in 0ms
npm timing idealTree:node_modules/readable-stream Completed in 4ms
npm timing idealTree:node_modules/string_decoder Completed in 2ms
npm timing idealTree:node_modules/safe-buffer Completed in 0ms
npm timing idealTree:node_modules/tunnel-agent Completed in 0ms
npm timing idealTree:node_modules/util-deprecate Completed in 0ms
npm timing idealTree:node_modules/wrappy Completed in 0ms
npm timing idealTree:node_modules/yallist Completed in 0ms
npm timing idealTree:buildDeps Completed in 3050ms
npm timing idealTree:fixDepFlags Completed in 1ms
npm timing idealTree Completed in 3069ms
npm timing reify:loadTrees Completed in 3070ms
npm timing reify:diffTrees Completed in 2ms
npm timing reify:retireShallow Completed in 1ms
npm timing reify:createSparse Completed in 17ms
npm timing reify:loadBundles Completed in 0ms
npm timing reifyNode:node_modules/chownr Completed in 157ms
npm timing reifyNode:node_modules/ini Completed in 158ms
npm timing reifyNode:node_modules/end-of-stream Completed in 159ms
npm timing reifyNode:node_modules/once Completed in 159ms
npm timing reifyNode:node_modules/wrappy Completed in 160ms
npm timing reifyNode:node_modules/strip-json-comments Completed in 160ms
npm timing reifyNode:node_modules/mkdirp-classic Completed in 161ms
npm timing reifyNode:node_modules/simple-swizzle Completed in 162ms
npm timing reifyNode:node_modules/color-name Completed in 162ms
npm timing reifyNode:node_modules/color-string Completed in 163ms
npm timing reifyNode:node_modules/ieee754 Completed in 168ms
npm timing reifyNode:node_modules/inherits Completed in 167ms
npm timing reifyNode:node_modules/fs-constants Completed in 168ms
npm timing reifyNode:node_modules/mimic-response Completed in 169ms
npm timing reifyNode:node_modules/decompress-response Completed in 169ms
npm timing reifyNode:node_modules/lru-cache Completed in 170ms
npm timing reifyNode:node_modules/tunnel-agent Completed in 171ms
npm timing reifyNode:node_modules/color Completed in 175ms
npm timing reifyNode:node_modules/util-deprecate Completed in 178ms
npm timing reifyNode:node_modules/base64-js Completed in 178ms
npm timing reifyNode:node_modules/string_decoder Completed in 180ms
npm timing reifyNode:node_modules/yallist Completed in 179ms
npm timing reifyNode:node_modules/expand-template Completed in 179ms
npm timing reifyNode:node_modules/simple-concat Completed in 185ms
npm timing reifyNode:node_modules/deep-extend Completed in 185ms
npm timing reifyNode:node_modules/napi-build-utils Completed in 185ms
npm timing reifyNode:node_modules/pump Completed in 186ms
npm timing reifyNode:node_modules/safe-buffer Completed in 190ms
npm timing reifyNode:node_modules/is-arrayish Completed in 190ms
npm http fetch POST 200 https://registry.npmjs.org/-/npm/v1/security/advisories/bulk 196ms
npm timing auditReport:getReport Completed in 202ms
npm timing auditReport:init Completed in 0ms
npm timing reify:audit Completed in 203ms
npm timing reifyNode:node_modules/color-convert Completed in 196ms
npm timing reifyNode:node_modules/detect-libc Completed in 196ms
npm timing reifyNode:node_modules/tar-stream Completed in 202ms
npm timing reifyNode:node_modules/simple-get Completed in 207ms
npm timing reifyNode:node_modules/buffer Completed in 209ms
npm timing reifyNode:node_modules/github-from-package Completed in 214ms
npm timing reifyNode:node_modules/rc Completed in 216ms
npm timing reifyNode:node_modules/bl Completed in 219ms
npm timing reifyNode:node_modules/prebuild-install Completed in 219ms
npm http fetch GET 200 https://registry.npmjs.org/node-abi/-/node-abi-3.24.0.tgz 181ms (cache miss)
npm timing reifyNode:node_modules/minimist Completed in 233ms
npm timing reifyNode:node_modules/node-abi Completed in 235ms
npm timing reifyNode:node_modules/readable-stream Completed in 247ms
npm timing reifyNode:node_modules/node-addon-api Completed in 249ms
npm timing reifyNode:node_modules/tar-fs Completed in 251ms
npm timing reifyNode:node_modules/semver Completed in 258ms
npm timing reifyNode:node_modules/sharp Completed in 262ms
npm timing reify:unpack Completed in 265ms
npm timing reify:unretire Completed in 1ms
npm timing build:queue Completed in 4ms
npm timing build:link:node_modules/prebuild-install Completed in 2ms
npm timing build:link:node_modules/rc Completed in 3ms
npm timing build:link:node_modules/semver Completed in 3ms
npm timing build:link Completed in 3ms
npm info run sharp@0.30.7 install node_modules/sharp (node install/libvips && node install/dll-copy && prebuild-install) || (node install/can-compile && node-gyp rebuild && node install/dll-copy)

> sharp@0.30.7 install
> (node install/libvips && node install/dll-copy && prebuild-install) || (node install/can-compile && node-gyp rebuild && node install/dll-copy)

sharp: Detected globally-installed libvips v8.12.2@0.30.7 install node_modules/sharp (node install/libvips && node install/dll-copy && prebuild-install) || (no
sharp: Building from source via node-gyp
gyp info it worked if it ends with oknfo run sharp@0.30.7 install node_modules/sharp (node install/libvips && node install/dll-copy && prebuild-install) || (no
gyp verb cli [
gyp verb cli   '/usr/bin/node',
gyp verb cli   '/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js',
gyp verb cli   'rebuild'
gyp verb cli ]
gyp info using node-gyp@9.0.0
gyp info using node@16.17.0 | 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"stall node_modules/sharp (node install/libvips && node install/dll-copy && prebuild-install) || (no
gyp verb find Python - executing "/usr/bin/python3" to get version
gyp verb find Python - version is "3.7.10"un sharp@0.30.7 install node_modules/sharp (node install/libvips && node install/dll-copy && prebuild-install) || (no
gyp info find Python using Python version 3.7.10 found at "/usr/bin/python3"
gyp verb get node dir no --target version specified, falling back to host node version: 16.17.0
gyp verb command install [ '16.17.0' ]
gyp verb install input version string "16.17.0"arp@0.30.7 install node_modules/sharp (node install/libvips && node install/dll-copy && prebuild-install) || (no
gyp verb install installing version: 16.17.0
gyp verb install --ensure was passed, so won't reinstall if already installed
gyp verb install version is already installed, need to check "installVersion"
gyp verb got "installVersion" 9
gyp verb needs "installVersion" 9
gyp verb install version is good
gyp verb get node dir target node version installed: 16.17.0
gyp verb build dir attempting to create "build" dir: /tmp/sharp-test/node_modules/sharp/build
gyp verb build dir "build" dir needed to be created? Yes
gyp verb build/config.gypi creating config file
gyp[##################] - reify:sharp: info run sharp@0.30.7 install node_modules/sharp (node install/libvips && node install/dll-copy && prebuild-install) || ( verb build/config.gypi writing out config file: /tmp/sharp-test/node_modules/sharp/build/config.gypi
gyp verb config.gypi checking for gypi file: /tmp/sharp-test/node_modules/sharp/config.gypi
gyp verb common.gypi checking for gypi file: /tmp/sharp-test/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/lib/node_modules/npm/node_modules/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   '/tmp/sharp-test/node_modules/sharp/build/config.gypi',
gyp info spawn args   '-I',
gyp info spawn args   '/usr/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',
gyp info spawn args   '-I',
gyp info spawn args   '/home/cituser/.cache/node-gyp/16.17.0/include/node/common.gypi',
gyp info spawn args   '-Dlibrary=shared_library',
gyp info spawn args   '-Dvisibility=default',
gyp info spawn args   '-Dnode_root_dir=/home/cituser/.cache/node-gyp/16.17.0',
gyp info spawn args   '-Dnode_gyp_dir=/usr/lib/node_modules/npm/node_modules/node-gyp',
gyp info spawn args   '-Dnode_lib_file=/home/cituser/.cache/node-gyp/16.17.0/<(target_arch)/node.lib',
gyp info spawn args   '-Dmodule_root_dir=/tmp/sharp-test/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: info run sharp@0.30.7 install node_modules/sharp (node install/libvips && node install/dll-copy && prebuild-install) || (no
gyp verb build type Release
gyp verb architecture x64
gyp verb node dev dir /home/cituser/.cache/node-gyp/16.17.0
gyp verb `which` succeeded for `make` /usr/bin/make
gyp info spawn make
gyp info spawn args [ 'V=1', 'BUILDTYPE=Release', '-C', 'build' ]
make: Entering directory `/tmp/sharp-test/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_GLIBCXX_USE_CXX11_ABI=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-D__STDC_FORMAT_MACROS' '-DOPENSSL_NO_PINSHARED' '-DOPENSSL_THREADS' -I/home/cituser/.cache/node-gyp/16.17.0/include/node -I/home/cituser/.cache/node-gyp/16.17.0/src -I/home/cituser/.cache/node-gyp/16.17.0/deps/openssl/config -I/home/cituser/.cache/node-gyp/16.17.0/deps/openssl/openssl/include -I/home/cituser/.cache/node-gyp/16.17.0/deps/uv/include -I/home/cituser/.cache/node-gyp/16.17.0/deps/zlib -I/home/cituser/.cache/node-gyp/16.17.0/deps/v8/include  -fPIC -pthread -Wall -Wextra -Wno-unused-parameter -m64 -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 sharp@0.30.7 install node_modules/sharp (node install/libvips && node install/dll-copy && prebuild-install) || (no
  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_GLIBCXX_USE_CXX11_ABI=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-D__STDC_FORMAT_MACROS' '-DOPENSSL_NO_PINSHARED' '-DOPENSSL_THREADS' '-DNAPI_VERSION=5' '-DBUILDING_NODE_EXTENSION' -I/home/cituser/.cache/node-gyp/16.17.0/include/node -I/home/cituser/.cache/node-gyp/16.17.0/src -I/home/cituser/.cache/node-gyp/16.17.0/deps/openssl/config -I/home/cituser/.cache/node-gyp/16.17.0/deps/openssl/openssl/include -I/home/cituser/.cache/node-gyp/16.17.0/deps/uv/include -I/home/cituser/.cache/node-gyp/16.17.0/deps/zlib -I/home/cituser/.cache/node-gyp/16.17.0/deps/v8/include -I../../node-addon-api -I/usr/local/include -I/usr/local/include/ImageMagick-7 -I/usr/local/include/openjpeg-2.5 -I/usr/local/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libgsf-1 -I/usr/include/orc-0.4 -I/usr/include/librsvg-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/libxml2 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng15 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/uuid -I/usr/include/libdrm -I/usr/include/harfbuzz -I/usr/include/fribidi  -fPIC -pthread -Wall -Wextra -Wno-unused-parameter -m64 -O3 -fno-omit-frame-pointer -fno-rtti -fno-exceptions -std=gnu++14 -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_GLIBCXX_USE_CXX11_ABI=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-D__STDC_FORMAT_MACROS' '-DOPENSSL_NO_PINSHARED' '-DOPENSSL_THREADS' '-DNAPI_VERSION=5' '-DBUILDING_NODE_EXTENSION' -I/home/cituser/.cache/node-gyp/16.17.0/include/node -I/home/cituser/.cache/node-gyp/16.17.0/src -I/home/cituser/.cache/node-gyp/16.17.0/deps/openssl/config -I/home/cituser/.cache/node-gyp/16.17.0/deps/openssl/openssl/include -I/home/cituser/.cache/node-gyp/16.17.0/deps/uv/include -I/home/cituser/.cache/node-gyp/16.17.0/deps/zlib -I/home/cituser/.cache/node-gyp/16.17.0/deps/v8/include -I../../node-addon-api -I/usr/local/include -I/usr/local/include/ImageMagick-7 -I/usr/local/include/openjpeg-2.5 -I/usr/local/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libgsf-1 -I/usr/include/orc-0.4 -I/usr/include/librsvg-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/libxml2 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng15 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/uuid -I/usr/include/libdrm -I/usr/include/harfbuzz -I/usr/include/fribidi  -fPIC -pthread -Wall -Wextra -Wno-unused-parameter -m64 -O3 -fno-omit-frame-pointer -fno-rtti -fno-exceptions -std=gnu++14 -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_GLIBCXX_USE_CXX11_ABI=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-D__STDC_FORMAT_MACROS' '-DOPENSSL_NO_PINSHARED' '-DOPENSSL_THREADS' '-DNAPI_VERSION=5' '-DBUILDING_NODE_EXTENSION' -I/home/cituser/.cache/node-gyp/16.17.0/include/node -I/home/cituser/.cache/node-gyp/16.17.0/src -I/home/cituser/.cache/node-gyp/16.17.0/deps/openssl/config -I/home/cituser/.cache/node-gyp/16.17.0/deps/openssl/openssl/include -I/home/cituser/.cache/node-gyp/16.17.0/deps/uv/include -I/home/cituser/.cache/node-gyp/16.17.0/deps/zlib -I/home/cituser/.cache/node-gyp/16.17.0/deps/v8/include -I../../node-addon-api -I/usr/local/include -I/usr/local/include/ImageMagick-7 -I/usr/local/include/openjpeg-2.5 -I/usr/local/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libgsf-1 -I/usr/include/orc-0.4 -I/usr/include/librsvg-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/libxml2 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng15 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/uuid -I/usr/include/libdrm -I/usr/include/harfbuzz -I/usr/include/fribidi  -fPIC -pthread -Wall -Wextra -Wno-unused-parameter -m64 -O3 -fno-omit-frame-pointer -fno-rtti -fno-exceptions -std=gnu++14 -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_GLIBCXX_USE_CXX11_ABI=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-D__STDC_FORMAT_MACROS' '-DOPENSSL_NO_PINSHARED' '-DOPENSSL_THREADS' '-DNAPI_VERSION=5' '-DBUILDING_NODE_EXTENSION' -I/home/cituser/.cache/node-gyp/16.17.0/include/node -I/home/cituser/.cache/node-gyp/16.17.0/src -I/home/cituser/.cache/node-gyp/16.17.0/deps/openssl/config -I/home/cituser/.cache/node-gyp/16.17.0/deps/openssl/openssl/include -I/home/cituser/.cache/node-gyp/16.17.0/deps/uv/include -I/home/cituser/.cache/node-gyp/16.17.0/deps/zlib -I/home/cituser/.cache/node-gyp/16.17.0/deps/v8/include -I../../node-addon-api -I/usr/local/include -I/usr/local/include/ImageMagick-7 -I/usr/local/include/openjpeg-2.5 -I/usr/local/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libgsf-1 -I/usr/include/orc-0.4 -I/usr/include/librsvg-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/libxml2 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng15 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/uuid -I/usr/include/libdrm -I/usr/include/harfbuzz -I/usr/include/fribidi  -fPIC -pthread -Wall -Wextra -Wno-unused-parameter -m64 -O3 -fno-omit-frame-pointer -fno-rtti -fno-exceptions -std=gnu++14 -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_GLIBCXX_USE_CXX11_ABI=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-D__STDC_FORMAT_MACROS' '-DOPENSSL_NO_PINSHARED' '-DOPENSSL_THREADS' '-DNAPI_VERSION=5' '-DBUILDING_NODE_EXTENSION' -I/home/cituser/.cache/node-gyp/16.17.0/include/node -I/home/cituser/.cache/node-gyp/16.17.0/src -I/home/cituser/.cache/node-gyp/16.17.0/deps/openssl/config -I/home/cituser/.cache/node-gyp/16.17.0/deps/openssl/openssl/include -I/home/cituser/.cache/node-gyp/16.17.0/deps/uv/include -I/home/cituser/.cache/node-gyp/16.17.0/deps/zlib -I/home/cituser/.cache/node-gyp/16.17.0/deps/v8/include -I../../node-addon-api -I/usr/local/include -I/usr/local/include/ImageMagick-7 -I/usr/local/include/openjpeg-2.5 -I/usr/local/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libgsf-1 -I/usr/include/orc-0.4 -I/usr/include/librsvg-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/libxml2 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng15 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/uuid -I/usr/include/libdrm -I/usr/include/harfbuzz -I/usr/include/fribidi  -fPIC -pthread -Wall -Wextra -Wno-unused-parameter -m64 -O3 -fno-omit-frame-pointer -fno-rtti -fno-exceptions -std=gnu++14 -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_GLIBCXX_USE_CXX11_ABI=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-D__STDC_FORMAT_MACROS' '-DOPENSSL_NO_PINSHARED' '-DOPENSSL_THREADS' '-DNAPI_VERSION=5' '-DBUILDING_NODE_EXTENSION' -I/home/cituser/.cache/node-gyp/16.17.0/include/node -I/home/cituser/.cache/node-gyp/16.17.0/src -I/home/cituser/.cache/node-gyp/16.17.0/deps/openssl/config -I/home/cituser/.cache/node-gyp/16.17.0/deps/openssl/openssl/include -I/home/cituser/.cache/node-gyp/16.17.0/deps/uv/include -I/home/cituser/.cache/node-gyp/16.17.0/deps/zlib -I/home/cituser/.cache/node-gyp/16.17.0/deps/v8/include -I../../node-addon-api -I/usr/local/include -I/usr/local/include/ImageMagick-7 -I/usr/local/include/openjpeg-2.5 -I/usr/local/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libgsf-1 -I/usr/include/orc-0.4 -I/usr/include/librsvg-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/libxml2 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng15 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/uuid -I/usr/include/libdrm -I/usr/include/harfbuzz -I/usr/include/fribidi  -fPIC -pthread -Wall -Wextra -Wno-unused-parameter -m64 -O3 -fno-omit-frame-pointer -fno-rtti -fno-exceptions -std=gnu++14 -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_GLIBCXX_USE_CXX11_ABI=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-D__STDC_FORMAT_MACROS' '-DOPENSSL_NO_PINSHARED' '-DOPENSSL_THREADS' '-DNAPI_VERSION=5' '-DBUILDING_NODE_EXTENSION' -I/home/cituser/.cache/node-gyp/16.17.0/include/node -I/home/cituser/.cache/node-gyp/16.17.0/src -I/home/cituser/.cache/node-gyp/16.17.0/deps/openssl/config -I/home/cituser/.cache/node-gyp/16.17.0/deps/openssl/openssl/include -I/home/cituser/.cache/node-gyp/16.17.0/deps/uv/include -I/home/cituser/.cache/node-gyp/16.17.0/deps/zlib -I/home/cituser/.cache/node-gyp/16.17.0/deps/v8/include -I../../node-addon-api -I/usr/local/include -I/usr/local/include/ImageMagick-7 -I/usr/local/include/openjpeg-2.5 -I/usr/local/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libgsf-1 -I/usr/include/orc-0.4 -I/usr/include/librsvg-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/libxml2 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng15 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/uuid -I/usr/include/libdrm -I/usr/include/harfbuzz -I/usr/include/fribidi  -fPIC -pthread -Wall -Wextra -Wno-unused-parameter -m64 -O3 -fno-omit-frame-pointer -fno-rtti -fno-exceptions -std=gnu++14 -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 -L/usr/local/lib -lvips-cpp -lvips -lgobject-2.0 -lglib-2.0
  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 `/tmp/sharp-test/node_modules/sharp/build'
gyp info ok #######] - reify:sharp: info run sharp@0.30.7 install node_modules/sharp (node install/libvips && node install/dll-copy && prebuild-install) || (no
npm info run sharp@0.30.7 install { code: 0, signal: null }
npm timing build:run:install:node_modules/sharp Completed in 11440ms
npm timing build:run:install Completed in 11441ms
npm timing build:deps Completed in 11450ms
npm timing build Completed in 11450ms
npm timing reify:build Completed in 11450ms
npm timing reify:trash Completed in 0ms
npm timing reify:save Completed in 14ms
npm timing reify Completed in 14846ms

added 45 packages, and audited 46 packages in 15s

9 packages are looking for funding
  run `npm fund` for details

found 0 vulnerabilities
npm timing command:install Completed in 14853ms
npm verb exit 0
npm timing npm Completed in 14936ms
npm info ok 

What is the output of running npx envinfo --binaries --system --npmPackages=sharp --npmGlobalPackages=sharp?

System:
OS: Linux 5.10 Amazon Linux 2
CPU: (8) x64 Intel(R) Core(TM) i9-9980HK CPU @ 2.40GHz
Memory: 11.69 GB / 15.64 GB
Container: Yes
Shell: 4.2.46 - /bin/bash
Binaries:
Node: 16.17.0 - /usr/bin/node
npm: 8.15.0 - /usr/bin/npm
npmPackages:
sharp: ^0.30.7 => 0.30.7

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions