trafodion-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Owhadi <eric.owh...@esgyn.com>
Subject RE: build error on new build machine
Date Wed, 02 Dec 2015 21:24:15 GMT
Look like I was not on the right directory level, sorry my bad...
Eric

-----Original Message-----
From: Dave Birdsall [mailto:dave.birdsall@esgyn.com]
Sent: Wednesday, December 2, 2015 3:10 PM
To: dev@trafodion.incubator.apache.org
Subject: RE: build error on new build machine

I had problems too, though different ones.

I did a make package-all; this failed complaining of dependencies in a mvn
step.

I later did just a make all and that succeeded.

I then did an install_local_hadoop. And install_traf_components. And
followed that with a make package-all. Then it worked.

Dave

-----Original Message-----
From: Eric Owhadi [mailto:eric.owhadi@esgyn.com]
Sent: Wednesday, December 2, 2015 1:09 PM
To: dev@trafodion.incubator.apache.org
Subject: build error on new build machine

Hello,I am setting up a new build machine, follwowed the instruction in
apache wiki, but I am getting a build error:

> make all
cd sqevlog; make 2>&1 | sed -e "s/$/    ##(SQF)/" ; exit ${PIPESTATUS[0]}
cd hbase_utilities; make 2>&1 | sed -e "s/$/  ##(HBASE_UTIL)/" ; exit
${PIPESTATUS[0]} Building Apache Trafodion Version 2.0.0 debug
make[1]: Entering directory
`/mnt/owhadi/workspace/trafodion/incubator-trafodion/core/sqf/sqevlog'
##(SQF)
cd sq_evl_libs; make    ##(SQF)

make[2]: Entering directory
`/mnt/owhadi/workspace/trafodion/incubator-trafodion/core/sqf/sqevlog/sq_evl_libs'
##(SQF)
cd sq_evl_lib; make    ##(SQF)
make[1]: Entering directory
`/mnt/owhadi/workspace/trafodion/incubator-trafodion/core/sqf/hbase_utilities'
##(HBASE_UTIL)
make mavenbuild  ##(HBASE_UTIL)
make[2]: Entering directory
`/mnt/owhadi/workspace/trafodion/incubator-trafodion/core/sqf/hbase_utilities'
##(HBASE_UTIL)
mkdir -p src/main/resources  ##(HBASE_UTIL)
/mnt/owhadi/workspace/trafodion/incubator-trafodion/core/sqf/export/include/SCMBuildJava.sh
1.0.1 > src/main/resources/trafodion-utility.jar.mf  ##(HBASE_UTIL) set -o
pipefail && mvn package -DskipTests | tee maven_build.log | grep -e
'\[INFO\] Building' -e '\[INFO\] BUILD SUCCESS' -e 'ERROR'  ##(HBASE_UTIL)
make[3]: Entering directory
`/mnt/owhadi/workspace/trafodion/incubator-trafodion/core/sqf/sqevlog/sq_evl_libs/sq_evl_lib'
##(SQF)
/usr/bin/g++  -DSQ_PHANDLE_VERIFIER
-Wp,-MD,Linux-x86_64/64/dbg/depend/evl_sqlog_writer_ms.c.dep
-Wp,-MT,Linux-x86_64/64/dbg/evl_sqlog_writer_ms.o -m64 -g   -Werror
-Wextra  -Wno-long-long -fPIC
-I/mnt/owhadi/workspace/trafodion/incubator-trafodion/core/sqf/export/include
-c -o Linux-x86_64/64/dbg/evl_sqlog_writer_ms.o evl_sqlog_writer_ms.c
##(SQF)
/usr/bin/g++  -DSQ_PHANDLE_VERIFIER
-Wp,-MD,Linux-x86_64/64/dbg/depend/evl_sqlog_writer.c.dep
-Wp,-MT,Linux-x86_64/64/dbg/evl_sqlog_writer.o -m64 -g   -Werror  -Wextra
-Wno-long-long -fPIC
-I/mnt/owhadi/workspace/trafodion/incubator-trafodion/core/sqf/export/include
-c -o Linux-x86_64/64/dbg/evl_sqlog_writer.o evl_sqlog_writer.c    ##(SQF)
/usr/bin/g++  -DSQ_PHANDLE_VERIFIER
-Wp,-MD,Linux-x86_64/64/dbg/depend/vers_sq_evl_lib.cpp.dep
-Wp,-MT,Linux-x86_64/64/dbg/vers_sq_evl_lib.o -m64 -g   -Werror  -Wextra
-Wno-long-long -fPIC
-I/mnt/owhadi/workspace/trafodion/incubator-trafodion/core/sqf/export/include
-c -o Linux-x86_64/64/dbg/vers_sq_evl_lib.o vers_sq_evl_lib.cpp    ##(SQF)
cd build-scripts && ./genverhdr.ksh -major "2" \
                                        -minor "0" \
                                        -update "0" \
                                        -build "owhadi" \
                                        -flavor "debug" \
                                        -funbranch
"ebe876d_dh_predicatePushdownV2" \
                                        -branch
"ebe876d-predicatePushdownV2" \
                                        -date "02Dec15"
In file included from vers_sq_evl_lib.cpp:22:    ##(SQF)
/mnt/owhadi/workspace/trafodion/incubator-trafodion/core/sqf/export/include/SCMVersHelp.h:35:25:
error: SCMBuildStr.h: No such file or directory    ##(SQF)
vers_sq_evl_lib.cpp: In function ‘void
VERS_sq_evl_lib_CV1_0_1_PVVERS_PV_MAJ_VERS_PV_MIN_VERS_PV_UPD_VERS_PRODVER_BVVERS_BV_BRVERS_BR2_DTVERS_DT_SVVERS_SCMBV2()’:
##(SQF)
vers_sq_evl_lib.cpp:29: error: ‘SCMBuildStr’ was not declared in this
scope    ##(SQF)
vers_sq_evl_lib.cpp: In function ‘void sq_evl_lib_get_prod_vers(int*, int*,
int*)’:    ##(SQF)
vers_sq_evl_lib.cpp:29: error: ‘VERS_PV_MAJ’ was not declared in this
scope    ##(SQF)
vers_sq_evl_lib.cpp:29: error: ‘VERS_PV_MIN’ was not declared in this
scope    ##(SQF)
vers_sq_evl_lib.cpp:29: error: ‘VERS_PV_UPD’ was not declared in this
scope    ##(SQF)
make[3]: *** [Linux-x86_64/64/dbg/vers_sq_evl_lib.o] Error 1    ##(SQF)
make[3]: *** Waiting for unfinished jobs....    ##(SQF)
Creating file ../export/include/SCMBuildStr.h Creating file
../export/include/SCMBuildMan.mf Creating file
../export/include/SCMBuildJava.sh
make[3]: Leaving directory
`/mnt/owhadi/workspace/trafodion/incubator-trafodion/core/sqf/sqevlog/sq_evl_libs/sq_evl_lib'
##(SQF)
make[2]: *** [all] Error 2    ##(SQF)
make[2]: Leaving directory
`/mnt/owhadi/workspace/trafodion/incubator-trafodion/core/sqf/sqevlog/sq_evl_libs'
##(SQF)
make[1]: *** [all] Error 2    ##(SQF)
make[1]: Leaving directory
`/mnt/owhadi/workspace/trafodion/incubator-trafodion/core/sqf/sqevlog'
##(SQF)
make: *** [make_sqevlog] Error 2
make: *** Waiting for unfinished jobs....
[INFO] Building trafodion-utility 2.0.0  ##(HBASE_UTIL) [INFO] Building jar:
/mnt/owhadi/workspace/trafodion/incubator-trafodion/core/sqf/hbase_utilities/target/trafodion-utility-2.0.0.jar
##(HBASE_UTIL)
[INFO] BUILD SUCCESS  ##(HBASE_UTIL)
cp -pf target/trafodion-utility-*.jar
/mnt/owhadi/workspace/trafodion/incubator-trafodion/core/sqf/export/lib
##(HBASE_UTIL)
make[2]: Leaving directory
`/mnt/owhadi/workspace/trafodion/incubator-trafodion/core/sqf/hbase_utilities'
##(HBASE_UTIL)
echo "mvn site package -DskipTests"  ##(HBASE_UTIL) mvn site
package -DskipTests  ##(HBASE_UTIL) echo "### For full Maven output, see
file build_utility.log"  ##(HBASE_UTIL) ### For full Maven output, see file
build_utility.log  ##(HBASE_UTIL)
make[1]: Leaving directory
`/mnt/owhadi/workspace/trafodion/incubator-trafodion/core/sqf/hbase_utilities'
##(HBASE_UTIL)

Am I missing a step?
Thanks in advance for th ehelp,
Eric Owhadi

Mime
View raw message