imic created THRIFT-5276:
----------------------------

             Summary: Compile failed on linux
                 Key: THRIFT-5276
                 URL: https://issues.apache.org/jira/browse/THRIFT-5276
             Project: Thrift
          Issue Type: Bug
          Components: D - Compiler
    Affects Versions: 0.13.0
         Environment: linux deepin20(debian10.5)
            Reporter: imic


 

compile failed on debian10.5

 
{code:java}
//代码占位符
/home/imic/data/app/thrift-0.13.0/node_modules/utf-8-validate/.node-gyp/12.18.3/include/node/v8config.h:328:3:
 note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
make[4]: *** 
[validation.target.mk:111:Release/obj.target/validation/src/validation.o] 错误 1
make[4]: 
离开目录“/home/imic/data/app/thrift-0.13.0/node_modules/utf-8-validate/build”
gyp ERR! build error 
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit 
(/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
gyp ERR! stack     at ChildProcess.emit (events.js:315:20)
gyp ERR! stack     at Process.ChildProcess._handle.onexit 
(internal/child_process.js:275:12)
gyp ERR! System Linux 5.4.50-amd64-desktop
gyp ERR! command "/usr/bin/node" 
"/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/imic/data/app/thrift-0.13.0/node_modules/utf-8-validate
gyp ERR! node -v v12.18.3
gyp ERR! node-gyp -v v5.1.0
gyp ERR! not ok 
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! utf-8-validate@4.0.2 install: `prebuild-install || node-gyp rebuild`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the utf-8-validate@4.0.2 install 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!     /root/.npm/_logs/2020-09-10T10_53_30_810Z-debug.log
make[3]: *** [Makefile:641:deps] 错误 1
make[3]: 离开目录“/home/imic/data/app/thrift-0.13.0/lib/nodejs”
make[2]: *** [Makefile:585:all-recursive] 错误 1
make[2]: 离开目录“/home/imic/data/app/thrift-0.13.0/lib”
make[1]: *** [Makefile:687:all-recursive] 错误 1
make[1]: 离开目录“/home/imic/data/app/thrift-0.13.0”
make: *** [Makefile:601:all] 错误 2



{code}
 

 

err log 

 
{code:java}
//代码占位符
1418 silly saveTree └─┬ ws@5.2.2
1418 silly saveTree   └── async-limiter@1.0.1
1419 verbose stack Error: utf-8-validate@4.0.2 install: `prebuild-install || 
node-gyp rebuild`
1419 verbose stack Exit status 1
1419 verbose stack     at EventEmitter.<anonymous> 
(/usr/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:332:16)
1419 verbose stack     at EventEmitter.emit (events.js:315:20)
1419 verbose stack     at ChildProcess.<anonymous> 
(/usr/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
1419 verbose stack     at ChildProcess.emit (events.js:315:20)
1419 verbose stack     at maybeClose (internal/child_process.js:1021:16)
1419 verbose stack     at Process.ChildProcess._handle.onexit 
(internal/child_process.js:286:5)
1420 verbose pkgid utf-8-validate@4.0.2
1421 verbose cwd /home/imic/data/app/thrift-0.13.0/lib/nodejs
1422 verbose Linux 5.4.50-amd64-desktop
1423 verbose argv "/usr/bin/node" "/usr/bin/npm" "install" "../../"
1424 verbose node v12.18.3
1425 verbose npm  v6.14.6
1426 error code ELIFECYCLE
1427 error errno 1
1428 error utf-8-validate@4.0.2 install: `prebuild-install || node-gyp rebuild`
1428 error Exit status 1
1429 error Failed at the utf-8-validate@4.0.2 install script.
1429 error This is probably not a problem with npm. There is likely additional 
logging output above.
1430 verbose exit [ 1, true ]

{code}
 

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to