You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@trafodion.apache.org by Dave Birdsall <da...@esgyn.com> on 2018/02/27 19:38:58 UTC

Make failure in latest Trafodion, uuid.h missing

Hi,

I just brought one of my Trafodion instances up-to-date and did a clean build. The build failed with the following errors:

[birdsall@edev08 trafodion]$ grep ": err" make.out
../exp/exp_function.cpp:53:23: error: uuid/uuid.h: No such file or directory          ##(SQL)
../exp/exp_function.cpp:6812: error: 'uuid_t' was not declared in this scope         ##(SQL)
../exp/exp_function.cpp:6812: error: expected ';' before 'uu'      ##(SQL)
../exp/exp_function.cpp:6813: error: 'uu' was not declared in this scope ##(SQL)
../exp/exp_function.cpp:6813: error: 'uuid_generate' was not declared in this scope         ##(SQL)
../exp/exp_function.cpp:6814: error: 'uuid_unparse' was not declared in this scope          ##(SQL)
cc1plus: error: unrecognized command line option "-Wno-conversion-null"           ##(SQL)
[birdsall@edev08 trafodion]$

Looking at exp/exp_function.cpp, this file now contains the following statement:

#include <uuid/uuid.h>

I looked around in the /usr/include directory on my workstation for the file uuid.h. I found it in /usr/include/linux. So I tried changing the include to the following:

#include <linux/uuid.h>

Now I get a different set of build errors:

[birdsall@edev08 trafodion]$ grep ": err" make.out
../exp/exp_function.cpp:6812: error: 'uuid_t' was not declared in this scope         ##(SQL)
../exp/exp_function.cpp:6812: error: expected ';' before 'uu'      ##(SQL)
../exp/exp_function.cpp:6813: error: 'uu' was not declared in this scope ##(SQL)
../exp/exp_function.cpp:6813: error: 'uuid_generate' was not declared in this scope         ##(SQL)
../exp/exp_function.cpp:6814: error: 'uuid_unparse' was not declared in this scope          ##(SQL)
cc1plus: error: unrecognized command line option "-Wno-conversion-null"           ##(SQL)
[birdsall@edev08 trafodion]$

So, I am guessing something needs to be updated or reconfigured in the Trafodion build environment. Or at least there is a new dependency that needs to be taken into account.

Can anyone suggest what must be done to get a clean build?

Thanks,

Dave

PS - The Jenkins machines seem to have the right configuration as builds aren't failing there...



RE: Make failure in latest Trafodion, uuid.h missing

Posted by Dave Birdsall <da...@esgyn.com>.
Hi,

Thanks, Ming. No need to be sorry... It's a good thing that we have the new UUID function.

Dave

-----Original Message-----
From: Ming Liu [mailto:liuming@apache.org] 
Sent: Tuesday, February 27, 2018 6:00 PM
To: dev@trafodion.apache.org
Subject: Re: Make failure in latest Trafodion, uuid.h missing

Sorry that I added uuid dependency. Let me make sure the wiki is updated with this.

Thanks
Ming

答复: Make failure in latest Trafodion, uuid.h missing

Posted by "Wang, Xiao-Zhong" <xi...@esgyn.cn>.
Add update the script traf_checkset_env.sh too.
It's in the install directory.

北京易鲸捷信息技术有限公司
地址:北京市朝阳区北辰东路8号汇宾大厦A座1302室
手机:18513493336
邮箱:xiaozhong.wang@esgyn.cn

-----邮件原件-----
发件人: Ming Liu [mailto:liuming@apache.org] 
发送时间: 2018年2月28日 10:00
收件人: dev@trafodion.apache.org
主题: Re: Make failure in latest Trafodion, uuid.h missing

Sorry that I added uuid dependency. Let me make sure the wiki is updated with this.

Thanks
Ming

Re: Make failure in latest Trafodion, uuid.h missing

Posted by Ming Liu <li...@apache.org>.
Sorry that I added uuid dependency. Let me make sure the wiki is updated with this.

Thanks
Ming

RE: Make failure in latest Trafodion, uuid.h missing

Posted by Dave Birdsall <da...@esgyn.com>.
That worked! Thank you, Hans.

-----Original Message-----
From: Hans Zeller [mailto:hans.zeller@esgyn.com] 
Sent: Tuesday, February 27, 2018 12:10 PM
To: dev@trafodion.apache.org
Subject: RE: Make failure in latest Trafodion, uuid.h missing

Hi, just installed libuuid-devel on edev08. This should bring it in line with the other edev machines. The others do not have uuid-c++ and uuid-c++-devel installed, so I didn't do that on edev08, either.

Can you try again?

Hans

-----Original Message-----
From: Dave Birdsall [mailto:dave.birdsall@esgyn.com] 
Sent: Tuesday, February 27, 2018 12:00 PM
To: dev@trafodion.apache.org
Subject: RE: Make failure in latest Trafodion, uuid.h missing

Thank you. Will try that.

Should the dependencies on the wiki be updated? See https://cwiki.apache.org/confluence/display/TRAFODION/Create+Build+Environment

Dave

-----Original Message-----
From: Wang, Xiao-Zhong [mailto:xiaozhong.wang@esgyn.cn] 
Sent: Tuesday, February 27, 2018 11:49 AM
To: dev@trafodion.apache.org
Subject: 答复: Make failure in latest Trafodion, uuid.h missing

I think you need to install uuid.
You can execute the command as following:
yum install libuuid.x86_64 uuid.x86_64 uuid-c++.x86_64 uuid-c++-devel.x86_64

北京易鲸捷信息技术有限公司
地址:北京市朝阳区北辰东路8号汇宾大厦A座1302室
手机:18513493336
邮箱:xiaozhong.wang@esgyn.cn

-----邮件原件-----
发件人: Dave Birdsall [mailto:dave.birdsall@esgyn.com] 
发送时间: 2018年2月28日 3:39
收件人: dev@trafodion.apache.org
主题: Make failure in latest Trafodion, uuid.h missing

Hi,

I just brought one of my Trafodion instances up-to-date and did a clean build. The build failed with the following errors:

[birdsall@edev08 trafodion]$ grep ": err" make.out
../exp/exp_function.cpp:53:23: error: uuid/uuid.h: No such file or directory          ##(SQL)
../exp/exp_function.cpp:6812: error: 'uuid_t' was not declared in this scope         ##(SQL)
../exp/exp_function.cpp:6812: error: expected ';' before 'uu'      ##(SQL)
../exp/exp_function.cpp:6813: error: 'uu' was not declared in this scope ##(SQL)
../exp/exp_function.cpp:6813: error: 'uuid_generate' was not declared in this scope         ##(SQL)
../exp/exp_function.cpp:6814: error: 'uuid_unparse' was not declared in this scope          ##(SQL)
cc1plus: error: unrecognized command line option "-Wno-conversion-null"           ##(SQL)
[birdsall@edev08 trafodion]$

Looking at exp/exp_function.cpp, this file now contains the following statement:

#include <uuid/uuid.h>

I looked around in the /usr/include directory on my workstation for the file uuid.h. I found it in /usr/include/linux. So I tried changing the include to the following:

#include <linux/uuid.h>

Now I get a different set of build errors:

[birdsall@edev08 trafodion]$ grep ": err" make.out
../exp/exp_function.cpp:6812: error: 'uuid_t' was not declared in this scope         ##(SQL)
../exp/exp_function.cpp:6812: error: expected ';' before 'uu'      ##(SQL)
../exp/exp_function.cpp:6813: error: 'uu' was not declared in this scope ##(SQL)
../exp/exp_function.cpp:6813: error: 'uuid_generate' was not declared in this scope         ##(SQL)
../exp/exp_function.cpp:6814: error: 'uuid_unparse' was not declared in this scope          ##(SQL)
cc1plus: error: unrecognized command line option "-Wno-conversion-null"           ##(SQL)
[birdsall@edev08 trafodion]$

So, I am guessing something needs to be updated or reconfigured in the Trafodion build environment. Or at least there is a new dependency that needs to be taken into account.

Can anyone suggest what must be done to get a clean build?

Thanks,

Dave

PS - The Jenkins machines seem to have the right configuration as builds aren't failing there...



RE: Make failure in latest Trafodion, uuid.h missing

Posted by Hans Zeller <ha...@esgyn.com>.
Hi, just installed libuuid-devel on edev08. This should bring it in line with the other edev machines. The others do not have uuid-c++ and uuid-c++-devel installed, so I didn't do that on edev08, either.

Can you try again?

Hans

-----Original Message-----
From: Dave Birdsall [mailto:dave.birdsall@esgyn.com] 
Sent: Tuesday, February 27, 2018 12:00 PM
To: dev@trafodion.apache.org
Subject: RE: Make failure in latest Trafodion, uuid.h missing

Thank you. Will try that.

Should the dependencies on the wiki be updated? See https://cwiki.apache.org/confluence/display/TRAFODION/Create+Build+Environment

Dave

-----Original Message-----
From: Wang, Xiao-Zhong [mailto:xiaozhong.wang@esgyn.cn] 
Sent: Tuesday, February 27, 2018 11:49 AM
To: dev@trafodion.apache.org
Subject: 答复: Make failure in latest Trafodion, uuid.h missing

I think you need to install uuid.
You can execute the command as following:
yum install libuuid.x86_64 uuid.x86_64 uuid-c++.x86_64 uuid-c++-devel.x86_64

北京易鲸捷信息技术有限公司
地址:北京市朝阳区北辰东路8号汇宾大厦A座1302室
手机:18513493336
邮箱:xiaozhong.wang@esgyn.cn

-----邮件原件-----
发件人: Dave Birdsall [mailto:dave.birdsall@esgyn.com] 
发送时间: 2018年2月28日 3:39
收件人: dev@trafodion.apache.org
主题: Make failure in latest Trafodion, uuid.h missing

Hi,

I just brought one of my Trafodion instances up-to-date and did a clean build. The build failed with the following errors:

[birdsall@edev08 trafodion]$ grep ": err" make.out
../exp/exp_function.cpp:53:23: error: uuid/uuid.h: No such file or directory          ##(SQL)
../exp/exp_function.cpp:6812: error: 'uuid_t' was not declared in this scope         ##(SQL)
../exp/exp_function.cpp:6812: error: expected ';' before 'uu'      ##(SQL)
../exp/exp_function.cpp:6813: error: 'uu' was not declared in this scope ##(SQL)
../exp/exp_function.cpp:6813: error: 'uuid_generate' was not declared in this scope         ##(SQL)
../exp/exp_function.cpp:6814: error: 'uuid_unparse' was not declared in this scope          ##(SQL)
cc1plus: error: unrecognized command line option "-Wno-conversion-null"           ##(SQL)
[birdsall@edev08 trafodion]$

Looking at exp/exp_function.cpp, this file now contains the following statement:

#include <uuid/uuid.h>

I looked around in the /usr/include directory on my workstation for the file uuid.h. I found it in /usr/include/linux. So I tried changing the include to the following:

#include <linux/uuid.h>

Now I get a different set of build errors:

[birdsall@edev08 trafodion]$ grep ": err" make.out
../exp/exp_function.cpp:6812: error: 'uuid_t' was not declared in this scope         ##(SQL)
../exp/exp_function.cpp:6812: error: expected ';' before 'uu'      ##(SQL)
../exp/exp_function.cpp:6813: error: 'uu' was not declared in this scope ##(SQL)
../exp/exp_function.cpp:6813: error: 'uuid_generate' was not declared in this scope         ##(SQL)
../exp/exp_function.cpp:6814: error: 'uuid_unparse' was not declared in this scope          ##(SQL)
cc1plus: error: unrecognized command line option "-Wno-conversion-null"           ##(SQL)
[birdsall@edev08 trafodion]$

So, I am guessing something needs to be updated or reconfigured in the Trafodion build environment. Or at least there is a new dependency that needs to be taken into account.

Can anyone suggest what must be done to get a clean build?

Thanks,

Dave

PS - The Jenkins machines seem to have the right configuration as builds aren't failing there...



RE: Make failure in latest Trafodion, uuid.h missing

Posted by Dave Birdsall <da...@esgyn.com>.
Thank you. Will try that.

Should the dependencies on the wiki be updated? See https://cwiki.apache.org/confluence/display/TRAFODION/Create+Build+Environment

Dave

-----Original Message-----
From: Wang, Xiao-Zhong [mailto:xiaozhong.wang@esgyn.cn] 
Sent: Tuesday, February 27, 2018 11:49 AM
To: dev@trafodion.apache.org
Subject: 答复: Make failure in latest Trafodion, uuid.h missing

I think you need to install uuid.
You can execute the command as following:
yum install libuuid.x86_64 uuid.x86_64 uuid-c++.x86_64 uuid-c++-devel.x86_64

北京易鲸捷信息技术有限公司
地址:北京市朝阳区北辰东路8号汇宾大厦A座1302室
手机:18513493336
邮箱:xiaozhong.wang@esgyn.cn

-----邮件原件-----
发件人: Dave Birdsall [mailto:dave.birdsall@esgyn.com] 
发送时间: 2018年2月28日 3:39
收件人: dev@trafodion.apache.org
主题: Make failure in latest Trafodion, uuid.h missing

Hi,

I just brought one of my Trafodion instances up-to-date and did a clean build. The build failed with the following errors:

[birdsall@edev08 trafodion]$ grep ": err" make.out
../exp/exp_function.cpp:53:23: error: uuid/uuid.h: No such file or directory          ##(SQL)
../exp/exp_function.cpp:6812: error: 'uuid_t' was not declared in this scope         ##(SQL)
../exp/exp_function.cpp:6812: error: expected ';' before 'uu'      ##(SQL)
../exp/exp_function.cpp:6813: error: 'uu' was not declared in this scope ##(SQL)
../exp/exp_function.cpp:6813: error: 'uuid_generate' was not declared in this scope         ##(SQL)
../exp/exp_function.cpp:6814: error: 'uuid_unparse' was not declared in this scope          ##(SQL)
cc1plus: error: unrecognized command line option "-Wno-conversion-null"           ##(SQL)
[birdsall@edev08 trafodion]$

Looking at exp/exp_function.cpp, this file now contains the following statement:

#include <uuid/uuid.h>

I looked around in the /usr/include directory on my workstation for the file uuid.h. I found it in /usr/include/linux. So I tried changing the include to the following:

#include <linux/uuid.h>

Now I get a different set of build errors:

[birdsall@edev08 trafodion]$ grep ": err" make.out
../exp/exp_function.cpp:6812: error: 'uuid_t' was not declared in this scope         ##(SQL)
../exp/exp_function.cpp:6812: error: expected ';' before 'uu'      ##(SQL)
../exp/exp_function.cpp:6813: error: 'uu' was not declared in this scope ##(SQL)
../exp/exp_function.cpp:6813: error: 'uuid_generate' was not declared in this scope         ##(SQL)
../exp/exp_function.cpp:6814: error: 'uuid_unparse' was not declared in this scope          ##(SQL)
cc1plus: error: unrecognized command line option "-Wno-conversion-null"           ##(SQL)
[birdsall@edev08 trafodion]$

So, I am guessing something needs to be updated or reconfigured in the Trafodion build environment. Or at least there is a new dependency that needs to be taken into account.

Can anyone suggest what must be done to get a clean build?

Thanks,

Dave

PS - The Jenkins machines seem to have the right configuration as builds aren't failing there...



答复: Make failure in latest Trafodion, uuid.h missing

Posted by "Wang, Xiao-Zhong" <xi...@esgyn.cn>.
I think you need to install uuid.
You can execute the command as following:
yum install libuuid.x86_64 uuid.x86_64 uuid-c++.x86_64 uuid-c++-devel.x86_64

北京易鲸捷信息技术有限公司
地址:北京市朝阳区北辰东路8号汇宾大厦A座1302室
手机:18513493336
邮箱:xiaozhong.wang@esgyn.cn

-----邮件原件-----
发件人: Dave Birdsall [mailto:dave.birdsall@esgyn.com] 
发送时间: 2018年2月28日 3:39
收件人: dev@trafodion.apache.org
主题: Make failure in latest Trafodion, uuid.h missing

Hi,

I just brought one of my Trafodion instances up-to-date and did a clean build. The build failed with the following errors:

[birdsall@edev08 trafodion]$ grep ": err" make.out
../exp/exp_function.cpp:53:23: error: uuid/uuid.h: No such file or directory          ##(SQL)
../exp/exp_function.cpp:6812: error: 'uuid_t' was not declared in this scope         ##(SQL)
../exp/exp_function.cpp:6812: error: expected ';' before 'uu'      ##(SQL)
../exp/exp_function.cpp:6813: error: 'uu' was not declared in this scope ##(SQL)
../exp/exp_function.cpp:6813: error: 'uuid_generate' was not declared in this scope         ##(SQL)
../exp/exp_function.cpp:6814: error: 'uuid_unparse' was not declared in this scope          ##(SQL)
cc1plus: error: unrecognized command line option "-Wno-conversion-null"           ##(SQL)
[birdsall@edev08 trafodion]$

Looking at exp/exp_function.cpp, this file now contains the following statement:

#include <uuid/uuid.h>

I looked around in the /usr/include directory on my workstation for the file uuid.h. I found it in /usr/include/linux. So I tried changing the include to the following:

#include <linux/uuid.h>

Now I get a different set of build errors:

[birdsall@edev08 trafodion]$ grep ": err" make.out
../exp/exp_function.cpp:6812: error: 'uuid_t' was not declared in this scope         ##(SQL)
../exp/exp_function.cpp:6812: error: expected ';' before 'uu'      ##(SQL)
../exp/exp_function.cpp:6813: error: 'uu' was not declared in this scope ##(SQL)
../exp/exp_function.cpp:6813: error: 'uuid_generate' was not declared in this scope         ##(SQL)
../exp/exp_function.cpp:6814: error: 'uuid_unparse' was not declared in this scope          ##(SQL)
cc1plus: error: unrecognized command line option "-Wno-conversion-null"           ##(SQL)
[birdsall@edev08 trafodion]$

So, I am guessing something needs to be updated or reconfigured in the Trafodion build environment. Or at least there is a new dependency that needs to be taken into account.

Can anyone suggest what must be done to get a clean build?

Thanks,

Dave

PS - The Jenkins machines seem to have the right configuration as builds aren't failing there...



RE: Make failure in latest Trafodion, uuid.h missing

Posted by Sandhya Sundaresan <sa...@esgyn.com>.
On edev06, it seems to be there : 
/usr/include/uuid ls -l /usr/include/uuid/*
-rw-r--r--. 1 root root 3297 Jan 26 07:41 /usr/include/uuid/uuid.h
/usr/include/uuid

It seems to be missing on edev08 which you are on. Needs to get setup by Steve I suppose with a yum install. 
Sandhya

-----Original Message-----
From: Dave Birdsall [mailto:dave.birdsall@esgyn.com] 
Sent: Tuesday, February 27, 2018 11:39 AM
To: dev@trafodion.apache.org
Subject: Make failure in latest Trafodion, uuid.h missing

Hi,

I just brought one of my Trafodion instances up-to-date and did a clean build. The build failed with the following errors:

[birdsall@edev08 trafodion]$ grep ": err" make.out
../exp/exp_function.cpp:53:23: error: uuid/uuid.h: No such file or directory          ##(SQL)
../exp/exp_function.cpp:6812: error: 'uuid_t' was not declared in this scope         ##(SQL)
../exp/exp_function.cpp:6812: error: expected ';' before 'uu'      ##(SQL)
../exp/exp_function.cpp:6813: error: 'uu' was not declared in this scope ##(SQL)
../exp/exp_function.cpp:6813: error: 'uuid_generate' was not declared in this scope         ##(SQL)
../exp/exp_function.cpp:6814: error: 'uuid_unparse' was not declared in this scope          ##(SQL)
cc1plus: error: unrecognized command line option "-Wno-conversion-null"           ##(SQL)
[birdsall@edev08 trafodion]$

Looking at exp/exp_function.cpp, this file now contains the following statement:

#include <uuid/uuid.h>

I looked around in the /usr/include directory on my workstation for the file uuid.h. I found it in /usr/include/linux. So I tried changing the include to the following:

#include <linux/uuid.h>

Now I get a different set of build errors:

[birdsall@edev08 trafodion]$ grep ": err" make.out
../exp/exp_function.cpp:6812: error: 'uuid_t' was not declared in this scope         ##(SQL)
../exp/exp_function.cpp:6812: error: expected ';' before 'uu'      ##(SQL)
../exp/exp_function.cpp:6813: error: 'uu' was not declared in this scope ##(SQL)
../exp/exp_function.cpp:6813: error: 'uuid_generate' was not declared in this scope         ##(SQL)
../exp/exp_function.cpp:6814: error: 'uuid_unparse' was not declared in this scope          ##(SQL)
cc1plus: error: unrecognized command line option "-Wno-conversion-null"           ##(SQL)
[birdsall@edev08 trafodion]$

So, I am guessing something needs to be updated or reconfigured in the Trafodion build environment. Or at least there is a new dependency that needs to be taken into account.

Can anyone suggest what must be done to get a clean build?

Thanks,

Dave

PS - The Jenkins machines seem to have the right configuration as builds aren't failing there...