[Hugin-devs] [Bug 1849220] Re: current default fails to build in Fedora 30

2021-08-21 Thread tmodes
** Changed in: enblend
   Status: New => Invalid

-- 
You received this bug notification because you are a member of Hugin
Developers, which is subscribed to Enblend.
https://bugs.launchpad.net/bugs/1849220

Title:
  current default fails to build in Fedora 30

Status in Enblend:
  Invalid

Bug description:
  Attempting to build current default (6b604e79e85b 1529 default) in
  Fedora 30, using rpmbuild fails with the following message...

  /home/terry/rpmbuild/BUILD/enblend-4.3.0-1529hg-Source/src/metadata.h:53:31: 
error: 'UniquePtr' in 'class Exiv2::Image' does not name a type
 53 | typedef Exiv2::Image::UniquePtr::element_type* meta_pointer;
|   ^
  /home/terry/rpmbuild/BUILD/enblend-4.3.0-1529hg-Source/src/metadata.h:57:52: 
error: 'meta_pointer' does not name a type
 57 | Named(const std::string& a_filename, const meta_pointer 
a_meta, bool is_desired) :
|^~~~
  /home/terry/rpmbuild/BUILD/enblend-4.3.0-1529hg-Source/src/metadata.h:61:9: 
error: 'meta_pointer' does not name a type
 61 | meta_pointer meta() const {return meta_;}
| ^~~~
  /home/terry/rpmbuild/BUILD/enblend-4.3.0-1529hg-Source/src/metadata.h:66:15: 
error: 'meta_pointer' does not name a type
 66 | const meta_pointer meta_;
|   ^~~~
  /home/terry/rpmbuild/BUILD/enblend-4.3.0-1529hg-Source/src/metadata.h: In 
constructor 'metadata::Named::Named(const string&, int, bool)':
  /home/terry/rpmbuild/BUILD/enblend-4.3.0-1529hg-Source/src/metadata.h:58:36: 
error: class 'metadata::Named' does not have any field named 'meta_'
 58 | filename_(a_filename), meta_(a_meta), 
is_desired_(is_desired) {}
|^
  /home/terry/rpmbuild/BUILD/enblend-4.3.0-1529hg-Source/src/metadata.h: At 
global scope:
  /home/terry/rpmbuild/BUILD/enblend-4.3.0-1529hg-Source/src/metadata.h:74:19: 
error: 'UniquePtr' in 'class Exiv2::Image' does not name a type
 74 | Exiv2::Image::UniquePtr read(const std::string& 
an_image_filename);
|   ^
  In file included from 
/home/terry/rpmbuild/BUILD/enblend-4.3.0-1529hg-Source/src/enblend.cc:197:
  /home/terry/rpmbuild/BUILD/enblend-4.3.0-1529hg-Source/src/enblend.h: In 
function 'void enblend::enblendMain(const FileNameList&, const 
std::__cxx11::list&, vigra::ImageExportInfo&, 
vigra::Rect2D&)':
  /home/terry/rpmbuild/BUILD/enblend-4.3.0-1529hg-Source/src/enblend.h:103:43: 
error: 'UniquePtr' is not a member of 'Exiv2::Image'
103 | typedef allocate::array metadata_array;
|   ^
  /home/terry/rpmbuild/BUILD/enblend-4.3.0-1529hg-Source/src/enblend.h:103:43: 
error: 'UniquePtr' is not a member of 'Exiv2::Image'
  /home/terry/rpmbuild/BUILD/enblend-4.3.0-1529hg-Source/src/enblend.h:103:52: 
error: template argument 1 is invalid
103 | typedef allocate::array metadata_array;
|^
  /home/terry/rpmbuild/BUILD/enblend-4.3.0-1529hg-Source/src/enblend.h:103:52: 
error: template argument 2 is invalid
  /home/terry/rpmbuild/BUILD/enblend-4.3.0-1529hg-Source/src/enblend.h:107:33: 
error: qualified-id in declaration before 'metadata'
107 | metadata_array::pointer metadata {input_metadata.begin()};
| ^~~~
  /home/terry/rpmbuild/BUILD/enblend-4.3.0-1529hg-Source/src/enblend.h:111:22: 
error: 'metadata' does not name a type
111 | new (metadata) 
metadata_array::value_type(metadata::read(*filename));
|  ^~~~
  /home/terry/rpmbuild/BUILD/enblend-4.3.0-1529hg-Source/src/enblend.h:112:32: 
error: request for member 'mark_as_initialized' in 'input_metadata', which is 
of non-class type 'metadata_array' {aka 'int'}
112 | input_metadata.mark_as_initialized(metadata - 
input_metadata.begin());
|^~~
  /home/terry/rpmbuild/BUILD/enblend-4.3.0-1529hg-Source/src/enblend.h:112:61: 
error: expected primary-expression before '-' token
112 | input_metadata.mark_as_initialized(metadata - 
input_metadata.begin());
| ^
  /home/terry/rpmbuild/BUILD/enblend-4.3.0-1529hg-Source/src/enblend.h:112:78: 
error: request for member 'begin' in 'input_metadata', which is of non-class 
type 'metadata_array' {aka 'int'}
112 | input_metadata.mark_as_initialized(metadata - 
input_metadata.begin());
|   
   ^
  /home/terry/rpmbuild/BUILD/enblend-4.3.0-1529hg-Source/src/enblend.h:121:23: 
error: expected primary-expression before ';' token
121 | ++metadata;

[Hugin-devs] [Bug 1849220] Re: current default fails to build in Fedora 30

2019-11-03 Thread tduell
Now builds OK with exiv2-0.27.99.0

Cheers,
Terry

-- 
You received this bug notification because you are a member of Hugin
Developers, which is subscribed to Enblend.
https://bugs.launchpad.net/bugs/1849220

Title:
  current default fails to build in Fedora 30

Status in Enblend:
  New

Bug description:
  Attempting to build current default (6b604e79e85b 1529 default) in
  Fedora 30, using rpmbuild fails with the following message...

  /home/terry/rpmbuild/BUILD/enblend-4.3.0-1529hg-Source/src/metadata.h:53:31: 
error: 'UniquePtr' in 'class Exiv2::Image' does not name a type
 53 | typedef Exiv2::Image::UniquePtr::element_type* meta_pointer;
|   ^
  /home/terry/rpmbuild/BUILD/enblend-4.3.0-1529hg-Source/src/metadata.h:57:52: 
error: 'meta_pointer' does not name a type
 57 | Named(const std::string& a_filename, const meta_pointer 
a_meta, bool is_desired) :
|^~~~
  /home/terry/rpmbuild/BUILD/enblend-4.3.0-1529hg-Source/src/metadata.h:61:9: 
error: 'meta_pointer' does not name a type
 61 | meta_pointer meta() const {return meta_;}
| ^~~~
  /home/terry/rpmbuild/BUILD/enblend-4.3.0-1529hg-Source/src/metadata.h:66:15: 
error: 'meta_pointer' does not name a type
 66 | const meta_pointer meta_;
|   ^~~~
  /home/terry/rpmbuild/BUILD/enblend-4.3.0-1529hg-Source/src/metadata.h: In 
constructor 'metadata::Named::Named(const string&, int, bool)':
  /home/terry/rpmbuild/BUILD/enblend-4.3.0-1529hg-Source/src/metadata.h:58:36: 
error: class 'metadata::Named' does not have any field named 'meta_'
 58 | filename_(a_filename), meta_(a_meta), 
is_desired_(is_desired) {}
|^
  /home/terry/rpmbuild/BUILD/enblend-4.3.0-1529hg-Source/src/metadata.h: At 
global scope:
  /home/terry/rpmbuild/BUILD/enblend-4.3.0-1529hg-Source/src/metadata.h:74:19: 
error: 'UniquePtr' in 'class Exiv2::Image' does not name a type
 74 | Exiv2::Image::UniquePtr read(const std::string& 
an_image_filename);
|   ^
  In file included from 
/home/terry/rpmbuild/BUILD/enblend-4.3.0-1529hg-Source/src/enblend.cc:197:
  /home/terry/rpmbuild/BUILD/enblend-4.3.0-1529hg-Source/src/enblend.h: In 
function 'void enblend::enblendMain(const FileNameList&, const 
std::__cxx11::list&, vigra::ImageExportInfo&, 
vigra::Rect2D&)':
  /home/terry/rpmbuild/BUILD/enblend-4.3.0-1529hg-Source/src/enblend.h:103:43: 
error: 'UniquePtr' is not a member of 'Exiv2::Image'
103 | typedef allocate::array metadata_array;
|   ^
  /home/terry/rpmbuild/BUILD/enblend-4.3.0-1529hg-Source/src/enblend.h:103:43: 
error: 'UniquePtr' is not a member of 'Exiv2::Image'
  /home/terry/rpmbuild/BUILD/enblend-4.3.0-1529hg-Source/src/enblend.h:103:52: 
error: template argument 1 is invalid
103 | typedef allocate::array metadata_array;
|^
  /home/terry/rpmbuild/BUILD/enblend-4.3.0-1529hg-Source/src/enblend.h:103:52: 
error: template argument 2 is invalid
  /home/terry/rpmbuild/BUILD/enblend-4.3.0-1529hg-Source/src/enblend.h:107:33: 
error: qualified-id in declaration before 'metadata'
107 | metadata_array::pointer metadata {input_metadata.begin()};
| ^~~~
  /home/terry/rpmbuild/BUILD/enblend-4.3.0-1529hg-Source/src/enblend.h:111:22: 
error: 'metadata' does not name a type
111 | new (metadata) 
metadata_array::value_type(metadata::read(*filename));
|  ^~~~
  /home/terry/rpmbuild/BUILD/enblend-4.3.0-1529hg-Source/src/enblend.h:112:32: 
error: request for member 'mark_as_initialized' in 'input_metadata', which is 
of non-class type 'metadata_array' {aka 'int'}
112 | input_metadata.mark_as_initialized(metadata - 
input_metadata.begin());
|^~~
  /home/terry/rpmbuild/BUILD/enblend-4.3.0-1529hg-Source/src/enblend.h:112:61: 
error: expected primary-expression before '-' token
112 | input_metadata.mark_as_initialized(metadata - 
input_metadata.begin());
| ^
  /home/terry/rpmbuild/BUILD/enblend-4.3.0-1529hg-Source/src/enblend.h:112:78: 
error: request for member 'begin' in 'input_metadata', which is of non-class 
type 'metadata_array' {aka 'int'}
112 | input_metadata.mark_as_initialized(metadata - 
input_metadata.begin());
|   
   ^
  /home/terry/rpmbuild/BUILD/enblend-4.3.0-1529hg-Source/src/enblend.h:121:23: 
error: expected primary-expression before ';' token
121 | ++metadata;
|  

[Hugin-devs] [Bug 1849220] Re: current default fails to build in Fedora 30

2019-10-24 Thread tduell
** Changed in: enblend
   Importance: Undecided => High

-- 
You received this bug notification because you are a member of Hugin
Developers, which is subscribed to Enblend.
https://bugs.launchpad.net/bugs/1849220

Title:
  current default fails to build in Fedora 30

Status in Enblend:
  New

Bug description:
  Attempting to build current default (6b604e79e85b 1529 default) in
  Fedora 30, using rpmbuild fails with the following message...

  /home/terry/rpmbuild/BUILD/enblend-4.3.0-1529hg-Source/src/metadata.h:53:31: 
error: 'UniquePtr' in 'class Exiv2::Image' does not name a type
 53 | typedef Exiv2::Image::UniquePtr::element_type* meta_pointer;
|   ^
  /home/terry/rpmbuild/BUILD/enblend-4.3.0-1529hg-Source/src/metadata.h:57:52: 
error: 'meta_pointer' does not name a type
 57 | Named(const std::string& a_filename, const meta_pointer 
a_meta, bool is_desired) :
|^~~~
  /home/terry/rpmbuild/BUILD/enblend-4.3.0-1529hg-Source/src/metadata.h:61:9: 
error: 'meta_pointer' does not name a type
 61 | meta_pointer meta() const {return meta_;}
| ^~~~
  /home/terry/rpmbuild/BUILD/enblend-4.3.0-1529hg-Source/src/metadata.h:66:15: 
error: 'meta_pointer' does not name a type
 66 | const meta_pointer meta_;
|   ^~~~
  /home/terry/rpmbuild/BUILD/enblend-4.3.0-1529hg-Source/src/metadata.h: In 
constructor 'metadata::Named::Named(const string&, int, bool)':
  /home/terry/rpmbuild/BUILD/enblend-4.3.0-1529hg-Source/src/metadata.h:58:36: 
error: class 'metadata::Named' does not have any field named 'meta_'
 58 | filename_(a_filename), meta_(a_meta), 
is_desired_(is_desired) {}
|^
  /home/terry/rpmbuild/BUILD/enblend-4.3.0-1529hg-Source/src/metadata.h: At 
global scope:
  /home/terry/rpmbuild/BUILD/enblend-4.3.0-1529hg-Source/src/metadata.h:74:19: 
error: 'UniquePtr' in 'class Exiv2::Image' does not name a type
 74 | Exiv2::Image::UniquePtr read(const std::string& 
an_image_filename);
|   ^
  In file included from 
/home/terry/rpmbuild/BUILD/enblend-4.3.0-1529hg-Source/src/enblend.cc:197:
  /home/terry/rpmbuild/BUILD/enblend-4.3.0-1529hg-Source/src/enblend.h: In 
function 'void enblend::enblendMain(const FileNameList&, const 
std::__cxx11::list&, vigra::ImageExportInfo&, 
vigra::Rect2D&)':
  /home/terry/rpmbuild/BUILD/enblend-4.3.0-1529hg-Source/src/enblend.h:103:43: 
error: 'UniquePtr' is not a member of 'Exiv2::Image'
103 | typedef allocate::array metadata_array;
|   ^
  /home/terry/rpmbuild/BUILD/enblend-4.3.0-1529hg-Source/src/enblend.h:103:43: 
error: 'UniquePtr' is not a member of 'Exiv2::Image'
  /home/terry/rpmbuild/BUILD/enblend-4.3.0-1529hg-Source/src/enblend.h:103:52: 
error: template argument 1 is invalid
103 | typedef allocate::array metadata_array;
|^
  /home/terry/rpmbuild/BUILD/enblend-4.3.0-1529hg-Source/src/enblend.h:103:52: 
error: template argument 2 is invalid
  /home/terry/rpmbuild/BUILD/enblend-4.3.0-1529hg-Source/src/enblend.h:107:33: 
error: qualified-id in declaration before 'metadata'
107 | metadata_array::pointer metadata {input_metadata.begin()};
| ^~~~
  /home/terry/rpmbuild/BUILD/enblend-4.3.0-1529hg-Source/src/enblend.h:111:22: 
error: 'metadata' does not name a type
111 | new (metadata) 
metadata_array::value_type(metadata::read(*filename));
|  ^~~~
  /home/terry/rpmbuild/BUILD/enblend-4.3.0-1529hg-Source/src/enblend.h:112:32: 
error: request for member 'mark_as_initialized' in 'input_metadata', which is 
of non-class type 'metadata_array' {aka 'int'}
112 | input_metadata.mark_as_initialized(metadata - 
input_metadata.begin());
|^~~
  /home/terry/rpmbuild/BUILD/enblend-4.3.0-1529hg-Source/src/enblend.h:112:61: 
error: expected primary-expression before '-' token
112 | input_metadata.mark_as_initialized(metadata - 
input_metadata.begin());
| ^
  /home/terry/rpmbuild/BUILD/enblend-4.3.0-1529hg-Source/src/enblend.h:112:78: 
error: request for member 'begin' in 'input_metadata', which is of non-class 
type 'metadata_array' {aka 'int'}
112 | input_metadata.mark_as_initialized(metadata - 
input_metadata.begin());
|   
   ^
  /home/terry/rpmbuild/BUILD/enblend-4.3.0-1529hg-Source/src/enblend.h:121:23: 
error: expected primary-expression before ';' token
121 | ++metadata;