You are viewing a plain text version of this content. The canonical link for it is here.
Posted to builds@apache.org by "Edward J. Yoon" <ed...@apache.org> on 2014/07/24 09:28:35 UTC
Fwd: Hama Pipes build fails - fatal error: bits/c++config.h: No such
file or directory
Yes, I already saw it. Unfortunately, I have no permission to access
to the build machines.
@builds community,
Hello, this is second request. Hama nightly jobs are build fails now.
Please look at this problem and solve this!
---------- Forwarded message ----------
From: Martin Illecker <ma...@illecker.at>
Date: Thu, Jul 24, 2014 at 4:11 PM
Subject: Hama Pipes build fails - fatal error: bits/c++config.h: No
such file or directory
To: "Edward J. Yoon" <ed...@apache.org>
Hello Edward,
I've seen that the Hama Pipes build fails with
[exec] /usr/bin/c++ -g -Wall -O2 -D_REENTRANT -D_GNU_SOURCE
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -m32
-I<https://builds.apache.org/job/Hama-Nightly-for-Hadoop-1.x/ws/trunk/c++/src/main/native/utils/api>
-I<https://builds.apache.org/job/Hama-Nightly-for-Hadoop-1.x/ws/trunk/c++/src/main/native/pipes/api>
-I<https://builds.apache.org/job/Hama-Nightly-for-Hadoop-1.x/ws/trunk/c++/src>
-o CMakeFiles/DenseDoubleVector.dir/main/native/examples/impl/DenseDoubleVector.cc.o
-c <https://builds.apache.org/job/Hama-Nightly-for-Hadoop-1.x/ws/trunk/c++/src/main/native/examples/impl/DenseDoubleVector.cc>
[exec] In file included from
<https://builds.apache.org/job/Hama-Nightly-for-Hadoop-1.x/ws/trunk/c++/src/main/native/utils/api/hadoop/StringUtils.hh>:22:0,
[exec] from
<https://builds.apache.org/job/Hama-Nightly-for-Hadoop-1.x/ws/trunk/c++/src/main/native/examples/impl/DenseDoubleVector.cc>:19:
[exec] /usr/include/c++/4.8/string:38:28: fatal error:
bits/c++config.h: No such file or directory
[exec] #include <bits/c++config.h>
[exec] ^
[exec] compilation terminated.
[exec] make[2]: ***
[CMakeFiles/DenseDoubleVector.dir/main/native/examples/impl/DenseDoubleVector.cc.o]
Error 1
[exec] make[1]: *** [CMakeFiles/DenseDoubleVector.dir/all] Error 2
[exec] make: *** [all] Error 2
I believe the problem occurs because we are compiling with "-m32" and
there is some new native library path conflict.
Regarding to [1] we should change the compilation to 64 bit or install
the multilib package:
sudo apt-get install gcc-4.8-multilib g++-4.8-multilib
What do you think?
Martin
[1] http://stackoverflow.com/questions/4643197/missing-include-bits-cconfig-h-when-cross-compiling-64-bit-program-on-32-bit
--
Best Regards, Edward J. Yoon
CEO at DataSayer Co., Ltd.
Re: Hama Pipes build fails - fatal error: bits/c++config.h: No such
file or directory
Posted by Jake Farrell <jf...@apache.org>.
I've added the necessary missing packages to the list, will get them
applied to the build slaves shortly
-Jake
On Thu, Jul 24, 2014 at 3:28 AM, Edward J. Yoon <ed...@apache.org>
wrote:
> Yes, I already saw it. Unfortunately, I have no permission to access
> to the build machines.
>
> @builds community,
>
> Hello, this is second request. Hama nightly jobs are build fails now.
> Please look at this problem and solve this!
>
> ---------- Forwarded message ----------
> From: Martin Illecker <ma...@illecker.at>
> Date: Thu, Jul 24, 2014 at 4:11 PM
> Subject: Hama Pipes build fails - fatal error: bits/c++config.h: No
> such file or directory
> To: "Edward J. Yoon" <ed...@apache.org>
>
>
> Hello Edward,
>
> I've seen that the Hama Pipes build fails with
>
> [exec] /usr/bin/c++ -g -Wall -O2 -D_REENTRANT -D_GNU_SOURCE
> -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -m32
> -I<
> https://builds.apache.org/job/Hama-Nightly-for-Hadoop-1.x/ws/trunk/c++/src/main/native/utils/api
> >
> -I<
> https://builds.apache.org/job/Hama-Nightly-for-Hadoop-1.x/ws/trunk/c++/src/main/native/pipes/api
> >
> -I<
> https://builds.apache.org/job/Hama-Nightly-for-Hadoop-1.x/ws/trunk/c++/src
> >
> -o
> CMakeFiles/DenseDoubleVector.dir/main/native/examples/impl/DenseDoubleVector.cc.o
> -c <
> https://builds.apache.org/job/Hama-Nightly-for-Hadoop-1.x/ws/trunk/c++/src/main/native/examples/impl/DenseDoubleVector.cc
> >
> [exec] In file included from
> <
> https://builds.apache.org/job/Hama-Nightly-for-Hadoop-1.x/ws/trunk/c++/src/main/native/utils/api/hadoop/StringUtils.hh
> >:22:0,
> [exec] from
> <
> https://builds.apache.org/job/Hama-Nightly-for-Hadoop-1.x/ws/trunk/c++/src/main/native/examples/impl/DenseDoubleVector.cc
> >:19:
> [exec] /usr/include/c++/4.8/string:38:28: fatal error:
> bits/c++config.h: No such file or directory
> [exec] #include <bits/c++config.h>
> [exec] ^
> [exec] compilation terminated.
> [exec] make[2]: ***
>
> [CMakeFiles/DenseDoubleVector.dir/main/native/examples/impl/DenseDoubleVector.cc.o]
> Error 1
> [exec] make[1]: *** [CMakeFiles/DenseDoubleVector.dir/all] Error 2
> [exec] make: *** [all] Error 2
>
> I believe the problem occurs because we are compiling with "-m32" and
> there is some new native library path conflict.
> Regarding to [1] we should change the compilation to 64 bit or install
> the multilib package:
>
> sudo apt-get install gcc-4.8-multilib g++-4.8-multilib
>
> What do you think?
>
> Martin
>
> [1]
> http://stackoverflow.com/questions/4643197/missing-include-bits-cconfig-h-when-cross-compiling-64-bit-program-on-32-bit
>
>
>
>
> --
> Best Regards, Edward J. Yoon
> CEO at DataSayer Co., Ltd.
>