[jira] [Assigned] (SPARK-40739) "sbt packageBin" fails in cygwin or other windows bash session

2022-10-24 Thread Sean R. Owen (Jira)


 [ 
https://issues.apache.org/jira/browse/SPARK-40739?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sean R. Owen reassigned SPARK-40739:


Assignee: Phil Walker

> "sbt packageBin" fails in cygwin or other windows bash session
> --
>
> Key: SPARK-40739
> URL: https://issues.apache.org/jira/browse/SPARK-40739
> Project: Spark
>  Issue Type: Bug
>  Components: Build, Windows
>Affects Versions: 3.3.0
> Environment: The problem occurs in Windows if *_sbt_* is started from 
> a (non-WSL) bash session.
> See the spark PR link for detailed symptoms.
>Reporter: Phil Walker
>Assignee: Phil Walker
>Priority: Minor
>  Labels: bash, cygwin, mingw, msys2,, windows
>   Original Estimate: 0h
>  Remaining Estimate: 0h
>
>  In a Windows _*SHELL*_ environment, such as _*cygwin*_ or 
> {_}*msys2/mingw64*{_}, etc,  _*Core.settings*_ in 
> _*project/SparkBuild.scala*_ calls the wrong _*bash.exe*_ if WSL bash is 
> present (typically at {_}*C:\Windows*{_}), causing a build failure.  This 
> occurs even though the proper *bash.exe* is in the _*PATH*_ ahead of _*WSL*_ 
> bash.exe.
> This is fixed by [spark PR 38228|https://github.com/apache/spark/pull/38167]
> There are 3 parts to the fix, implemented in _*project/SparkBuild.scala*_ :
>  * determine the absolute path of the first bash.exe in the command line. 
>  * determine the build environment (e.g., Linux, Darwin, CYGWIN, MSYS2, etc.)
>  * For Windows SHELL environments, the first argument to the spawned Process 
> is changed from "bash" to the absolute path.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

-
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org



[jira] [Assigned] (SPARK-40739) "sbt packageBin" fails in cygwin or other windows bash session

2022-10-10 Thread Apache Spark (Jira)


 [ 
https://issues.apache.org/jira/browse/SPARK-40739?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Apache Spark reassigned SPARK-40739:


Assignee: (was: Apache Spark)

> "sbt packageBin" fails in cygwin or other windows bash session
> --
>
> Key: SPARK-40739
> URL: https://issues.apache.org/jira/browse/SPARK-40739
> Project: Spark
>  Issue Type: Bug
>  Components: Build, Windows
>Affects Versions: 3.3.0
> Environment: The problem occurs in Windows if *_sbt_* is started from 
> a (non-WSL) bash session.
> See the spark PR link for detailed symptoms.
>Reporter: Phil Walker
>Priority: Major
>  Labels: bash, cygwin, mingw, msys2,, windows
>   Original Estimate: 0h
>  Remaining Estimate: 0h
>
>  In a Windows _*SHELL*_ environment, such as _*cygwin*_ or 
> {_}*msys2/mingw64*{_}, etc,  _*Core.settings*_ in 
> _*project/SparkBuild.scala*_ calls the wrong _*bash.exe*_ if WSL bash is 
> present (typically at {_}*C:\Windows*{_}), causing a build failure.  This 
> occurs even though the proper *bash.exe* is in the _*PATH*_ ahead of _*WSL*_ 
> bash.exe.
> This is fixed by [spark PR 38167|https://github.com/apache/spark/pull/38167]
> There are 3 parts to the fix, implemented in _*project/SparkBuild.scala*_ :
>  * determine the absolute path of the first bash.exe in the command line. 
>  * determine the build environment (e.g., Linux, Darwin, CYGWIN, MSYS2, etc.)
>  * For Windows SHELL environments, the first argument to the spawned Process 
> is changed from "bash" to the absolute path.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

-
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org



[jira] [Assigned] (SPARK-40739) "sbt packageBin" fails in cygwin or other windows bash session

2022-10-10 Thread Apache Spark (Jira)


 [ 
https://issues.apache.org/jira/browse/SPARK-40739?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Apache Spark reassigned SPARK-40739:


Assignee: Apache Spark

> "sbt packageBin" fails in cygwin or other windows bash session
> --
>
> Key: SPARK-40739
> URL: https://issues.apache.org/jira/browse/SPARK-40739
> Project: Spark
>  Issue Type: Bug
>  Components: Build, Windows
>Affects Versions: 3.3.0
> Environment: The problem occurs in Windows if *_sbt_* is started from 
> a (non-WSL) bash session.
> See the spark PR link for detailed symptoms.
>Reporter: Phil Walker
>Assignee: Apache Spark
>Priority: Major
>  Labels: bash, cygwin, mingw, msys2,, windows
>   Original Estimate: 0h
>  Remaining Estimate: 0h
>
>  In a Windows _*SHELL*_ environment, such as _*cygwin*_ or 
> {_}*msys2/mingw64*{_}, etc,  _*Core.settings*_ in 
> _*project/SparkBuild.scala*_ calls the wrong _*bash.exe*_ if WSL bash is 
> present (typically at {_}*C:\Windows*{_}), causing a build failure.  This 
> occurs even though the proper *bash.exe* is in the _*PATH*_ ahead of _*WSL*_ 
> bash.exe.
> This is fixed by [spark PR 38167|https://github.com/apache/spark/pull/38167]
> There are 3 parts to the fix, implemented in _*project/SparkBuild.scala*_ :
>  * determine the absolute path of the first bash.exe in the command line. 
>  * determine the build environment (e.g., Linux, Darwin, CYGWIN, MSYS2, etc.)
>  * For Windows SHELL environments, the first argument to the spawned Process 
> is changed from "bash" to the absolute path.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

-
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org