[
https://issues.apache.org/jira/browse/TEZ-3886?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16328251#comment-16328251
]
Abhishek Modi commented on TEZ-3886:
------------------------------------
[~Sreenath] I think, TMPDIR=tmp issue can be fixed by
{code:java}
"build:mvn": "bash -c \"TMPDIR=tmp node/node ./node_modules/ember-cli/bin/ember
build -prod\""{code}
The main issue is being caused due to
[https://github.com/broccolijs/broccoli-funnel/issues/67]
As a workaround, when I change d3-plugins-dist/index.js, line 43 to:
{code:java}
Plugin.prototype.pathFor = function (format) {
return this.author + "/" + this.name + "/" + format + "/" +
fileNameFor(format);
};{code}
UI component starts building. I think somewhere borccolijs is merging windows
paths and linux style paths causing this issue. Will try to figure out some
possible fix. If you have any pointers, that would be great.
> Tez build fails on windows machine.
> -----------------------------------
>
> Key: TEZ-3886
> URL: https://issues.apache.org/jira/browse/TEZ-3886
> Project: Apache Tez
> Issue Type: Bug
> Environment: Operating System: Windows 10 (x64)
> Reporter: Abhishek Modi
> Priority: Major
>
> There is a build failure in tez-ui package.
> {code}
> ENOENT: no such file or directory, symlink
> 'D:\oss\tez\tez-ui\src\main\webapp\tmp\funnel-input_base_path-fYygKLht.tmp\larskotthoff\chernoff\named-amd\main.js'
> ->
> 'D:\oss\tez\tez-ui\src\main\webapp\tmp\funnel-output_path-Apj11vLl.tmp\d3-plugins-dist\larskotthoff\chernoff\named-amd\main.js'
> Error: ENOENT: no such file or directory, symlink
> 'D:\oss\tez\tez-ui\src\main\webapp\tmp\funnel-input_base_path-fYygKLht.tmp\larskotthoff\chernoff\named-amd\main.js'
> ->
> 'D:\oss\tez\tez-ui\src\main\webapp\tmp\funnel-output_path-Apj11vLl.tmp\d3-plugins-dist\larskotthoff\chernoff\named-amd\main.js'
> at Error (native)
> at Object.fs.symlinkSync (fs.js:945:18)
> at symlinkWindows
> (D:\oss\tez\tez-ui\src\main\webapp\node_modules\symlink-or-copy\index.js:120:16)
> at Function.symlinkOrCopySync [as sync]
> (D:\oss\tez\tez-ui\src\main\webapp\node_modules\symlink-or-copy\index.js:63:5)
> at Funnel._copy
> (D:\oss\tez\tez-ui\src\main\webapp\node_modules\broccoli-funnel\index.js:398:19)
> at Funnel.processFile
> (D:\oss\tez\tez-ui\src\main\webapp\node_modules\broccoli-funnel\index.js:381:8)
> at Funnel.applyPatch [as _applyPatch]
> (D:\oss\tez\tez-ui\src\main\webapp\node_modules\broccoli-funnel\index.js:298:12)
> at Funnel.<anonymous>
> (D:\oss\tez\tez-ui\src\main\webapp\node_modules\broccoli-funnel\index.js:250:10)
> at Array.forEach (native)
> at Funnel.processFilters
> (D:\oss\tez\tez-ui\src\main\webapp\node_modules\broccoli-funnel\index.js:249:9)
> {code}
> This seems to be related to
> https://github.com/broccolijs/broccoli-funnel/issues/60.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)