[
https://issues.apache.org/jira/browse/BIGTOP-1462?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14149579#comment-14149579
]
Konstantin Boudnik commented on BIGTOP-1462:
--------------------------------------------
Looks like gradle build doesn't use PKG_NAME var correctly. In all cases but
spark they were identical to the NAME, hence the bug has never been discovered.
Good catch!
> Failed to build spark by gradle
> -------------------------------
>
> Key: BIGTOP-1462
> URL: https://issues.apache.org/jira/browse/BIGTOP-1462
> Project: Bigtop
> Issue Type: Bug
> Components: build
> Affects Versions: 0.8.0
> Reporter: Hu Liu,
> Priority: Blocker
>
> When I tried to build spark by gradle, I got the following error:
> {code}
> error: cannot open /data/bigtop/output/spark/spark-1.0.1-1.el6.src.rpm: No
> such file or directory
> {code}
> I have checked the output and found that bigtop wrote
> spark-core-1.0.1-1.el6.src.rpm to output dir
> {code}
> [QUIET] [system.out] Wrote:
> /data/bigtop/build/spark/rpm/SRPMS/spark-core-1.0.1-1.el6.src.rpm
> {code}
> The root cause is that packages.gradle uses spark as the name of rpm, but
> spark.spec uses spark-core
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)