View Issue Details

IDProjectCategoryView StatusLast Update
0015462ScribusOS-Linuxpublic2019-06-04 20:56
ReporterArchange Assigned Tojghali  
PrioritynormalSeverityblockReproducibilityalways
Status closedResolutionfixed 
PlatformLinuxOSArch LinuxOS VersionN/A
Product Version1.5.4 
Target VersionFixed in Version1.5.5.svn 
Summary0015462: FTBFS with poppler 0.70.0
DescriptionWhen building 1.5.4 from source using latest poppler:
/build/scribus/src/scribus-1.5.4/scribus/plugins/import/pdf/importpdf.cpp: In member function ‘bool PdfPlug::convert(const QString&)’:
/build/scribus/src/scribus-1.5.4/scribus/plugins/import/pdf/importpdf.cpp:464:61: error: invalid conversion from ‘const PDFRectangle*’ to ‘PDFRectangle*’ [-fpermissive]
     PDFRectangle *mediaBox = pdfDoc->getPage(1)->getMediaBox();
                              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
/build/scribus/src/scribus-1.5.4/scribus/plugins/import/pdf/importpdf.cpp:561:32: error: cannot convert ‘const std::unordered_map<Ref, std::unique_ptr<OptionalContentGroup> >’ to ‘GooList*’ in assignment
           ocgs = ocg->getOCGs ();
                                ^
/build/scribus/src/scribus-1.5.4/scribus/plugins/import/pdf/importpdf.cpp:579:30: error: cannot convert ‘const std::unordered_map<Ref, std::unique_ptr<OptionalContentGroup> >’ to ‘GooList*’ in assignment
         ocgs = ocg->getOCGs ();
                              ^
/build/scribus/src/scribus-1.5.4/scribus/plugins/import/pdf/importpdf.cpp: In member function ‘QRectF PdfPlug::getCBox(int, int)’:
/build/scribus/src/scribus-1.5.4/scribus/plugins/import/pdf/importpdf.cpp:1071:47: error: invalid conversion from ‘const PDFRectangle*’ to ‘PDFRectangle*’ [-fpermissive]
   cBox = m_pdfDoc->getPage(pgNum)->getMediaBox();
          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
/build/scribus/src/scribus-1.5.4/scribus/plugins/import/pdf/importpdf.cpp:1073:47: error: invalid conversion from ‘const PDFRectangle*’ to ‘PDFRectangle*’ [-fpermissive]
   cBox = m_pdfDoc->getPage(pgNum)->getBleedBox();
          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
/build/scribus/src/scribus-1.5.4/scribus/plugins/import/pdf/importpdf.cpp:1075:46: error: invalid conversion from ‘const PDFRectangle*’ to ‘PDFRectangle*’ [-fpermissive]
   cBox = m_pdfDoc->getPage(pgNum)->getTrimBox();
          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
/build/scribus/src/scribus-1.5.4/scribus/plugins/import/pdf/importpdf.cpp:1077:46: error: invalid conversion from ‘const PDFRectangle*’ to ‘PDFRectangle*’ [-fpermissive]
   cBox = m_pdfDoc->getPage(pgNum)->getCropBox();
          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
/build/scribus/src/scribus-1.5.4/scribus/plugins/import/pdf/importpdf.cpp:1079:45: error: invalid conversion from ‘const PDFRectangle*’ to ‘PDFRectangle*’ [-fpermissive]
   cBox = m_pdfDoc->getPage(pgNum)->getArtBox();
          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
Steps To ReproduceTry to build Scribus with Poppler 0.70.
TagsNo tags attached.
PatchNo

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2018-10-23 13:37 Archange New Issue
2018-10-23 21:50 jghali Summary FTBFS 1.5.4 with error: invalid conversion from ‘const PDFRectangle*’ to ‘PDFRectangle*’ => FTBFS with error: invalid conversion from ‘const PDFRectangle*’ to ‘PDFRectangle*’
2018-10-23 21:51 jghali Summary FTBFS with error: invalid conversion from ‘const PDFRectangle*’ to ‘PDFRectangle*’ => FTBFS with poppler 0.70.0
2018-10-23 21:53 jghali Assigned To => jghali
2018-10-23 21:53 jghali Status new => resolved
2018-10-23 21:53 jghali Resolution open => fixed
2018-10-23 21:53 jghali Fixed in Version => 1.5.5.svn
2019-06-04 20:56 cbradney Status resolved => closed