Open gijzelaerr opened 6 years ago
The current master doesn't build on Ubuntu 18.04:
great! Thanks!
there are more compatiblity issues:
filterbankutil.c:1229:9: error: too many arguments to function ‘S3_put_object’
S3_put_object(&bucketContext, fitsname, fitslen, &putProperties, 0,
^~~~~~~~~~~~~
In file included from filterbankutil.c:2:0:
/usr/include/libs3.h:1616:6: note: declared here
void S3_put_object(const S3BucketContext *bucketContext, const char *key,
^~~~~~~~~~~~~
filterbankutil.c:1262:9: error: too many arguments to function ‘S3_put_object’
S3_put_object(&bucketContext, fitsname, fitslen, &putProperties, 0,
^~~~~~~~~~~~~
In file included from filterbankutil.c:2:0:
/usr/include/libs3.h:1616:6: note: declared here
void S3_put_object(const S3BucketContext *bucketContext, const char *key,
^~~~~~~~~~~~~
So the differences between the latest release (2.0) and current master are:
S3_put_object
has a new timeoutMs
argument.S3_create_bucket
has 3 new arguments: securityToken
(4), authRegion
(7) and timeoutMs
(11).
Ubuntu 18.04 comes with libs3 2.0-3, but when compiled against this version I run into troubles:
Currently, the Dockerfile builds against the latest master. Is this absolutely required? If so, we should probably make a new release for libs3. Problem is that it looks like the author of libs3 doesn't like releases also.