You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@bigtop.apache.org by "Konstantin Boudnik (JIRA)" <ji...@apache.org> on 2013/09/19 22:07:51 UTC
[jira] [Comment Edited] (BIGTOP-1081) spark build fails
[ https://issues.apache.org/jira/browse/BIGTOP-1081?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13772231#comment-13772231 ]
Konstantin Boudnik edited comment on BIGTOP-1081 at 9/19/13 8:06 PM:
---------------------------------------------------------------------
How I can pass in the location of the component built under {{output/}} directory? Essentially the whole fix is
{noformat}
diff --git bigtop-packages/src/deb/spark/rules bigtop-packages/src/deb/spark/rules
index 8957eb1..91a2c5a 100644
--- bigtop-packages/src/deb/spark/rules
+++ bigtop-packages/src/deb/spark/rules
@@ -48,6 +48,7 @@ install-indep:
sh -x debian/install_spark.sh \
--build-dir=`pwd` \
--doc-dir=/usr/share/doc/spark \
+ --source-dir=blah_blah
--prefix=debian/spark
dh_install -i
(dh_lintian) || /bin/true
{noformat}
was (Author: cos):
How I can pass in the location of the component built under {{output/}} directory?
> spark build fails
> -----------------
>
> Key: BIGTOP-1081
> URL: https://issues.apache.org/jira/browse/BIGTOP-1081
> Project: Bigtop
> Issue Type: Bug
> Components: General
> Affects Versions: 0.7.0
> Reporter: Roman Shaposhnik
> Assignee: Konstantin Boudnik
> Fix For: 0.7.0
>
>
> Here's what I see when I try to build it on Ubuntu 12.03 LTS:
> {noformat}
> $ export SCALA_HOME=/opt/scala-2.10.2
> $ make spark-deb
> .....
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD SUCCESS
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 15:19:45.772s
> [INFO] Finished at: Thu Sep 19 08:38:33 PDT 2013
> [INFO] Final Memory: 51M/1187M
> [INFO] ------------------------------------------------------------------------
> mkdir -p debian/tmp
> touch build-indep-stamp
> dh_testdir
> dh_testroot
> sh -x debian/install_spark.sh \
> --build-dir=`pwd` \
> --doc-dir=/usr/share/doc/spark \
> --prefix=debian/spark
> + set -e
> + getopt -n debian/install_spark.sh -o -l prefix: -l doc-dir: -l lib-dir: -l installed-lib-dir: -l bin-dir: -l source-dir: -l examples-dir: -l build-dir: -- --build-dir=/home/src/bigtop/output/spark/spark-0.8.0 --doc-dir=/usr/share/doc/spark --prefix=debian/spark
> + OPTS= --build-dir '/home/src/bigtop/output/spark/spark-0.8.0' --doc-dir '/usr/share/doc/spark' --prefix 'debian/spark' --
> + [ 0 != 0 ]
> + eval set -- --build-dir '/home/src/bigtop/output/spark/spark-0.8.0' --doc-dir '/usr/share/doc/spark' --prefix 'debian/spark' --
> + set -- --build-dir /home/src/bigtop/output/spark/spark-0.8.0 --doc-dir /usr/share/doc/spark --prefix debian/spark --
> + true
> + BUILD_DIR=/home/src/bigtop/output/spark/spark-0.8.0
> + shift 2
> + true
> + DOC_DIR=/usr/share/doc/spark
> + shift 2
> + true
> + PREFIX=debian/spark
> + shift 2
> + true
> + shift
> + break
> + eval echo $PREFIX
> + echo debian/spark
> + [ -z debian/spark ]
> + eval echo $BUILD_DIR
> + echo /home/src/bigtop/output/spark/spark-0.8.0
> + [ -z /home/src/bigtop/output/spark/spark-0.8.0 ]
> + eval echo $SOURCE_DIR
> + echo
> + [ -z ]
> + echo Missing param: SOURCE_DIR
> Missing param: SOURCE_DIR
> + usage
> + echo
> usage: debian/install_spark.sh <options>
> Required not-so-options:
> --build-dir=DIR path to dist.dir
> --source-dir=DIR path to package shared files dir
> --prefix=PREFIX path to install into
> Optional options:
> --doc-dir=DIR path to install docs into [/usr/share/doc/spark]
> --lib-dir=DIR path to install Spark home [/usr/lib/spark]
> --installed-lib-dir=DIR path where lib-dir will end up on target system
> --bin-dir=DIR path to install bins [/usr/bin]
> --examples-dir=DIR path to install examples [doc-dir/examples]
> ... [ see source for more similar options ]
>
> usage: debian/install_spark.sh <options>
> Required not-so-options:
> --build-dir=DIR path to dist.dir
> --source-dir=DIR path to package shared files dir
> --prefix=PREFIX path to install into
> Optional options:
> --doc-dir=DIR path to install docs into [/usr/share/doc/spark]
> --lib-dir=DIR path to install Spark home [/usr/lib/spark]
> --installed-lib-dir=DIR path where lib-dir will end up on target system
> --bin-dir=DIR path to install bins [/usr/bin]
> --examples-dir=DIR path to install examples [doc-dir/examples]
> ... [ see source for more similar options ]
>
> + exit 1
> {noformat}
> So it seems that the build part goes fine, but the install one somehow fails.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira