wido opened a new issue, #6709:
URL: https://github.com/apache/cloudstack/issues/6709

   ##### ISSUE TYPE
    * Bug Report
   
   
   ##### COMPONENT NAME
   ~~~
   UI
   Docker
   ~~~
   
   ##### CLOUDSTACK VERSION
   ~~~
   main
   4.17
   ~~~
   
   ##### OS / ENVIRONMENT
   Building the UI Docker container
   
   
   ##### SUMMARY
   Trying to build the Docker container for the UI fails with NodeJS builds 
failing.
   
   
   ##### STEPS TO REPRODUCE
   Try to build the UI Docker container
   ~~~
   cd ui
   bash docker.sh
   ~~~
   
   ##### ACTUAL RESULTS
   ~~~
   npm ERR! gyp verb command build []
   npm ERR! gyp verb build type Release
   npm ERR! gyp verb architecture x64
   npm ERR! gyp verb node dev dir /root/.node-gyp/16.15.1
   npm ERR! gyp verb `which` succeeded for `make` /usr/bin/make
   npm ERR! gyp info spawn make
   npm ERR! gyp info spawn args [ 'V=1', 'BUILDTYPE=Release', '-C', 'build' ]
   npm ERR! In file included from 
/root/.node-gyp/16.15.1/include/node/v8.h:30:0,
   npm ERR!                  from 
/root/.node-gyp/16.15.1/include/node/node.h:63,
   npm ERR!                  from ../../nan/nan.h:56,
   npm ERR!                  from ../src/binding.cpp:1:
   npm ERR! /root/.node-gyp/16.15.1/include/node/v8-internal.h: In function 
'void v8::internal::PerformCastCheck(T*)':
   npm ERR! /root/.node-gyp/16.15.1/include/node/v8-internal.h:492:33: error: 
'remove_cv_t' is not a member of 'std'
   npm ERR!              !std::is_same<Data, 
std::remove_cv_t<T>>::value>::Perform(data);
   npm ERR!                                  ^~~
   npm ERR! /root/.node-gyp/16.15.1/include/node/v8-internal.h:492:33: error: 
'remove_cv_t' is not a member of 'std'
   npm ERR! /root/.node-gyp/16.15.1/include/node/v8-internal.h:492:50: error: 
template argument 2 is invalid
   npm ERR!              !std::is_same<Data, 
std::remove_cv_t<T>>::value>::Perform(data);
   npm ERR!                                                   ^
   npm ERR! /root/.node-gyp/16.15.1/include/node/v8-internal.h:492:61: error: 
'::Perform' has not been declared
   npm ERR!              !std::is_same<Data, 
std::remove_cv_t<T>>::value>::Perform(data);
   npm ERR!                                                              ^~
   npm ERR! make: *** [Release/obj.target/binding/src/binding.o] Error 1
   npm ERR! gyp ERR! build error 
   npm ERR! gyp ERR! stack Error: `make` failed with exit code: 2
   npm ERR! gyp ERR! stack     at ChildProcess.onExit 
(/build/node_modules/node-sass/node_modules/node-gyp/lib/build.js:262:23)
   npm ERR! gyp ERR! stack     at ChildProcess.emit (node:events:527:28)
   npm ERR! gyp ERR! stack     at Process.ChildProcess._handle.onexit 
(node:internal/child_process:291:12)
   npm ERR! gyp ERR! System Linux 5.4.0-125-generic
   npm ERR! gyp ERR! command "/usr/local/bin/node" 
"/build/node_modules/node-sass/node_modules/node-gyp/bin/node-gyp.js" "rebuild" 
"--verbose" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags=" 
"--libsass_library="
   npm ERR! gyp ERR! cwd /build/node_modules/node-sass
   npm ERR! gyp ERR! node -v v16.15.1
   npm ERR! gyp ERR! node-gyp -v v3.8.0
   npm ERR! gyp ERR! not ok 
   npm ERR! Build failed with error code: 1
   ~~~
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to