Davix support

Both, Ubuntu 14.04 LTS and Ubuntu 16.04 LTS, provide “davix” and “davix-dev” packages (respectively, “0.2.8-1” and “0.5.0-1build1”).

Both ROOT 5 “v5-34-00-patches” and ROOT 6 up to (and including) 6.06/08 were happy with these “davix” libraries.

The newest ROOT 6.08/00 chokes on them. however.
The “cmake” driven configuration still “recognizes” these libraries and automatically sets “davix=ON”, but then the building dies with errors: /.../root-6.08.00/net/davix/src/TDavixFile.cxx: In member function ‘void TDavixFileInternal::setS3Auth(const string&, const string&, const string&, const string&)’: /.../root-6.08.00/net/davix/src/TDavixFile.cxx:300:16: error: ‘class Davix::RequestParams’ has no member named ‘setAwsRegion’ davixParam->setAwsRegion(region); ^ /.../root-6.08.00/net/davix/src/TDavixFile.cxx:301:16: error: ‘class Davix::RequestParams’ has no member named ‘setAwsToken’ davixParam->setAwsToken(token); ^ /.../root-6.08.00/net/davix/src/TDavixFile.cxx: In member function ‘void TDavixFileInternal::parseConfig()’: /.../root-6.08.00/net/davix/src/TDavixFile.cxx:335:22: error: ‘class Davix::RequestParams’ has no member named ‘setAwsRegion’ davixParam->setAwsRegion(env_var); ^ /.../root-6.08.00/net/davix/src/TDavixFile.cxx:340:22: error: ‘class Davix::RequestParams’ has no member named ‘setAwsToken’ davixParam->setAwsToken(env_var); ^
As a result, when configuring ROOT, one needs to manually set “-Ddavix-OFF” or, as an alternative, one may try to set “-Dbuiltin_davix=ON”.

I guess the version of davix is too old. So, we need to add the necessary protection to fail finding Davix.

need to set region?
need to set STS token?

why don’t you protect these places in the “TDavixFile.cxx” instead, so that ROOT 6 can live with the DEFAULT SYSTEM PROVIDED “davix” libraries?

Ubuntu 14.04 LTS “End of life date” is April 2019
Ubuntu 16.04 LTS “End of life date” is April 2021

Don’t know what are you referring with region and STS token

I’ll contact the Davix authors.

Hi Pepe. A fix has been committed to 6.08 and master branch by Georgios Bitzes.