View Issue Details

IDProjectCategoryView StatusLast Update
0010405ScribusBuild Systempublic2014-10-13 16:02
Reporterondrej.nemecek Assigned Tofschmid  
PrioritynormalSeverityblockReproducibilityalways
Status closedResolutionfixed 
PlatformAMD Athlon(tm) 64 X2 Dual CoreOSLinuxOS VersionFedora 16
Product Version1.5.0svn 
Fixed in Version1.5.0svn 
Summary0010405: Compilation failed on importpdf.cpp.o
DescriptionCannot 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 Reproducesvn 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;
TagsPDF
Patch

Activities

ondrej.nemecek

2011-11-26 16:09

reporter   ~0027279

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.

fschmid

2011-11-26 20:15

administrator   ~0027283

Hmm, which Qt Version? I don't see anything that could cause that error here with Qt-4.7.4

jghali

2011-11-26 23:33

administrator   ~0027285

It seems like a compiler bug. That code compiles without problem on Visual Studio and Ubuntu 11.10.

ondrej.nemecek

2011-11-27 10:49

reporter   ~0027286

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?

jghali

2011-11-27 12:17

administrator   ~0027288

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.

cbradney

2011-12-04 11:30

administrator   ~0027319

Not our code to change. Please submit the bug to Fedora. Why are they releasing with an RC of Qt 4.8?

Issue History

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