View Issue Details

IDProjectCategoryView StatusLast Update
0005820libextractorpluginspublic2021-01-30 15:33
Reporterjetomit Assigned ToChristian Grothoff  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product Version1.9 
Target Version1.10Fixed in Version1.10 
Summary0005820: Build fails with exiv2 0.27
DescriptionThe exiv2 plugin fails to build with exiv2≥0.27:

    ../../../src/plugins/exiv2_extractor.cc:183:40: error: missing binary operator before token "("
      183 | #if EXIV2_VERSION >= EXIV2_MAKE_VERSION(0,26,0)
          | ^
    ../../../src/plugins/exiv2_extractor.cc:452:40: error: missing binary operator before token "("
      452 | #if EXIV2_VERSION >= EXIV2_MAKE_VERSION(0,26,0)
          | ^
    ../../../src/plugins/exiv2_extractor.cc:700:23: error: missing binary operator before token "("
      700 | #if EXIV2_MAKE_VERSION(0,23,0) <= EXIV2_VERSION
          | ^
    ../../../src/plugins/exiv2_extractor.cc:186:20: error: conflicting return type specified for ‘virtual long int ExtractorIO::size() const’
      186 | virtual long int size (void) const;
          | ^~~~
    ../../../src/plugins/exiv2_extractor.cc: In member function ‘virtual int ExtractorIO::getb()’:
    ../../../src/plugins/exiv2_extractor.cc:319:55: error: no matching function for call to ‘Exiv2::BasicError<char>::BasicError(int)’
      319 | throw Exiv2::BasicError<char> (42 /* error code */);
          | ^
    ../../../src/plugins/exiv2_extractor.cc:319:36: error: invalid conversion from ‘int’ to ‘Exiv2::ErrorCode’ [-fpermissive]
      319 | throw Exiv2::BasicError<char> (42 /* error code */);
          | ^~
          | |
          | int
    ../../../src/plugins/exiv2_extractor.cc: In member function ‘virtual void ExtractorIO::transfer(Exiv2::BasicIo&)’:
    ../../../src/plugins/exiv2_extractor.cc:374:53: error: no matching function for call to ‘Exiv2::BasicError<char>::BasicError(int)’
      374 | throw Exiv2::BasicError<char> (42 /* error code */);
          | ^
    ../../../src/plugins/exiv2_extractor.cc:374:34: error: invalid conversion from ‘int’ to ‘Exiv2::ErrorCode’ [-fpermissive]
      374 | throw Exiv2::BasicError<char> (42 /* error code */);
          | ^~
          | |
          | int
    ../../../src/plugins/exiv2_extractor.cc: In member function ‘virtual Exiv2::byte* ExtractorIO::mmap(bool)’:
    ../../../src/plugins/exiv2_extractor.cc:419:53: error: no matching function for call to ‘Exiv2::BasicError<char>::BasicError(int)’
      419 | throw Exiv2::BasicError<char> (42 /* error code */);
          | ^
    ../../../src/plugins/exiv2_extractor.cc:419:34: error: invalid conversion from ‘int’ to ‘Exiv2::ErrorCode’ [-fpermissive]
      419 | throw Exiv2::BasicError<char> (42 /* error code */);
          | ^~
          | |
          | int
    ../../../src/plugins/exiv2_extractor.cc: In member function ‘virtual std::string ExtractorIO::path() const’:
    ../../../src/plugins/exiv2_extractor.cc:507:53: error: no matching function for call to ‘Exiv2::BasicError<char>::BasicError(int)’
      507 | throw Exiv2::BasicError<char> (42 /* error code */);
          | ^
    ../../../src/plugins/exiv2_extractor.cc:507:34: error: invalid conversion from ‘int’ to ‘Exiv2::ErrorCode’ [-fpermissive]
      507 | throw Exiv2::BasicError<char> (42 /* error code */);
          | ^~
          | |
          | int
    ../../../src/plugins/exiv2_extractor.cc: In member function ‘virtual Exiv2::BasicIo::AutoPtr ExtractorIO::temporary() const’:
    ../../../src/plugins/exiv2_extractor.cc:534:53: error: no matching function for call to ‘Exiv2::BasicError<char>::BasicError(int)’
      534 | throw Exiv2::BasicError<char> (42 /* error code */);
          | ^
    ../../../src/plugins/exiv2_extractor.cc:534:34: error: invalid conversion from ‘int’ to ‘Exiv2::ErrorCode’ [-fpermissive]
      534 | throw Exiv2::BasicError<char> (42 /* error code */);
          | ^~
          | |
          | int
Steps To ReproduceThe Gentoo libextractor package has a patch to fix the issues: https://gitweb.gentoo.org/repo/gentoo.git/tree/media-libs/libextractor/files/libextractor-1.8-exiv2-0.27.patch
TagsNo tags attached.

Activities

Christian Grothoff

2019-07-29 18:00

manager   ~0014758

Thanks for reporting, fixed in Git 2fb6d01..1ecee9a

Issue History

Date Modified Username Field Change
2019-07-29 12:13 jetomit New Issue
2019-07-29 18:00 Christian Grothoff Assigned To => Christian Grothoff
2019-07-29 18:00 Christian Grothoff Status new => resolved
2019-07-29 18:00 Christian Grothoff Resolution open => fixed
2019-07-29 18:00 Christian Grothoff Fixed in Version => 1.10
2019-07-29 18:00 Christian Grothoff Note Added: 0014758
2019-07-29 18:00 Christian Grothoff Target Version => 1.10
2019-08-02 01:40 Christian Grothoff Status resolved => closed
2019-08-02 01:41 Christian Grothoff Status closed => resolved
2021-01-30 15:33 Christian Grothoff Status resolved => closed