You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by Kihwal Lee <ki...@oath.com.INVALID> on 2018/05/17 15:00:04 UTC

Broken build env

Simple commit builds are failing often

https://builds.apache.org/job/Hadoop-trunk-Commit/

Many trunk builds are failing on H19.
"protoc version is 'libprotoc 2.6.1', expected version is '2.5.0' "

On H4, a cmake version problem was seen.

The commit builds don't seem to be running in a docker container (i.e.
non-yetus env), so the env is not consistent. What will it take to fix
this?

Kihwal

Re: Broken build env

Posted by Miklos Szegedi <sz...@apache.org>.
Kihwal,

This appeared recently. These fixed my build inside docker.
echo export PATH=/opt/cmake/bin:/opt/protobuf/bin:$PATH >>/etc/profile
echo export CPLUS_INCLUDE_PATH=/opt/protobuf/include >>/etc/profile
echo export C_INCLUDE_PATH=/opt/protobuf/include >>/etc/profile
echo export LIBRARY_PATH=/opt/protobuf/lib >>/etc/profile
echo export LD_LIBRARY_PATH=/opt/protobuf/lib >>/etc/profile
echo export PROTOBUF_LIBRARY >>/etc/profile
echo export PROTOBUF_INCLUDE_DIR >>/etc/profile

Thank you,
Miklos Szegedi


On Thu, May 17, 2018 at 8:00 AM, Kihwal Lee <ki...@oath.com.invalid> wrote:

> Simple commit builds are failing often
>
> https://builds.apache.org/job/Hadoop-trunk-Commit/
>
> Many trunk builds are failing on H19.
> "protoc version is 'libprotoc 2.6.1', expected version is '2.5.0' "
>
> On H4, a cmake version problem was seen.
>
> The commit builds don't seem to be running in a docker container (i.e.
> non-yetus env), so the env is not consistent. What will it take to fix
> this?
>
> Kihwal
>

Re: Broken build env

Posted by Miklos Szegedi <sz...@apache.org>.
Kihwal,

This appeared recently. These fixed my build inside docker.
echo export PATH=/opt/cmake/bin:/opt/protobuf/bin:$PATH >>/etc/profile
echo export CPLUS_INCLUDE_PATH=/opt/protobuf/include >>/etc/profile
echo export C_INCLUDE_PATH=/opt/protobuf/include >>/etc/profile
echo export LIBRARY_PATH=/opt/protobuf/lib >>/etc/profile
echo export LD_LIBRARY_PATH=/opt/protobuf/lib >>/etc/profile
echo export PROTOBUF_LIBRARY >>/etc/profile
echo export PROTOBUF_INCLUDE_DIR >>/etc/profile

Thank you,
Miklos Szegedi


On Thu, May 17, 2018 at 8:00 AM, Kihwal Lee <ki...@oath.com.invalid> wrote:

> Simple commit builds are failing often
>
> https://builds.apache.org/job/Hadoop-trunk-Commit/
>
> Many trunk builds are failing on H19.
> "protoc version is 'libprotoc 2.6.1', expected version is '2.5.0' "
>
> On H4, a cmake version problem was seen.
>
> The commit builds don't seem to be running in a docker container (i.e.
> non-yetus env), so the env is not consistent. What will it take to fix
> this?
>
> Kihwal
>

Re: Broken build env

Posted by Miklos Szegedi <sz...@apache.org>.
Kihwal,

This appeared recently. These fixed my build inside docker.
echo export PATH=/opt/cmake/bin:/opt/protobuf/bin:$PATH >>/etc/profile
echo export CPLUS_INCLUDE_PATH=/opt/protobuf/include >>/etc/profile
echo export C_INCLUDE_PATH=/opt/protobuf/include >>/etc/profile
echo export LIBRARY_PATH=/opt/protobuf/lib >>/etc/profile
echo export LD_LIBRARY_PATH=/opt/protobuf/lib >>/etc/profile
echo export PROTOBUF_LIBRARY >>/etc/profile
echo export PROTOBUF_INCLUDE_DIR >>/etc/profile

Thank you,
Miklos Szegedi


On Thu, May 17, 2018 at 8:00 AM, Kihwal Lee <ki...@oath.com.invalid> wrote:

> Simple commit builds are failing often
>
> https://builds.apache.org/job/Hadoop-trunk-Commit/
>
> Many trunk builds are failing on H19.
> "protoc version is 'libprotoc 2.6.1', expected version is '2.5.0' "
>
> On H4, a cmake version problem was seen.
>
> The commit builds don't seem to be running in a docker container (i.e.
> non-yetus env), so the env is not consistent. What will it take to fix
> this?
>
> Kihwal
>