View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0017362 | Scribus | Build System | public | 2025-01-03 14:50 | 2025-01-03 18:10 |
Reporter | brobr | Assigned To | jghali | ||
Priority | normal | Severity | major | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Platform | Linux | OS | Slackware | OS Version | current 64 |
Product Version | 1.7.0.svn | ||||
Fixed in Version | 1.6.3.svn | ||||
Summary | 0017362: Build error with poppler 25.01.0 | ||||
Description | svn-r26557 did not compile after upgrade of poppler to 25.01.0 [ 81%] Building CXX object scribus/plugins/import/svm/CMakeFiles/importsvm.dir/importsvm_autogen/mocs_compilation.cpp.o /tmp/SBo/scribus-r26557/scribus/plugins/import/pdf/slaoutput.cpp: In constructor ‘LinkImportData::LinkImportData(Object*)’: /tmp/SBo/scribus-r26557/scribus/plugins/import/pdf/slaoutput.cpp:128:50: error: cannot convert ‘std::unique_ptr<GooString>’ to ‘GooString*’ in assignment 128 | fileName = obj3.getString()->copy(); | ~~~~~~~~~~~~~~~~~~~~~~^~ | | | std::unique_ptr<GooString> /tmp/SBo/scribus-r26557/scribus/plugins/import/pdf/slaoutput.cpp: In member function ‘virtual void AnoOutputDev::drawString(GfxState*, const GooString*)’: /tmp/SBo/scribus-r26557/scribus/plugins/import/pdf/slaoutput.cpp:181:27: error: cannot convert ‘std::unique_ptr<GooString>’ to ‘GooString*’ in assignment 181 | itemText = s->copy(); | ~~~~~~~^~ | | | std::unique_ptr<GooString> /tmp/SBo/scribus-r26557/scribus/plugins/import/pdf/slaoutput.cpp: In member function ‘virtual void SlaOutputDev::updateFont(GfxState*)’: /tmp/SBo/scribus-r26557/scribus/plugins/import/pdf/slaoutput.cpp:3098:13: warning: unused variable ‘faceIndex’ [-Wunused-variable] 3098 | int faceIndex = 0; Archlinux has not found a patch yet (https://archlinux.org/todo/poppler-2501/) (building scribus-1.6.2 failed with Arch linux patch https://gitlab.archlinux.org/archlinux/packaging/packages/scribus/-/blob/main/fix_build_with_poppler_24.12.0.patch adjusted to "25,01,0" on GooString): [ 83%] Building CXX object scribus/plugins/import/viva/CMakeFiles/importviva.dir/importviva_autogen/mocs_compilation.cpp.o /tmp/SBo/scribus-1.6.2/scribus/plugins/import/pdf/slaoutput.cpp: In constructor ‘LinkImportData::LinkImportData(Object*)’: /tmp/SBo/scribus-1.6.2/scribus/plugins/import/pdf/slaoutput.cpp:126:50: error: cannot convert ‘std::unique_ptr<GooString>’ to ‘GooString*’ in assignment 126 | fileName = obj3.getString()->copy(); | ~~~~~~~~~~~~~~~~~~~~~~^~ | | | std::unique_ptr<GooString> /tmp/SBo/scribus-1.6.2/scribus/plugins/import/pdf/slaoutput.cpp: In member function ‘virtual void AnoOutputDev::drawString(GfxState*, const GooString*)’: /tmp/SBo/scribus-1.6.2/scribus/plugins/import/pdf/slaoutput.cpp:179:27: error: cannot convert ‘std::unique_ptr<GooString>’ to ‘GooString*’ in assignment 179 | itemText = s->copy(); | ~~~~~~~^~ | | | std::unique_ptr<GooString> /tmp/SBo/scribus-1.6.2/scribus/plugins/import/pdf/slaoutput.cpp: In member function ‘virtual void SlaOutputDev::updateFont(GfxState*)’: /tmp/SBo/scribus-1.6.2/scribus/plugins/import/pdf/slaoutput.cpp:2962:13: warning: unused variable ‘faceIndex’ [-Wunused-variable] 2962 | int faceIndex = 0; | ^~~~~~~~~ [ 83%] Linking CXX shared module libimportsml.so [ 83%] Built target importsml [ 83%] Building CXX object scribus/plugins/import/uniconvertor/CMakeFiles/uniconvertorplugin.dir/uniconvplugin.cpp.o | ||||
Steps To Reproduce | compile from source | ||||
Tags | poppler | ||||
Patch | No | ||||
|
Thanks a lot for the quick fix. Just finished building scribus-r26559 from svn://scribus.net/branches/Version16x/Scribus svn-scribus16x. FYI there was an 'unused variable' warning: [ 81%] Building CXX object scribus/plugins/import/svm/CMakeFiles/importsvm.dir/importsvmplugin.cpp.o /tmp/SBo/scribus-r26559/scribus/plugins/import/pdf/slaoutput.cpp: In member function ‘virtual void SlaOutputDev::updateFont(GfxState*)’: /tmp/SBo/scribus-r26559/scribus/plugins/import/pdf/slaoutput.cpp:3092:13: warning: unused variable ‘faceIndex’ [-Wunused-variable] 3092 | int faceIndex = 0; | ^~~~~~~~~ |
Date Modified | Username | Field | Change |
---|---|---|---|
2025-01-03 14:50 | brobr | New Issue | |
2025-01-03 14:50 | brobr | Tag Attached: poppler | |
2025-01-03 15:21 | jghali | Summary | build error => Build error with poppler 25.01.0 |
2025-01-03 16:32 | jghali | Assigned To | => jghali |
2025-01-03 16:32 | jghali | Status | new => resolved |
2025-01-03 16:32 | jghali | Resolution | open => fixed |
2025-01-03 16:32 | jghali | Fixed in Version | => 1.6.3.svn |
2025-01-03 18:10 | brobr | Note Added: 0051855 |