Project

General

Profile

Bug #39556

Updated by Nathan Cutler almost 5 years ago

Environment: openSUSE Leap 15.1, Tumbleweed, 15.1 with both Python 2+3 2 and Python 3 only installed 

 tl;dr - when the directory path contains a colon (':') character, make-dist fails in the npm phase with the error messages shown below. When the directory does not contain a colon, the bug does not manifest and the npm phase succeeds. 

 When I run make-dist on tip of master branch, I get: 

 <pre> 
 Collecting nodeenv 
 Installing collected packages: nodeenv 
 Successfully installed nodeenv-1.3.3 
  * Install prebuilt node (10.13.0) ..... done. 
  * Appending data to /tmp/tmp.PRGQz8NIRr/bin/activate 
  * Appending data to /tmp/tmp.PRGQz8NIRr/bin/activate.fish 

 > fsevents@1.2.4 install /home/smithfarm/obs/filesystems:ceph:octopus:upstream/ceph/tmp.gs6pfXbgP2/src/pybind/mgr/dashboard/frontend/node_modules/fsevents 
 > node install 


 > node-sass@4.11.0 install /home/smithfarm/obs/filesystems:ceph:octopus:upstream/ceph/tmp.gs6pfXbgP2/src/pybind/mgr/dashboard/frontend/node_modules/node-sass 
 > node scripts/install.js 

 Cached binary found at /home/smithfarm/.npm/node-sass/4.11.0/linux-x64-64_binding.node 

 > node-sass@4.11.0 postinstall /home/smithfarm/obs/filesystems:ceph:octopus:upstream/ceph/tmp.gs6pfXbgP2/src/pybind/mgr/dashboard/frontend/node_modules/node-sass 
 > node scripts/build.js 

 Binary found at /home/smithfarm/obs/filesystems:ceph:octopus:upstream/ceph/tmp.gs6pfXbgP2/src/pybind/mgr/dashboard/frontend/node_modules/node-sass/vendor/linux-x64-64/binding.node 
 Testing binary 
 Binary is fine 

 > fsevents@1.2.7 install /home/smithfarm/obs/filesystems:ceph:octopus:upstream/ceph/tmp.gs6pfXbgP2/src/pybind/mgr/dashboard/frontend/node_modules/@compodoc/compodoc/node_modules/fsevents 
 > node install 


 > @compodoc/compodoc@1.1.9 postinstall /home/smithfarm/obs/filesystems:ceph:octopus:upstream/ceph/tmp.gs6pfXbgP2/src/pybind/mgr/dashboard/frontend/node_modules/@compodoc/compodoc 
 > opencollective postinstall 

 sh: opencollective: command not found 
 npm ERR! file sh 
 npm ERR! code ELIFECYCLE 
 npm ERR! errno ENOENT 
 npm ERR! syscall spawn 
 npm ERR! @compodoc/compodoc@1.1.9 postinstall: `opencollective postinstall` 
 npm ERR! spawn ENOENT 
 npm ERR! 
 npm ERR! Failed at the @compodoc/compodoc@1.1.9 postinstall script. 
 npm ERR! This is probably not a problem with npm. There is likely additional logging output above. 

 npm ERR! A complete log of this run can be found in: 
 npm ERR!       /home/smithfarm/.npm/_logs/2019-05-01T11_31_10_328Z-debug.log 
 </pre> 

 This only happens if the directory path contains a colon (':') character. UPDATE: Appears to be related to https://github.com/ceph/ceph/pull/27433

Back