View Issue Details

IDProjectCategoryView StatusLast Update
0011161ScribusBuild Systempublic2012-11-13 20:19
Reporterjlpoole Assigned Tocbradney  
PrioritynormalSeverityblockReproducibilityalways
Status closedResolutionfixed 
PlatformAMD 64OSGentoo OS Version 3.3.4
Product Version1.5.0svn 
Fixed in Version1.5.0svn 
Summary0011161: CMake Fails After Linking importidml (svn rev. 17865)
DescriptionLinking CXX shared module libimportidml.so

fails with output:
Linking CXX shared module libimportidml.so
cd /var/tmp/portage/app-office/scribus-9999/work/scribus-9999_build/scribus/plugins/import/idml && /usr/bin/cmake -E cmake_link_script CMakeFiles/importidml.dir/link.txt --verbose=1
/usr/bin/x86_64-pc-linux-gnu-g++ -fPIC -O2 -pipe -Wl,-O1 -Wl,--as-needed -shared -Wl,-soname,libimportidml.so -o libimportidml.so CMakeFiles/importidml.dir/importidml.cpp.o CMakeFiles/importidml.dir/importidmlplugin.cpp.o CMakeFiles/importidml.dir/moc_importidml.cxx.o CMakeFiles/importidml.dir/moc_importidmlplugin.cxx.o -L/var/tmp/portage/app-office/scribus-9999/work/scribus-9999_build/scribus/colormgmt -L/var/tmp/portage/app-office/scribus-9999/work/scribus-9999_build/scribus/desaxe -L/var/tmp/portage/app-office/scribus-9999/work/scribus-9999_build/scribus/fonts -L/var/tmp/portage/app-office/scribus-9999/work/scribus-9999_build/scribus/styles -L/var/tmp/portage/app-office/scribus-9999/work/scribus-9999_build/scribus/text -L/var/tmp/portage/app-office/scribus-9999/work/scribus-9999_build/scribus/third_party/wpg -L/var/tmp/portage/app-office/scribus-9999/work/scribus-9999_build/scribus/third_party/pgf -L/var/tmp/portage/app-office/scribus-9999/work/scribus-9999_build/scribus/third_party/lib2geom -L/var/tmp/portage/app-office/scribus-9999/work/scribus-9999_build/scribus/third_party/cairo /usr/lib64/qt4/libQtCore.so /usr/lib64/qt4/libQtGui.so /usr/lib64/qt4/libQtXml.so -lxml2 -lz -Wl,-rpath,::::::::::::::
make[2]: Leaving directory `/var/tmp/portage/app-office/scribus-9999/work/scribus-9999_build'
/usr/bin/cmake -E cmake_progress_report /var/tmp/portage/app-office/scribus-9999/work/scribus-9999_build/CMakeFiles
[ 95%] Built target importidml
make[1]: Leaving directory `/var/tmp/portage/app-office/scribus-9999/work/scribus-9999_build'
make: *** [all] Error 2
 * ERROR: app-office/scribus-9999 failed (compile phase):
 * emake failed
 *
 * If you need support, post the output of `emerge --info '=app-office/scribus-9999'`,
 * the complete build log and the output of `emerge -pqv '=app-office/scribus-9999'`.
 * The complete build log is located at '/var/tmp/portage/app-office/scribus-9999/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-office/scribus-9999/temp/environment'.
 * Working directory: '/var/tmp/portage/app-office/scribus-9999/work/scribus-9999_build'
 * S: '/var/tmp/portage/app-office/scribus-9999/work/scribus-9999'
Steps To Reproduceemerge scribus
Additional InformationI'll add the build log.
TagsNo tags attached.
Patch

Activities

jlpoole

2012-11-09 17:15

reporter  

build.log (3,049,286 bytes)

jlpoole

2012-11-09 17:39

reporter   ~0029175

I had successfully built the SVN version in August, 2012, on this machine so something since then may be causing the failure.

fschmid

2012-11-09 20:50

administrator   ~0029177

Last edited: 2012-11-09 20:50

Hmm, nothing has changed since August in the idml importer, so the change might be on your side.

jlpoole

2012-11-09 21:01

reporter   ~0029180

Is there something in CMAKE that I can activate that might provide more information on the failure? All I'm seeing is it tried to link and there is an "Error 2" the meaning of which I do not know.

Can the import idml be skipped so perhaps I can move forward and isolate this problem.

cbradney

2012-11-09 21:10

administrator   ~0029181

more include issues:

/var/tmp/portage/app-office/scribus-9999/work/scribus-9999/scribus/plugins/import/pdf/slaoutput.cpp: In member function 'LinkAction* SlaOutputDev::SC_getAdditionalAction(const char*, AnnotWidget*)':
/var/tmp/portage/app-office/scribus-9999/work/scribus-9999/scribus/plugins/import/pdf/slaoutput.cpp:279:43: warning: deprecated conversion from string constant to 'char*'
/var/tmp/portage/app-office/scribus-9999/work/scribus-9999/scribus/plugins/import/pdf/slaoutput.cpp:284:62: error: invalid conversion from 'const char*' to 'char*'
/var/tmp/portage/app-office/scribus-9999/work/scribus-9999/scribus/plugins/import/pdf/slaoutput.cpp:284:62: error: initializing argument 1 of 'Object* Object::dictLookup(char*, Object*, std::set<int>*)'
/var/tmp/portage/app-office/scribus-9999/work/scribus-9999/scribus/plugins/import/pdf/slaoutput.cpp: In member function 'bool SlaOutputDev::handleWidgetAnnot(Annot*, double, double, double, double)':
/var/tmp/portage/app-office/scribus-9999/work/scribus-9999/scribus/plugins/import/pdf/slaoutput.cpp:558:38: error: 'class Annot' has no member named 'getAppearStreams'
/var/tmp/portage/app-office/scribus-9999/work/scribus-9999/scribus/plugins/import/pdf/slaoutput.cpp: In member function 'virtual void SlaOutputDev::startPage(int, GfxState*)':
/var/tmp/portage/app-office/scribus-9999/work/scribus-9999/scribus/plugins/import/pdf/slaoutput.cpp:1071:59: error: no matching function for call to 'Page::getFormWidgets()'
/usr/include/poppler/Page.h:187:20: note: candidate is: FormPageWidgets* Page::getFormWidgets(Catalog*)

jlpoole

2012-11-09 21:12

reporter   ~0029182

I'm going to stage scribus under /usr/local/src and build it manually, first going back to the version which did successfully compile on 9/4/2012 and then, if successfull, work forward on the versions until I find the version that breaks the build (for me).

jlpoole

2012-11-09 23:02

reporter   ~0029184

I tried another machine (themis), also an AMD64, and I was able to successfully build today's HEAD. Linux 3.3.8-gentoo. Therefore, the problem is my environment. I'll try to determine what caused the problem(s) (found another problem with the unzip headers) so they can be better reported or tested for.

cbradney

2012-11-10 14:23

administrator   ~0029185

I have changed the includes to be <poppler/...> not just <...> to avoid conflicts with other libraries.

jghali

2012-11-10 14:55

administrator   ~0029186

Last edited: 2012-11-10 15:05

I fixed another issue caused by patched zlib headers in gentoo.

Issue History

Date Modified Username Field Change
2012-11-09 17:12 jlpoole New Issue
2012-11-09 17:15 jlpoole File Added: build.log
2012-11-09 17:39 jlpoole Note Added: 0029175
2012-11-09 20:50 fschmid Note Added: 0029177
2012-11-09 20:50 fschmid Note Edited: 0029177
2012-11-09 21:01 jlpoole Note Added: 0029180
2012-11-09 21:10 cbradney Note Added: 0029181
2012-11-09 21:12 jlpoole Note Added: 0029182
2012-11-09 23:02 jlpoole Note Added: 0029184
2012-11-10 14:23 cbradney Note Added: 0029185
2012-11-10 14:24 cbradney Status new => resolved
2012-11-10 14:24 cbradney Fixed in Version => 1.5.0svn
2012-11-10 14:24 cbradney Resolution open => fixed
2012-11-10 14:24 cbradney Assigned To => cbradney
2012-11-10 14:55 jghali Note Added: 0029186
2012-11-10 15:05 jghali Note Edited: 0029186
2012-11-13 20:19 cbradney Status resolved => closed