View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0010405 | Scribus | Build System | public | 2011-11-26 16:03 | 2014-10-13 16:02 |
Reporter | ondrej.nemecek | Assigned To | fschmid | ||
Priority | normal | Severity | block | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | AMD Athlon(tm) 64 X2 Dual Core | OS | Linux | OS Version | Fedora 16 |
Product Version | 1.5.0svn | ||||
Fixed in Version | 1.5.0svn | ||||
Summary | 0010405: Compilation failed on importpdf.cpp.o | ||||
Description | Cannot compile Scribus from svn due this error: Linking CXX executable scribus-1.5.0.svn [ 79%] Built target scribus-1.5.0.svn [ 79%] Built target importai [ 79%] Built target importcgm [ 80%] Built target importcvg [ 80%] Built target importdrw [ 81%] Built target importidml [ 81%] Built target oodrawimp [ 81%] Built target importpct [ 81%] Building CXX object scribus/plugins/import/pdf/CMakeFiles/importpdf.dir/importpdf.cpp.o In file included from /usr/include/poppler/Gfx.h:40:0, from /media/MyBook/download-repository/Downloads/scribus/scribus-trunk/scribus/plugins/import/pdf/slaoutput.h:31, from /media/MyBook/download-repository/Downloads/scribus/scribus-trunk/scribus/plugins/import/pdf/importpdf.cpp:17: /usr/include/poppler/GfxState.h: In member function ‘virtual void GfxColorSpace::getGrayLine(Guchar*, Guchar*, int)’: /usr/include/poppler/GfxState.h:205:119: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] In file included from /usr/include/poppler/Gfx.h:40:0, from /media/MyBook/download-repository/Downloads/scribus/scribus-trunk/scribus/plugins/import/pdf/slaoutput.h:31, from /media/MyBook/download-repository/Downloads/scribus/scribus-trunk/scribus/plugins/import/pdf/importpdf.cpp:17: /usr/include/poppler/GfxState.h: In member function ‘virtual void GfxColorSpace::getRGBLine(Guchar*, unsigned int*, int)’: /usr/include/poppler/GfxState.h:206:139: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] /usr/include/poppler/GfxState.h: In member function ‘virtual void GfxColorSpace::getRGBLine(Guchar*, Guchar*, int)’: /usr/include/poppler/GfxState.h:207:134: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] /usr/include/poppler/GfxState.h: In member function ‘virtual void GfxColorSpace::getRGBXLine(Guchar*, Guchar*, int)’: /usr/include/poppler/GfxState.h:208:119: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] In file included from /usr/include/QtGui/qtextcursor.h:47:0, from /usr/include/QtGui/qlineedit.h:46, from /usr/include/QtGui/QLineEdit:1, from /media/MyBook/download-repository/Downloads/scribus/scribus-trunk/scribus/scribusview.h:32, from /media/MyBook/download-repository/Downloads/scribus/scribus-trunk/scribus/loadsaveplugin.h:25, from /media/MyBook/download-repository/Downloads/scribus/scribus-trunk/scribus/plugins/import/pdf/importpdf.cpp:26: /usr/include/QtGui/qtextformat.h: At global scope: /usr/include/QtGui/qtextformat.h:417:18: error: expected unqualified-id before numeric constant /usr/include/QtGui/qtextformat.h:417:18: error: expected ‘)’ before numeric constant make[2]: *** [scribus/plugins/import/pdf/CMakeFiles/importpdf.dir/importpdf.cpp.o] Error 1 make[1]: *** [scribus/plugins/import/pdf/CMakeFiles/importpdf.dir/all] Error 2 make: *** [all] Error 2 [ER] Status: 2 | ||||
Steps To Reproduce | svn up; cmake . -DCMAKE_INSTALL_PREFIX:PATH=/opt/Scribus-1.5.0.svn -DWANT_VERSIONING=1 -DWANT_QTARTHUR=0 -DWANT_CAIRO=1 -DWANT_DEBUG=0 -DWANT_SCRIPTER2; nice -n2 make -j1; | ||||
Tags | |||||
Patch | |||||
|
Sorry, cmake command are in the fact: cmake . -DCMAKE_INSTALL_PREFIX:PATH=/opt/Scribus-1.5.0.svn -DWANT_VERSIONING=1 -DWANT_QTARTHUR=0 -DWANT_CAIRO=1 -DWANT_DEBUG=0 -DWANT_SCRIPTER2=0 - DWANT_GRAPHICSMAGICK=1 -DWANT_NOHEADERINSTALL=1 But I think it is not related to this compilation error. |
|
Hmm, which Qt Version? I don't see anything that could cause that error here with Qt-4.7.4 |
|
It seems like a compiler bug. That code compiles without problem on Visual Studio and Ubuntu 11.10. |
|
On Scribus 1.4.0.rc6 it shows: This program uses Qt version 4.8.0. Cannot be some problem of build system itself? Wrong headers generatet or something? |
|
No, the error is triggered by a Qt header on Fedora 16. Fedora 16 ships a pre-release version of Qt btw... Qt 4.8.0 has not been officially released yet. |
|
Not our code to change. Please submit the bug to Fedora. Why are they releasing with an RC of Qt 4.8? |
Date Modified | Username | Field | Change |
---|---|---|---|
2011-11-26 16:03 | ondrej.nemecek | New Issue | |
2011-11-26 16:09 | ondrej.nemecek | Note Added: 0027279 | |
2011-11-26 16:09 | ondrej.nemecek | Tag Attached: oif 2011 | |
2011-11-26 16:10 | ondrej.nemecek | Tag Detached: oif 2011 | |
2011-11-26 16:11 | ondrej.nemecek | Tag Attached: import | |
2011-11-26 16:11 | ondrej.nemecek | Tag Attached: pdf | |
2011-11-26 16:11 | ondrej.nemecek | Tag Attached: compilation | |
2011-11-26 20:15 | fschmid | Note Added: 0027283 | |
2011-11-26 23:33 | jghali | Note Added: 0027285 | |
2011-11-27 10:49 | ondrej.nemecek | Note Added: 0027286 | |
2011-11-27 12:17 | jghali | Note Added: 0027288 | |
2011-12-04 11:30 | cbradney | Note Added: 0027319 | |
2011-12-04 11:30 | cbradney | Status | new => resolved |
2011-12-04 11:30 | cbradney | Resolution | open => not fixable |
2011-12-04 11:30 | cbradney | Assigned To | => cbradney |
2011-12-18 08:36 | fschmid | Assigned To | cbradney => fschmid |
2011-12-18 08:36 | fschmid | Status | resolved => confirmed |
2011-12-18 08:37 | fschmid | Status | confirmed => resolved |
2011-12-18 08:37 | fschmid | Fixed in Version | => 1.5.0svn |
2011-12-18 08:37 | fschmid | Resolution | not fixable => fixed |
2011-12-30 16:28 | cbradney | Status | resolved => closed |
2014-10-13 16:01 | Kunda | Tag Detached: compilation | |
2014-10-13 16:02 | Kunda | Tag Detached: import |