Skip to content

Fedora上使用docker编译失败 #162

@taoqf

Description

@taoqf

不知道有没有人遇到我的问题。之前的版本我编译成功过,现在bin目录还有之前编译成功的文件。但从什么时候开始不行的我还不清楚。

./tools/build-with-docker.sh

错误如下:

./tools/build-with-docker.sh 
1000:1000
v16.20.2
8.19.4
 Patching wechat-devtools  
 警告  js/unpack/hackrequire/index.js seems to have been modified
 Patching Other  
+++ dirname /workspace/tools/fix-other.sh
++ cd /workspace/tools/..
++ pwd -P
+ root_dir=/workspace
+ srcdir=/workspace
replace: wcc,wcsc linux version
+ tmp_dir=/workspace/tmp
+ nwjs_dir=/workspace/nwjs
+ package_dir=/workspace/package.nw
+ echo 'replace: wcc,wcsc linux version'
++ node /workspace/tools/parse-config.js --get-compiler-version
+ compiler_version=0.1.6
++ node /workspace/tools/parse-config.js --get-arch
+ arch=x64
+ '[' x64 == x64 ']'
+ arch=x86_64
+ mkdir -p /workspace/cache/compiler/v0.1.6
+ '[' '!' -f /workspace/cache/compiler/v0.1.6/wcc-x86_64 ']'
+ '[' '!' -f /workspace/cache/compiler/v0.1.6/wcsc-x86_64 ']'
+ '[' '!' -f /workspace/cache/compiler/v0.1.6/wcc-x86_64.node ']'
+ '[' '!' -f /workspace/cache/compiler/v0.1.6/wcsc-x86_64.node ']'
+ cp /workspace/cache/compiler/v0.1.6/wcc-x86_64 /workspace/package.nw/node_modules/wcc-exec/wcc
+ cp /workspace/cache/compiler/v0.1.6/wcsc-x86_64 /workspace/package.nw/node_modules/wcc-exec/wcsc
+ cd /workspace/package.nw/node_modules/wcc-exec
+ chmod +x wcc wcsc
+ rm -rf wcc.exe wcsc.exe
+ echo 'fix: wcc,wcsc'
+ cp /workspace/cache/compiler/v0.1.6/wcc-x86_64.node /workspace/package.nw/node_modules/wcc/build/Release
fix: wcc,wcsc
+ cd /workspace/package.nw/node_modules/wcc/build/Release
+ rm -rf wcc.node
+ mv wcc-x86_64.node wcc.node
+ cp /workspace/cache/compiler/v0.1.6/wcsc-x86_64.node /workspace/package.nw/node_modules/wcc/build/Release
+ cd /workspace/package.nw/node_modules/wcc/build/Release
+ rm -rf wcsc.node
+ mv wcsc-x86_64.node wcsc.node
+ sed -i '1s/^/window.prompt = parent.prompt;\n/' /workspace/package.nw/js/ideplugin/devtools/index.js
++ node /workspace/tools/parse-config.js --get-nwjs-version
+ nw_version=0.55.0
+ '[' x86_64 == x64 ']'
+ float_pigment_version=continuous
+ '[' '!' -f /workspace/cache/float-pigment-continuous.node ']'
+ rm /workspace/package.nw/node_modules/node-float-pigment-css/float-pigment-css-for-nodejs.node /workspace/package.nw/node_modules/node-float-pigment-css/float-pigment-css-for-nwjs.node
+ cp /workspace/cache/float-pigment-continuous.node /workspace/package.nw/node_modules/node-float-pigment-css/float-pigment-css-for-nodejs.node
+ cp /workspace/cache/float-pigment-continuous.node /workspace/package.nw/node_modules/node-float-pigment-css/float-pigment-css-for-nwjs.node
+ cd /workspace/package.nw/js/libs/vseditor/extensions/node_modules/ws/lib
+ mv WebSocket.js websocket.js
mv: cannot stat 'WebSocket.js': No such file or directory

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions