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.birds...@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.w...@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.w...@esgyn.cn

-----邮件原件-----
发件人: Dave Birdsall [mailto:dave.birds...@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...


Reply via email to